![]() |
#1
|
|||
|
|||
![]()
When using the BetPot script preflop we can press a button and it calls the function Pot and we can change the settings so it doesn't bet the amount, but it displays the amount for adjustment.
<font color="blue"> ~RButton:: id := getid() IfWinExist, ahk_id%id% ahk_group tables { Pot(id, 1, 2, 0, 1, "ssnl") } return </font> How can I call this function automatically when the table becomes active and awaits my action? I've tried using a timer that repeats calling the function, but it doesn't work. <font color="red"> #Persistent SetTimer, Alert1, 500 return Alert1: WinGet ID, ID IfWinExist, ahk_id%id% ahk_group tables { Pot(id, 1, 2, 0, 1, "ssnl") } return</font> Any ideas or solutions are appreciated. |
|
|