Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
- ; semicolon, such as this one, are comments. They are not executed.
- ; This script has a special filename and path because it is automatically
- ; launched when you run the program directly. Also, any text file whose
- ; name ends in .ahk is associated with the program, which means that it
- ; can be launched simply by double-clicking it. You can have as many .ahk
- ; files as you want, located in any folder. You can also run more than
- ; one .ahk file simultaneously and each will get its own tray icon.
- ; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
- ; launches a web site in the default browser. The second is Control+Alt+N
- ; and it launches a new Notepad window (or activates an existing one). To
- ; try out these hotkeys, run AutoHotkey again, which will load this file.
- Menu, tray, Icon, poe.ico
- $ยง::
- IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- {
- BlockInput On
- Send {1]
- Send {1}
- Send {1}
- Send {1}
- send {2}
- Send {2}
- Send {2}
- Send {3}
- Send {3}
- Send {3}
- Send {4}
- Send {4}
- send {4}
- Send {5}
- send {5}
- Send {5}
- Send {Esc}
- MouseClick, Left, 842, 416
- BlockInput Off
- return
- }
- ;$F1::
- ;IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- ;{
- ;Sendinput {t}
- ;sleep 700
- ;Sendinput {W}
- ;sendinput {5}
- ;}
- ;else sendinput {F1}
- ;return
- $F2::
- IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- {
- sendinput {enter}/oos{enter}
- }
- else sendinput {F2}
- return
- $F3::
- IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- {
- sendinput {enter}/remaining{enter}
- sendinput {enter}`%{enter}
- }
- else sendinput {F3}
- return
- $F4::
- IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- {
- BlockInput On
- Send {LButton}
- Send {Enter}
- Sleep 2
- Send /itemlevel
- Send {Enter}
- Sleep, 75
- Send {LButton}
- BlockInput Off
- return
- }
- else sendinput {F4}
- return
- $F8::
- IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- {
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 1
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 2
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 3
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 4
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 5
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 6
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 7
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 8
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 9
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {enter}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {up}
- Sleep 100
- sendinput {enter}
- Sleep 3000
- sendinput {enter}
- Sleep 100
- sendinput /trade 10
- Sleep 100
- sendinput {enter}
- }
- else sendinput {F8}
- return
- $F5::
- IfWinActive, Path of Exile ahk_class Direct3DWindowClass
- {
- sendinput {enter}/trade 5055{enter}
- Sleep 100
- sendinput {enter}/global 5055{enter}
- }
- else sendinput {F5}
- return
- ; Note: From now on whenever you run AutoHotkey directly, this script
- ; will be loaded. So feel free to customize it to suit your needs.
- ; Please read the QUICK-START TUTORIAL near the top of the help file.
- ; It explains how to perform common automation tasks such as sending
- ; keystrokes and mouse clicks. It also explains more about hotkeys.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement