By _dave_ at 2+2 forums.
Keep Lobby
It would always annoy me the way that Party Poker's lobby would minimize whenever I opened a table. Often I would want to open more than one table, needing to click the lobby on the taskbar to bring it back in to view. This was even more annoying when several tables were open already, making it harder to identify the lobby's taskbar entry.
This was one of the first scripts I wrote, and all it does is look out for a minimized Party / Empire / Stars / Ultimate Bet lobby, and should it find one - restore it to it's rightful state, in plain view.
Hopefully others will find this useful, despite it's simplicity, I certainly do.
Party / Empire / Stars / Ultimate Bet should be started before running this script - If there is no lobby to be found, it will exit. Also, should you close the lobby, this script will exit.
Enjoy,
dave.
If you only play on Stars
If you only play on Stars, there is a simpler way to achieve this; add one line to the c/Program Files/PokerStars/user.ini file under [options]:
MinimizeLobby=0
If you play other sites and want a single solution to address them all, use the script on this page.
Code
;------------------------------------------------------------------------------------------
;;;;;;;;;;;;;;;;; CODE STARTS HERE
#SingleInstance force
SetTitleMatchMode, 2
WinGet, id, ID, EmpirePoker.com: Poker Lobby
If (id)
{
lobby := "Empire Poker"
}
Else
{
WinGet, id, ID, PartyPoker.com
If (id)
{
lobby := "Party Poker"
}
Else
{
WinGet, id, ID, PokerStars Lobby
if (id)
{
lobby := "PokerStars"
}
Else
{
WinGet, id, ID, UltimateBet - Poker Lobby
if (id)
{
lobby := "Ultimate Bet"
}
}
}
}
If( ! id )
{
MsgBox, % "Failed to detect any supported poker lobby,`n`nScript will exit."
Exit
}
Loop
{
WinGet, ismin, MinMax, ahk_id%id%
If (ismin = -1)
{
WinRestore, ahk_id%id%
}
Else IfWinNotExist, ahk_id%id%
{
MsgBox, % lobby . " lobby seems to have closed,`n`nScript will exit."
Exit
}
;____ Change the number below to define how long to wait between checks (in milliseconds)
sleep 1500
}
;------------------------------------------------------------------------------------------
;;;;;;;;;;;;;;;;; CODE ENDS HERE
