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
  #11  
Old 11-24-2007, 11:29 PM
runhot runhot is offline
Senior Member
 
Join Date: Nov 2006
Location: Stacking Chips
Posts: 1,162
Default Re: simple script for stars: help please

[ QUOTE ]
Is there Antes?


[/ QUOTE ]

yes there were antes
Reply With Quote
  #12  
Old 11-24-2007, 11:38 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default 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]
Reply With Quote
  #13  
Old 11-24-2007, 11:41 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default 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
}
Reply With Quote
  #14  
Old 11-24-2007, 11:44 PM
runhot runhot is offline
Senior Member
 
Join Date: Nov 2006
Location: Stacking Chips
Posts: 1,162
Default Re: simple script for stars: help please

dave for the right click, its still seems to be off b y a factor of ten
Reply With Quote
  #15  
Old 11-25-2007, 12:09 AM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default 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
;-------------------------------------------
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 12:27 PM.


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