Run the script and press Alt+X to see the unwanted effect.
Code: Select all
gui, margin, 20, 20
gui, add, Edit, w300 h300, press Alt - x
gui, show
return
!x::
if s
Gui -Resize
else
Gui +Resize
s:=s?0:1
return
Code: Select all
gui, margin, 20, 20
gui, add, Edit, w300 h300, press Alt - x
gui, show
return
!x::
if s
Gui -Resize
else
Gui +Resize
s:=s?0:1
return