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 

resize current window

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






PostPosted: Tue Oct 19, 2004 11:03 am    Post subject: resize current window Reply with quote

key definitions to resize the current window

nothing fancy, but good if you like that sort of thing...

jack
Computer...you and I need to have a little talk


Code:
#^down::
   wingetpos x, y,w,h, A
   h += 100
   winmove, A,,%x%, %y%,%w%,%h%
   return
   
#^up::
   wingetpos x, y,w,h, A
   h -= 100
   winmove, A,,%x%, %y%,%w%,%h%
   return
   
#^right::
   wingetpos x, y,w,h, A
   w += 100
   winmove, A,,%x%, %y%,%w%,%h%
   return
   
#^left::
   wingetpos x, y,w,h, A
   w -= 100
   winmove, A,,%x%, %y%,%w%,%h%
   return
   
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Tue Oct 19, 2004 11:10 am    Post subject: Reply with quote

I can see how this would be convenient. Thanks.
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