bobstongman Posted July 26, 2008 Posted July 26, 2008 (edited) Hey I am trying to make a very basic script that will loop forever when I start it and be able to be paused and be closed all by hot keys. I am having a little trouble I am not sure how to do it I remember doing it a while ago but my PC got reformatted and I lost all my scripts and links. I remember to pause it was something to do with changing the variable (I think) and i completely forget how to make a infinite loop this is the code I have so far. hotkeyset ("{f7}","Start") hotkeyset ("{f8}","Pause") hotkeyset ("{f9}","Close") while 1=1 wend Func Start () Send ("7") Send ("8") sleep (1800) Send ("q") endfunc Func Pause() EndFunc Func Close () Exit endfunc Edited July 26, 2008 by bobstongman
Developers Jos Posted July 26, 2008 Developers Posted July 26, 2008 Have you looked at the Helpfile example for HotKeySet() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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