KaMMikaze Posted August 9, 2007 Share Posted August 9, 2007 (edited) i Made a very simple script for a Warcraft 3 lossbot but as there are many different language versions of the game hotkeys for each language version are different so i need my users to be able to customize the hotkeys I'm new at autoit and really need help hmm here is the code i acidently put it as an attachment i need the Q's will be different for everyone and those are the hotkeys that will need to b customizeable ; Press Esc to terminate script, Pause/Break to "pause" Global $Paused, $t = 0 HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") HotKeySet("{F2}", "ShowMe") Send("!q") Send("!qq") Send("enter") Edited August 9, 2007 by KaMMikaze Link to comment Share on other sites More sharing options...
DW1 Posted August 9, 2007 Share Posted August 9, 2007 we JUST answered this question, please search the forum first. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
Leighwyn Posted August 9, 2007 Share Posted August 9, 2007 HotKeySet([key],[function] ) allows the use of a variable for your key. That should basically be all you need to know to come up with a solution. Have the user define his or her custom hotkey upstream with whatever input method you prefer, and reference it in HotKeySet( ) Link to comment Share on other sites More sharing options...
DW1 Posted August 9, 2007 Share Posted August 9, 2007 @Leighwyn, this was JUST covered in this thread. ONE DAY AGO AutoIt3 Online 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