Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old 12-16-2006, 01:10 PM
easye easye is offline
Senior Member
 
Join Date: Apr 2005
Posts: 112
Default Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)

Hi Dave,

Love this script too. Had a small change to the script you might want to add. It's just related to the positioning of the Gui.

Right after you read in the x and y positions from the ini you may want to add the following lines.

<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 />

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".

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

I think you're doing some really interesting stuff right now, keep up the good work.
Reply With Quote
 

Thread Tools
Display Modes

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 10:12 AM.


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