whoRu Posted January 19, 2006 Share Posted January 19, 2006 (edited) hi i need a little help. i want to make the pause key to a different key like " q " but i don't know how to do it. i don't want to press the pause key cus its too far. and i wanted the scrip to pause when it first run. this way it pause when i start the scrip but the pause is still the pause key Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") send("{PAUSE}") i try it like this but it didn't work. it don't pause and it jsut keep running the scrip and '' q '' did nothing Global $Paused HotKeySet("(q)", "TogglePause") HotKeySet("{ESC}", "Terminate") send("{PAUSE}") that don't work. Edited January 19, 2006 by whoRu Link to comment Share on other sites More sharing options...
herewasplato Posted January 19, 2006 Share Posted January 19, 2006 (edited) use HotKeySet("q", "TogglePause")Edit:not HotKeySet("(q)", "TogglePause") Edited January 19, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
whoRu Posted January 20, 2006 Author Share Posted January 20, 2006 (edited) thanks herewasplato for ur help it work now but it doesn't pause when i first run the script Global $Paused HotKeySet("q", "TogglePause") HotKeySet("{ESC}", "Terminate") send("{PAUSE}") Edited January 20, 2006 by whoRu Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 20, 2006 Moderators Share Posted January 20, 2006 Look in the help file for a working example under HotKeySet() Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
whoRu Posted January 20, 2006 Author Share Posted January 20, 2006 got it to work the way i want it. thanks for all the help. 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