Advertisement
serwitcher

Untitled

Sep 20th, 2019
1,047
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //*******************************************************************************************
  2. //*********************** WINDOWS SWITCHING *************************************************
  3. //*******************************************************************************************
  4. //%5% - %6% - window position ********  %3% - %4% - window size
  5. //examp. <ResizeAndPosition Local wow0 3840 2160 0 0>
  6. // %5% = 0
  7. // %6% = 0
  8. // %3% = 3840
  9. // %4% = 2160
  10. <Command ResizeAndPosition>
  11.     <SendPC %1%>
  12.         <SendWinM %2%>
  13.             <SetWinRect %5% %6% %3% %4%>              
  14.             <UpdateWin>
  15.  
  16. //-------------------------------------------------------------------------------------------
  17. <Hotkey ScrollLockOn NumpadEnd>  
  18.   <sendpc local>
  19.     <ResizeAndPosition Local wow0 3840 2160 0 0>
  20.     <ResizeAndPosition Local wow1 960 540 3840 954>
  21.     <ResizeAndPosition Local wow2 960 540 3840 414>
  22.     <ResizeAndPosition Local wow3 960 540 4800 954>
  23.     <ResizeAndPosition Local wow4 960 540 4800 414>  
  24. //-------------------------------------------------------------------------------------------  
  25. <Hotkey ScrollLockOn NumpadDown>  
  26.   <sendpc local>
  27.     <ResizeAndPosition Local wow1 3840 2160 0 0>
  28.     <ResizeAndPosition Local wow0 960 540 3840 954>
  29.     <ResizeAndPosition Local wow2 960 540 3840 414>
  30.     <ResizeAndPosition Local wow3 960 540 4800 954>
  31.     <ResizeAndPosition Local wow4 960 540 4800 414>  
  32. //-------------------------------------------------------------------------------------------  
  33. <Hotkey ScrollLockOn NumpadPgDn>  
  34.   <sendpc local>
  35.     <ResizeAndPosition Local wow2 3840 2160 0 0>
  36.     <ResizeAndPosition Local wow1 960 540 3840 954>
  37.     <ResizeAndPosition Local wow0 960 540 3840 414>
  38.     <ResizeAndPosition Local wow3 960 540 4800 954>
  39.     <ResizeAndPosition Local wow4 960 540 4800 414>  
  40. //-------------------------------------------------------------------------------------------  
  41. <Hotkey ScrollLockOn NumpadLeft>  
  42.   <sendpc local>
  43.     <ResizeAndPosition Local wow3 3840 2160 0 0>
  44.     <ResizeAndPosition Local wow1 960 540 3840 954>
  45.     <ResizeAndPosition Local wow2 960 540 3840 414>
  46.     <ResizeAndPosition Local wow0 960 540 4800 954>
  47.     <ResizeAndPosition Local wow4 960 540 4800 414>  
  48. //-------------------------------------------------------------------------------------------  
  49. <Hotkey ScrollLockOn Clear>  
  50.   <sendpc local>
  51.     <ResizeAndPosition Local wow4 3840 2160 0 0>
  52.     <ResizeAndPosition Local wow1 960 540 3840 954>
  53.     <ResizeAndPosition Local wow2 960 540 3840 414>
  54.     <ResizeAndPosition Local wow3 960 540 4800 954>
  55.     <ResizeAndPosition Local wow0 960 540 4800 414>
Advertisement
RAW Paste Data Copied
Advertisement