AutoIT cabal problem

06/09/2008 13:29 demeteor#1
well here is a small code i used for my testings

when i cancel the run of GG (in Cabal europe) it works norlly send to the Login box the msg and moves the mose up and left
well with GG i get a heck of problems . any ideas how to avoid this problems??
i mean how to make it work so i can make a bot for all fo us?

Code:
 HotKeySet("{Home}","cabal") ;
 HotKeySet("{end}","gocabal");
while 1
  sleep(20)
wend

func gocabal() 
	WinActivate("CABAL") ;
	EndFunc

func cabal()
mousemove(120,110)
mousemove(50,120)
send("testing to see if working") ;
Endfunc
06/09/2008 16:39 Azunai#2
Quote:
MouseCoordMode Sets the way coords are used in the mouse functions, either absolute coords or coords relative to the current active window:
0 = relative coords to the active window
1 = absolute screen coordinates (default)
2 = relative coords to the client area of the active window
Code:
opt("MouseCoordMode",1)