Open Side Menu Go to the Top
Register
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

05-16-2007 , 05:08 PM
I have 2 1600x1200 monitors. my simple 8 table layout is like this
1st 2nd
13 57
24 68

so 4 tables on each monitor.

1. If I try to swap table 8 with 3, I drag table 8 and drop it onto table 3, but instead of swapping 8 and 3, 1 and 8 are swapped.

2. if the slot 4 (just an example) is empty, I had very hard time moving table 8 to this slot.

Here is my new ini file:
<font class="small">Code:</font><hr /><pre>
[Layouts]
numlayouts=1
1="w8tables"

[Layout1]
1x=0
1y=-10
1w=800
1h=600
2x=0
2y=560
2w=800
2h=600
3x=800
3y=-10
3w=800
3h=600
4x=800
4y=560
4w=800
4h=600
5x=1600
5y=-10
5w=800
5h=600
6x=1600
6y=560
6w=800
6h=600
7x=2400
7y=-10
7w=800
7h=600
8x=2400
8y=560
8w=800
8h=600
slotcount=8
customfillorder=1,2,3,4,5,6,7,8
[Defaults]
PlanTablesOn=1
KeepLobbyOn=0
AutoBuyInOn=0
KillFoldConfirmOn=0
ChosenLayout=1
gx=0
gy=0
lobbyx=-32000
lobbyy=-32000
</pre><hr />
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-16-2007 , 08:48 PM
_dave_ fixed my .ini file. It is posted about 8 - 12 posts above this one. Make sure you correct the typo!

-----------Meow
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-16-2007 , 08:54 PM
Quote:
_dave_ fixed my .ini file. It is posted about 8 - 12 posts above this one. Make sure you correct the typo!

-----------Meow
I did not see much difference between my ini file and yours. Maybe I should spend some time on the ahk script. thanks///
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-16-2007 , 09:09 PM
Quote:
Quote:
_dave_ fixed my .ini file. It is posted about 8 - 12 posts above this one. Make sure you correct the typo!

-----------Meow
I did not see much difference between my ini file and yours. Maybe I should spend some time on the ahk script. thanks///
Hi billxo1b,

So I just copy/pasted your 8-table layout into my starsplanner, and it seems fine...

When you say you have dificulty drag/dropping the tables - maybe you are unaware it uses the top/left corner of the window to determine which slot to swap with?
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-16-2007 , 09:36 PM
Quote:

When you say you have dificulty drag/dropping the tables - maybe you are unaware it uses the top/left corner of the window to determine which slot to swap with?
I did. I tried hard to put the whole table exactly(almost) on the underlying table.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-16-2007 , 09:45 PM
Quote:
Quote:

When you say you have dificulty drag/dropping the tables - maybe you are unaware it uses the top/left corner of the window to determine which slot to swap with?
I did. I tried hard to put the whole table exactly(almost) on the underlying table.
Don't - a tiny positional error (1 pixel) in this case would cause aiming for slot 3 to actually hit slot 1. try putting the top/left corner of the dragged table in the centre of the target table.

Also, are you using a an XP theme other than "Windows Classic"? Like standard XP "tellytubby" theme? I did my testing of your layout on my standard Win2K style classic theme, maybe problems manifest on a different theme...
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-16-2007 , 10:16 PM
Thanks, dave. I will try again tonight when I get home.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-17-2007 , 02:48 PM
Quote:
try putting the top/left corner of the dragged table in the centre of the target table.
this seems to work most times. it would be great if the drag/drop works as long as the top/left corner of the dragged table in the rectangle of the target slot, empty or not.

thanks, dave!
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-17-2007 , 04:54 PM
Quote:
Quote:
try putting the top/left corner of the dragged table in the centre of the target table.
this seems to work most times. it would be great if the drag/drop works as long as the top/left corner of the dragged table in the rectangle of the target slot, empty or not.
Now that _dave_ fixed my .ini file, that's how it works for me. If the 'slot' is empty, the table moves there. If the 'slot' is not empty, the tables switch positions. Works every time. (before the .ini fix, it worked about 1/2 the time, sometimes tables wouldn't move or they'd switch with the wrong table. It was hard to move then to an empty slot.)

Quote:
thanks, dave!
QFT

------------Meow
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-17-2007 , 05:10 PM
Hi KittyLiquor,

Quote:

If I open up PokerStars, then open PokerTracker, then start StarPlanner...StarPlanner doesn't move PS to the correct 'slot' and sometimes moves the PS lobby 'slot' to the default PS position (center of screen 1). If I open up PS, then StarsPlanner, it works perfectly. Then I can open up everything else and it works fine.

Strange behaviour indeed, I probably have something checks/commands in the wrong order somewhere in the lobby moving function, will check it out trying to open things in different orders.

Quote:

Does StarsPlanner depend on PS lobby being the active window when it opens?

No. In fact, I always follow the same routine - after a reboot, PT - set the timer going, minimize to tray. Then open all scripts, then Stars. Mostly I just close Stars and hibernate/standby the poker computer, so reboots are rare - but I am often opening/closing Stars. Planner stays running all the time for me.

Quote:

And why does StarsPlanner change my .ini file without me specifically trying to change my layout?

It should change the ini file whenever it is closed - it records the layout you have selected, position of itself/lobby on screen, and the state of the checkboxes so it can open up next time in the same state.

It shouldn't ever change the [layouts] section unless you press one of the capture/configure/delete layout buttons, then it will rewrite the inifile to reflect changes.

Quote:

Also, sometimes when I rebuy chips it 'hangs' on the 'how many chips' screen.

You can see the HMC screen being made active, then the PS lobby being made active, and back and forth very quickly.

It is almost like StarsPlanner...

looks for the HMC window
finds it
then StarsPlanner interrupts itself
looks for the lobby
finds it
then looks for the HMC window again
rinse and repeat over and over.

If I point to the 'OK' button in the HMC window and click very, very quickly, over and over I can get it to go away, but the lobby is taking focus so quickly I have to do it over and over again. (Takes me about 10 to 15 mouse clicks, all within 1/2 second)

I consider this one a major PITA - it has been this way since Stars update changed the dialogs to "no visible text".

Thank you for the detailed report - I hadn't noticed it activating the lobby (mostly I am mashing the mouse so I don't time out) - and I think that this info will lead to a fix

dave.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-17-2007 , 06:45 PM
Quote:

Now that _dave_ fixed my .ini file, that's how it works for me. If the 'slot' is empty, the table moves there. If the 'slot' is not empty, the tables switch positions. Works every time. (before the .ini fix, it worked about 1/2 the time, sometimes tables wouldn't move or they'd switch with the wrong table. It was hard to move then to an empty slot.)

Now thats what I could not quite figure out. I compared your own ini file and Dave's fixed file (below. the left column is dave's ini file, the right column is yours). dave re-arranged the table slots layout and then changed the fill order. everything else remains exactly the same. why would that change the swapping behavior? dave?

dave's:
135
246
fill order=2,4,1,3,5,6

yours:
345
126
fill order=1,2,3,4,5,6

My init file is actually very similar to Dave's:
13 57
24 68
fill order=1,2,3,4,5,6,7,8

Oh, Dave tested my ini file and it seemed working fine on his machine. Maybe just something wrong with my computer

Thanks!

-----------------------------
<font class="small">Code:</font><hr /><pre>
[Layouts] [Layouts]
numlayouts=1 numlayouts=1
1="PkrStars" 1="PkrStars"

[Layout1] [Layout1]
1x=0 1x=0
1y=0 1y=577
1w=800 1w=800
1h=576 1h=576

2x=0 2x=801
2y=577 2y=577
2w=800 2w=800
2h=576 2h=576

3x=801 3x=0
3y=0 3y=0
3w=800 3w=800
3=576 3h=576

4x=801 4x=801
4y=577 4y=0
4w=800 4w=800
4h=576 4h=576

5x=1601 5x=1601
5y=0 5y=0
5w=800 5w=800
5h=576 5h=576

6x=1601 6x=1601
6y=577 6y=577
6w=800 6w=800
6h=576 6h=576

slotcount=6 slotcount=6
customfillorder=2,4,1,3,5,6 customfillorder=1,2,3,4,5,6

[Defaults] [Defaults]
PlanTablesOn=0 PlanTablesOn=0
KeepLobbyOn=1 KeepLobbyOn=1
AutoBuyInOn=1 AutoBuyInOn=1
KillFoldConfirmOn=0 KillFoldConfirmOn=0
ChosenLayout=1 ChosenLayout=1
gx=2417 gx=2417
gy=623 gy=623
lobbyx=1601 lobbyx=1601
lobbyy=619 lobbyy=619

</pre><hr />
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-17-2007 , 09:27 PM
bill,

I just spent a bunch of time trying to figure this out. The more I worked the more confused I got.

So.....

I have no explainations, but try this:
(make your Windows task bar single high, not double high)


[Layouts]
numlayouts=1
1="w8tables"

[Layout1]
1x=0
1y=0
1w=800
1h=576
2x=0
2y=577
2w=800
2h=576
3x=800
3y=0
3w=800
3h=576
4x=800
4y=577
4w=800
4h=576
5x=1600
5y=0
5w=800
5h=576
6x=1600
6y=577
6w=800
6h=576
7x=2400
7y=0
7w=800
7h=576
8x=2400
8y=577
8w=800
8h=576

slotcount=8
customfillorder=1,2,3,4,5,6,7,8

[Defaults]
PlanTablesOn=1
KeepLobbyOn=1
AutoBuyInOn=0
KillFoldConfirmOn=0
ChosenLayout=1
gx=2527
gy=100
lobbyx=2400
lobbyy=624
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-17-2007 , 09:35 PM
_dave_

If the topmost pixel = 0 (as in 1x=0)
then a table that is 576 pixels high
means the bottom row is row 575, right?

Then if table 2 is placed 2x = 577
then there should be a 1 pixel gap, right?????

There ain't!

----------Meow
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-18-2007 , 03:33 PM
thanks kitty. I will try 800X576 table size.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-24-2007 , 04:09 PM
I'm having a problem where when I open up stars planner, I can't actually restore it. It just stays on my taskbar. It automatically rebuys for me fine, but I can't turn on or off any of the other functions. Sorry if this problem has been discussed already, I haven't read through the whole thread.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-24-2007 , 05:19 PM
Quote:
I'm having a problem where when I open up stars planner, I can't actually restore it. It just stays on my taskbar. It automatically rebuys for me fine, but I can't turn on or off any of the other functions. Sorry if this problem has been discussed already, I haven't read through the whole thread.
I put in a function to fix this for the few unlucky people it afflicts

Right click on it's tray icon anc choose "Restore GUI position" (I think that's the name, something similar anyway). The GUI should then re-appear top left of primary monitor.

dave.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
05-24-2007 , 07:32 PM
ahhhhh perfect! thanks
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
07-20-2007 , 05:40 PM
I just downloaded the new version from overcards. It resizes everything and puts them in the correct spot. However, for some reason it resizes the table its self but not whats in the table window so I end up only seeing the top left corner of the table... Any ideas?

If I uncheck auto resize and then maximize, then minimize the table goes to the right size and appears correctly

Example:
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
07-20-2007 , 08:30 PM
I'm having the same problem as ajml.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
07-20-2007 , 08:43 PM
I have had the same problem also, seems to have happened since the second to last Stars update.

ajml, thejerkface - are you getting this all the time for all tables? For me it happens maybe 1 in 10 table openings...

I just fix it by grabbing the border of the broken table and dragging it a little - Planner then resizes it again and usually does it properly - or I select the table and hammer the F5 key, but that doesn't works so good (because of focus stealing) if I got loads of tables on the go already.

It is annoying me enough that a fix will be up shortly, feedback helpful always

dave.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
07-20-2007 , 09:00 PM
It doesn't happen with all the tables. I can't say how often exactly, maybe 25% of the time. I use two different layouts on a 2560x1600 resolution screen; 6-table and 9-table. Both have problems with about the same frequency.

It doesn't always open up like that. Sometimes there will be weird lines around the edge of the table. My workaround is to click the maximize button, which brings the screen to the foreground. Then StarsPlanner auto-resizes it (but in a messed up fashion, obscuring some of the table) and I click maximize again.

Dave, your current method of dealing with it sounds better. I'll do that for now.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
07-21-2007 , 12:23 PM
I do get it 100% of the time. I have some of the tables set up to overlap if that would affect anything.. Dave, if what you said works thats a good enough fix for me, I have been doing what jerkface said and that does get a little annoying. Other than that, sorry I can't give you much feedback. Let me know if you need anything else, I can post my .ini file but it doesnt sound like that has much to do with it. FWIW i've never had this problem in the past, I just updated to the new version and this started.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
09-03-2007 , 10:11 PM
Any update on this fix? I'm still getting it.


NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
09-07-2007 , 01:36 AM
Just a bump since it looks like _dave_'s computer is fixed - although my resizing works now for some reason.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote
09-07-2007 , 10:03 PM
Quote:

Any update on this fix? I'm still getting it.

StarsPlanner will get an update in the next couple days (adding Absolute support, massive speedup to the pop-up handling / rebuy windows etc.)

I will try and add something to sort this too... maybe it is a Vista issue? Does double-tap maximize fix it for you thac, like it does for me?

Or can you fix it by mouse-over and pressing f5?

dave.
NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) Quote

      
m