Hi Schuckmer,
<font class="small">Code:</font><hr /><pre>
IniRead, gx, %inifile%, Defaults, gx
IniRead, gy, %inifile%, Defaults, gy
If (gx <= 0) Or (gx >= A_ScreenWidth )
LastGuiX = Center
If (gy <= 0) Or (gy >= 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".
Great suggestion, I will add this in
Quote:
BTW, if you'd rather I PM you with this stuff or do something like this over at overcards.com, let me know.
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.