Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 09-19-2007, 08:23 AM
flite flite is offline
Member
 
Join Date: May 2007
Posts: 89
Default Re: AHK Bet Pot Script for iPoker

reload script for carlos poker mini view

############################

Reload()
{
ReloadX := 475
ReloadY := 38

BuyChipsX := 467
BuyChipsY := 84

ReloadOKX := 185
ReloadOKY := 245

CheckBoxX := 471
CheckBoxY := 346

id := GetTableId()
If (NOT id)
Return

TableSize := GetTableSize(id)
If (NOT TableSize)
Return

SaveMousePos()

WinGetPos, WindowX, WindowY, , , ahk_id %id%

MouseMove, WindowX + ReloadX, WindowY + ReloadY

Click
Sleep, 230

MouseMove, WindowX + BuyChipsX, WindowY + BuyChipsY

Click

Sleep, 230

WinGetPos, PopupX, PopupY, Width, Height, A

if (Width = 402 AND height = 265)
{
MouseMove, PopupX + ReloadOKX, PopupY + ReloadOKY

Click

Sleep, 900

CheckBoxX += WindowX
CheckBoxY += WindowY

PixelGetColor, checkcolor, %CheckBoxX%, %CheckBoxY%

; MsgBox, %checkcolor%

if (checkcolor = "0xFFFFFF")
{
MouseMove, CheckBoxX, CheckBoxY
Click
}

}

RestoreMousePos()

return
}
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.