Hi, i need help with my code:
------------------------------------
"WinWaitActive("Find Battle Dialog")
MouseClick ("Left",337, 217,1)"
the MouseClick clicks on 0,0 not 337, 217
Screenshot:
:/
Code:
Hotkeyset("{F2}","Ende")
Func Ende ()
While 1
Exit
Wend
EndFunc
While 1
MsgBox (0, "Info", "Server-Window in den Vordergrund bringen und bestätigen.")
Sleep (50)
MouseClick ("Left")
WinWaitActive ("Pokémon Online - Pokemon Online")
WinMove("Pokémon Online - Pokemon Online", "", 0, 0, 850, 650)
Sleep (600)
MouseClick("left",264,598,1)
WinWaitActive("Find Battle Dialog")
MouseClick ("Left",337, 217,1)
WinWaitActive("Battling against")
MouseClick("left",87, 149,1)
WEnd
Exit
"WinWaitActive("Find Battle Dialog")
MouseClick ("Left",337, 217,1)"
the MouseClick clicks on 0,0 not 337, 217
Screenshot:
:/