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

07-25-2009 , 05:43 AM
Quote:
Originally Posted by a nonymous
can anyone tell me what the RegEx would be for

Code:
#1234567
where 1234567 are any 7 numbers

?

I've got the rest of the window title figured out, just have a section that has # and then 7 digits and I'm not sure what to put to make it match any 7 numbers

looking on RegEx pages now, but figured someone might know this cause it's so simple

TY
Code:
#\d{7}
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 05:54 AM
Quote:
Originally Posted by rockwall
Is there a RegEx for ONLY 45 player SnGs on Poker Stars? Also, is there a RegEx for everything BUT 45 player SnGs? I want to seperate 180 player trnys and other trnys from the 45 player SnGs. The RegEx I am using now picks up both 180s and 45s. Sorry if I'm asking an impossible request. Just not familiar enough with RegEx and what it can and can't do.

Great job on this utility Irishthug. It took me a while to figure it out but I learned alot in the process.
Have a look if this works for 45 player SNGs only:

Code:
^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sMixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s\[((turbo|deep|6-max)\s-\s)?45\splayers\]\s-\sTournament\s\d+\sTable\s\d+\s-\s(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?
I also adapted my PokerStars SNG regex only to match SNGs which are not for 45 players:

Code:
^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sMixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s((\[((turbo|deep|6-max)?(\s-\s)?(heads-up\s-\s)?(\d+\splayers|6-max)?|Double\sor\sNothing(\s-\sturbo)?|6-max)\]\s)|\[hyper-turbo\s-\s+990\s...\s|\[heads-up\s-\s(deep\s-\s)?no\sblind\sinc(reases\]\s|...\s)\s)?-\sTournament\s\d+\sTable\s\d+\s-\s(1\son\s1\s-\s)?(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?(?<!.*45\splayers.*)
I hope these regexes work as I have not tested them much really.

Last edited by Cardvark; 07-25-2009 at 06:22 AM.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 12:54 PM
I'm having the JIT error msg too. I have a bunch of monitors, that might be why. But none in the negative pixel range. Some help would be appreciated.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 01:24 PM
Quote:
Originally Posted by Cardvark
Have a look if this works for 45 player SNGs only:

Code:
^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sMixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s\[((turbo|deep|6-max)\s-\s)?45\splayers\]\s-\sTournament\s\d+\sTable\s\d+\s-\s(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?
I also adapted my PokerStars SNG regex only to match SNGs which are not for 45 players:

Code:
^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sMixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s((\[((turbo|deep|6-max)?(\s-\s)?(heads-up\s-\s)?(\d+\splayers|6-max)?|Double\sor\sNothing(\s-\sturbo)?|6-max)\]\s)|\[hyper-turbo\s-\s+990\s...\s|\[heads-up\s-\s(deep\s-\s)?no\sblind\sinc(reases\]\s|...\s)\s)?-\sTournament\s\d+\sTable\s\d+\s-\s(1\son\s1\s-\s)?(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?(?<!.*45\splayers.*)
I hope these regexes work as I have not tested them much really.
Thanks for the quick response Cardvark. I wasn't able to get the 45 SNGs to work properly. If I maximize the table it will recognize it's a 45 SNG. But it loses it when the table gets small...almost like it can't see the '45' text in the window?

Got the 180 to work but only if the table is maximized. When I click on the edge to fill the slot it falls off Placemint. Also, whenever a new hand is dealt, the table falls off placemint.

Last edited by rockwall; 07-25-2009 at 01:53 PM.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 02:14 PM
Cardvark, On a positive note, it IS sorting the tables based on 45 or NOT 45 SnGs which is awesome! Now if I can just get them to stay active and not fall off. Also, I noticed that if there is no activity on the table, it doesn't fall off placemint. It falls off if I try click on the edges to size it though.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 03:54 PM
All,
If you are getting error messages, click the Details button. This will give you a bunch of extra text that will help me find out what is causing the error.

rockwall,
What do you mean by "fall off"? I'm not sure what you are trying to say and how it might be an issue.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 04:02 PM
TheIrishThug,
I can see the table on Placemint when I load it...it goes to the correct slot. But after the hand is over, the table is no longer on Placemint. It's not on the Placemint tree, if that makes sense? If i hit maximize button on the table, Placemint picks it up again, only for that hand. If I try to resize the table, it drops off Placemint right away. This is the RegEx I'm using (it picks up ONLY 45 player SnGs) -

^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sM ixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s\[((turbo|deep|6-max)\s-\s)?45\splayers\]\s-\sTournament\s\d+\sTable\s\d+\s-\s(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 04:06 PM
New Group1
|_$12 NL Hol...
|_
|_

When I say a table 'falls off' Placemint, I mean it's no longer listed under 'New Group1' above.

Last edited by rockwall; 07-25-2009 at 04:18 PM.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 05:43 PM
Hey Rockwall,

in all honesty ... I have never encountered anything like that and I'm not sure what could cause that. For this behaviour the window title would have to change inbetween hands. You can check this by using Autohotkey's Window Spy programme. But it sounds somehow very unlikely. Maybe IrishThug has an idea cuz right now I'm clueless.

BTW, why would you want to resize the the tables? PlaceMint can do that for you automatically.

Cheers,
CV
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 05:52 PM
Thanks Cardvark. Maybe I'm using the wrong choice of words. The table fits in the slot but the table is cropped and I can't see everything. In order for me to see the entire table, I have to pull on the edge (resize) and then it fits into the slot. However, when I do this, the table no longer exists on my placemint tree. When I use the latest PStars RegEx (see below) everything fits properly and none of the tables fall off Placemint.

(Tournament\s?[\d,.]+\sTable\s?[\d,.]+(\s-\s(Blinds|Stakes))?\s\$?[\d,.]+/\$?[\d.,]+(\sAnte\s\$?[\d.,]+)?(\sPlay\sMoney)?(\s-\s\d+\sof\s\d+)?(\s-\sLogged\sIn\sas\s.+)?)|(\s-\s\$?[0-9]+(\.[0-9][0-9])?/\$?[0-9]+(\.[0-9][0-9])?\s(Ante\s\$?[\d.]+\s)?(Play\sMoney\s)?-\s(No\sLimit|Pot\sLimit|Limit)\s(Hold'em|Omaha\sH/L|Omaha|Stud H/L|Stud|Razz|5-Card\sDraw|Single\sDraw\s2-7|Triple\sDraw\s2-7\sLowball|Badugi)(\s-\sLogged\sIn\sas\s.+)?$)|((No\sLimit|Pot\sLimit|Li mit)\s(Hold'em|Omaha\sH/L|Omaha|Stud H/L|Stud|Razz|5-Card\sDraw|Single\sDraw\s2-7|Triple\sDraw\s2-7\sLowball|Badugi)\s\$?[0-9]+(\.[0-9][0-9])?/\$?[0-9]+(\.[0-9][0-9])?\s(Ante\s\$?[\d.]+\s)?(Play\sMoney\s)?-\s\d+\sof\s\d+)
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 05:53 PM
I'd have to agree with Cardvark on this one, unless the table name is changes, PlaceMint will not lose a table. If the table name changes, but still matches, the tree will be updated to reflect the change and the table will not be lost.

Edit: To fix the cropped table, you need the SendF5 option, it is discussed in this thread.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 06:00 PM
OK...thanks guys. I'll go over my stuff and make sure I'm following the steps correctly. Even without the ability to separate the 45's from others, this is a VERY good utility. I will gladly give a donation!
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 07:40 PM
Quote:
Originally Posted by Cardvark
Hey guys,

couldn't find any recent Party regex so I just made one. It should match all cash tables and pretty much all the SNG ones (except qualifiers). The scheduled tournaments are not matched but the regex could be simplified to match them as well. Come to think about it I wonder if it's actually worth to create such a detailed regex as more simple versions will probably do as well ... hm ... oh well.

Here it is ... the Party Regex:

Code:
^((\d\s-\sTable(\sSpeed)|Step\s\d)\s?\(\d+\)\s)?(Table|(Beta\s)?Speed|Jackpot|Deep\sStack|Heads\sUp|Beginners|Turbo|Double\sor\sNothing\s(Speed\s)?\(10\spays\s5\)|(Beta\s)?HellKat\s(Random\s)?\d+)\s+#?\d+\s+(\(No\sDP\)\s+)?-\s+(NL|PL)?\s+(Hold'em|Omaha|7\s(Card\s)?Stud)(\sHi(-Lo)?)?\s-\s.*\s\$(/.*\s\$)?(\sBuy-in)?
Cheers,
CV
I can't get this to work. Is anyone else having problems with the Party regex?
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 07:43 PM
Quote:
Originally Posted by rockwall
Thanks Cardvark. Maybe I'm using the wrong choice of words. The table fits in the slot but the table is cropped and I can't see everything. In order for me to see the entire table, I have to pull on the edge (resize) and then it fits into the slot. However, when I do this, the table no longer exists on my placemint tree. When I use the latest PStars RegEx (see below) everything fits properly and none of the tables fall off Placemint.
Hm, leaving aside the question why the regex would lose the match. Do I understand you correctly that with the other regex you mentioned you don't have that cropping effect? In this case you have to be aware that this is not a function of the regex but of the slot definition (in particular the slot's size) of the group you are using.

For curiosity's sake I would be willing to have a Teamviewer session with you to see what's going on. Let me know by PM if you want to give it a shot.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 07:46 PM
Quote:
Originally Posted by Antidote
I can't get this to work. Is anyone else having problems with the Party regex?
Do you have a general problem, with the regex (meaning you don't know what to do with it)? Or does it not work with any particular table type? If it's the former you should check out Placemint's wiki, if it's the latter please provide me with some more detail and I'll have a look into this.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 08:02 PM
Cardvark,
I simply took the regex info you provided and added it to my xml file under the section with Party. I removed all of the information previously there between the <match> tags. I did the same thing with updating my Cereus regex and didn't encounter any difficulties. The Party regex doesnt work on any tables.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 08:36 PM
Quote:
Originally Posted by Antidote
Cardvark,
I simply took the regex info you provided and added it to my xml file under the section with Party. I removed all of the information previously there between the <match> tags. I did the same thing with updating my Cereus regex and didn't encounter any difficulties. The Party regex doesnt work on any tables.
Well, I checked the regex again and I found a typo which prevented it from matching multi-table SNGs (is that by any chance the type of table you need to match?). Apart from that it seems to do what I expected it to do. Have you enabled (checkmarked) the Party regex in the window group you are using? Easy enough to forget ... i know that from own experience

Updated Party Regex:

Code:
^((\d\s-\sTable(\sSpeed)?|Step\s\d)\s+\(\d+\)\s)?(Table|(Beta\s)?Speed|Jackpot|Deep\sStack|Heads\sUp|Beginners|Turbo|Double\sor\sNothing\s(Speed\s)?\(10\spays\s5\)|(Beta\s)?HellKat\s(Random\s)?\d+)\s+#?\d+\s+(\(No\sDP\)\s+)?-\s+(NL|PL)?\s+(Hold'em|Omaha|7\s(Card\s)?Stud)(\sHi(-Lo)?)?\s-\s.*\s\$(/.*\s\$)?(\sBuy-in)?
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 08:47 PM
I made sure that it was checked and updated the regex again, but it is still not working. I am running Windows 7, but I do not see how that it would cause a problem and I have turned off Aero. Not sure why it is not working.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 09:11 PM
is there like a service where someone can send a utility man to my house and install placemint for me?

cuz i'd pay
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 10:31 PM
Quote:
Originally Posted by Antidote
I made sure that it was checked and updated the regex again, but it is still not working. I am running Windows 7, but I do not see how that it would cause a problem and I have turned off Aero. Not sure why it is not working.
Well, I'm afraid I can't help you here. I'm sure that the regex is alright (save for maybe small errors). I play with this regex and it works just fine for me. I also tested it on a couple more table types. You can see for yourself if the regex works. Go to http://regexpal.com/, enter the regex in the top field, then enter the window title to be matched into the bottom field. If it's matched it will be marked up yellow. If you want to get the exact window title you can either copy it by hand or - much better - use Window Spy which comes with Autohotkey.
PlaceMint: Window Positioning Tool Quote
07-25-2009 , 11:42 PM
Hey Cardvark, just seeing your post. Can we do that at some other time? I'm not sure what all it involves that viewer thing you mentioned. Also, I am looking at your last post. I entered the everything-but-45-player script you gave me in the regexpal site you mentioned above. I entered the exact name of a 180 table but it did not turn yellow. There were a couple red highlighted syntax in the script at the end. Below is the script I used.

^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sM ixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s((\[((turbo|deep|6-max)?(\s-\s)?(heads-up\s-\s)?(\d+\splayers|6-max)?|Double\sor\sNothing(\s-\sturbo)?|6-max)\]\s)|\[hyper-turbo\s-\s+990\s...\s|\[heads-up\s-\s(deep\s-\s)?no\sblind\sinc(reases\]\s|...\s)\s)?-\sTournament\s\d+\sTable\s\d+\s-\s(1\son\s1\s-\s)?(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?(?<!.*45\splayers.*)

Does this mean there is something wrong with the syntax?

Last edited by rockwall; 07-26-2009 at 12:07 AM.
PlaceMint: Window Positioning Tool Quote
07-26-2009 , 02:25 AM
tested the latest PS s&g RegEx a bit, def not working for all games

go through the lobby and click on games and you'll see that some aren't working

will try to post window titles at some point, can't right now. but I just clicked on a bunch of a games to see if it worked and it def doesn't work for all
PlaceMint: Window Positioning Tool Quote
07-26-2009 , 03:27 AM
^ Edit: done playing now. it was a heads up sit&go that didn't work. I've seen it happen a few times now while testing
PlaceMint: Window Positioning Tool Quote
07-26-2009 , 03:56 AM
I can't actually find any games that it's not working for now, of course

but it def isn't working for all games. I helped some people w/ setting up PlaceMint too and I have 2 people who said that it's not always working for all games. one noted that it didn't work when they were playing but did work once the game was over and the table said it was closed (so, look at differences between the window titles). I checked their RegExs and set-up too and they def have it set up right (plus it wouldn't work at all if they didn't, as it's the only RegEx they have checked)

this problem is with the latest RegEx that has been posted in this thread (I believe by Cardvark)

maybe the window title changes some other way while actually playing a game too (logged in as, blinds, etc.). can't test right now cause I'm done for the night

if anyone has a fully working hu s&g RegEx, or any ideas, please post/let me know

maybe something more general that will match any potential differences/changes since there are rarely conflicts w/ other windows anyway?
PlaceMint: Window Positioning Tool Quote
07-26-2009 , 07:38 AM
Quote:
Originally Posted by rockwall
Hey Cardvark, just seeing your post. Can we do that at some other time? I'm not sure what all it involves that viewer thing you mentioned. Also, I am looking at your last post. I entered the everything-but-45-player script you gave me in the regexpal site you mentioned above. I entered the exact name of a 180 table but it did not turn yellow. There were a couple red highlighted syntax in the script at the end. Below is the script I used.

^\$.*\s((NL|PL|(No\s|Pot\s)?Limit)\s)?(Hold'em(\sM ixed)?|Omaha(\sH/L)?(\sMixed)?|Stud(\sH/L)?|Razz|5-(C|c)ard\sDraw|Badugi|HOR?SE|8-Game|Triple\sDraw\s2-7\sLowball)\s((\[((turbo|deep|6-max)?(\s-\s)?(heads-up\s-\s)?(\d+\splayers|6-max)?|Double\sor\sNothing(\s-\sturbo)?|6-max)\]\s)|\[hyper-turbo\s-\s+990\s...\s|\[heads-up\s-\s(deep\s-\s)?no\sblind\sinc(reases\]\s|...\s)\s)?-\sTournament\s\d+\sTable\s\d+\s-\s(1\son\s1\s-\s)?(Blinds|Stakes)\s\$\d+/\$\d+(\sAnte\s\$\d+)?(?<!.*45\splayers.*)

Does this mean there is something wrong with the syntax?
No, the syntax is alright. The bit at the end is a so-called look-behind assertion which only matches a table if it's not 45 players. But for some reason RegexPal does not know this sytax (which is official regex code ... so search me ). However, PlaceMint does, so no problem there.

As for a Teamviewer (TV) session ... TV is a remote maintenance and conferencing tool which could let me see your desktop. So you could show me exactly what happenes when PlaceMint loses a table. For a TV session you would only need to install TV (easy and free) and some means of instant communication (either an instant messenger or a voice application like Skype).
PlaceMint: Window Positioning Tool Quote

      
m