zm0 Posted January 13, 2008 Share Posted January 13, 2008 hi, i'v found some autohotkey code, here example: WinGet, wowid, List, World of Warcraft #IfWinActive, World of Warcraft ;********* Run UP************** W:: ControlSend,,{W down}, ahk_id %wowid1% ControlSend,,{W down}, ahk_id %wowid2% KeyWait W ControlSend,,{W up}, ahk_id %wowid1% ControlSend,,{W up}, ahk_id %wowid2% return thats just for running up in 2 world of warcraft windows at the same time. "w" is the comand to run up in wow. i'v tryed it using HotKeySet("{UP}", "goup") while 1 wend Func goup() controlsend("World of Warcraft","","","{w down}") sleep( 100 ) controlsend("World of Warcraft","","","{w up}") EndFunc but the problem with it is.. it sends wwwwwwww to the application if i hold the key down, and there is no application scanning to use controlsend to the right window. is there anyone who can translate it to Autoit code? sorry for my bad english ^^ thank you greetings zm0. Link to comment Share on other sites More sharing options...
zm0 Posted January 13, 2008 Author Share Posted January 13, 2008 hi, i'v found some autohotkey code, here example: WinGet, wowid, List, World of Warcraft #IfWinActive, World of Warcraft ;********* Run UP************** W:: ControlSend,,{W down}, ahk_id %wowid1% ControlSend,,{W down}, ahk_id %wowid2% KeyWait W ControlSend,,{W up}, ahk_id %wowid1% ControlSend,,{W up}, ahk_id %wowid2% return thats just for running up in 2 world of warcraft windows at the same time. "w" is the comand to run up in wow. i'v tryed it using HotKeySet("{UP}", "goup") while 1 wend Func goup() controlsend("World of Warcraft","","","{w down}") sleep( 100 ) controlsend("World of Warcraft","","","{w up}") EndFunc but the problem with it is.. it sends wwwwwwww to the application if i hold the key down, and there is no application scanning to use controlsend to the right window. is there anyone who can translate it to Autoit code? sorry for my bad english ^^ thank you greetings zm0. noone? 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