Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. ;
  2. ; AutoHotkey Version: 1.x
  3. ; Language: English
  4. ; Platform: Win9x/NT
  5. ; Author: A.N.Other <myemail@nowhere.com>
  6. ;
  7. ; Script Function:
  8. ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
  9. ;
  10.  
  11. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  12. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  13. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  14. #IfWinActive ahk_exe NGUIdle.exe
  15.  
  16. ;SCO29 is ² (above Tab)
  17. SC029::
  18. Send {Left}
  19. Sleep 50
  20. Send {Right}
  21. Return
  22.  
  23. p::
  24. Send {a Down}
  25. Sleep 50
  26. Click
  27. Sleep 50
  28. Send {a Up}
  29. Return
  30.  
  31. $Left::
  32. Send {Ctrl Down}
  33. Sleep 50
  34. Click
  35. Sleep 50
  36. Send {Ctrl Up}
  37. Return
  38.  
  39. MButton::d
  40.  
  41. XButton1::
  42. Send {Left}
  43. Sleep 50
  44. Send {Right}
  45. Return
  46.  
  47. $+a::
  48. MouseGetPos, XAxis, YAxis
  49. Sleep 10
  50. Click 338, 226
  51. Sleep 10
  52. MouseMove %XAxis%, %YAxis%, 0
  53. Return
  54.  
  55. $+b::
  56. MouseGetPos, XAxis, YAxis
  57. Sleep 10
  58. Click 338, 266
  59. Sleep 10
  60. MouseMove %XAxis%, %YAxis%, 0
  61. Return
  62.  
  63. $^q::
  64. MouseGetPos, XAxis, YAxis
  65. Sleep 10
  66. Click Right 1109, 337
  67. Sleep 10
  68. MouseMove %XAxis%, %YAxis%, 0
  69. Return
  70.  
  71. $^d::
  72. MouseGetPos, XAxis, YAxis
  73. Sleep 10
  74. Click Right 1416, 336
  75. Sleep 10
  76. MouseMove %XAxis%, %YAxis%, 0
  77. Return
  78.  
  79.  
  80. $+q::Left
  81. $+d::Right
  82.  
  83. ;Get rid of the following lines if you're not using an AZERTY keyboard
  84. a::q
  85. q::a
  86. z::w
  87. w::z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement