Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
  2. ; semicolon, such as this one, are comments. They are not executed.
  3.  
  4. ; This script has a special filename and path because it is automatically
  5. ; launched when you run the program directly. Also, any text file whose
  6. ; name ends in .ahk is associated with the program, which means that it
  7. ; can be launched simply by double-clicking it. You can have as many .ahk
  8. ; files as you want, located in any folder. You can also run more than
  9. ; one .ahk file simultaneously and each will get its own tray icon.
  10.  
  11. ; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
  12. ; launches a web site in the default browser. The second is Control+Alt+N
  13. ; and it launches a new Notepad window (or activates an existing one). To
  14. ; try out these hotkeys, run AutoHotkey again, which will load this file.
  15.  
  16. Menu, tray, Icon, poe.ico
  17.  
  18. $ยง::
  19. IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  20. {
  21. BlockInput On
  22. Send {1]
  23. Send {1}
  24. Send {1}
  25. Send {1}
  26. send {2}
  27. Send {2}
  28. Send {2}
  29. Send {3}
  30. Send {3}
  31. Send {3}
  32. Send {4}
  33. Send {4}
  34. send {4}
  35. Send {5}
  36. send {5}
  37. Send {5}
  38. Send {Esc}
  39. MouseClick, Left, 842, 416
  40. BlockInput Off
  41. return
  42. }
  43.  
  44. ;$F1::
  45. ;IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  46. ;{
  47. ;Sendinput {t}
  48. ;sleep 700
  49. ;Sendinput {W}
  50. ;sendinput {5}
  51. ;}
  52. ;else sendinput {F1}
  53. ;return
  54.  
  55. $F2::
  56. IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  57. {
  58. sendinput {enter}/oos{enter}
  59. }
  60. else sendinput {F2}
  61. return
  62.  
  63. $F3::
  64. IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  65. {
  66. sendinput {enter}/remaining{enter}
  67. sendinput {enter}`%{enter}
  68. }
  69. else sendinput {F3}
  70. return
  71.  
  72. $F4::
  73. IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  74. {
  75. BlockInput On
  76. Send {LButton}
  77. Send {Enter}
  78. Sleep 2
  79. Send /itemlevel
  80. Send {Enter}
  81. Sleep, 75
  82. Send {LButton}
  83. BlockInput Off
  84. return
  85. }
  86. else sendinput {F4}
  87. return
  88.  
  89. $F8::
  90. IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  91. {
  92. Sleep 3000
  93. sendinput {enter}
  94. Sleep 100
  95. sendinput /trade 1
  96. Sleep 100
  97. sendinput {enter}
  98. Sleep 100
  99. sendinput {enter}
  100. Sleep 100
  101. sendinput {up}
  102. Sleep 100
  103. sendinput {up}
  104. Sleep 100
  105. sendinput {enter}
  106. Sleep 3000
  107. sendinput {enter}
  108. Sleep 100
  109. sendinput /trade 2
  110. Sleep 100
  111. sendinput {enter}
  112. Sleep 100
  113. sendinput {enter}
  114. Sleep 100
  115. sendinput {up}
  116. Sleep 100
  117. sendinput {up}
  118. Sleep 100
  119. sendinput {enter}
  120. Sleep 3000
  121. sendinput {enter}
  122. Sleep 100
  123. sendinput /trade 3
  124. Sleep 100
  125. sendinput {enter}
  126. Sleep 100
  127. sendinput {enter}
  128. Sleep 100
  129. sendinput {up}
  130. Sleep 100
  131. sendinput {up}
  132. Sleep 100
  133. sendinput {enter}
  134. Sleep 3000
  135. sendinput {enter}
  136. Sleep 100
  137. sendinput /trade 4
  138. Sleep 100
  139. sendinput {enter}
  140. Sleep 100
  141. sendinput {enter}
  142. Sleep 100
  143. sendinput {up}
  144. Sleep 100
  145. sendinput {up}
  146. Sleep 100
  147. sendinput {enter}
  148. Sleep 3000
  149. sendinput {enter}
  150. Sleep 100
  151. sendinput /trade 5
  152. Sleep 100
  153. sendinput {enter}
  154. Sleep 100
  155. sendinput {enter}
  156. Sleep 100
  157. sendinput {up}
  158. Sleep 100
  159. sendinput {up}
  160. Sleep 100
  161. sendinput {enter}
  162. Sleep 3000
  163. sendinput {enter}
  164. Sleep 100
  165. sendinput /trade 6
  166. Sleep 100
  167. sendinput {enter}
  168. Sleep 100
  169. sendinput {enter}
  170. Sleep 100
  171. sendinput {up}
  172. Sleep 100
  173. sendinput {up}
  174. Sleep 100
  175. sendinput {enter}
  176. Sleep 3000
  177. sendinput {enter}
  178. Sleep 100
  179. sendinput /trade 7
  180. Sleep 100
  181. sendinput {enter}
  182. Sleep 100
  183. sendinput {enter}
  184. Sleep 100
  185. sendinput {up}
  186. Sleep 100
  187. sendinput {up}
  188. Sleep 100
  189. sendinput {enter}
  190. Sleep 3000
  191. sendinput {enter}
  192. Sleep 100
  193. sendinput /trade 8
  194. Sleep 100
  195. sendinput {enter}
  196. Sleep 100
  197. sendinput {enter}
  198. Sleep 100
  199. sendinput {up}
  200. Sleep 100
  201. sendinput {up}
  202. Sleep 100
  203. sendinput {enter}
  204. Sleep 3000
  205. sendinput {enter}
  206. Sleep 100
  207. sendinput /trade 9
  208. Sleep 100
  209. sendinput {enter}
  210. Sleep 100
  211. sendinput {enter}
  212. Sleep 100
  213. sendinput {up}
  214. Sleep 100
  215. sendinput {up}
  216. Sleep 100
  217. sendinput {enter}
  218. Sleep 3000
  219. sendinput {enter}
  220. Sleep 100
  221. sendinput /trade 10
  222. Sleep 100
  223. sendinput {enter}
  224. }
  225. else sendinput {F8}
  226. return
  227.  
  228. $F5::
  229. IfWinActive, Path of Exile ahk_class Direct3DWindowClass
  230. {
  231. sendinput {enter}/trade 5055{enter}
  232. Sleep 100
  233. sendinput {enter}/global 5055{enter}
  234. }
  235. else sendinput {F5}
  236. return
  237.  
  238.  
  239.  
  240. ; Note: From now on whenever you run AutoHotkey directly, this script
  241. ; will be loaded. So feel free to customize it to suit your needs.
  242.  
  243. ; Please read the QUICK-START TUTORIAL near the top of the help file.
  244. ; It explains how to perform common automation tasks such as sending
  245. ; keystrokes and mouse clicks. It also explains more about hotkeys.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement