Hello
I created a script with AutoIt but it does not work with 4Story. I feel that the keys are blocked by the program.
Here's the script code:
I just need to cast archer aoe (key 1) and loot (key x z)
What is the problem?
Thank you in advance
I created a script with AutoIt but it does not work with 4Story. I feel that the keys are blocked by the program.
Here's the script code:
Code:
#region ---Au3Recorder generated code Start ---
Opt("WinWaitDelay",100)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
_WinWaitActivate("4Story","")
While 1
Send("1xzxzxzxzxz")
Sleep(1000)
WEnd
#region --- Internal functions Au3Recorder Start ---
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
#endregion --- Internal functions Au3Recorder End ---
#endregion --- Au3Recorder generated code End ---
What is the problem?
Thank you in advance