fsnow55
Joined: 08 Jun 2006 Posts: 19
|
Posted: Fri Jul 25, 2008 8:40 pm Post subject: |
|
|
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
}
}
|
|
|