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 

suspend for certain period of time

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





PostPosted: Sat Aug 09, 2008 5:01 pm    Post subject: suspend for certain period of time Reply with quote

Hi guys,
I assigned "F1" to "suspend Hotkeys". But I want it to suspend them just for 3 seconds and go back to normal again.

F1::suspend (that's all I know)

Can you help. Thanks
Back to top
WrongSectionAlert
Guest





PostPosted: Sun Aug 10, 2008 12:08 am    Post subject: Reply with quote

Mad
Back to top
Serenity



Joined: 07 Nov 2004
Posts: 1276

PostPosted: Sun Aug 10, 2008 12:17 am    Post subject: Reply with quote

Use Sleep or SetTimer:

Code:
F1::
suspend on
sleep 3000
suspend off
return

_________________
"Anything worth doing is worth doing slowly." - Mae West
Back to top
View user's profile Send private message Visit poster's website
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