Advertisement
Miicheru

1366x768 + 1920x1080 tiling script with extra's

Mar 7th, 2013
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;///Modifiers\\\;
  2. ;# = Windows Key;
  3. ;! = Alt;        
  4. ;^ = Control;
  5. ;+ = Shift;
  6. ;& = Used to combine keys (ctrl+alt = ^&!);
  7.  
  8. ;By Miicheru !QoXFeEmKWE
  9.  
  10. ;=================================================
  11. ;Toggle taskbar
  12. #z::
  13. if toggle := !toggle
  14. {
  15.   WinHide ahk_class Shell_TrayWnd
  16.   WinHide Start ahk_class Button
  17. }
  18. else
  19. {
  20.   WinShow ahk_class Shell_TrayWnd
  21.   WinShow Start ahk_class Button
  22. }
  23. Return
  24.  
  25. ;=================================================
  26. ;Remove title and border
  27. #a::
  28. WinSet, Style, -0x800000, A
  29. WinSet, Style, ^0xC00000, A
  30. Return
  31.  
  32. ;=================================================
  33. ;Left screen ( 1366 x 768 )
  34.  
  35. ;Move to left screen and maximize the window
  36. #Numpad0::
  37. WinMove,A,, 0, 0,,
  38. WinMaximize, A ,,
  39. Return
  40.  
  41. ;Left bottom
  42. #Numpad1:: WinMove,A,,   4, 385, 300, 379
  43.  
  44. ;Right big
  45. #Numpad2:: WinMove,A,,   307, 4, 1055, 760
  46.  
  47. ;Right bottom
  48. #Numpad3:: WinMove,A,,   1062, 385, 300, 379
  49.  
  50. ;Left small
  51. #Numpad4:: WinMove,A,,   4, 4, 300, 760
  52.  
  53. ;Maximize with padding
  54. #Numpad5:: WinMove,A,,   4, 4, 1358, 760
  55.  
  56. ;Right small
  57. #Numpad6:: WinMove,A,,   1062, 4, 300, 760
  58.  
  59. ;Left top
  60. #Numpad7:: WinMove,A,,   4, 4, 300, 378
  61.  
  62. ;;Left big
  63. #Numpad8:: WinMove,A,,   4, 4, 1055, 760
  64.  
  65. ;Right top
  66. #Numpad9:: WinMove,A,,   1062, 4, 300, 378
  67.  
  68. ;=================================================
  69. ;Right screen ( 1920 x 1080 )
  70.  
  71. ;Move to right screen and maximize the window
  72. #!Numpad0::
  73. WinMove,A,, 1367, 0,,
  74. WinMaximize,A,,
  75. Return
  76.  
  77. ;Left bottom
  78. #!Numpad1:: WinMove,A,, 1370, 542, 346, 533
  79.  
  80. ;Left big
  81. #!Numpad2:: WinMove,A,, 1370, 4, 1563, 1071
  82.  
  83. ;Right bottom
  84. #!Numpad3:: WinMove,A,, 2936, 542, 346, 534
  85.  
  86. ;Left small
  87. #!Numpad4:: WinMove,A,, 1370, 4, 346, 1071
  88.  
  89. ;Maximize with padding
  90. #!Numpad5:: WinMove,A,, 1370, 4, 1911, 1071
  91.  
  92. ;Right small
  93. #!Numpad6:: WinMove,A,, 2936, 4, 346, 1071
  94.  
  95. ;Left top
  96. #!Numpad7:: WinMove,A,, 1370, 4, 346, 534
  97.  
  98. ;right big
  99. #!Numpad8:: WinMove,A,, 1720, 4, 1563, 1071
  100.  
  101. ;Right top
  102. #!Numpad9:: WinMove,A,, 2936, 4, 346, 534
  103.  
  104. ;=================================================
  105. ;media
  106. #Right:: Media_Next
  107. #Left:: Media_Prev
  108. #Up:: Media_Stop
  109. #Down:: Media_Play_Pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement