Advertisement
xdemonessx

Basic Window Tiler (Single Screen 1440x900)

Nov 29th, 2012
629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     ;SAVE THIS FILE AS .AHK;
  2.     ;///Modifiers\\\;
  3.     ;# = Windows Key;
  4.     ;! = Alt;        
  5.     ;^ = Control;
  6.     ;+ = Shift;
  7.     ;& = Used to combine keys (ctrl+alt = ^&!);
  8.  
  9.     ;"WinMove,A,, W,X,Y,Z"
  10.     ;Where
  11.     ;W= Distance of the window from the left side of the screen
  12.     ;X= Distance of the window from the top of the screen
  13.     ;Y= Total width of the window
  14.     ;Z= Total height of the window
  15.  
  16.  
  17.     #space::Run firefox.exe
  18.     #c::Run calc.exe
  19.     #n::Run notepad.exe
  20.  
  21.     return
  22.     NumpadIns::WinMaximize, A
  23.    
  24.     return
  25.     NumpadPgUp::
  26.             WinMove,A,,    910, 8, 520, 297
  27.  
  28.     return
  29.     NumpadRight::
  30.             WinMove,A,,   910, 304, 520, 297
  31.  
  32.     return
  33.     NumpadPgDn::
  34.             WinMove,A,,    910, 597, 520, 297
  35.  
  36.     return
  37.     NumpadLeft::
  38.         WinMove,A,,   14, 30, 874, 861
  39.    
  40.     return
  41.     NumpadDel::
  42.             WinGetPos,X,Y,W,H,A
  43.             WinMove,A,,1440/2-W/2,900/2-H/2
  44.  
  45.     return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement