View Single Post
  #7  
Old 11-27-2006, 10:05 AM
tshort tshort is offline
Senior Member
 
Join Date: May 2005
Posts: 1,143
Default Re: My PokerStars SNG AHK script

[ QUOTE ]
I use few other scripts, and I need only the " autoregister part ".
But I don't know what part of the script I must to keep.
Anyone can do it ?

[/ QUOTE ]



#NoEnv
#Persistent
#SingleInstance force
#Include %a_scriptDir%
#Include Functions.ahk

interval = 100 ; period between refreshes

Loop
{
AutoRegister()
Sleep %interval%
}

Autoregister()
{
SetTitleMatchMode 2
IfWinExist, Tournament Registration
ControlClick, Button1
ControlClick, OK
}
Reply With Quote