In the following script, I intended to create a simple slider, but it cant set the window width less than 334px.
Code: Select all
F1:: {
hwnd := WinExist('Notepad')
WinGetPos(, , &width, , hwnd)
Step := 10
Loop width / Step {
WinMove( , ,width - (Step * A_index), , hwnd)
}
}