Open Side Menu Go to the Top
Register
Absolute UB Hotkeys Absolute UB Hotkeys

01-25-2010 , 06:04 AM
Post the 2 lines for auto post popup and I will add it.
Absolute UB Hotkeys Quote
01-25-2010 , 12:16 PM
Code:
IfWinExist, Tip for speeding ahk_class DXPopupWnd
ControlClick, Button1
there you go
Absolute UB Hotkeys Quote
01-25-2010 , 09:55 PM
Thanks its up now.
Absolute UB Hotkeys Quote
01-27-2010 , 01:26 AM
how did you find out these key combinations? havent tried your script but pressing these on my keyboard doesnt work



Call:
Send {F2}{F4}


;------------------------------------------;

Bet:
Send {F3}{F5}
Absolute UB Hotkeys Quote
01-27-2010 , 07:32 AM
Sure you activated the clientside hotkeys? It's recommended for using this script. Check your table options; there is also a mouseover tooltip at the hotkey checkbox, explaining each key.


EDIT:
; °°°°°°°°°°°°°°°°°°°°Original UB Client Hotkeys are:°°°°°°°°°°°°°°°°°°°°
; F1: Fold
; F2: Check
; F3: Bet
; F4: Call
; F5: Raise
; F6: Double Raise
; F7: Double Bet
; F8: All In
; F9: Bring In
Absolute UB Hotkeys Quote
01-27-2010 , 01:06 PM
oh, i see, didnt know about this. why isnt the Fold F1 hotkey used in the script?
Absolute UB Hotkeys Quote
01-27-2010 , 08:47 PM
Quote:
Originally Posted by greg nice
oh, i see, didnt know about this. why isnt the Fold F1 hotkey used in the script?
I had it in there as a catch all sorta, but removed it because it doesn't deal with autofold and Rolands' reload script is set to F1 by default so didn't want anyone get too confused.

Do you have any ideas for getting the pot amount off the table? Or getting PostLeftClick working?
Absolute UB Hotkeys Quote
01-27-2010 , 08:50 PM
i cannot for the life of me get PostMessage (or ControlClick) working on UB, or on Party either. i don't understand it. MouseClick and Click work. stupid sites
Absolute UB Hotkeys Quote
01-27-2010 , 10:39 PM
Quote:
Originally Posted by greg nice
i cannot for the life of me get PostMessage (or ControlClick) working on UB, or on Party either. i don't understand it. MouseClick and Click work. stupid sites
Yeah it blows goats
Absolute UB Hotkeys Quote
01-29-2010 , 01:37 AM
are you sure your Check or Fold popup clicker is working?

in your fold function:
Code:
IfWinExist, Info
WinActivate, Info
Loop 3
{
ControlClick, Button2, Info
Sleep, 50
}
i'm doing some testing and its not clicking the button for me.. =(

from what i understand, ControlClick uses PostMessages
Absolute UB Hotkeys Quote
01-29-2010 , 03:11 AM
nevermind, now it works, weird
Absolute UB Hotkeys Quote
01-30-2010 , 03:36 AM
is the clientside 'F8 for Allin' hotkey busted for everyone else too? AP top view.
Absolute UB Hotkeys Quote
01-30-2010 , 02:18 PM
F8 all in only works when the "all in" button is displayed by the client. this is by design as per AP.
Absolute UB Hotkeys Quote
01-30-2010 , 08:01 PM
Quote:
Originally Posted by Ouch8s
I decided to see if I could figure it out.

Code:
#SingleInstance, Force
#NoEnv
OnExit exitSub
StringTrimRight, thisahk, A_ScriptName, 4
SetWorkingDir %A_ScriptDir%

Menu, Tray, NoStandard
Menu, Tray, Add, Settings, menugui
Menu, Tray, Add 
Menu, Tray, Add, Reload, reload
Menu, Tray, Default, Settings
Menu, Tray, Add 
Menu, Tray, Add, Suspend, Suspend
Menu, Tray, Add, Pause, TogglePause
Menu, Tray, Add 
Menu, Tray, Add, Donate, Donation
Menu, Tray, Add, Exit, ExitSub

OnMessage(0x112,"WM_SYSCOMMAND")
WM_SYSCOMMAND(wParam)
{
if (A_Gui && wParam = 0xF020) ; SC_MINIMIZE
{
Gui, Destroy
return 0
}
}

SetBatchLines,-1
SetWinDelay,-1
SendMode Input

GroupAdd, TABLES, ahk_class DxWndClass

SetTimer, ClosePopUps, 500
GoSub,GetIni

if Top = 1
{
foldxa := 440
foldya := 570
potxa := 760
potya := 505
halfpotxa := 700
halfpotya := 505
autopostxa := 568
autopostya := 38
sitoutxa := 568
sitoutya := 53

}
if Classic = 1
{
foldxa := 290
foldya := 490
potxa := 650
potya := 480
autopostxa := 568
autopostya := 38
sitoutxa := 568
sitoutya := 53
}

return

;==========================================;

ClosePopUps:
IfWinExist, UB ahk_class #32770,, UB Browser
ControlClick, Button1
IfWinExist, Absolute Poker ahk_class #32770,, AP Browser
ControlClick, Button1
IfWinExist, Tournament Registration ahk_class #32770
ControlClick, Button1
IfWinExist, Alert ahk_class DXPopupWnd
ControlClick, Button1
IfWinExist, Waiting list ahk_class DXPopupWnd
ControlClick, Button1
return

;------------------------------------------;

BuildGUI:
Menu, MenuMenu, Add, About, About
Menu, MenuMenu, Add, Donate, Donation
Menu, MenuMenu, Add, Help, Help
Menu, Menubar, Add, Menu, :MenuMenu
Gui, Menu, MenuBar
Gui, Color, White
Gui, Add, Text, x15 y15, Fold/Autofold 
Gui, Add, Edit, x160 y15 w70 h20 vFold, %Fold% 
Gui, Add, Text, x15 y45, Check/Call 
Gui, Add, Edit, x160 y45 w70 h20 vCall, %Call% 
Gui, Add, Text, x15 y75, Bet/Raise
Gui, Add, Edit, x160 y75 w70 h20 vBet, %Bet% 
Gui, Add, Text, x15 y105, Pot
Gui, Add, Edit, x160 y105 w70 h20 vBetPot, %BetPot% 
Gui, Add, Text, x15 y135, Half Pot 
Gui, Add, Edit, x160 y135 w70 h20 vBetHalfPot, %BetHalfPot% 
Gui, Add, Text, x15 y165, Toggle AutoPost Blinds
Gui, Add, Edit, x160 y165 w70 h20 vAutoPostBlinds, %AutoPostBlinds% 
Gui, Add, Text, x15 y195, Toggle Sit In 
Gui, Add, Edit, x160 y195 w70 h20 vSitInOut, %SitInOut% 
Gui, Add, Text, x15 y225, Stack Cycle
Gui, Add, Edit, x160 y225 w70 h20 vStackCycle, %StackCycle% 
Gui, Add, Text, x15 y255, Register in Tournament 
Gui, Add, Edit, x160 y255 w70 h20 vRegisterTournament, %RegisterTournament% 
Gui, Add, Text, x15 y285, Table View
Gui, Add, Radio, x160 y305 w70 Checked%Classic% vClassic, Classic
Gui, Add, Radio, x160 y285 w70 Checked%Top% vTop, Top
Gui, Add, Text, x70 y345
Gui, Add, Button, gSave, Submit
Gui, Add, Button, x+10 gCancel, Cancel
Gui, Add, Text, x15 y390
;Gui, Show,, ub_gui
;GoSub,GetIni
Gui, Show,, %thisahk%
return

;------------------------------------------;

GetIni:
IfNotExist, %thisahk%.ini
GoSub, CreateIni
IniRead, Fold, %thisahk%.ini, Other, Fold, %A_Space%
IniRead, Call, %thisahk%.ini, Other, Call, %A_Space%
IniRead, Bet, %thisahk%.ini, Other, Bet, %A_Space%
IniRead, BetPot, %thisahk%.ini, Other, BetPot, %A_Space%
IniRead, BetHalfPot, %thisahk%.ini, Other, BetHalfPot, %A_Space%
IniRead, AutoPostBlinds, %thisahk%.ini, Other, AutoPostBlinds, %A_Space%
IniRead, SitInOut, %thisahk%.ini, Other, SitInOut, %A_Space%
IniRead, StackCycle, %thisahk%.ini, Other, StackCycle, %A_Space%
IniRead, RegisterTournament, %thisahk%.ini, Other, RegisterTournament, %A_Space%
IniRead, Classic, %thisahk%.ini, Other, Classic, %A_Space%
IniRead, Top, %thisahk%.ini, Other, Top, %A_Space%

if Fold
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %Fold%,Fold, UseErrorLevel On
if Call
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %Call%,Call, UseErrorLevel On
if Bet
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %Bet%,Bet, UseErrorLevel On
if BetPot
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %BetPot%,Betpot, UseErrorLevel On
if BetHalfPot
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %BetHalfPot%,BetHalfPot, UseErrorLevel On
if AutoPostBlinds
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %AutoPostBlinds%,AutoPostBlinds, UseErrorLevel On
if SitInOut
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %SitInOut%,SitInOut, UseErrorLevel On
if StackCycle
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %StackCycle%,StackCycle, UseErrorLevel On
if RegisterTournament
Hotkey, IfWinActive, ahk_group TABLES
Hotkey, %RegisterTournament%,RegisterTournament, UseErrorLevel On
return

;------------------------------------------;

MakeIni:
IniWrite, %Fold%, %thisahk%.ini, Other, Fold
IniWrite, %Call%, %thisahk%.ini, Other, Call
IniWrite, %Bet%, %thisahk%.ini, Other, Bet
IniWrite, %BetPot%, %thisahk%.ini, Other, BetPot
IniWrite, %BetHalfPot%, %thisahk%.ini, Other, BetHalfPot
IniWrite, %AutoPostBlinds%, %thisahk%.ini, Other, AutoPostBlinds
IniWrite, %SitInOut%, %thisahk%.ini, Other, SitInOut
IniWrite, %StackCycle%, %thisahk%.ini, Other, StackCycle
IniWrite, %RegisterTournament%, %thisahk%.ini, Other, RegisterTournament
IniWrite, %Top%, %thisahk%.ini, Other, Top
IniWrite, %Classic%, %thisahk%.ini, Other, Classic
return

;------------------------------------------;

CreateIni:
GoSub, MakeIni
GoSub, BuildGui
return

;------------------------------------------;

GuiClose:
GoSub, Cancel
return

;------------------------------------------;

MenuGui:
GoSub, GetIni
Winget,id,id, %thisahk% ahk_class AutoHotkeyGUI
if !DllCall( "IsWindowVisible", "UInt",id)
GoSub, BuildGui
Gui, Submit,NoHide
return

;------------------------------------------;

Reload:
Reload
return

;------------------------------------------;

Save:
Gui, Submit
FileDelete, %thisahk%.ini
GoSub, MakeIni
Reload
return

;------------------------------------------;

Cancel:
Gui, Destroy
Return

;------------------------------------------;

TogglePause:
Pause,Toggle
return

;------------------------------------------;

Suspend:
Suspend
return

;------------------------------------------;

Edit:
Edit
return

;------------------------------------------;

Donation:
IfWinExist , UB - Logged in as
{
WinMenuSelectItem, UB - Logged in as,, My Account, Cashier, Account Transfer...
WinWait, UB Browser ahk_class #32770, , 10
Sleep, 6000
MouseClick, left, 290, 310
Send PunchAKitten
Send {Tab}
Send Samuel
return
}
IfWinExist , Absolute Poker - Logged in as
{
WinMenuSelectItem, Absolute Poker - Logged in as,, My Account, Cashier, Account Transfer...
WinWait, Absolute Poker Browser ahk_class #32770, , 10
Sleep, 6000
MouseClick, left, 290, 310
Send PunchAKitten
Send {Tab}
Send Samuel
return
}
Else
{
MsgBox , 0, Donation, If you would like to make a donation my username is PunchAKitten first name Samuel on UB/AP or you can PM me on 2+2 for other options.
return
}

;------------------------------------------;

Help:
run http://www.autohotkey.com/docs/KeyList.html
return

;------------------------------------------;

About:
run http://forumserver.twoplustwo.com/45/software/absolute-ub-hotkeys-656662/
return

;------------------------------------------;

ExitSub:
ExitApp
return

;------------------------------------------;

RegisterTournament:				
WinActivate, ahk_class QDPKGamesSystems
ControlClick, Button16, ahk_class QDPKGamesSystems
return

;------------------------------------------;

#IfWinActive ahk_class DxWndClass

;------------------------------------------;

Fold:			
MouseGetPos,,,win
WinActivate, ahk_id %win%
MouseGetPos, xx, yy
WinGetPos,,, w, h, A
foldx:=w*(foldxa/800)
foldy:=h*(foldya/600)
MouseClick , left, foldx, foldy, 1, 0
Mousemove, %xx%, %yy%, 0
Sleep, 250
IfWinExist, Info
WinActivate, Info
Loop 3
{
ControlClick, Button2, Info
Sleep, 50
}
return

;------------------------------------------;

Call:					
MouseGetPos,,,win
WinActivate, ahk_id %win%
Send {F2}{F4}
return

;------------------------------------------;

Bet:				
MouseGetPos,,,win
WinActivate, ahk_id %win%
Send {F3}{F5}
return

;------------------------------------------;

StackCycle:
MouseGetPos,,,win
WinSet, Bottom,, ahk_id %win%
return

;------------------------------------------;

BetPot:
MouseGetPos,,,win
WinActivate, ahk_id %win%
MouseGetPos, xx, yy
WinGetPos,,, w, h, A
potx:=w*(potxa/800)
poty:=h*(potya/600)
MouseClick , left, potx, poty, 1, 0
Mousemove, %xx%, %yy%, 0
return

;------------------------------------------;

BetHalfPot:
MouseGetPos,,,win
WinActivate, ahk_id %win%
MouseGetPos, xx, yy
WinGetPos,,, w, h, A
halfpotx:=w*(halfpotxa/800)
halfpoty:=h*(halfpotya/600)
MouseClick , left, halfpotx, halfpoty, 1, 0
Mousemove, %xx%, %yy%, 0
return

;------------------------------------------;

AutoPostBlinds:
MouseGetPos,,,win
WinActivate, ahk_id %win%
MouseGetPos, xx, yy
WinGetPos,,, w, h, A
autopostx:=w*(autopostxa/800)
autoposty:=h*(autopostya/600)
MouseClick , left, autopostx, autoposty, 1, 0
Mousemove, %xx%, %yy%, 0
return
;------------------------------------------;

SitInOut:
MouseGetPos,,,win
WinActivate, ahk_id %win%
MouseGetPos, xx, yy
WinGetPos,,, w, h, A
sitoutx:=w*(sitoutxa/800)
sitouty:=h*(sitoutya/600)
MouseClick , left, sitoutx, sitouty, 1, 0
Mousemove, %xx%, %yy%, 0
return

;==========================================;
not tested on UB but should work in TOP view. autopost and sit in toggles will not work in classic view on UB
this code needs to be adjusted to work for non-standard windows as it doesn't allow for the size of the title bar. fix coming.
Absolute UB Hotkeys Quote
02-06-2010 , 03:10 PM
I use RButton hotkey to fold on UB. but my problem is that when I play stars and ftp at the same time and its my turn to act on UB, I have to left click the table then right click to fold. Is there anyway to make it just fold when I right click with my mouse over the table?
Absolute UB Hotkeys Quote
02-06-2010 , 08:06 PM
I can do you a custom version sometime it's a bit annoying with the rightclick context menu I wish they had an option to turn it off...
Absolute UB Hotkeys Quote
02-06-2010 , 10:36 PM
That would be amazing! Let me know if you do it and ill toss ya some cash for the hassle.
Absolute UB Hotkeys Quote
02-07-2010 , 12:52 AM
I could relaly use some help in changing my ub skins. Plz pm me on aim ubergrinder if you have time I really appreciate it.
Absolute UB Hotkeys Quote
02-09-2010 , 08:22 PM
Quote:
Originally Posted by madlion
Here is a little script I made for the Cereus network.

absoluteubhotkeys

Hotkeys:

Half Pot = Numpad Divide
Full Pot = Middle Mouse Button
Fold/Autofold/Free to Check = Right Mouse Button
Call/Check = Ctrl+Alt+.
Bet/Raise = Ctrl+Alt+,
Stack Cycle = Right Alt
Register SNG = Ctrl+t

Other Stuff:

Popup Killer (No more clicking OK.....OK.....OK)
Auto Tourney Registration

*change hot keys to suit obv*

-Make for TOP view tables (could easily be changed to suit CLASSIC view)
-if you are using Roland's Reload script you will need to change the hotkey to something other than F1
I could be extremly stupid but i really hate Ctrl+T for register SNGs but I cannot find it in the script?! Please help.
Absolute UB Hotkeys Quote
02-09-2010 , 08:58 PM
Quote:
New Update!!!

  • Classic View
  • GUI Added

http://905212.biz.nf/madlionpoker/index.html

Did you somehow miss this?
Absolute UB Hotkeys Quote
02-10-2010 , 05:13 PM
Quote:
Originally Posted by madlion
Did you somehow miss this?
Maybe :P.

Btw, i downloaded it and set RButton as fold and MButton as bet/raise but only the fold-command works?
Absolute UB Hotkeys Quote
02-10-2010 , 06:35 PM
turn hotkeys on client side FTW
Absolute UB Hotkeys Quote
02-24-2010 , 03:38 AM
Quote:
Originally Posted by Mescalin8
I use RButton hotkey to fold on UB. but my problem is that when I play stars and ftp at the same time and its my turn to act on UB, I have to left click the table then right click to fold. Is there anyway to make it just fold when I right click with my mouse over the table?
I'd be interested in the same thing and would make a donation for it.
Absolute UB Hotkeys Quote
02-24-2010 , 04:41 AM
PM sent
Absolute UB Hotkeys Quote
02-25-2010 , 10:38 PM
Most awesome script... except for this bug:

I have right mouse button set to bet. Often when I increase the slider (via the native UB mouse wheel button) and right click to bet, TWO tables raise, NOT just the table I'm playing!!!!

Anyone else experiencing this????
Absolute UB Hotkeys Quote

      
m