AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pop-up reminder that works with my keyboard entry...

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Shel



Joined: 01 Dec 2004
Posts: 8
Location: Providence RI

PostPosted: Fri Dec 10, 2004 3:27 pm    Post subject: Pop-up reminder that works with my keyboard entry... Reply with quote

Hello all,

The keyboard entry I’m use is the W#T which you guys provided and works like a charm to execute my macro. But now the boss wants a pop-up reminder that works on the same entry and then closes it’s self after 2 seconds with a message like: Ask for parking.

Can anybody help? Here’s what I’m working with now to execute. I’d simply like to replace the run command with a pop-up message that only stays up for 2 seconds.

:c*:W#T:: ; c = case sensitive; * = end-key not required.
Run, C:\POS-V4.exe
return

Thanks and have a great day,
Shel
Back to top
View user's profile Send private message
Shel



Joined: 01 Dec 2004
Posts: 8
Location: Providence RI

PostPosted: Fri Dec 10, 2004 3:42 pm    Post subject: follow up... Reply with quote

Just a quick follow up, I could do this with a macro but the exe file is too large, AHK is much smaller and works better.

Thanks again,
Shel
Back to top
View user's profile Send private message
Shel



Joined: 01 Dec 2004
Posts: 8
Location: Providence RI

PostPosted: Fri Dec 10, 2004 5:12 pm    Post subject: Reply with quote

Is the SmartGUI Creator the right dirction to making a popup message?

If anybody knows where to look please posta link.

Thanks Shel
Back to top
View user's profile Send private message
hh



Joined: 05 Dec 2004
Posts: 13

PostPosted: Fri Dec 10, 2004 5:27 pm    Post subject: Reply with quote

check the docu for MsgBox function. it will do the trick for you.
the last parameter is the time after which the message disappears.
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Fri Dec 10, 2004 6:27 pm    Post subject: Reply with quote

You can use separate commands (i.e. Sleep, SetTimer) for hiding/showing any of these, but they will all display a text message in some form:

Gui - See the section on Add > Text. This is most configurable, but not very easy to set up. If you don't have prior experience with GUI, the docu may seem a bit daunting at first.

MsgBox - Very easy to set up, but not very configurable. A msgbox is usually more suited to user input than timed text alerts.

Progress - My personal favorite. This is a good compromise between ease and configurability. It offers many options while remaining relatively easy to use.

SplashTextOn|Off - Very simple and straightforward. Probably most practical and easiest to code. It mostly relies on Win commands for its configurability.

ToolTip - An alternative to a regular window. This also seems quite appropriate for this use, but it doesn't have any options other than position and contents.

TrayTip - The last one. I personally like this variety of alert better than ToolTip, and this one can make itself disappear too.
Back to top
View user's profile Send private message
Shel



Joined: 01 Dec 2004
Posts: 8
Location: Providence RI

PostPosted: Fri Dec 10, 2004 6:53 pm    Post subject: Get it!!! Reply with quote

Thanks to ALL, it works... have a great Holiday!

Shel
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group