#1
|
|||
|
|||
small NumpadScript for Party Poker
It activates the table under the mouse, clears
the box where you type your bets in and sets the cursor in. I also made the Numpad-Enter-Key click the Bet Button. So if you want to make a bet with the Numpad: - press 000-Key - type the Number - press Numpad-Enter Its works fine for me, but im a noob at ahk so you better test it at playmoney tables. ("sc11c" on the bottom is the "Enter"-Key on my Numpad, its likely that you have to change it.) ;;;START;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;; SetTitleMatchMode, 2 #MaxThreadsPerHotkey 5 $Numpadins:: #MaxThreadsPerHotkey 1 SetBatchLines, 100 DelayBetweenKeys = 30 ; Adjust this value if it doesn't work. if A_PriorHotkey = %A_ThisHotkey% { if A_TimeSincePriorHotkey < %DelayBetweenKeys% { if Numpad0Count = Numpad0Count = 2 else if Numpad0Count = 0 Numpad0Count = 2 else { Numpad0Count = 0 MouseGetPos,,,TableId WinActivate, ahk_id%TableId% ControlSetText, Edit3,, Good ControlClick, Edit3, Good Sleep -1 Sleep, 50 WinSet, Redraw,, } CalledReentrantly = y return } } Numpad0Count = 0 CalledReentrantly = n Sleep, %DelayBetweenKeys% if CalledReentrantly = y { CalledReentrantly = n return } Send, {Numpad0} return sc11c:: ;Replace with your own Key MouseGetPos,,,TableId WinActivate, ahk_id%TableId% controlclick, AfxWnd42u19, a return ;;;END;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;; |
|
|