Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;As always, test the logout before you run into hardcore.
- ;If the Logout dosn't function, you need to run the ahk script in administrator mode.
- ;You can compile the script then right click the resulting .exe file, > properties > compatibility > [x] Run this program as an administrator > Apply
- ;made by /u/lutcikaur
- IfNotExist, C:\ahk
- {
- FileCreateDir, C:\ahk
- }
- SetWorkingDir, C:\ahk
- IfNotExist, cports.exe
- {
- UrlDownloadToFile, http://lutbot.com/ahk/cports.exe, cports.exe
- if ErrorLevel
- MsgBox, There was a problem downloading cports.exe
- UrlDownloadToFile, http://lutbot.com/ahk/cports.chm, cports.chm
- if ErrorLevel
- MsgBox, There was a problem downloading cports.chm
- UrlDownloadToFile, http://lutbot.com/ahk/readme.txt, readme.txt
- if ErrorLevel
- MsgBox, There was a problem downloading readme.txt
- }
- F3::logoutCommand() ;
- logoutCommand(){
- IfWinActive Path of Exile
- {
- Run cports.exe /close * * * * PathOfExile.exe
- }
- return
- }
- F2::
- SendInput, {Enter}
- sleep, 20
- SendInput, {/}itemlevel
- SendInput, {Enter}
- return
- `::
- SendInput, {Enter}
- sleep, 20
- SendInput, {/}oos
- SendInput, {Enter}
- return
- F1::
- SendInput, {Enter}
- sleep, 20
- SendInput, {/}remaining
- SendInput, {Enter}
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement