I may have spoke too soon. I think a "typo" allowed my example to work. I'll keep looking at it.
Relayer
PleasantNotify() - Beautiful popup msg, tooltip
Re: PleasantNotify() - Beautiful popup msg, tooltip
@evil looks awesome
wanna test your code!! too sad I'm not home yet
wanna test your code!! too sad I'm not home yet
AutoHotkey & AutoHotkey_H v1.1.22.07
Re: PleasantNotify() - Beautiful popup msg, tooltip
1.PN must work with SLEEP.
It will flash a glance without Sleep.
2.Could i change the background color or set a border line to the dialog.
It will flash a glance without Sleep.
2.Could i change the background color or set a border line to the dialog.
Re: PleasantNotify() - Beautiful popup msg, tooltip
I am starting to think that there is a new and very useful application for your lib.
I am working on some code at the moment that seems to behave differently if you pause to debug (msgboxes, debugger stepping etc).
What would be nice to have would be something like your lib, but with the following enhancements:
You can set it so one window holds all notifications.
When a notification comes in, it appears in the notification window, and there is some way to scroll through the messages, dismiss them etc (ListView to select message, close buttons etc).
That's basically it.
Thoughts?
I know how to do everything required, so it's certainly possible.
Yeah there are ways to have windows for the error log and such, but I think this idea could have it's own merits.
Thoughts?
I am working on some code at the moment that seems to behave differently if you pause to debug (msgboxes, debugger stepping etc).
What would be nice to have would be something like your lib, but with the following enhancements:
You can set it so one window holds all notifications.
When a notification comes in, it appears in the notification window, and there is some way to scroll through the messages, dismiss them etc (ListView to select message, close buttons etc).
That's basically it.
Thoughts?
I know how to do everything required, so it's certainly possible.
Yeah there are ways to have windows for the error log and such, but I think this idea could have it's own merits.
Thoughts?
Re: PleasantNotify() - Beautiful popup msg, tooltip
@huyaowen
1. for me its working fine without sleep
2. you can! change line 'gui, color, bla bla ' to your preferred color
@evilC
sounds really interesting!
what about sliding the msg or dragout from notification window to erase the message?
notification window you mean is taskbar?
1. for me its working fine without sleep
2. you can! change line 'gui, color, bla bla ' to your preferred color
@evilC
sounds really interesting!
what about sliding the msg or dragout from notification window to erase the message?
notification window you mean is taskbar?
AutoHotkey & AutoHotkey_H v1.1.22.07
Re: PleasantNotify() - Beautiful popup msg, tooltip
I suppose it could have it's own taskbar icon, but that isn't really that important I don't think.
Just as it is now, but allow all messages to appear in the same popup, and you can scroll through them somehow by clicking something in the popup.
So basically the popup window has two elements:
The notification list (A Listview) which lists all the notifications that have fired.
A notification area that displays the message.
When you select a notification from the listview, it appears in the notification area, along a button to cancel that notification.
Just as it is now, but allow all messages to appear in the same popup, and you can scroll through them somehow by clicking something in the popup.
So basically the popup window has two elements:
The notification list (A Listview) which lists all the notifications that have fired.
A notification area that displays the message.
When you select a notification from the listview, it appears in the notification area, along a button to cancel that notification.
Re: PleasantNotify() - Beautiful popup msg, tooltip
@soft
Would you like add a parameter for background color?
Would you like add a parameter for background color?
Re: PleasantNotify() - Beautiful popup msg, tooltip
After showing,It slept in tray.
Re: PleasantNotify() - Beautiful popup msg, tooltip
@huyaowen / well.. I dont really feel necessity for color parameter right now. and maybe because I dont want to make the fucntion to be complicated..
@ghg / Do you think it should exit?
@ghg / Do you think it should exit?
AutoHotkey & AutoHotkey_H v1.1.22.07
Re: PleasantNotify() - Beautiful popup msg, tooltip
FYI - To me, it would be much more useful with color parameters -- both background and foreground colors (separate title and main message colors).
Re: PleasantNotify() - Beautiful popup msg, tooltip
I would use this instead of Notify() if it could:
1. Expand height to amount of text
2. Have font size presets in function
3. You can click it away
Great job though, looks really good.
1. Expand height to amount of text
2. Have font size presets in function
3. You can click it away
Great job though, looks really good.
Re: PleasantNotify() - Beautiful popup msg, tooltip
If you are using my class based version, adding such a feature would probably be pretty easy, and optional, so it would not needlessly complicate basic usage.Soft wrote:@huyaowen / well.. I dont really feel necessity for color parameter right now. and maybe because I dont want to make the fucntion to be complicated..
@ghg / Do you think it should exit?
I would allow the user to not specify time at creation, thus allowing the user to modify the notify before it gets activated.
Code: Select all
;new PleasantNotify("PleasantNotify", "position t hc" , 600, 210, "t hc", 3)
n := new PleasantNotify("PleasantNotify", "position t hc" , , , "t hc", 3)
n.TextColor := "#FF0000"
n.background := "#000000"
n.time := [600,210]
n.activate()
Code: Select all
new PleasantNotify("PleasantNotify", "position t hc" , , , "t hc", 3, {TextColor := "#FF0000", background := "#000000"})
eg:
Code: Select all
new PleasantNotify({title: "PleasantNotify", pos: "t hc" , after: 600 , duration: 200 ,text: "t hc", something: 3, TextColor := "#FF0000", background := "#000000"})
Re: PleasantNotify() - Beautiful popup msg, tooltip
evilC wrote:And GuiControl +g, OK, %fn%, SetTimer %fn%, % time * -1000?Relayer wrote:evilC,
The bind() function works just fine in v1.1.16.05
Relayer
Re: PleasantNotify() - Beautiful popup msg, tooltip
Currently, Im porting this project to GDI+ but having problem in adjusting the transparency of the gdi canvas
winset and Dllcall with AnimateWindow only changes the original ahk gui, not the updated, rounded gdi canvas
if anyone knows how to adjust the transparaency of the gdi canvas, please let me know
http://ahkscript.org/boards/viewtopic.php?f=5&t=6335
winset and Dllcall with AnimateWindow only changes the original ahk gui, not the updated, rounded gdi canvas
if anyone knows how to adjust the transparaency of the gdi canvas, please let me know
http://ahkscript.org/boards/viewtopic.php?f=5&t=6335
AutoHotkey & AutoHotkey_H v1.1.22.07
Re: PleasantNotify() - Beautiful popup msg, tooltip
Hi Soft Nice Work!
Nice Splash, I was looking for something like that at the start of one of my application.
It would be nice if we could insert images, pictures, or logos in the message and have a way to position them.
Or would that mean a complete make over?
Thanks.
Bat
Nice Splash, I was looking for something like that at the start of one of my application.
It would be nice if we could insert images, pictures, or logos in the message and have a way to position them.
Or would that mean a complete make over?
Thanks.
Bat
Re: PleasantNotify() - Beautiful popup msg, tooltip
It would be awesome with images added!!!!
Thanks!
Thanks!
Everything is possible!
Re: PleasantNotify() - Beautiful popup msg, tooltip
ok I will add when I have time to work!
I got too busy, my school just began
I got too busy, my school just began
AutoHotkey & AutoHotkey_H v1.1.22.07
Re: PleasantNotify() - Beautiful popup msg, tooltip
Thanks!Soft wrote:ok I will add when I have time to work!
I got too busy, my school just began
Everything is possible!
Re: PleasantNotify() - Beautiful popup msg, tooltip
Hi sir,evilC wrote:Soft wrote: [/code]
How would you display an actual timer for the 3 second duration on your beautiful splash notifier?
And also how can you add an image to it ?(background)
[AHK knowledge limited, just want to add a timer and a background to it for the duration the splash is being displayed]
Thank you in advance.
Return to “Scripts and Functions (v1)”
Who is online
Users browsing this forum: No registered users and 125 guests