Maybe it's related to the compiled file.. I'm working in school work right now, but i should have time to look into it later today or tomorrow.
the 'screen top' and 'screen right' numbers have both changed to '1,000'
oh dear. the numbers now change to '0' instead of '1,000' when i click on the 'okay' button.
i'm happy just editing the .ini file if i need to so don't waste time trying to make the 'okay' button work just for me

both screen top and screen right set to '0' after i click on the 'okay' button.Ok.. At least i know what's NOT in the origin of this problem

i think this might be it.
(..)it worked just fine!You can't imagine how happy that makes me!
I too think this might be it.

) want to consider putting in an option labeled "Move any
WinGetPos,WinX,WinY, WinWidth, WinHeight,ahk_id %ActiveWindow%
if WinWidth =
return
WinGetClass,WinClass
WinGetTitle,WinTitle,ahk_id %ActiveWindow%
WinClass=ahk_class%A_space%%Winclass%
If NotDetectableWindow(WinTitle,WinClass)
return
If DetectableWindow(WinTitle,WinClass)
gosub movewindow
If WinHeight < 140 ;I added
gosub movewindow ;I added
If WinHeight > %PredefWinHeight%
return
If WinWidth > %PredefWinWidth%
return
... I'm not sure if i can do it, but it'd be great to be able to add a rules system, where the user could redefine what windows should be moved, based on those rules.
And example of a rule could be:
WindowHeight > 200 AND WindowHeight < 300 OR WindowHeight > 400
WinGetPos,WinX,WinY, WinWidth, WinHeight,ahk_id %ActiveWindow%
if WinWidth =
return
WinGetClass,WinClass
WinGetTitle,WinTitle,ahk_id %ActiveWindow%
WinClass=ahk_class%A_space%%Winclass%
If NotDetectableWindow(WinTitle,WinClass)
return
If DetectableWindow(WinTitle,WinClass)
gosub movewindow
If WinHeight < 150 ;AndyM
gosub movewindow ;AndyM
If WinHeight > 151 ;nudone
return ;nudone
;If WinHeight > %PredefWinHeight%
; return
;If WinWidth > %PredefWinWidth%
; returnvery sorry, but the latest versions, .exe and .ahk still have the same problem when i click on the 'okay' button. that's from a clean start up with no .ini files lying around anywhere.
CodeIf WinHeight > 151 ;nudone return ;nudone ;If WinHeight > %PredefWinHeight% ; return ;If WinWidth > %PredefWinWidth% ; return
)Original address: https://www.donationcoder.com/forum/index.php?topic=3097.0