jimmer Posted December 31, 2004 Share Posted December 31, 2004 (edited) Nevermind, I'm just blind. close this thread please Edited December 31, 2004 by jimmer Link to comment Share on other sites More sharing options...
Einzeinbleth Posted December 31, 2004 Share Posted December 31, 2004 (edited) HotKeySet("{LEFT}", "fLeft") HotKeySet("{RIGHT}", "fRight") HotKeySet("{UP}", "fUp") HotKeySet("{DOWN}", "fDown") Func fLeft() msgbox(0, "title", "left") endfunc Func fRight() msgbox(0, "title", "right") endfunc Func fUp() msgbox(0, "title", "up") endfunc Func fDown() msgbox(0, "title", "down") endfunc while(1) sleep(100) wend Run it EDIT: Uhm .... Edited December 31, 2004 by Einzeinbleth Link to comment Share on other sites More sharing options...
jimmer Posted December 31, 2004 Author Share Posted December 31, 2004 (edited) Actually, that is more useful then mine... thanks a lot, by the way, I like the quote... aha Oh, and how would I repeat this portion of the script, and only this portion of the script? -Thanks in advanced Edited December 31, 2004 by jimmer Link to comment Share on other sites More sharing options...
Einzeinbleth Posted December 31, 2004 Share Posted December 31, 2004 I dont understand what are you talking about .. :"> Link to comment Share on other sites More sharing options...
trids Posted January 3, 2005 Share Posted January 3, 2005 [..']Oh, and how would I repeat this portion of the script, and only this portion of the script?[..]<{POST_SNAPBACK}>For looping, lookup: For..Next, While..Wend, Do..Until in the helpfile.You may also find it useful to put code, which is repeatedly needed from different places in a script, into a User Defined Function (UDF). And you can also call UDFs from within one of the loop-constructs above. HTH 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