I made a new script for Absolute Poker, my final one, Im done with AHK as all my other projects were too difficult for my limited knowledge. This last one however works great/bugless and is really helpfull. You can use it on other poker rooms as well if you do some simple editing.
TableTiler by Thois
With one simple click on the middle mouse button (you can change this button to fit your own needs), it positions/resizes all your Absolute Poker tables to your predefined settings. Works up to 16 tables. If you find this script helpfull, you can donate to 'Thois' on Stars.
I can help you if you cant get it to work on a different site.
Code:
; TableTiler by Thois
; -------------------
; Position/resize your poker tables to your predefined settings, works on all poker rooms if you do a little bit of editing (edit just 2 simple lines). Currently its set for Absolute Poker.
CoordMode, Mouse, Screen
#MaxHotkeysPerInterval 300
#SingleInstance, Force
SetTitleMatchMode 2
; Edit the part between the brackets to match your poker room, find this value using the Autohotkey Window Spy (activate a table then copy paste the part behind 'ahk_class '.
classname := "DxWndClass"
; You dont want to tile your poker room's lobby, so seek for unique text in its title bar and put it between the brackets.
excludelobby := "Lobby"
; Edit the dimensions you want to use for all tables (leave width and height blank if you dont want to resize your tables) and set the x and y for each individual table.
windowwidth := 640
windowheight := 482
window1x := 0
window1y := 30
window2x := 640
window2y := 30
window3x := 0
window3y := 512
window4x := 640
window4y := 512
window5x := 1280
window5y := 30
window6x := 1280
window6y := 512
window7x := 1920
window7y := 30
window8x := 1920
window8y := 512
window9x :=
window9y :=
window10x :=
window10y :=
window11x :=
window11y :=
window12x :=
window12y :=
window13x :=
window13y :=
window14x :=
window14y :=
window15x :=
window15y :=
window16x :=
window16y :=
; Just a simple click of the middle mouse button tiles the tables! If you dont want to use the middle mouse button for this, edit the line below.
~MButton::
tiler1 := ""
tiler2 := ""
tiler3 := ""
tiler4 := ""
tiler5 := ""
tiler6 := ""
tiler7 := ""
tiler8 := ""
tiler9 := ""
tiler10 := ""
tiler11 := ""
tiler12 := ""
tiler13 := ""
tiler14 := ""
tiler15 := ""
tiler16 := ""
WinGet, tiler, List, ahk_class%classname%,,%excludelobby%
WinGet, numberofwindows, Count, ahk_class%classname%,,%excludelobby%
if numberofwindows > 0
{
WinMove, ahk_id%tiler1%,, window1x, window1y, windowwidth, windowheight
WinMove, ahk_id%tiler2%,, window2x, window2y, windowwidth, windowheight
WinMove, ahk_id%tiler3%,, window3x, window3y, windowwidth, windowheight
WinMove, ahk_id%tiler4%,, window4x, window4y, windowwidth, windowheight
WinMove, ahk_id%tiler5%,, window5x, window5y, windowwidth, windowheight
WinMove, ahk_id%tiler6%,, window6x, window6y, windowwidth, windowheight
WinMove, ahk_id%tiler7%,, window7x, window7y, windowwidth, windowheight
WinMove, ahk_id%tiler8%,, window8x, window8y, windowwidth, windowheight
WinMove, ahk_id%tiler9%,, window9x, window9y, windowwidth, windowheight
WinMove, ahk_id%tiler10%,, window10x, window10y, windowwidth, windowheight
WinMove, ahk_id%tiler11%,, window11x, window11y, windowwidth, windowheight
WinMove, ahk_id%tiler12%,, window12x, window12y, windowwidth, windowheight
WinMove, ahk_id%tiler13%,, window13x, window13y, windowwidth, windowheight
WinMove, ahk_id%tiler14%,, window14x, window14y, windowwidth, windowheight
WinMove, ahk_id%tiler15%,, window15x, window15y, windowwidth, windowheight
WinMove, ahk_id%tiler16%,, window16x, window16y, windowwidth, windowheight
}
return
Last edited by Thois; 11-02-2009 at 02:38 PM.