nusaki Posted August 14, 2009 Share Posted August 14, 2009 (edited) Hey I have HotKeySet("F1","start") How to make code to do nothing but keep script running until I press F1? Sorry for stupid question but I’m new. Thank you Edited August 14, 2009 by nusaki keywen.com Link to comment Share on other sites More sharing options...
billthecreator Posted August 14, 2009 Share Posted August 14, 2009 (edited) #Include <Misc.au3> Do Sleep(500) Until _IsPressed(70) or have While 1 Sleep(500) Wend Func start() ;your stuff EndFunc Edited August 14, 2009 by billthecreator [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap 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