bafh Posted July 19, 2005 Share Posted July 19, 2005 Hi, sorry for this question since its a very basic thing. but how do i make a script that waits until the hotkey is pressed and then do a function? thanks Link to comment Share on other sites More sharing options...
eko~ Posted July 19, 2005 Share Posted July 19, 2005 (edited) Hey... my first post ^^ you should put a sleep method before your hot key function. My hot key....blah blah While 1 Sleep(1000); 1000ms = 1sec, Wend ;Then add your hot key fuction Edited July 19, 2005 by eko~ Link to comment Share on other sites More sharing options...
bafh Posted July 19, 2005 Author Share Posted July 19, 2005 cool thanks... just read it in the helfile sorry. does the 1 mean anything or is it just to do a statement? Link to comment Share on other sites More sharing options...
eko~ Posted July 19, 2005 Share Posted July 19, 2005 Normally, you would have to put parameters of your while loop. The while 1 means it just goes on... no limit To set up a while loop with parameters, read the help file ^^ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now