Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #81  
Old 12-17-2006, 08:19 PM
ncboiler ncboiler is offline
Senior Member
 
Join Date: Aug 2004
Posts: 3,405
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

[ QUOTE ]
When I open it my capture, configure, and delete buttons are all grayed out. I have the newest version of AHK.

[/ QUOTE ]

Any ideas why? I would like to use this but I can't. I know it's something stupid.
Reply With Quote
  #82  
Old 12-17-2006, 08:32 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

Hi Schuckmer,

<font class="small">Code:</font><hr /><pre>
IniRead, gx, %inifile%, Defaults, gx
IniRead, gy, %inifile%, Defaults, gy

If (gx &lt;= 0) Or (gx &gt;= A_ScreenWidth )
LastGuiX = Center
If (gy &lt;= 0) Or (gy &gt;= A_ScreenWidth )
LastGuiY = Center
</pre><hr />

[ QUOTE ]

What this does is ensures that the Gui will be visible. I had problems previously with your script if I switched from using dual monitors to a single monitor, or if I changed the screen resolution. The script would load but the Gui would be "off-screen".


[/ QUOTE ]

Great suggestion, I will add this in [img]/images/graemlins/smile.gif[/img]

[ QUOTE ]

BTW, if you'd rather I PM you with this stuff or do something like this over at overcards.com, let me know.


[/ QUOTE ]

Posting as you did here in the appropriate thread is probably best - this way anyone confident in their editing can add it in themselves if they like before I get around to adding / testing and updating a new version.

Many thanks,

dave.
Reply With Quote
  #83  
Old 12-17-2006, 08:39 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

[ QUOTE ]
[ QUOTE ]
When I open it my capture, configure, and delete buttons are all grayed out. I have the newest version of AHK.

[/ QUOTE ]

Any ideas why? I would like to use this but I can't. I know it's something stupid.

[/ QUOTE ]

Is "Enable Re-Size and Arrange Tables" ticked?

All controls are greyed out if the planner-subroutine is running, since altering saved layouts while planner-subroutine is running can cause instability.

dave.
Reply With Quote
  #84  
Old 12-17-2006, 10:53 PM
ncboiler ncboiler is offline
Senior Member
 
Join Date: Aug 2004
Posts: 3,405
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
When I open it my capture, configure, and delete buttons are all grayed out. I have the newest version of AHK.

[/ QUOTE ]

Any ideas why? I would like to use this but I can't. I know it's something stupid.

[/ QUOTE ]

Is "Enable Re-Size and Arrange Tables" ticked?

All controls are greyed out if the planner-subroutine is running, since altering saved layouts while planner-subroutine is running can cause instability.

dave.

[/ QUOTE ]

Yes I had that box checked. The buttons are grayed out if it is checked?
Reply With Quote
  #85  
Old 12-18-2006, 01:23 AM
easye easye is offline
Senior Member
 
Join Date: Apr 2005
Posts: 112
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

[ QUOTE ]
Hi Schuckmer,

<font class="small">Code:</font><hr /><pre>
IniRead, gx, %inifile%, Defaults, gx
IniRead, gy, %inifile%, Defaults, gy

If (gx &lt;= 0) Or (gx &gt;= A_ScreenWidth )
LastGuiX = Center
If (gy &lt;= 0) Or (gy &gt;= A_ScreenWidth )
LastGuiY = Center
</pre><hr />

[ QUOTE ]

What this does is ensures that the Gui will be visible. I had problems previously with your script if I switched from using dual monitors to a single monitor, or if I changed the screen resolution. The script would load but the Gui would be "off-screen".


[/ QUOTE ]

Great suggestion, I will add this in [img]/images/graemlins/smile.gif[/img]

[ QUOTE ]

BTW, if you'd rather I PM you with this stuff or do something like this over at overcards.com, let me know.


[/ QUOTE ]

Posting as you did here in the appropriate thread is probably best - this way anyone confident in their editing can add it in themselves if they like before I get around to adding / testing and updating a new version.

Many thanks,

dave.

[/ QUOTE ]

I knew when I first posted this that I had typed it in wrong and thought I had updated it in the posting. But after your reply, I realize I never did the update. The code should actually be:

<font class="small">Code:</font><hr /><pre>
IniRead, gx, %inifile%, Defaults, gx
IniRead, gy, %inifile%, Defaults, gy

If (gx &lt;= 0) Or (gx &gt;= A_ScreenWidth )
gx = Center
If (gy &lt;= 0) Or (gy &gt;= A_ScreenWidth )
gy = Center
</pre><hr />
Reply With Quote
  #86  
Old 12-27-2006, 09:18 PM
disco_stu1978 disco_stu1978 is offline
Senior Member
 
Join Date: Nov 2005
Posts: 291
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

I was having the same issue with the GUI going off screen. For some reason my co-ords were -32000/-32000, I have no idea why though.

Now I have a small issue with how I start it. If I just Double Click the script, it works fine and the GUI pops up in the 0, 0 hole (new co-ords I set for it in the default) but if I start the script using another .ahk.... it is off screen again.

bit of a brain twister, cannot see why it would be any diff. anyways, just thought I would mention it.

Thanks as always dave, your a monsta!
Reply With Quote
  #87  
Old 12-28-2006, 02:07 AM
easye easye is offline
Senior Member
 
Join Date: Apr 2005
Posts: 112
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

[ QUOTE ]
I was having the same issue with the GUI going off screen. For some reason my co-ords were -32000/-32000, I have no idea why though.

Now I have a small issue with how I start it. If I just Double Click the script, it works fine and the GUI pops up in the 0, 0 hole (new co-ords I set for it in the default) but if I start the script using another .ahk.... it is off screen again.

bit of a brain twister, cannot see why it would be any diff. anyways, just thought I would mention it.

Thanks as always dave, your a monsta!

[/ QUOTE ]

I've had similar problems with other scripts. What is most likely happening is that the working directory is different when you launch it from another script. So you actually have two ini files, one in the folder that contains the script itself (when u run the script directly). And most likely another one in the script that you have launching Stars Planner.

The way to fix this is to explicitly state what the working directory is. In the Run command, do something like:

<font class="small">Code:</font><hr /><pre> Run, F:\My Documents\AHK\Poker\StarsPlanner\StarsPlanner-v0.03b.ahk, F:\My Documents\AHK\Poker\StarsPlanner\ </pre><hr />

The path after the second comma is the working directory. Then your ini file will stay in the correct directory.
Reply With Quote
  #88  
Old 12-28-2006, 02:10 AM
easye easye is offline
Senior Member
 
Join Date: Apr 2005
Posts: 112
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

[ QUOTE ]

<font class="small">Code:</font><hr /><pre>
IniRead, gx, %inifile%, Defaults, gx
IniRead, gy, %inifile%, Defaults, gy

If (gx &lt;= 0) Or (gx &gt;= A_ScreenWidth )
gx = Center
If (gy &lt;= 0) Or (gy &gt;= A_ScreenWidth )
gy = Center
</pre><hr />

[/ QUOTE ]

I must have been seriously tired or drunk or both when I posted that code, because now I see I made a second error when posting. I'm sure others have figured it out by now, but it should actually read:

<font class="small">Code:</font><hr /><pre>IniRead, gx, %inifile%, Defaults, gx
IniRead, gy, %inifile%, Defaults, gy

If (gx &lt;= 0) Or (gx &gt;= A_ScreenWidth )
gx = Center
If (gy &lt;= 0) Or (gy &gt;= A_ScreenHeight )
gy = Center </pre><hr />
Reply With Quote
  #89  
Old 01-18-2007, 01:42 AM
FearNoEvil FearNoEvil is offline
Senior Member
 
Join Date: Mar 2006
Posts: 112
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

I am trying to use the Full Tilt table re-sizer, but I have no action buttons when it is my turn to act. I have the "enable" button unchecked. Do you know what the problem is?

Thanks.
Reply With Quote
  #90  
Old 01-20-2007, 05:52 PM
tcorbin16 tcorbin16 is offline
Senior Member
 
Join Date: Mar 2006
Posts: 2,649
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

bump the new update caused [censored] to not work anymore.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:09 PM.


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