View Single Post
  #33  
Old 08-01-2006, 10:43 AM
Adde Adde is offline
Senior Member
 
Join Date: Oct 2002
Location: Sweden
Posts: 2,453
Default Re: Chip Reloader (New AHK Script) (Reloads at Party and Stars)

It seems like the clicking fails.

This test script will click every 10th pixel within 200-600 (x) and 0-200 (y). Open a full table, activate it and click F10 to test this out. If the options dialog is not opened (before the script ends, which is indicated by a sound beep), well, I don't know what the error is. If it does open, a message box will tell you what (x,y) were used. Replace coordinates (400,80) in ChipReloader with these.

Adde


F10::
gosub TestStars
return

TestStars:
SetTitleMatchMode, 2
WinGet, id, ID, A
x := 190
Loop, 40
{
x := x + 10
y := -10
Loop, 20
{
y := y + 10
CR_PostLeftClick(x, y, id)
sleep, 10
IfWinExist, Options, Add More Chips
{
msgbox x=%x% y=%y%
exit
}
}
}
soundbeep, , 100
return
Reply With Quote