Two Plus Two Newer Archives  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 07-22-2007, 08:20 AM
cardsport cardsport is offline
Member
 
Join Date: Sep 2006
Location: Germany
Posts: 65
Default 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;
Reply With Quote
Reply


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:07 PM.


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