RobOtter
Joined: 30 Jan 2005 Posts: 125 Location: Darmstadt, Germany
|
Posted: Wed Feb 02, 2005 10:38 pm Post subject: Automagic dialog resize |
|
|
Hi,
this little one makes me love FilZip (www.filzip.com, a very good freeware zipper) more than ever, because now its file extraction dialog becomes the size I ever wanted. This might be a sufficient technique for all windows that will open with the same default size every time.
| Code: | SetTitleMatchMode, 1
SetTimer, ResizeFilZip, 500
; resize FilZipīs "Extract Files" dialog automatically
ResizeFilZip:
FZDialogName = Dateien extrahieren
IfWinActive, %FZDialogName%
{
WinGetPos, posX, posY, width, height, %FZDialogName%
if height < 400
WinMove, %FZDialogName%,,posX-50,posY-150,560, 750
}
Return
|
|
|