jimmer 0 Posted December 31, 2004 (edited) Nevermind, I'm just blind. close this thread please Edited December 31, 2004 by jimmer Share this post Link to post Share on other sites
Einzeinbleth 0 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 Share this post Link to post Share on other sites
jimmer 0 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 Share this post Link to post Share on other sites
Einzeinbleth 0 Posted December 31, 2004 I dont understand what are you talking about .. :"> Share this post Link to post Share on other sites
trids 2 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 Share this post Link to post Share on other sites