My script
Code: Select all
Loop
{
ControlSend,,{8}, ahk_exe Wow1.exe
Sleep 1000 ; Wait 1 seconds
}
greetings
Code: Select all
Loop
{
ControlSend,,{8}, ahk_exe Wow1.exe
Sleep 1000 ; Wait 1 seconds
}
It seems to me that this still did not solve my problem ... maybe after doing something wrong, you could show how this example script should look like?mrlegacy83 wrote: ↑21 Mar 2019, 03:15Hello. I think you can use the WinActive function to make sure your script only works in the desired window. Something like: If WinActive("WindowName") = True then {rest of your script}.
Could you post the code that you tried so we might see what's going wrong?bpg66fhdi1 wrote: ↑21 Mar 2019, 13:13It seems to me that this still did not solve my problem ... maybe after doing something wrong, you could show how this example script should look like?
However, it works, but not quite as I would like it.sinkfaze wrote: ↑22 Mar 2019, 09:26Could you post the code that you tried so we might see what's going wrong?bpg66fhdi1 wrote: ↑21 Mar 2019, 13:13It seems to me that this still did not solve my problem ... maybe after doing something wrong, you could show how this example script should look like?
Code: Select all
Loop
{
If WinActive("World of Warcraft")
ControlSend,,{8},
Sleep 2000 ; Wait 2 seconds
}
Users browsing this forum: vikasgandhi and 75 guests