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

02-26-2009 , 10:44 AM
Quote:
Originally Posted by TheIrishThug
Here is a quick reference guide that was written for the AutoHotkey help file:
http://www.autohotkey.com/docs/misc/RegEx-QuickRef.htm
The commonly used syntax section will cover the symbols that will get lots of use.

Once you understand the syntax, if you need help making sure that your expression does what you want it to, Regex Coach is a great tool.
I highly recommend RegEx Coach for testing regular expressions. It has a feature to let you step through each character and see how your expression is matching (or where it is failing) on the target title.
PlaceMint: Window Positioning Tool Quote
02-27-2009 , 01:59 AM
If anyone has trouble w/ a RegEx not working, try creating a new RegEx instead of editing and saving an old one.
PlaceMint: Window Positioning Tool Quote
02-27-2009 , 08:43 AM
Anyone tried using Cake tables with the script?
PlaceMint: Window Positioning Tool Quote
02-27-2009 , 08:55 PM
How can I use multiple expressions in one group?

EDIT: Figured out so never mind. ^^^

Anyone have an expression for UB tourneys? The provided UB ones don't work for tourneys.

Last edited by donkontilt4u; 02-27-2009 at 09:12 PM.
PlaceMint: Window Positioning Tool Quote
03-01-2009 , 03:17 AM
I've got a RegEx that works for Stars hu sit&gos when I'm not playing in the game, but not for games where I am playing. The only difference is the Logged In as text at the end.

I don't understand why that would cause a problem though. PlaceMint works for other windows even if only part of the title is matched. For example, for Firefox, I just have - Mozilla Firefox and that works perfectly. The logged in as w/ no screen name part of my FTP RegEx works on FTP.

Anyone have any ideas?

Ty.
PlaceMint: Window Positioning Tool Quote
03-01-2009 , 10:56 AM
If you put a $ at the end, then this will match the end of the string. So if you are not putting something in the expression to conditionally match the change when you log in, the match will fail.
PlaceMint: Window Positioning Tool Quote
03-01-2009 , 04:56 PM
Could somebody RegEx Bwin cash tables please?

Cincinnati, No Limit Texas Hold'em, $0.25-$0.50 (Real Money) [ID=90234999]
PlaceMint: Window Positioning Tool Quote
03-07-2009 , 10:56 AM
Quote:
Originally Posted by donkontilt4u
Anyone have an expression for UB tourneys? The provided UB ones don't work for tourneys.
This seems to work for mtts and sngs...

Code:
^Tournament\s\d{7}\s-\sTable\s\d+
And for tourney lobbies...

Code:
^#\d{7}\s
PlaceMint: Window Positioning Tool Quote
03-07-2009 , 12:20 PM
Just started getting this error when trying to restore minimized UB cash tables w/ PM...



I just got done attempting to fix/optimize some regex expressions so maybe I messed something up. Everything else seems to be working ok tho.
PlaceMint: Window Positioning Tool Quote
03-08-2009 , 10:40 PM
Wow, I finally figured out how to use this program. Only took me like 2 years or something. Anyhow, I'm having trouble setting Absolute and Ultimate Bet regex. They seem really plain and dont include my login or anything. Can anybody help? Thanks in advance.
PlaceMint: Window Positioning Tool Quote
03-09-2009 , 12:27 AM
Quote:
Originally Posted by uncleshady
Wow, I finally figured out how to use this program. Only took me like 2 years or something. Anyhow, I'm having trouble setting Absolute and Ultimate Bet regex. They seem really plain and dont include my login or anything. Can anybody help? Thanks in advance.
Did you try the regexs that have been uploaded to the site? (I don't play AP/UB, but I assume they are in there.)

Post an example window title.
PlaceMint: Window Positioning Tool Quote
03-09-2009 , 12:37 AM
Quote:
Originally Posted by madlion
Found a solution: Good Luck username!$ simple as pie
This worked for me on Absolute for SNGS

Good Luck username!$

just replace username with your username obviously, the $ just tells it to match it to the end of the window title it may work for UB too if the goodluck message is in the window title

Last edited by madlion; 03-09-2009 at 12:39 AM. Reason: typo
PlaceMint: Window Positioning Tool Quote
03-09-2009 , 08:45 AM
Quote:
Originally Posted by a nonymous
Did you try the regexs that have been uploaded to the site? (I don't play AP/UB, but I assume they are in there.)

Post an example window title.
Bartlett Dr(5450050) - $0.01/$0.02 - NL Hold'em


That's all it says now, and thats when Im logged in. UB's the same. The replayer HH's seem to go where they belong though, and Im using the preexisting regex's from the poker file.
PlaceMint: Window Positioning Tool Quote
03-09-2009 , 02:35 PM
Chipp,
Can you reproduce that error? If you can, click the Details button and post what it says there. That will give me a much better idea of what is broken. Based on what you posted, I don't think it was the RegEx that would have caused that error.
PlaceMint: Window Positioning Tool Quote
03-09-2009 , 06:42 PM
I can, here you go...

Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at PlaceMint.Access.MainGUI.treeAction(TreeNode node, WindowAction action)
   at PlaceMint.Access.MainGUI.treeView_DoubleClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PlaceMint
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PlaceMint/PlaceMint.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PlaceMintManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PlaceMint/PlaceMintManager.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
eyhwq5uw
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
_udxv2mu
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
PlaceMint: Window Positioning Tool Quote
03-09-2009 , 07:10 PM
Quote:
Originally Posted by uncleshady
Wow, I finally figured out how to use this program. Only took me like 2 years or something. Anyhow, I'm having trouble setting Absolute and Ultimate Bet regex. They seem really plain and dont include my login or anything. Can anybody help? Thanks in advance.
For p/nlhe and plo cash...

Code:
^\D+\d{7}\)\s-\s\$\d?\.?\d+\/\$\d?\.?\d+\s-\s((NL|PL)\sHold'em|PL\sOmaha)$
You can add the expression I posted a few posts above if you want it to work w/ tourneys as well...

Code:
(^\D+\d{7}\)\s-\s\$\d?\.?\d+\/\$\d?\.?\d+\s-\s((NL|PL)\sHold'em|PL\sOmaha)$)|(^Tournament\s\d{7}\s-\sTable\s\d+)
PlaceMint: Window Positioning Tool Quote
03-10-2009 , 12:50 PM
Quote:
Originally Posted by Chipp
For p/nlhe and plo cash...

Code:
^\D+\d{7}\)\s-\s\$\d?\.?\d+\/\$\d?\.?\d+\s-\s((NL|PL)\sHold'em|PL\sOmaha)$
You can add the expression I posted a few posts above if you want it to work w/ tourneys as well...

Code:
(^\D+\d{7}\)\s-\s\$\d?\.?\d+\/\$\d?\.?\d+\s-\s((NL|PL)\sHold'em|PL\sOmaha)$)|(^Tournament\s\d{7}\s-\sTable\s\d+)
I dont usually play tourneys but can confirm the first string works and I got the results I wanted. I love what this software does but it makes me feel computer ******ed lol. Thanks to Irish Thug and Chipp.
PlaceMint: Window Positioning Tool Quote
03-15-2009 , 03:10 AM
Is anyone else having an issue with placemint resizing on Stars. Full tilt seems to work fine but on Stars if Placemint resizes a window it changes size fine but the video inside doesn't adjust to the new table size.

If placemint makes a table smaller only part of the table shows in the window.
If placemint enlarges a table the graphic of the table remains the same but the extra window space is distorted pixels.

If I manually resize the table again to what placemint designates it is fine.

Again, I'm only seeing this problem on Stars tables not FTP. I don't know if it matters but I have an ATI Radeon 4850 gpu.
PlaceMint: Window Positioning Tool Quote
03-15-2009 , 09:32 AM
From starsplanner.ahk

Code:
;----------- IMPORTANT -------------;
;
;  Add the following line:
;
;  f5redrawtable=1
;
;  to the [Options] section in your
;  PokerStars "User.ini" file, found
;  in "Program Files\PokerStars"
;
;  The below few lines check for this
;  setting, so we can use it if it is
;  available.
;
;  Increases performance greatly :) 
;
;-----------------------------------;
PlaceMint: Window Positioning Tool Quote
03-15-2009 , 08:50 PM
Quote:
Originally Posted by Hatchet
Is anyone else having an issue with placemint resizing on Stars. Full tilt seems to work fine but on Stars if Placemint resizes a window it changes size fine but the video inside doesn't adjust to the new table size.

If placemint makes a table smaller only part of the table shows in the window.
If placemint enlarges a table the graphic of the table remains the same but the extra window space is distorted pixels.

If I manually resize the table again to what placemint designates it is fine.

Again, I'm only seeing this problem on Stars tables not FTP. I don't know if it matters but I have an ATI Radeon 4850 gpu.
Quote:
Originally Posted by fozzy71
From starsplanner.ahk

Code:
;----------- IMPORTANT -------------;
;
;  Add the following line:
;
;  f5redrawtable=1
;
;  to the [Options] section in your
;  PokerStars "User.ini" file, found
;  in "Program Files\PokerStars"
;
;  The below few lines check for this
;  setting, so we can use it if it is
;  available.
;
;  Increases performance greatly :) 
;
;-----------------------------------;
Also need to check "Send F5" under Configure for your Stars tables group.

This is supposed to work, though it doesn't seem to for me for some reason. I've gotten used to just dragging the edge. But try adding what fozzy posted and checking Send F5, that should work.
PlaceMint: Window Positioning Tool Quote
03-15-2009 , 09:51 PM
Quote:
Originally Posted by Chipp
Just started getting this error when trying to restore minimized UB cash tables w/ PM...
Seems I can't restore any windows thru PM now. No error messages tho (and actually I don't always get it w/ the tables anymore either).

Ok...now it just restored a window from another group when I was trying to restore a cash table...weird.

Maybe I'm getting to the point of too many groups and/or windows? I have like 16 groups and quite a few windows config'd, at least 13 or so of which are pretty much always open.

edit: I just disabled the last group I created and everything (except the tables) can be restored via PM again.

Last edited by Chipp; 03-15-2009 at 10:00 PM.
PlaceMint: Window Positioning Tool Quote
03-15-2009 , 10:50 PM
Based on your edit, my guess is that the RegEx for that last is too general and is causing some interference with the other windows.
PlaceMint: Window Positioning Tool Quote
03-15-2009 , 11:22 PM
Quote:
Originally Posted by a nonymous
Also need to check "Send F5" under Configure for your Stars tables group.

This is supposed to work, though it doesn't seem to for me for some reason. I've gotten used to just dragging the edge. But try adding what fozzy posted and checking Send F5, that should work.
Worked like a charm you two, thank you very much.
PlaceMint: Window Positioning Tool Quote
03-16-2009 , 11:08 PM
**** this looks complicated.. oh well.. d/ling now, pretty sure i'll be back in about 20 minutes with a bunch of asinine queries
PlaceMint: Window Positioning Tool Quote
03-16-2009 , 11:14 PM
The part that trips most people up are the regular expressions. be sure to download the supplied lists and they will help you out in most cases that you might need.
PlaceMint: Window Positioning Tool Quote

      
m