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 

tile hor/vert hotkey?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
lil_tommy_g
Guest





PostPosted: Wed Apr 26, 2006 1:22 am    Post subject: tile hor/vert hotkey? Reply with quote

i have locked down a shared desktop, but in certain user areas I want to be able to tile horizontally or vertically 2 to 4 windows. got a hotkey?
Back to top
garath



Joined: 24 Mar 2005
Posts: 372
Location: germany

PostPosted: Wed Apr 26, 2006 10:01 am    Post subject: Reply with quote

Do you think about such a hotkey?
Creating a hotkey
You can move and resize windows with Winmove.
You can use winget to get al list of all Windows.

Happy scripting
Back to top
View user's profile Send private message
evl



Joined: 24 Aug 2005
Posts: 1239

PostPosted: Wed Apr 26, 2006 12:31 pm    Post subject: Reply with quote

Try searching the forums - I'm sure in the last few months someone asked about tiling windows.
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3841
Location: Bremen, Germany

PostPosted: Wed Apr 26, 2006 1:48 pm    Post subject: Reply with quote

This is something you might want to use as well:

;divide screen in 4 sections
;by Aj
www.autohotkey.com/forum/viewtopic.php?t=7461
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fsnow55



Joined: 08 Jun 2006
Posts: 19

PostPosted: Fri Jul 25, 2008 8:40 pm    Post subject: Reply with quote

here's my simple script based on SKAN's DLLcalls for tiling windows tip.

Hotkey is win + MMB
It toggles between horizontal and vertical tiling.


Code:

;;;;;;;;;;;;; windows tiling with Win + MMB ;;;;;;;;;;;;;;;;;;;;;

#MButton::
{
Envget, Verti, Vert
   if (Verti = "true")   ; true
   {
      ;tile vertically
      DllCall( "TileWindows", uInt,0, Int,0, Int,0, Int,0, Int,0 )
      SETENV, Vert, false
      ENVSET, Vert, %Vert%
      return
   }
   else
   {   
      ;tile horizontally
      DllCall( "TileWindows", uInt,0, Int,1, Int,0, Int,0, Int,0 )
      SETENV, Vert, true
      ENVSET, Vert, %Vert%
      return
   }
}

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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