#11
|
|||
|
|||
Re: simple script for stars: help please
[ QUOTE ]
Is there Antes? [/ QUOTE ] yes there were antes |
#12
|
|||
|
|||
Re: simple script for stars: help please
[ QUOTE ]
[ QUOTE ] Is there Antes? [/ QUOTE ] yes there were antes [/ QUOTE ] That makes sense with my above edit then [img]/images/graemlins/smile.gif[/img] please try: ;--------------------------------- ~RButton:: F4:: ;WinGet,id,,A MouseGetPos,,, curWin WinGetTitle, title, ahk_id%curWin% IfInString, title, No Limit Hold'em { Slash := Instr(title, "/") + 2 if (Instr(title, "Ante")) { Space := Instr(title, " ", false, Slash) } else { Space := Instr(title, " ", false, Slash)-2 } BBLength := Space - Slash StringMid, Bigblind, title, Slash, BBLength Transform, RaiseAmount, Round, Bigblind * 2.5 MouseGetPos,,, curWin ControlSetText, PokerStarsSliderEditorClass1, %RaiseAmount%, ahk_id%curWin% } return ;--------------------------------- Hopefully that does the job [img]/images/graemlins/smile.gif[/img] |
#13
|
|||
|
|||
Re: simple script for stars: help please
[ QUOTE ]
also can i somehow change F1 from tile to a custom layout somehow? [/ QUOTE ] Yeas, just change the word "Tile" to whatever you want to pick from the view menu - say.. "Custom Layout: my 12 table setup" - it depends how you named your layouts: F1::tile() return tile() {SetTitleMatchMode, 1 WinWait, PokerStars Lobby WinActivate, PokerStars Lobby WinWaitActive, PokerStars Lobby WinMenuSelectItem, PokerStars Lobby,,View,Custom Layout: my 12 table setup } |
#14
|
|||
|
|||
Re: simple script for stars: help please
dave for the right click, its still seems to be off b y a factor of ten
|
#15
|
|||
|
|||
Re: simple script for stars: help please
[ QUOTE ]
dave for the right click, its still seems to be off b y a factor of ten [/ QUOTE ] OK, I just actually sat in a SNG [img]/images/graemlins/smile.gif[/img] should be -1 not -2 [img]/images/graemlins/smile.gif[/img] ;------------------------------------------- ~RButton:: F4:: ;WinGet,id,,A MouseGetPos,,, curWin WinGetTitle, title, ahk_id%curWin% IfInString, title, No Limit Hold'em { Slash := Instr(title, "/") + 2 if (Instr(title, "Ante")) { Space := Instr(title, " ", false, Slash) } else { Space := Instr(title, " ", false, Slash)-1 } BBLength := Space - Slash StringMid, Bigblind, title, Slash, BBLength Transform, RaiseAmount, Round, Bigblind * 2.5 MouseGetPos,,, curWin ControlSetText, PokerStarsSliderEditorClass1, %RaiseAmount%, ahk_id%curWin% } return ;------------------------------------------- |
|
|