AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automagic dialog resize

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
RobOtter



Joined: 30 Jan 2005
Posts: 125
Location: Darmstadt, Germany

PostPosted: Wed Feb 02, 2005 10:38 pm    Post subject: Automagic dialog resize Reply with quote

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
Back to top
View user's profile Send private message
shader



Joined: 29 Oct 2004
Posts: 41

PostPosted: Mon Feb 07, 2005 9:44 am    Post subject: Reply with quote

Hi, thanks for the idea. In http://www.autohotkey.com/forum/viewtopic.php?t=1766&highlight=resize+enable You'll find an helpfull utilty. It doesnt remember the size but it works for all the windows Smile
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group