Two Plus Two Newer Archives

Two Plus Two Newer Archives (http://archives1.twoplustwo.com/index.php)
-   Software (http://archives1.twoplustwo.com/forumdisplay.php?f=47)
-   -   NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) (http://archives1.twoplustwo.com/showthread.php?t=245982)

_dave_ 10-26-2006 10:00 PM

NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
Hello all,

So I got a bit sidetracked trying to fix BetPot, when I realised how some of the parts enable this to be done.

I have a tendancy to get really focused on an idea once it occurs to me, so unfortunately BetPot fixes are gonna have to wait until tomorrow [img]/images/graemlins/frown.gif[/img]

So, here is a real early version of my Party Planner clone for PokerStars - StarsPlanner [img]/images/graemlins/smile.gif[/img]

<font color="blue">-----------------------------------------------------------------------</font>

This script Mimics the automatic table resizing and positioning found in PartyPlanner, but for Poker Stars.

You can set desired table size, and a grid for tables sppecified by height and width. Tables will fill up from the top of leftmost column downward, starting a new column when specified.

Once tables are open, they may be dragged to another "slot", swapping with the table already there if there is one (like PartyPlanner)

I have included presets for 3 common table layouts:

<ul type="square">[*]12 mini-tables, on a 1920x1200 24" widescreen monitor (default) [*]8 normal size tables, across two 20" 1600x1200 monitors[*]4 slightly smaller tables, on a single 17" 1280x1024 standard monitor. [/list]

<font color="blue">-----------------------------------------------------------------------</font>


As always, let me know if you have any problems / find this useful etc.

Early version seems to work great, but (as demonstrated by latest BetPot) what works for me does not always work for others lol [img]/images/graemlins/smile.gif[/img]

Enjoy,

dave.

www.overcards.com/wiki/moin.cgi/StarsPlanner


EDIT: Changed title to be a bit more descriptive

poisonxfree 10-26-2006 10:04 PM

Re: NEW AHK Script: StarsPlanner
 
Thanks for this. I will be checking it out soon.

poisonxfree 10-26-2006 10:36 PM

Re: NEW AHK Script: StarsPlanner
 
Hm, question. How do I create layouts for it to use [the grid you spoke of] and also how so I save those and select between them?

_dave_ 10-26-2006 10:45 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]
Hm, question. How do I create layouts for it to use [the grid you spoke of] and also how so I save those and select between them?

[/ QUOTE ]

Right near the top of the script (open it in notepad) you will see a section looking like this:

---------------------------------------------------------------------------------
ideal_width := 475 ; &lt;-- THIS IS CLIENT AREA WIDTH (475 is the minimum)
tables_across := 4 ; This will get you 12 mini-tables
tables_down := 3 ; good for 1920x1200 monitor, eg dell 2405fpw
---------------------------------------------------------------------------------

These create a grid, starting from the top-left of your primary monitor, going down by "tables_down", and across by "tables_across", using table sizes of "ideal_width" (table height is calculated, depending upon specified width).


Change these numbers to your liking, save &amp; reload the script for changfes to take effect. It should resize any tables ytou have already open, but if for some reason it does not, just closa them all and open new tables to test a layout - you don't have to sit for it to work.



I will probably make a GUI to simplify this if there is much interest.


What Monitor size / number of tables / grid layout do you have in mind - I can give you some numbers if you want?


dave.

poisonxfree 10-26-2006 11:07 PM

Re: NEW AHK Script: StarsPlanner
 
I'm not sure yet, was going to experiment. I hadn't glanced at the code for the script yet but I will play around with it. I have 2 Dell 2005 FPWs, but typically just use the left for poker. I will likely figure out a good 6 and 9 table setup.

_dave_ 10-26-2006 11:31 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]

I have 2 Dell 2005 FPWs


[/ QUOTE ]

this has a 1680x1050 resolution, yes?

a setup such as this:

---------------------------------------------------------------------------------
ideal_width := 552
tables_across := 6
tables_down := 2
---------------------------------------------------------------------------------

should give 6 tables per screen, in a 3x2 grid per monitor, utilising the full width of these panels.

The first 6 should appear on the left monitor, providing it is the primary display.

(These numbers are a (calculated) guess) - Poker computer off now, late at night [img]/images/graemlins/smile.gif[/img] )

dave.

mason55 10-27-2006 12:37 AM

Re: NEW AHK Script: StarsPlanner
 
wow this works great on my 1280x1024 flat panel. Thanks _dave_!!!

Reef 10-27-2006 01:15 AM

Re: NEW AHK Script: StarsPlanner
 
omfg I want to give you sweet sweet (non homosexual) loving!

poisonxfree 10-27-2006 01:17 AM

Re: NEW AHK Script: StarsPlanner
 
Awesome. I will give it a shot tomorrow morning. Thanks much!

Dexter_Cain 10-27-2006 01:34 AM

Re: NEW AHK Script: StarsPlanner
 
is it possible for it to be edited to fill slots in a different order. specifically for the 8 monitor set-up, can i have it start on top left of left monitor, then go to top right on LEFT monitor. Then bottom left left monitor etc..How would I do that?

also, this thing [censored] rocks, ty.


All times are GMT -4. The time now is 10:46 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.