Open Side Menu Go to the Top
Register
PlaceMint: Window Positioning Tool PlaceMint: Window Positioning Tool

04-01-2009 , 05:09 PM
This should work:
Code:
\d+\s-\sTable\sTH\s\d+\s-\sRedbet\sPoker
PlaceMint: Window Positioning Tool Quote
04-01-2009 , 07:12 PM
Quote:
Originally Posted by TheIrishThug
This should work:
Code:
\d+\s-\sTable\sTH\s\d+\s-\sRedbet\sPoker
It only works once for every time u start placemint. Say you open placemint and then 1 table goes to the right slot. Then when I open the second one it counts as the lobby. But then I tried to exit placemint and then open it again and then the next table work. Seems to work only 2 times.

1 - Table TH 882 - Redbet does not work.

And btw, does anyone know about the minimaxmod-fix?
PlaceMint: Window Positioning Tool Quote
04-01-2009 , 07:52 PM
Amazing program. Took me a little bit to figure out expressions but all of my software now locks nicely in place. Thanks!
PlaceMint: Window Positioning Tool Quote
04-01-2009 , 08:19 PM
Do you have more than one slot for your table group? What do you mean by "it counts as the lobby"?
PlaceMint: Window Positioning Tool Quote
04-01-2009 , 10:18 PM
Quote:
Originally Posted by TheIrishThug
Do you have more than one slot for your table group? What do you mean by "it counts as the lobby"?
Sorry for being unclear. I have 2 groups, one for tables and one for lobbies.

I have 5-6 different slots and there is plenty free.
PlaceMint: Window Positioning Tool Quote
04-02-2009 , 10:02 AM
Has anyone had any success with placemint and bodog ?
PlaceMint: Window Positioning Tool Quote
04-04-2009 , 12:52 AM
anyone uses this for stacking? I tried but couldn't put lots of tables on one slot.
PlaceMint: Window Positioning Tool Quote
04-04-2009 , 09:28 AM
You can only have one window per slot. To do a stack you must make more slots.
PlaceMint: Window Positioning Tool Quote
04-04-2009 , 06:44 PM
Any news on the Boss Media problem?
PlaceMint: Window Positioning Tool Quote
04-05-2009 , 11:27 AM
Just getting into this as a UB reg looking to stack 10 tables. Any advice as I start learning this for UB. I assume the UB RegEx is good to go for my intended use. Thanks.
PlaceMint: Window Positioning Tool Quote
04-05-2009 , 12:20 PM
ubeticall,
Since I don't have an account with Boss Media, so I can't test out regular expressions and such.

daedalus 9,
Yeah, you should set up the UB regular expression and then layout the slots where you want them.
PlaceMint: Window Positioning Tool Quote
04-05-2009 , 03:31 PM
Do you mind creating one?
PlaceMint: Window Positioning Tool Quote
04-05-2009 , 03:42 PM
I don't understand RegEx yet but it looks like scans text from the table so it shouldn't be hard for you to tailor one of the embedded ones. Hard for someone to do who doesn't have the app or screencaptures.
PlaceMint: Window Positioning Tool Quote
04-05-2009 , 04:17 PM
Irish check PM if you would.
PlaceMint: Window Positioning Tool Quote
04-06-2009 , 07:21 PM
Can anyone noodle a Regex from this Window Spy capture of bodog cash tables. Doesn't seem to be enough in here for a regex since it just shows the table name. Any advice? By the way "Bellerive" is the table name.

Quote:
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Bellerive
ahk_class #32770

>>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<<
On Screen: 963, 592 (less often used)
In Active Window: 814, 472

>>>>>>>>>( Now Under Mouse Cursor )<<<<<<<<

Color: 0xF0F0F0 (Blue=F0 Green=F0 Red=F0)

>>>>>>>>>>( Active Window Position )<<<<<<<<<<
left: 149 top: 120 width: 794 height: 570

>>>>>>>>>>>( Status Bar Text )<<<<<<<<<<

>>>>>>>>>>>( Visible Window Text )<<<<<<<<<<<
PlaceMint: Window Positioning Tool Quote
04-06-2009 , 07:43 PM
Uhg, if the window title really is just the name of the table, that is going to make a regular expression almost impossible.
PlaceMint: Window Positioning Tool Quote
04-08-2009 , 09:14 AM
In regards to Bodog if you have maybe 10 tables that you play on often can you make a regular expression for just those tables? I spent a few hours trying to get this working with Bodog and could only get the lobby showing and sizing for that was messy at best, IrishThug I would be ever so grateful if you would look at Bodog
PlaceMint: Window Positioning Tool Quote
04-08-2009 , 12:11 PM
If there are only a handful of tables, then yes you could make something that matched those.
Code:
(Table1|Table2|...)
I still have two more weeks before I graduate, so I can't really do more than answer some basic questions til then. Once I get that over with, I'll be able to do some real work on PlaceMint.
PlaceMint: Window Positioning Tool Quote
04-08-2009 , 12:37 PM
I cant run Placemint properly on my vista 64bit
It occurred exception error 605, and I cant add slot..

Can somebody help me
PlaceMint: Window Positioning Tool Quote
04-08-2009 , 12:58 PM
Quote:
Originally Posted by TheIrishThug
If there are only a handful of tables, then yes you could make something that matched those.
Code:
(Table1|Table2|...)
I still have two more weeks before I graduate, so I can't really do more than answer some basic questions til then. Once I get that over with, I'll be able to do some real work on PlaceMint.
Thanks, I will have a play over the weekend and see how it goes, good luck with your final few weeks
PlaceMint: Window Positioning Tool Quote
04-08-2009 , 06:34 PM
I searched for software like this a few months back. I downloaded a few programs, but none of them could meet my needs. I just stumbled upon this thread today. IrishThug, you're amazing--you have just enhanced my online poker experience immensely.
PlaceMint: Window Positioning Tool Quote
04-10-2009 , 08:41 PM
Great program.

I've been testing it out with PokerStars, and there seems to be a problem with resizing that occurs when F5 is enabled, with ripple forward.

Sometimes when I open a new table, all of the tables will "wiggle" around as if Pokerstars is trying to adjust the table width or height by a pixel (eg F5 refreshing) and PlaceMint is trying to change it back. Occasionally it goes into an infinite loop and I can't move the mouse so I have to press CTRL+ALT+DEL to stop it from happening.

I'm using Vista 64 with Aero. I tweaked the table size settings, and it seems to be mostly gone, but there seems to be a half second or so when I close a table (with ripple enabled) where the system is busy since PokerStars is trying to refresh the tables. I assume this is expected since it appears to activate all windows in other slots, but it's resizing windows when it's not necessary since the old and new slot sizes are the same.

Is it possible to disable F5 after rippling if the slot sizes are the same?

Is anyone else seeing the issue with the infinite loop?

Edit: Found the source code. I'll see if I can fix it myself. Hopefully I can use Visual Studio C# express to compile the program.

Edit2: Looks like I can get VS for free from Microsoft since I'm a student.

Last edited by Lyrrad; 04-10-2009 at 09:06 PM.
PlaceMint: Window Positioning Tool Quote
04-10-2009 , 10:56 PM
Hey. I've managed to change the code to suit my needs by checking to see if the window size has changed before sending a F5 to refresh the window after moving. This is a change to the moveAndSizeWin function in Slot.cs. This way it doesn't refresh unnecessarily after the window moves. For me, it removes all of the delay and freezing that occurs when I close a window in an early slot with ripple and F5 enabled. It only stops the refresh if the slots are the same size.

This could be useful to others, so I'm posing the code here (under GPL, of course).

Code:
        public void moveAndSizeWin(bool movable, bool sizable, bool sendF5)
        {
            bool success;
            if (sendF5)
            {
                Win32.RECT oldRect = new Win32.RECT();
                success = Win32.GetWindowRect(hWND, out oldRect);
                if (!success)
                {
                    // Get the last Win32 error code
                    int errorCode = Marshal.GetLastWin32Error();
                    string errorMessage = String.Format(Resources.setWindowPosFailureFormat, "move and size", errorCode);
                    throw new Win32Exception(errorMessage);
                }
                if ((oldRect.Right - oldRect.Left) == _shape.Width && (oldRect.Bottom - oldRect.Top) == _shape.Height)
                {
                    // Don't sendF5 if the window size has not changed
                    sendF5 = false;
                }
            }

            success = Win32.SetWindowPos(hWND, Win32.HWND_TOP, _shape.X, _shape.Y, _shape.Width, _shape.Height,
                 Win32.SWP_NOZORDER | Win32.SWP_NOACTIVATE |
                 ((movable) ? 0 : Win32.SWP_NOMOVE) | ((sizable) ? 0 : Win32.SWP_NOSIZE));
            if (!success)
            {
                // Get the last Win32 error code
                int errorCode = Marshal.GetLastWin32Error();
                string errorMessage = String.Format(Resources.setWindowPosFailureFormat, "move and size", errorCode);
                throw new Win32Exception(errorMessage);
            }
            
            if (sendF5)
            {
                //Attempt to cause redraw
                showWin();
                SendKeys.Send("{F5}");
            }
        }

Last edited by Lyrrad; 04-10-2009 at 11:07 PM.
PlaceMint: Window Positioning Tool Quote
04-11-2009 , 10:35 AM
Lyrrad,
Thanks for the help. I'm almost done with school and then will be able to incorporate these changes with a bunch of other things that you guys have got spinning around in my head.
PlaceMint: Window Positioning Tool Quote
04-11-2009 , 12:43 PM
Quote:
Originally Posted by TheIrishThug
Lyrrad,
Thanks for the help. I'm almost done with school and then will be able to incorporate these changes with a bunch of other things that you guys have got spinning around in my head.
NP. The code was easy to understand, and I got a chance to try out C# which I've never tried before. Also, I got to use my programming skills again, which I probably won't ever use professionally again since I'm now in law school.

I'll try it out and see if I can find any other annoyances.

Good luck with exams.
PlaceMint: Window Positioning Tool Quote

      
m