Suran37 Posted June 17, 2009 Share Posted June 17, 2009 so i have a script that works the way i want it to now i am looking for a way to make it wait for me to press a key to execute and when it finishes go back to the beginning and wait again what do i add to accomplish this? Link to comment Share on other sites More sharing options...
Minikori Posted June 17, 2009 Share Posted June 17, 2009 so i have a script that works the way i want it to now i am looking for a way to make it wait for me to press a key to execute and when it finishes go back to the beginning and wait again what do i add to accomplish this?Say your hotkey you want is F3. HotKeySet("{F3}", "Go") While 1 Sleep(100) WEnd Func Go() ;Code goes here EndFunc For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com Link to comment Share on other sites More sharing options...
Suran37 Posted June 17, 2009 Author Share Posted June 17, 2009 Say your hotkey you want is F3. HotKeySet("{F3}", "Go") While 1 Sleep(100) WEnd Func Go() ;Code goes here EndFunc thank you works like a charm 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