Here are all the issues i found while creating functional scripts:
1
Code: Select all
mygui := gui()
mygui.opt("-maximizebox")
mygui.show("w210")
minimizebox removes both window buttons
2
Code: Select all
mygui := gui()
mygui.add("edit", "number")
mygui.show()
3
Code: Select all
mygui := gui()
mygui.add("pic", "icon2", "shell32")
mygui.show()
also applies to trayseticon()
4
Code: Select all
mygui := gui()
picture := mygui.add("pic",, "32x32.png")
mygui.show()
esc::
{
picture.value := ""
picture.value := "16x16.png"
}
5
wingetpos
the width and height of windows are inaccurate, also affecting the x coordinate (e.g. file explorer, run), because it includes the resize border which is 7px all around except for the top, regardless of whether the window is resizable or not
6
winmove
need SW_RESTORE parameter from showCmd using SetWindowPlacement
7
the Start in field of a shortcut to a script doesn't work for loading files from the relative path of the working directory