AutoHotkey Community

It is currently May 27th, 2012, 5:56 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 258 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 18  Next
Author Message
 Post subject:
PostPosted: February 11th, 2010, 3:43 pm 
Hello. :)

How do I close all notifications, without knowing which are opened?


Report this post
Top
  
Reply with quote  
 Post subject: another sugestion
PostPosted: February 12th, 2010, 9:46 am 
another sugestion:

An option to modify a notify that exist if you know the notify_id.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: March 17th, 2010, 3:45 am 
Offline

Joined: May 23rd, 2009, 4:48 am
Posts: 363
Location: north bay, california
great suggestions... i'm hoping to have free time again to be able to implement them soon... i'll go thru the thread and add everything i can, and try to clean up the code as i go since its kind of a mess right now...

segalion: how about an aux function like Notify_Mod(...) for that last one

Guest: you should always know what notify's are open, because as they open, Notify() returns the ID used later to close it... so if you are going to want to close it later, save the ID when you call it as so:
NotifyIDVariable := Notify()

i don't think there is any harm in "wait"-ing for a notify that is already closed... unless you have some other window with that same title...


thanks to everyone for posting their findings and feedback

- gwarble


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 1st, 2010, 8:29 pm 
Offline

Joined: May 23rd, 2009, 4:48 am
Posts: 363
Location: north bay, california
a couple quick updates...

Notify("","",Dur,"Wait")

now works for all open notifications from the calling script, without a final parameter for the NotifyID

also, using a duration of "-0" (must be in quotes) will now work for a notification that does an exitApp, while being a permanent/flashing notification

sorry, but i was unable to easily add inline HTML text formatting... ShowHtmlDialog is the best approach i've found but i don't have it working yet

and sorry segalion, i still haven't been able to diagnose your bug from long ago... i need to clean up the code a bunch still and figure out whats going on

enjoy v.45
- gwarble


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2010, 12:39 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
Hi gwarble, this looks good. I am adding this into my collection (if it is ok^^). But I have some critism:

The script is not really stdlib conform (in my terms), because it uses labels / subroutines. Label names are unique identifier at global scope. Even if they are not callable from outside of the function. Its just a question of definition what stdlib conform is meaning.


Edit: Never mind about my request and test script!!! Deleted all following this line from this posting.

_________________
{1:"ahkstdlib", 2:"my libs", 3:"my apps", 4:"my license"}
--> Don't feed the troll! <--


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2010, 1:14 am 
Offline

Joined: May 23rd, 2009, 4:48 am
Posts: 363
Location: north bay, california
aw bummer, i didn't get to see the request and test script before they were deleted... but anyway

thanks and i'm glad you like it... do with it as you wish... i'm definitely no real programmer and there are probably lots of ways to improve it... but i use it almost every day, usually hundreds of times, in at least 4 different scripts running in my shop and at home

yeah i agree with you about it not really being stdlib compliant (in the purest sense) but i don't know how to get all the functionality without using some of the labels...

of course i'm always appreciative of suggestions on features and CODE...

i think the best solution is to not use ahk gui's but instead use CreateWindow dllcalls... but i havent had a chance to start rewriting it yet, nor have i tried such dllcalls

thanks again
- gwarble

ah yes... the stdlib assembly you've done... please do add it that would be sweet, i'm all for such a compilation


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2010, 8:54 am 
Offline

Joined: August 3rd, 2009, 9:10 am
Posts: 21
static GT := "Off" ; Gui Transparency

this really confused me,
I considered that means GT=on or GT=off. :?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2010, 9:09 am 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1934
Location: Germany
gwarble wrote:
aw bummer, i didn't get to see the request and test script before they were deleted... but anyway

Oh, sorry. This was one or two requests about features already implemented. So I deleted it. I saw it after posting. No worry about that.

_________________
{1:"ahkstdlib", 2:"my libs", 3:"my apps", 4:"my license"}
--> Don't feed the troll! <--


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2010, 12:11 pm 
Offline

Joined: May 23rd, 2009, 4:48 am
Posts: 363
Location: north bay, california
zengjia:
Quote:
static GT := "Off" ; Gui Transparency
this really confused me, I considered that means GT=on or GT=off. Confused


nope... sorry my documentation is so poor... but it corresponds to the Winset, Transparency value... so GT=Off, GT=10, GT=250 can all be used...

- gwarble

Code:
Makes a window semi-transparent. Specify for N a number between 0 and 255 to indicate the degree of transparency: 0 makes the window invisible while 255 makes it opaque. Transparency may be turned off completely for a window by specifying the word OFF. This is different than specifying 255 because it may improve performance and reduce usage of system resources.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 17th, 2010, 4:20 pm 
Offline

Joined: August 3rd, 2009, 9:10 am
Posts: 21
gwarble wrote:
nope... sorry my documentation is so poor... but it corresponds to the Winset, Transparency value... so GT=Off, GT=10, GT=250 can all be used...
- gwarble



I got it, and I didn't mean the documentation is poor.
Your script is great, I like it.
Thank you a lot! :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2011, 10:54 am 
Offline

Joined: December 28th, 2010, 11:59 am
Posts: 63
Location: France
Hello, Gwarble, thanks a lot for this script, I like it. I will use it for Unichars.
I would like to get the documentation, but the link in the first post seems to be dead (it goes to : http://custom404error.com/). Could you update the link ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2011, 11:19 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
@gwarble: you could/should move your ahk projects to www.autohotkey.net, it is free and easy http://www.autohotkey.com/forum/viewtopic.php?t=36756

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2011, 2:21 pm 
Offline

Joined: October 13th, 2009, 10:09 pm
Posts: 1389
This is quite a nice script...Maybe I'll add support for progress bars sometime.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2011, 6:59 pm 
Offline

Joined: December 28th, 2010, 11:59 am
Posts: 63
Location: France
Suggestion : the taskbar button is not desired for a notification, I think. It is possible to prevent it to appear by adding two lines at line 102 :
They must be placed before the first call to Gui %GN% and Gui %GN2%

Code:
Gui, %GN%:+owner
Gui, %GN2%:+owner

Gui, %GN%:-Caption +ToolWindow +AlwaysOnTop -Border
Gui, %GN%:Color, %GC%
Gui, %GN%:Font, w%TW% s%TS% c%TC%, %TF%


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2011, 11:04 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
dysmas wrote:
Suggestion : the taskbar button is not desired for a notification, I think.
Which OS and which ahk version? I don't get taskbar buttons, it would indeed ruin it and I would never use it, are you sure you are using it right?

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 258 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12 ... 18  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Exabot [Bot], Google Feedfetcher, JamixZol and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group