AutoHotkey Community

It is currently May 27th, 2012, 7:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: resize current window
PostPosted: October 19th, 2004, 11:03 am 
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
   


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 19th, 2004, 11:10 am 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
I can see how this would be convenient. Thanks.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group