Sign in to follow this  
Followers 0
zm0

Code translation

2 posts in this topic

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0