Open Side Menu Go to the Top

11-11-2011 , 03:14 AM
Have a "Move aside" hotkey but have it setup so that u use one button but it moves tables into separate slots? The idea is so u dont have to have 4 different buttons to set aside tables and also that u see the action instead of those tables being stacked on top of each other (also it would be a lot less work then having to use cycle hotkeys to go thru the 2nd stack).

I have already looked at Stack and Tile, the Stack previewer and all the other stuff out there and that is not what I am looking for I don't believe (if this is even possible).
Is this possible? Quote
Is this possible?
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Is this possible?
11-11-2011 , 06:44 AM
Everything you imagine is possible.
Try table of interest.
Is this possible? Quote
11-11-2011 , 09:01 AM
StackAndTile does this.. you set up one hotkey to "move table to next slot"
Is this possible? Quote
11-11-2011 , 01:01 PM
Quote:
Originally Posted by ginandbread
Everything you imagine is possible.



Quote:
Originally Posted by greg nice
StackAndTile does this.. you set up one hotkey to "move table to next slot"
So I can have 1 hotkey to move a table to Slot1 and then use the same hotkey to move another table to Slot2?
Is this possible? Quote
11-11-2011 , 03:45 PM
I have a script that uses one hotkey to move table to the next available of any slots, and same hotkey moves it back to the stack if it's out in a slot
Is this possible? Quote
11-11-2011 , 05:00 PM
Quote:
Originally Posted by _dave_
I have a script that uses one hotkey to move table to the next available of any slots, and same hotkey moves it back to the stack if it's out in a slot
omgomg, can i has?
Is this possible? Quote
11-11-2011 , 05:17 PM
sure, will post here later tonight once I power up the grind machine

also, if all the slots are full the same hotkey will cycle thru tables in the stack lol. I used to use it for 60-tabling the micro DoNs rso3rso3 style lol
Is this possible? Quote
11-11-2011 , 07:44 PM
Quote:
Originally Posted by _dave_
sure, will post here later tonight once I power up the grind machine

also, if all the slots are full the same hotkey will cycle thru tables in the stack lol. I used to use it for 60-tabling the micro DoNs rso3rso3 style lol
OMG u are my hero

Last edited by IamPro; 11-11-2011 at 07:44 PM. Reason: I hope *crossfingers*
Is this possible? Quote
11-11-2011 , 11:09 PM
Think I got leveled, hope not
Is this possible? Quote
11-12-2011 , 12:43 AM
OK here you go.

It's a simple script, requires manual editing - no fancy GUI or anything, I made this for me! only just hacked in some options so it'll work with a variable number of slots lol, forgot it was hard-coded for my setup!

There's three lots of settings to edit. They're all at the start.

First set the width and height (windowx / windowy) of a table you want. al tables will be this size. You can see it using window spy mouse over any table that is sized as you wish.

Then set how many slots you want for tables, including the stack (numslots)

Then the most awkward part, "positions of the slots". this is a big long list of pairs of x/y coordinates on your monitor, stack1x / stack1y is where the main stack goes and as the numbers increase this is the order that tables will get moved out to when you press the hotkey. THE SLOTS CANNOT OVERLAP! but they can be neatly aligned with no gap. either place tables manualy and check out their x/y position on WindowSpy, or just start at 0,0 and add teh values used for window width and height above to get a perfect grid.

Actually there's a 4th setting, whatever hotkey you want to use. it's F14 in this example, probably of no use to anyone without a logitech mx revolution mouse with options set up like me. so pick something more convenient, like XButton1 on a lot of mouses or a keyboard key etc.

Ask if any troubles of course

Code:
#NoEnv
#SingleInstance, Force

SetTitleMatchMode, 2

; WIDTH AND HEIGHT OF A TABLE
windowx := 912
windowy := 652


; NUMBER OF SLOTS
numslots := 6



;POSITIONS OF THE STACK
stack1x := 0
stack1y := 912

stack2x := 0
stack2y := 260

stack3x := 912
stack3y := 260

stack4x := 912
stack4y := 912

stack5x := 1824
stack5y := 912

stack6x := 1824
stack6y := 260


GroupAdd, StarsTables, ahk_class PokerStarsTableFrameClass
GroupAdd, StarsTables, No Limit Hold'em - Logged In As ahk_class QWidget 
return


; SET THE HOTKEY HERE
f14::automove()


; ### DO NOT EDIT BELOW ###



~^`::Suspend


automove()
{
  global
  MouseGetPos, , , id
  WinGetPos, tx, ty, , , ahk_id%id%
  ;msgbox, %tx% %ty%
  IfWinExist, ahk_id%id% ahk_group StarsTables
  {
    if (tx = stack1x && ty = stack1y)
    {
      ;msgbox, automove
      Loop, %numslots%
      {
        if (A_Index = 1)
        {
          continue
        }
        else
        {
          tt := WinFromPoint((stack%A_Index%x + 3),(stack%A_Index%y +3))
          WinGetTitle, Title, ahk_id%tt%

          IfWinExist, ahk_id%tt% ahk_group StarsTables
          {
            if (A_Index = numslots)
            {
              WinSet, Bottom, , ahk_id%id%
            }
            continue
          }
          else
          {
            WinMove, ahk_id%id%,, stack%A_Index%x, stack%A_Index%y, %windowx%, %windowy%
            WinSet, Bottom, , ahk_id%id%
            break
          }
        }
      }  
    }
    else
    {
      ;stack
      WinMove, ahk_id%id%,, %stack1x%, %stack1y%, %windowx%, %windowy%
      WinSet, Bottom, , ahk_id%id%
    }
  }
}



MoveWindow(LocX, LocY, SizeX, SizeY)
{
	MouseGetPos, , , id
  ;WinGetActiveTitle, TitleVar
	IfWinExist, ahk_id%id% ahk_group StarsTables
  {
    WinMove, ahk_id%id%,, %LocX%, %LocY%, %SizeX%, %SizeY%
    ;ControlSend, , {F5}, ahk_id%id%
    WinSet, Bottom, , ahk_id%id%
  }
  ;Send, {F5}
}

WinFromPoint(x,y)
{

  PX := x, PY := y
  VarSetCapacity(POINT, 8, 0)
  NumPut(PX, POINT), NumPut(PY, POINT, 4)
  HWND := DllCall("WindowFromPoint", "Int64", NumGet(POINT, 0, "Int64"))
  HWND := DllCall("GetAncestor", "UInt", HWND, "UInt", GA_ROOT := 2)
  WinExist("ahk_id" . HWND)
;WinGetTitle, Title
;WinGetClass, Class
;WinGetPos, X, Y, W, H
;MsgBox, %HWND% - %Title% - %Class% - %X%,%Y%,%W%,%H%
  return hwnd
}
Is this possible? Quote
11-12-2011 , 01:35 AM
U the best

Last edited by IamPro; 11-12-2011 at 01:38 AM. Reason: ship this man some money if this script benefits u
Is this possible? Quote
11-12-2011 , 03:16 PM
Quote:
Originally Posted by IamPro
So I can have 1 hotkey to move a table to Slot1 and then use the same hotkey to move another table to Slot2?
yep, same hotkey. if stacks are all in slot1, and slot2 is free, using the "move to next slot" hotkey will move it to slot2,3,4, etc accordingly. you would need another hotkey to return the table to the stack, or it will automatically do so when you click Fold (which is configurable too)
Is this possible? Quote
Is this possible?
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Is this possible?

      
m