for those looking for a stacking/slot solution on stars, i have modified a few AHK scripts together to stack tables. i have resized stars tables to the size i would use to fit 9 tiled tables. the 'd' hotkey is the stack, the other slots are important tables to watch
Code:
; this basically splits the screen into three columns
; each letter in the grid corresponds to the hotkey
; to move it there
;
; | r | t
; d |_____|_____
; | f | g
;-----|_____|_____
; | v | b
; | |
here is the script:
Code:
; ==== INSTRUCTIONS ====
;
; open tables, press 'd' to put them into the stack
; if there is a table you want to concentrate on, press
; the hotkey (r,f,v,t,g,b) to move it into that slot.
; when done, press 'd' to move back to the stack
;
; see the grid below for more details
;
; based off ## StarsStackerAlpha
; different versions and edits by the following 2p2 posters:
; bhanson
; p3rc4
; Amerzel
; Be sure to add "f5redrawtable=1" without
; the quotes to your pokerstars user.ini
; under [options] if you want the
; auto-resize to work properly
; (thanks to Fermion5 @ 2p2 forums)
;
; if you want to use the resize
; on my comp it redrew every table which was annoying
; see comments in bottom last function
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
GroupAdd, PSTables, ahk_class PokerStarsTableFrameClass
; Monitor Resolution, change these settings appropriately
ResX := 1920
ResY := 600 ; only stack half the height of the screen, see grid below
; stars table sizes
TblWidth := 640
TblHeight := 464
; Spacing configuration, the space in pixels between windows in the stack
SpcPix := 15
LeftN := 0
; this basically splits the screen into three columns
; each letter in the grid corresponds to the hotkey to move it there
;
; | r | t
; d |_____|_____
; | f | g
;-----|_____|_____
; | v | b
; | |
; this hotkey moves back to the stack on the left and slightly cascades is down by SpcPix pixels
d::MoveLeft(LeftN, SpcPix, ResX, ResY)
; these move to the grid on the right
r::MoveWindow(680, 0, TblWidth, TblHeight)
f::MoveWindow(680, 464, TblWidth, TblHeight)
v::MoveWindow(680, 736, TblWidth, TblHeight)
t::MoveWindow(1280, 0, TblWidth, TblHeight)
g::MoveWindow(1280, 464, TblWidth, TblHeight)
b::MoveWindow(1280, 736, TblWidth, TblHeight)
F2::Suspend ; hotkey to pause the script
MoveLeft(ByRef LeftN, SpcPix, ResX, ResY)
{
MoveWindow(90, (LeftN * SpcPix), 640, 464)
LeftN := LeftN + 1
if (LeftN * SpcPix > ResY - 32 - 464)
LeftN := 0
}
MoveWindow(LocX, LocY, SizeX, SizeY)
{
WinGetActiveTitle, TitleVar
IfWinActive ahk_class PokerStarsTableFrameClass
{
WinMove, %TitleVar%,, LocX, LocY ; don't resize
;WinMove, %TitleVar%,, LocX, LocY, SizeX, SizeY ; if you want to resize, uncomment these two
;Send, {F5}
}
}