Select Page
Poker Forum
Over 1,291,000 Posts!
Poker ForumTournament Poker

A Beginner's Guide to Multi-Tabling by Nakamura and Rage2100

Page 2 of 2 FirstFirst 12
Results 76 to 137 of 137
  1. #76
    very helpful thanks for this
  2. #77
    Any way to get this working on a mac?
    [20:19] <Zill4> god
    [20:19] <Zill4> u guys
    [20:19] <Zill4> so fking hopeless
    [20:19] <Zill4> and dumb
  3. #78
    Quote Originally Posted by EasyPoker
    Any way to get this working on a mac?
    VMware Fusion?
  4. #79
    I'm loving this script, but I'm running into one slight problem.

    When running PokerTracker, I have to shut off the HUD display, or it won't cycle tables. It still reads thou!

    I have tried with my mouse on several different areas (as to not "accidentally" be hovered over any HUD interface), but alas, nothing. It just sits there and won't move any of the Main Stack to Sub-Stacks.

    What could the problem be? I really like my HUD..... but really love this program!
  5. #80
    Hmm ... interesting. Are you a windows Vista user?
  6. #81
    I'm currently running Windows 7 Ultimate. I have UAC turned off, so normally I don't have to mess with an Admin feature. I'll try again tonight using admin, but the script worked fine without PokerTraker open.... it just wouldn't move stacks when PokerTracker was open.
    "Looking at my old posts, I realize how much of a DONK I was. Time to change that and TRULY learn how to play poker. No more ego. No more pride. Just me, my cards, and the great knowledge bestowed upon me by FTR."

  7. #82
    There was a similar problem described in the following thread:
    http://www.flopturnriver.com/phpBB2/...ra-t90772.html

    Please try everything explained and let us know how you get on. I've never used Windows 7, but I suspect the problem will be some permissions issue.
  8. #83
    PT3 was already running as admin. I moved the script to the USER folder. Fired up three games and had PT3 off. Tried the spacebar, it moved Main Stack to Stack one. Tried Tab and it cycled through tables (I added tab... but only after I was already having the PT3 prolbems). I started PT3. Played one hand without issue.... as soon as HUD popped up, the script stopped working... Funny things I noticed:

    When it stops, i can go to the chat box and the space button actually works again (But doesn't work in any other text box on any other program until I shot off the script... found that out when i went to type this message.) So I'm stumped now.
  9. #84
    That sounds very strange. It's hard to say what is wrong without having Windows 7 to test it on, but can you try the following and let me know what happens?

    Add a semi-colon before the "If class=%Class_Name%" line, as shown below. What moves now when the HUD is running? Does the table move, or the HUD overlay?

    Code:
    space::
    CoordMode, Mouse
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinGetPos, X, Y,,, %ahk_id%
    WinGetClass, class
    ;If class=%Class_Name%
  10. #85
    nothing changes. Don't know if it's relevent or not, but when i press the spacebar with HUD on, the mouse disapears.... until i move it. Does this with or without the semicolon
    "Looking at my old posts, I realize how much of a DONK I was. Time to change that and TRULY learn how to play poker. No more ego. No more pride. Just me, my cards, and the great knowledge bestowed upon me by FTR."

  11. #86
    I've just had a quick look around and it seems a few people are having trouble running AHK scripts with Windows 7.

    The only other things I've read that you could try are:

    1. Uninstall AutoHotkey and reinstall it as Administrator.

    2. Turn off the Aero Snap feature in Windows 7.

    3. Run your poker client, PT3, and AutoHotkey in compatibility mode. This can be done by following the directions here:
    http://www.howtogeek.com/howto/windo...tibility-mode/
  12. #87
    Here's some fun I had this weekend. I created hotscripts to help with note taking. I started in thread in Tools forum where you can get details. Here's the code:

    Code:
    #IfWinExist ahk_class #32770
    
    #Hotstring c *
    
    ::rad::Make reads and adjusts
    ::2pp::Will not stack off w/o 2 pair or better
    ::ppf::Poor decision-making post flop
    ::pbp::Poor decision-making in big pots
    ::sol::Stack off light
    ::slp::Stack off light preflop: 
    ::slf::Stack off light flop: Top Pair
    ::slt::Stack off light turn/river 
    ::tbf::3 bets light/folds often
    ::fbf::4 bets light/fold
    
    ::sfd::Flop shove w/ 8-out draw +
    ::rfd::Flop raise in position w/ 8-out draw +
    ::crfd::Flop check/raise w/ 8-out draw +
    
    ::tba::Can 2-barrel air 
    ::3ba::Can 3-barrel air
    ::tp3::Cbets all 3 streets as PFR with TPGK w/o improving
    ::tp2::Cbets 2 streets as PFR with TPGK, then shuts down
    ::tp1::Cbets only 1 street as PFR with TPGK, then shuts down
    ::cxt::Calls one extra street of value
    ::c2x::Calls two extra streets of value
    
    ::rbb::Bluffs river with big bet (2/3's psb or more)
    ::rbs::Bluffs river with small bet
    ::sbw::Small postflop bets mean weakness
    
    ::bvb::blind vs. blind
    ::btb::button vs. blind
    As with all my poker scripts, the first line is an IfWinActive statement that only activates the hotscripts or hotkeys when that particular piece of software is active.

    Sometimes, as I'm typing a note, I hit the space bar just as a table "jumps" forward because it's my turn to act, and then the MoveTable script send windows flying around my screen. The note-taking hotscripts helps with that since I have those windows open for much shorter time periods, now, and most the spaces are entered by the hotscripts.
  13. #88
    great post rage + naka. I've yet to install this but just want to make sure about some things.

    For an ftp user.

    Q1. You mentioned not to click on 'x' if it's in slot1/2/3 on ftp. Is this the same when the sng finishes and it gives you that message 'you finished xth place, would you like to join another tournament of the same type?' and below it has 'close this tournament window' checked. If I do that and click 'yes' or 'no', and it closes in slot 1/2/3, will there be similar issue?

    Thanks for the post guys.
  14. #89
    Quote Originally Posted by liqourmaster
    For an FTP user.

    Q1. You mentioned not to click on 'x' if it's in slot1/2/3 on FTP. Is this the same when the sng finishes and it gives you that message 'you finished xth place, would you like to join another tournament of the same type?' and below it has 'close this tournament window' checked. If I do that and click 'yes' or 'no', and it closes in slot 1/2/3, will there be similar issue?
    Yes, when you get eliminated from a SnG, you must move your mouse over that particular table and press the "Escape" key. This closes the table and updates the script counter.

    I don't play at FTP, but I presume you would uncheck the box that asks to close the tournament window, and then close the table as I've just described. I'll get Nakamura to confirm this when he's back from holiday, some time over the weekend.
  15. #90
    Quote Originally Posted by Rage2100
    Quote Originally Posted by liqourmaster
    For an FTP user.

    Q1. You mentioned not to click on 'x' if it's in slot1/2/3 on FTP. Is this the same when the sng finishes and it gives you that message 'you finished xth place, would you like to join another tournament of the same type?' and below it has 'close this tournament window' checked. If I do that and click 'yes' or 'no', and it closes in slot 1/2/3, will there be similar issue?
    Yes, when you get eliminated from a SnG, you must move your mouse over that particular table and press the "Escape" key. This closes the table and updates the script counter.

    I don't play on FTP, but I presume you would uncheck the box that asks to close the tournament window, and then close the table as I've just described. I'll get Nakamura to confirm this when he's back from holiday, some time over the weekend.
    Just FYI, I don't get to arsed about closing tables the "wrong" way. It often doesn't "mess" anything up, especially if you open a new one to replace the old one. I don't play SnG's, so I can't answer your specific question. But anytime the script's counter gets out of sync with my tables, I just reset:

    Click on your FTP custom table setup to return everything to the main stack, then right-click the green "Move Table" AHK icon in the system tray, selecting "reload script."

    This action just returns all slot counts to zero, and then you can resume play as normal. I often face this "problem" because I table-select like fiend, with tables opening and closing all over the place.
  16. #91
    Quote Originally Posted by Robb
    Click on your FTP custom table setup to return everything to the main stack, then right-click the green "Move Table" AHK icon in the system tray, selecting "reload script."

    This action just returns all slot counts to zero, and then you can resume play as normal. I often face this "problem" because I table-select like fiend, with tables opening and closing all over the place.
    If you find you're resetting often, you could set up a hotkey to reset the slots to zero. You can use any key you like, but I've used "F12" below. Just add the lines to the end of the script.

    Code:
    F12::
    S1=0
    S2=0
    S3=0
    return
  17. #92
    Sorry if robb's previous post answers this, but I couldnt quite make sense of it other than it's making abbreviations into full sentences.

    for an ftp user.

    Q2. When I type in notes, I usually like to 'recreate' the hand I note the player on and add a note below it. This usually leads to lots of usage of the button space, and all other buttons for that matter. My question is, while I'm typing in my notes, it wont be sending these tables to slot x every time I press the space button right? As long as my mouse is not over the table?

    I mean, I guess it's not a real problem b/c I can just attach the key to a button like '\' which I never ever use.
    Just wondering
    Thanks
  18. #93
    Quote Originally Posted by liqourmaster
    Q2. When I type in notes, I usually like to 'recreate' the hand I note the player on and add a note below it. This usually leads to lots of usage of the button space, and all other buttons for that matter. My question is, while I'm typing in my notes, it wont be sending these tables to slot x every time I press the space button right? As long as my mouse is not over the table?

    I mean, I guess it's not a real problem b/c I can just attach the key to a button like '\' which I never ever use.
    If you make lots of notes and don't want to use a script like Robb's, the best thing would be to change the hotkey that moves the tables. The steps to do this can be found at the end of the original post, under the section, "Changing The MoveTable Hotkey".
  19. #94
    Wow, thanks for this guide. This was really helpful!
    Check out my site for Texas Holdem Poker Tips

    ~ Joe
  20. #95
    Firstly, I must thank Nakamura for discovering this little trick. By putting a ~ before a hotkey, the key retains it's native function. This means that by slightly changing the MoveTable code, you will be able to use the Spacebar to type notes, as well as to move the tables. In order to type notes, the mouse pointer must be in the following area of the table. If you want to make the area bigger or smaller, this can easily be altered. I'll ask Nakamura to find the co-ordinates for Full Tilt tables, or you can find them yourselves.




    Here is the code you need to change. Please use the version that matches your configuration.

    Configuration 1 (main stack in upper left position)

    Code:
    ~space::
    CoordMode, Mouse, Relative
    MouseGetPos, MX, MY, tableID
    IfWinExist, ahk_id %tableID%
    WinGetPos, X, Y, W, H, %ahk_id%
    WinGetClass, class
    If class=%Class_Name%
    {
    BLX:=W*0.0059
    BLY:=H*0.7677
    BRX:=W*0.3327
    BRY:=H*0.9903
    
    If (MX > BLX) AND (MX < BRX) AND (MY > BLY) AND (MY < BRY)
       {
       } else
    
    If (X < (X_home + T)) AND (Y < (Y_home + T))
    {
     Send, {Backspace}
       If (S1 <= S2) AND (S1 <= S3)
       {
        WinMove,,, Slot1_X, Slot1_Y
        S1+=1
          } else
             If (S2 < S1) AND (S2 <= S3)
             {
              WinMove,,, Slot2_X, Slot2_Y
              S2+=1
             } else
                If (S3 < S1) AND (S3 < S2)
                {
                 WinMove,,, Slot3_X, Slot3_Y
                 S3+=1
                }
    
    } else
       If (X > (Slot1_X - T)) AND (Y < (Slot1_Y + T))
       {
        Send, {Backspace}
          If S1 > 0
          {
           WinMove,,, X_home, Y_home
           S1-=1
          } else
             WinMove,,, X_home, Y_home
    
    } else
       If (X > (Slot2_X - T)) AND (Y > (Slot2_Y - T))
       {
        Send, {Backspace}
          If S2 > 0
          {
           WinMove,,, X_home, Y_home
           S2-=1
          } else
             WinMove,,, X_home, Y_home
    
    } else
       If (X < (Slot3_X + T)) AND (Y > (Slot3_Y - T))
       {
        Send, {Backspace}
          If S3 > 0
          {
           WinMove,,, X_home, Y_home
           S3-=1
          } else
             WinMove,,, X_home, Y_home
    }
    }
    return
    Configuration 2 (main stack in lower right position)

    Code:
    ~space::
    CoordMode, Mouse, Relative
    MouseGetPos, MX, MY, tableID
    IfWinExist, ahk_id %tableID%
    WinGetPos, X, Y, W, H, %ahk_id%
    WinGetClass, class
    If class=%Class_Name%
    {
    BLX:=W*0.0059
    BLY:=H*0.7677
    BRX:=W*0.3327
    BRY:=H*0.9903
    
    If (MX > BLX) AND (MX < BRX) AND (MY > BLY) AND (MY < BRY)
       {
       } else
    
    If (X > (X_home - T)) AND (Y > (Y_home - T))
    {
     Send, {Backspace}
       If (S1 <= S2) AND (S1 <= S3)
       {
        WinMove,,, Slot1_X, Slot1_Y
        S1+=1
          } else
             If (S2 < S1) AND (S2 <= S3)
             {
              WinMove,,, Slot2_X, Slot2_Y
              S2+=1
             } else
                If (S3 < S1) AND (S3 < S2)
                {
                 WinMove,,, Slot3_X, Slot3_Y
                 S3+=1
                }
    
    } else
       If (X > (Slot1_X - T)) AND (Y < (Slot1_Y + T))
       {
        Send, {Backspace}
          If S1 > 0
          {
           WinMove,,, X_home, Y_home
           S1-=1
          } else
             WinMove,,, X_home, Y_home
    
    } else
       If (X < (Slot2_X + T)) AND (Y < (Slot2_Y + T))
       {
        Send, {Backspace}
          If S2 > 0
          {
           WinMove,,, X_home, Y_home
           S2-=1
          } else
             WinMove,,, X_home, Y_home
    
    } else
       If (X < (Slot3_X + T)) AND (Y > (Slot3_Y - T))
       {
        Send, {Backspace}
          If S3 > 0
          {
           WinMove,,, X_home, Y_home
           S3-=1
          } else
             WinMove,,, X_home, Y_home
    }
    }
    return
    The BLX, BLY, BRX and BRY control the size of the red area shown in the picture. Basically, they are just percentage values, with BLX (box left X) being the X co-ordinate of the top left corner of the box, which is 0.59% the width of the overall table.

    If you take notes in HEM or PT3, you should just be able to add the ~ before the hotkey, although I've not had chance to test this yet.
    Last edited by Rage2100; 03-20-2010 at 01:55 PM.
  21. #96
    Ok, FTP has a slightly different way of making notes; it opens up a completely new window, which is rather handily labelled "Player Notes". It should be easy to turn off spacebar functionality in this window. Rage, I'll send you the stuff now ...

    BTW, being able to type notes again is awesome, but we are currently working on auto-shifting the tables from the slots back to the main whenever a) Hero folds or b) the hand finishes. Between Rage and I we have finished a) and are still working on b). It should be very neat once we finish the code.
  22. #97
    Here are the co-ordinates for Full Tilt tables. Please modify the code above and change the corresponding lines.

    Code:
    BLX:=W*0.0061
    BLY:=H*0.8571
    BRX:=W*0.3431
    BRY:=H*0.9915
    Nakamura has tested the code on Full Tilt tables, and by using ~ before the hotkey and by changing to the co-ordinates above, you will be able to chat in the chat box at the bottom left of the table, chat in the separate window that pops up, and take notes in the separate window.
  23. #98


    Outstanding fellas
    "You start the game with a full pot o’ luck and an empty pot o’ experience...
    The object is to fill the pot of experience before you empty the pot of luck."

    Quote Originally Posted by XxStacksxX View Post
    Do you have testicles? If so, learn to bet like it
  24. #99
    nice_aiau's Avatar
    Join Date
    Apr 2008
    Posts
    273
    Location
    Dunedin, New Zealand
    OMGthisisawesome
  25. #100
    Hi

    I assume it won't work with UB soft, right?
    Does any one have any alternative for that kind of helpers to UB soft?

    Thanks

    edit: actually it half works, can anyone help me?
    The thing is, ctrl+g (set default size&position) and ctrl+space works well, ctrl+direction also works, but the "space" after customizing 4slots with ctrl+f1/f2/f3/f4 doesn't do anything.

    Also what's bothering me the most is that it doesn't remember the size&position I set, after I turn ahk off and on, I have to set it up again. I press ctrl+s for saving it, but it doesn't. Any advice?
    Last edited by vizka; 06-01-2010 at 06:56 PM. Reason: additional question
  26. #101
    Welcome to FTR!

    Firstly, stacking tables relies on the poker client having the ability to queue tables. If UB doesn't have this ability, tables will be popping up all over the place, making stacking pretty much useless.

    If you want to try the scripts on UB, you would need to find out the "ahk_class" for their tables. Load up the AHK Window Spy, which you will find in your AutoHotkey directory. Then, click on a UB table, and you will see the "Window Title & Class" at the very top of the Window Spy box.

    Once you know the "ahk_class" of the UB tables, you only have to change one line in the "MoveTable" script. Near the top of the script, is the line "Class_Name=PokerStarsTableFrameClass", or "Class_Name=QWidget", depending on which script you are changing. Just change this to "Class_Name=Whatever the ahk_class of the UB tables are", and give it a go.
  27. #102
    this thread is awsome.. using ahk's have made playing 10+ tables on my lap top tits and I couldn't imagine playing with out it. Thanks guys!
    "Those who say it can't be done, shouldn't interrupt those who are doing it"
  28. #103
    Quote Originally Posted by vizka View Post
    Also what's bothering me the most is that it doesn't remember the size&position I set, after I turn ahk off and on, I have to set it up again. I press ctrl+s for saving it, but it doesn't. Any advice?
    When you press ctrl+s it just saves where the slots should be not where the tables should open. This part is controlled by the poker client. Try to save a 'layout' or something like that in your chosen poker client.
  29. #104
    thanks, UB seems to miss this feature and I have to set the size each time I start playing.

    However if anyone knows i'm wrong I would be grateful for solution.
  30. #105
    If the tables open at the correct size, but in the wrong positions, you could just use the "F1" key when running the "MoveTable" script. This moves the tables to the main stack position.

    If they open the wrong size and in the wrong position, let me know, and I can alter the scripts for you.

    Are you ok editing the scripts yourself? It will only be a couple of extra lines to add to each script I think. I will do that now and post them when I've finished.
  31. #106
    Ok, here are the changes you need to make. I haven't tested these at all, but they should work. If there are any problems, let me know.

    After you make the changes, you need to run the "SetTable" script again, to set the size and positions of your tables. Then, when you are running the "MoveTable" script, the "F1" key should resize and move your tables.

    I'm not sure if there will be any problems resizing the tables on UB automatically, as some sites show a slight bug when doing this (see the section in the original post, "Additional Step For Poker Stars Users"). Sometimes, just clicking on the table border fixes this problem.


    Changes to the "SetTable" script.

    These lines are at the bottom of the script. Please replace with the following.

    Code:
    ^s::
    ini:="MoveTable_UB.ini"
    iniWrite, %F1X%, %ini%, Location, X_home
    iniWrite, %F1Y%, %ini%, Location, Y_home
    iniWrite, %F1W%, %ini%, Location, W_home
    iniWrite, %F1H%, %ini%, Location, H_home
    iniWrite, %F2X%, %ini%, Location, Slot1_X
    iniWrite, %F2Y%, %ini%, Location, Slot1_Y
    iniWrite, %F3X%, %ini%, Location, Slot2_X
    iniWrite, %F3Y%, %ini%, Location, Slot2_Y
    iniWrite, %F4X%, %ini%, Location, Slot3_X
    iniWrite, %F4Y%, %ini%, Location, Slot3_Y
    return

    Changes to the "MoveTable" script.


    These lines are near the top of the script. Please replace with the following.

    Code:
    ini:="MoveTable_UB.ini"
      iniRead, X_home,  %ini%, Location, X_home, 0
      iniRead, Y_home,  %ini%, Location, Y_home, 0
      iniRead, W_home,  %ini%, Location, W_home, 0
      iniRead, H_home,  %ini%, Location, H_home, 0
      iniRead, Slot1_X, %ini%, Location, Slot1_X, 0
      iniRead, Slot1_Y, %ini%, Location, Slot1_Y, 0
      iniRead, Slot2_X, %ini%, Location, Slot2_X, 0
      iniRead, Slot2_Y, %ini%, Location, Slot2_Y, 0
      iniRead, Slot3_X, %ini%, Location, Slot3_X, 0
      iniRead, Slot3_Y, %ini%, Location, Slot3_Y, 0
    These lines are at the bottom of the script. Please replace with the following.

    Code:
    F1::
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinGetClass, class
    If class=%Class_Name%
    WinMove,,, X_home, Y_home, W_home, H_home
    return
  32. #107
    ok i'm lost, tons of scripts and it all mixes up

    I use "settable" which gives me the possibility of setting the size and place, then ctrl+g to save it and then each new table I can place there with ctrl+space, and also move them with ctrl+direction.

    I don't use "movetable", why should I? What features that I need does it have?

    I also use "absolute ub hotkeys" from one fellow on two+two forum which serves as a popup killer only.

    I will proceed with these changes to settable and get back to you with results, please reply to my "movetable" inquiry
    cheers
  33. #108
    Yo, the SetTable script sets up and saves the positions of the slots the tables move into. The MoveTable Script uses the spacebar to move tables from the main stack to the next available slot. It uses counters for this which are not in the SetTable script. MoveTable also contains useful bits of code that allow you to use the spacebar in it's normal capacity etc.

    Load up MoveTable and some play money tables and press the spacebar. Tables should move into the available slots if everything is set up correctly.
  34. #109
    Quote Originally Posted by Nakamura View Post
    Load up MoveTable and some play money tables and press the spacebar. Tables should move into the available slots if everything is set up correctly.
    I don't need that actually, set table suits me fine but I just want it to remember the slot where the table should go after pressing ctrl+g. The rage2010's proposed change to the script does nothing.
    For moving tables between slots I use ctrl+direction and it's fine for me.

    How about a script that recognizes tables where I'm sitting out and inform me about it? Anything like this available?
  35. #110
    I don't think these are the scripts for you then, as you are trying to do something different. The "MoveTable" script is used to move tables between slots, which are set up using the "SetTable" script. If you are not using "MoveTable", "SetTable" will be pretty useless, and will not do much at all.
  36. #111
    here's how I do it: at the beginning of each session I run set table script, and register to sngs. When the first one shows up I move it to the desired location and size and press ctrl+g which defines the main stack size&position. Now, when the next tables opens I press ctrl+space and they are automatically moved to the stack. When I need a special attention to any table I simply press i.e. ctrl+left and the table is moved to an empty slot on the left of the stack.
    I do not need move table script for that, set table does is all, I don't run move table script.

    I ran move table once couple of days a go and I tried to follow the instruction at the beginning of this thread but failed, meanwhile I found that the steps above suits me just fine.
    Maybe I'm wrong, I'm not into technical details but it seems to me that I use set table only and use it actively during the session.
  37. #112
    Cool, well if you are happy with using SetTable then continue using it the way it works for you. When Rage created MoveTable we were thinking about a script that would open each table in a NEW slot and not overlap tables already in say the first slot. This becomes important when you start playing 6-8+ tables.

    Be aware that some keyboards turn off the "F" keys. My MS k/b has a toggle feature to turn off the "F" which means that saving the table locations doesn't happen. This might be your issue.
  38. #113
    quick stupid question if someone can help. is there a way to put all the scipts together, like movetable, and i also use waitlister script, so that when i'm ready to play i can just click one script instead of opening them all?
    "Those who say it can't be done, shouldn't interrupt those who are doing it"
  39. #114
    There are two options. Safer option - You can create a script that opens the files you require. Search for posts by Robb on AHK stuff. I think someone wrote a script to open HEM but the procedure should be more or less the same for an AHK file.

    Second option - open up a Notepad file, paste the code from all scripts into one new file. Save as [YourFileName].ahk. Test to see if it works. There may be conflict between some scripts if the hotkey etc. are the same. Rage might know more about this.
  40. #115
    Quote Originally Posted by Santo2True View Post
    quick stupid question if someone can help. is there a way to put all the scipts together, like movetable, and i also use waitlister script, so that when i'm ready to play i can just click one script instead of opening them all?
    Yes, you can do this quite easily. Like Nakamura said though, you must make sure the scripts you are running do not use the same hotkeys, etc. If they do, the hotkeys for one or both of the scripts may not function as expected.

    All you need to do is create a new script similar to the following. Just change the names to whatever scripts you want to run.

    Code:
    Run MoveTable.ahk
    Run Waitlister.ahk
    If the scripts are in different directories, you will need to provide the correct path to the files. The best way is to have your master file in your main AHK scripts directory, and then just give the path from there. So, you would get something like the following.

    Code:
    Run Movetable/MoveTable.ahk
    Run Waitlister/Waitlister.ahk
    Last edited by Rage2100; 06-06-2010 at 07:30 AM.
  41. #116
    Quote Originally Posted by vizka View Post
    here's how I do it: at the beginning of each session I run set table script, and register to sngs. When the first one shows up I move it to the desired location and size and press ctrl+g which defines the main stack size&position. Now, when the next tables opens I press ctrl+space and they are automatically moved to the stack. When I need a special attention to any table I simply press i.e. ctrl+left and the table is moved to an empty slot on the left of the stack.
    I do not need move table script for that, set table does is all, I don't run move table script.

    I ran move table once couple of days a go and I tried to follow the instruction at the beginning of this thread but failed, meanwhile I found that the steps above suits me just fine.
    Maybe I'm wrong, I'm not into technical details but it seems to me that I use set table only and use it actively during the session.
    You can obviously use it in this way, but you are missing out on the main function of the "MoveTable" script, which is the ability to move the tables from the stack and back again with a single key press (Spacebar).

    I'm sure the problem you are having with "MoveTable" is what I mentioned in a previous post, that the "ahk_class" needs to be changed for UB tables. I'd give it another go after changing the "ahk_class", as using Spacebar to move the tables is much easier than using Ctrl-up, Ctrl-down, Ctrl-left, or Ctrl-right.

    By just using "SetTable", you will always have the problem of having to resave the size and positions of the tables when you run the script. "SetTable" does not read in this information, but "MoveTable" does.
  42. #117
    been playing withthe scripts and come up with a third layout but hardcoded the windows positions to suit me.reltively easy to change them to suit yourself though.

    heres the modified script
    ;================================================= ===============================================
    ;Move Table - Main Stack position Upper Left - Poker Stars - Rage2100
    ;================================================= ===============================================
    ;tab moves table under mouse to next empty slot or back into stack again
    ;F1 can be used to move tables to the home position at the start of the session
    ;Escape closes table and updates counter
    ;================================================= ===============================================

    Class_Name=PokerStarsTableFrameClass ;Will only detect and move Poker Stars tables

    ;================================================= ===============================================
    ;Read values from MoveTable_Config1_PS.ini file
    ;================================================= ===============================================

    ; ini:="MoveTable_Config1_PS.ini"
    ;iniRead, X_home, %ini%, Location, X_home, 0
    ;iniRead, Y_home, %ini%, Location, Y_home, 0
    ;iniRead, Slot1_X, %ini%, Location, Slot1_X, 0
    ;iniRead, Slot1_Y, %ini%, Location, Slot1_Y, 0
    ;iniRead, Slot2_X, %ini%, Location, Slot2_X, 0
    ;iniRead, Slot2_Y, %ini%, Location, Slot2_Y, 0
    ;iniRead, Slot3_X, %ini%, Location, Slot3_X, 0
    ;iniRead, Slot3_Y, %ini%, Location, Slot3_Y, 0
    X_home=10
    Y_home=10
    Slot1_X= 1400
    Slot1_Y= 0
    Slot2_X= 1400
    Slot2_Y= 340
    Slot3_X= 1400
    Slot3_Y= 690

    ;================================================= ===============================================

    S1=0 ;Counts how many tables are in Slot 1
    S2=0 ;Counts how many tables are in Slot 2
    S3=0 ;Counts how many tables are in Slot 3
    T=150 ;Tolerance in pixels used in case a table slightly moves

    ;================================================= ===============================================
    ; tab:: can be replaced with MButton:: which will move the tables by pressing the middle mouse button instead of TAB


    tab::
    CoordMode, Mouse
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinGetPos, X, Y,,, %ahk_id%
    WinGetClass, class
    If class=%Class_Name%

    If (X < (X_home + T)) AND (Y < (Y_home + T))
    {
    If (S1 <= S2) AND (S1 <= S3)
    {
    WinMove,,, Slot1_X, Slot1_Y,491,363
    S1+=1
    } else
    If (S2 < S1) AND (S2 <= S3)
    {
    WinMove,,, Slot2_X, Slot2_Y,491,363

    S2+=1
    } else
    If (S3 < S1) AND (S3 < S2)
    {
    WinMove,,, Slot3_X, Slot3_Y,491,363

    S3+=1
    }

    } else
    If (X > (Slot1_X - T)) AND (Y < (Slot1_Y + T))
    {
    If S1 > 0
    {
    WinMove,,, X_home, Y_home,1336,946
    S1-=1
    } else
    s1=0
    WinMove,,, X_home, Y_home,1336,946


    } else
    If (X > (Slot3_X - T)) AND (Y > (Slot3_Y - T))
    {
    If S3 > 0
    {
    WinMove,,, X_home, Y_home,1336,946
    S3-=1
    } else
    S3=0
    WinMove,,, X_home, Y_home,1336,946

    } else

    If (X > (Slot2_X - T)) AND (Y > (Slot2_Y - T))
    {
    If S2 > 0
    {
    WinMove,,, X_home, Y_home,1336,946,,
    S2-=1
    } else
    S2=0
    WinMove,,, X_home, Y_home,1336,946,,

    }
    return


    Escape::
    CoordMode, Mouse
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinGetPos, X, Y,,, %ahk_id%
    WinGetClass, class
    If class=%Class_Name%

    If (X < (X_home + T)) AND (Y < (Y_home + T))
    {
    } else

    If (X > (Slot1_X - T)) AND (Y < (Slot1_Y + T))
    {
    PostMessage, 0x10, 0, 0,, %ahk_id% ;Close the window
    S1-=1

    } else
    If (X > (Slot2_X - T)) AND (Y > (Slot2_Y - T)) AND (Y < Slot3_Y)
    {
    PostMessage, 0x10, 0, 0,, %ahk_id% ;Close the window
    S2-=1

    } else
    If (X > (Slot3_X - T)) AND (Y > (Slot3_Y - T))
    {
    PostMessage, 0x10, 0, 0,, %ahk_id% ;Close the window
    S3-=1
    }
    return


    F1::
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinGetClass, class
    If class=%Class_Name%
    WinMove,,, X_home, Y_home,1336,946
    return

    which produces

    Last edited by Keith; 03-07-2014 at 10:34 AM.
  43. #118

    Default Please Help me!

    Hello Guys . First of all congatz for you work .
    I am really interested on setting up the movetables.ahk script. But there is a problem .
    I have no experience of autohotkey and when i tryed the SetTable_Config1_PS.ahk,
    i get the message "Note:The ^h:: will not be active because is does not exist in the current keyboard layout."
    I would appreciate if someone would be so kind to solve my issue.
  44. #119
    try using my modified script in the post above yours. You can always adjust the table positions in the hard coded Xn, Yn positions to alter the layout .
  45. #120
    Quote Originally Posted by Keith View Post
    try using my modified script in the post above yours. You can always adjust the table positions in the hard coded Xn, Yn positions to alter the layout .
    Thanks for you interest for answering me Keith.
    Your layout is more comfortable to me but still i got some issues.
    I didn't use the settable script now and i copy pasted your script to the old one and saved it.
    I enter pokerstars opened 4 tables but they open at the old size that i had set it.
    Anyway i put my mouse click on a table and pressed space bar. nothing happens ...
    Im really dissapointed cause this tool is excellent i would help me a lot in the future.
    Is the any problem that i use windows 7 and pokertracker 3.
  46. #121
    in my code , its the <tab> key that moves the tables . the "tab::" in the code can be replaced with "MButton::" so that pressing the middle mouse button will move the tables whic avoids using the keyboard.

    to set up , open 2 or 3 tables more than you actually play ( don't sit at the tables) . move a table to the top left hand corner, press <ctrl> and 8 keys at the same time to stack all the tables there. move all the tables to the right hand screen (using the tab or Mbutton whichever you have the script running with) then move them all back and they will all be resized to the same size. Then in the client use the view-> save custom layout option to save that layout as a name you recognize and tables will then open at that size and position in the future.
  47. #122
    Rage actually told me this was bumped. Imo this was a simple, but very sick script Rage wrote. I still use it daily and it helps me to multi-table.

    Quote Originally Posted by katsou View Post
    "Note:The ^h:: will not be active because is does not exist in the current keyboard layout."
    I can't see the whole file, but "^h" refers to the hotkey Ctrl-h. It seems as though the comment from above has somehow got onto the same line. Comment out comment lines using the semi-colon. ";"

    The "^h:: ", which is a hotkey, needs to be on it's own line. Use notepad to edit. I prefer to use SciTE4AutoHotKey.
  48. #123
    Here is the link to the one I use daily. The SetTable should work perfectly. There is also a PS window counter in there. I find it useful when I'm opening tables, as my register occasionally opens too many and I need to stop it. I did not write it, it comes from the other big poker forum

    https://www.dropbox.com/sh/88ezvbmxakpj0o5/hJnFkTch8S
  49. #124

    Default !

    Thank you very much nakamura.
    Your help made my understand what it may be the problem .
    The problem is ctrl+h ctrl+g and ctrl+s ... i used SciTE4AutoHotKey but i still have the same problem.
    I cant understand what cause the problem. But anyway how can i change those keys so i can move to move table script ?
    Btw i already use the count table which is very helpfull . I guess that autohotkey has a lot of scripts for Pokerstars.
    It would be very helpful for beginners like me to list all those at a thread . Iam really surprised of what that scripts can do.

    Thanks a lot for everything.
  50. #125
    Quote Originally Posted by katsou View Post
    Thank you very much nakamura.
    Your help made my understand what it may be the problem .
    The problem is ctrl+h ctrl+g and ctrl+s ... i used SciTE4AutoHotKey but i still have the same problem.
    I cant understand what cause the problem. But anyway how can i change those keys so i can move to move table script ?
    Btw i already use the count table which is very helpfull . I guess that autohotkey has a lot of scripts for Pokerstars.
    It would be very helpful for beginners like me to list all those at a thread . Iam really surprised of what that scripts can do.

    Thanks a lot for everything.
    From SetTable.ahk

    Code:
    ;Ctrl-h moves the active window to the upper left corner of the screen
    ;Ctrl-g captures the position and size of the active window
    ;Spacebar moves and sizes subsequent windows to match the window captured by Ctrl-g
    I think there might be an error in the notes. You need to use Ctrl-Spacebar to move the table using SetTable.ahk. You can see this by looking over the code.

    Code:
    ^h::
    WinMove, A,, Origin_X, Origin_Y
    return
    
    
    
    
    ^g::
    WinGetPos, X, Y, Width, Height, A
    return
    
    
    
    
    ^space::
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinMove,,, X, Y, Width, Height
    ControlSend,, {F5}, ahk_id %tableID%
    return
    In AHK, the "^" is used to denote the Ctrl hotkey, instead of type {Ctrl}, which would also work. Programmers tend to like shortcuts.

    Once you have shifted the tables into place. You need to use F1 + Ctrl etc. It's detailed in the code.

    Code:
    ;================================================================================================;Sets active window co-ordinates
    ;================================================================================================
    ;Press Ctrl-F1 to set main stack position
    ;Press Ctrl-F2, Ctrl-F3 and Ctrl-F4 to set window slot positions
    ;================================================================================================
    
    
    ^F1::
    WinGetPos, F1X, F1Y, F1W, F1H, A
    return
    
    
    ^F2::
    WinGetPos, F2X, F2Y,,, A
    return
    
    
    ^F3::
    WinGetPos, F3X, F3Y,,, A
    return
    
    
    ^F4::
    WinGetPos, F4X, F4Y,,, A
    return
    Then use Ctrl-s to save to the ini file. At this point, you will not need to use SetTable any further. You will only use MoveTable.
  51. #126
    wow very interesting info, thanks
  52. #127
    Quote Originally Posted by EuellG View Post
    wow very interesting info, thanks
    As Donkbee warned elsewhere , stop posting contentless posts. Why is this very interesting to you? Its code for playing on pokerstars which you can't play on. You don't even ask if it can be adapted for US facing sites. The answer to that is yes it can, you just need to use windowspy to get the class name of the tables and then substitute that into the code instead of the pokerstars class name. I made this reply for players wanting to use it on non stars tables .
  53. #128
    for example; class name for Black chip tables is

    Class_Name=ATL:629E3918 ;Will only detect and move Black chip poker tables tables
  54. #129
    Not to be bumping old threads, but have been thinking about looking at setting up some ahk scripts recently....the above being one of them and am wondering if there are changes needing to be implemented in the above scripts for use on pokerstars 7....perhaps just a simple change as Keith has mentioned above with how you would get it to work on other sites.

    Figured it would be worth posting an inquiry before moving forward and getting it all setup to find there might be issues getting it to work on the new 7 version of stars.

    Initially thought about purchasing table ninja but when i looked into that recently see it's now a recurring fee as opposed to a single purchase, thus my looking into ahk scripts for a couple of the features I'm hoping to emulate. mostly being the above and an autoregister, which i found some info on another forum about that one.

    Thanks.
  55. #130
    my version works fine with the version 7 client
  56. #131
    Back again. I looked at this last year and dint do anything cause I am such a noob at any kind of scripting. It all looks greek to me. But I am back on mass tables and using the stars MT shit is exactly that......

    So I am gonna learn how to use this script. Any links to idiot friendly tutorials are welcome, but I guess I need to roll up my sleeve and learn.....

    One question:

    If I have AHK open, do I copy the script you put in Keith -

    from here:
    ";================================================ = ===============================================
    ;Move Table - Main Stack position Upper Left - Poker Stars - Rage2100

    to here:
    ""F1::
    MouseGetPos,,,tableID
    IfWinExist, ahk_id %tableID%
    WinGetClass, class
    If class=%Class_Name%
    WinMove,,, X_home, Y_home,1336,946
    return"

    in my notepad script edit? Or do I need to have other text in there as well?

    Sorry to be such a noob.

    EDIT: I am following the instructions on page one of this post and have it working so far. There are some changes in PS 7 like the Lobby view - where I save my custom layout - is changed. But I am wading through getting it to work. I like the 4 same size tables I think, as opposed to one main size and 3 smaller. But I am new to this so IO have to see what works now and how I adapt.
    Last edited by dodging bullets; 04-01-2015 at 08:30 AM.
  57. #132
    yeah just copy and paste that into a notepad window and then save it with .ahk filetype instead of .txt
  58. #133
    Quote Originally Posted by Keith View Post
    yeah just copy and paste that into a notepad window and then save it with .ahk filetype instead of .txt

    Thanks. I will try. I have the other ones working but am not sure about a couple of things, maybe you - or your script - can help.?.

    Is there a "bring action table to front" or a "sit back in on all tables" command?

    Edit: One more question (all to do with poker stars) is there a "sit out next BB" command for all tables?

    And a big thanks to you and the others for making these and also for letting us have em.

    Awesome, to say the least.
    Last edited by dodging bullets; 04-01-2015 at 10:46 AM.
  59. #134
    Is there a "bring action table to front" or a "sit back in on all tables" command?



    Edit: One more question (all to do with poker stars) is there a "sit out next BB" command for all tables?

    And a big thanks to you and the others for making these and also for letting us have em.

    Awesome, to say the least.


    sit out and sit back in on all tabels can be done in the stars client

    stars table.JPG

    click on the green triangle and a list of options will come up .

    bringing action table to front is done from the stars client as well. settings-gameplay-multi tabling-general and tick box by " popup table whenever user action is required"
  60. #135
    Quote Originally Posted by Keith View Post
    sit out and sit back in on all tabels can be done in the stars client

    [/FONT][/COLOR]stars table.JPG

    click on the green triangle and a list of options will come up .

    bringing action table to front is done from the stars client as well. settings-gameplay-multi tabling-general and tick box by " popup table whenever user action is required"

    Thanks.
  61. #136
    Join Date
    Mar 2015
    Posts
    24
    Location
    Ecuador
    wowww... It is so confused... I have to pkay poker very mell first ..
  62. #137
    A question for Keith:

    I got the script on page one (PS Config-1) working fine and it suits my needs on my main PC with 2 monitors and 28' screen. But on my laptop I wanted to try your config, as I have one small screen and the other one has my screens out of the view if I have my main table sized the way I want. Yours looks ideal for a laptop screen (maybe why you wrote it??) But with your script above I cant get anything to work. I am trying to learn more about AHK so maybe I can do it myself but as I am not a scripter it is a bit of an uphill climb. Am I missing anything, like I need to "save as" or location or whatever?
    Last edited by dodging bullets; 04-04-2015 at 06:01 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •