AutoHotKey Macro's

07/16/2013 16:27 -III-#1
This information below is not hard to come by, but I figured I would try to contribute something to the forum.
Included are hotkey macro's for :
  • F5 - Check Mobs Remaining
  • F6 - Check Item Level
  • F7 - /OOS (Out Of Sync)

I've left out a fast logout option as most here are using Wrongusername's AutoFlask AHK which has it included anyway.

Code:
F5::MobsRemaining() ; Assign F5 to check remaining mobs
F6::CheckItemLevel() ; Assign F6 to check item level
F7::OosCommand() ; Assign F7 to execute the oos command
 
CheckItemLevel(){
        BlockInput On
        Send {LButton}
        Send {Enter}
        Sleep 2
        Send /itemlevel
        Send {Enter}
        Sleep, 75
        Send {LButton}
        BlockInput Off
        return
}
 
OosCommand(){
        BlockInput On
        Send {Enter}
        Sleep 2
        Send /oos
        Send {Enter}
        BlockInput Off
        return
}
 
MobsRemaining(){
BlockInput On
Send {Enter} /remaining {Enter}
Send {Enter} +5 {Enter}
BlockInput Off
Return
}
Remember, it requires AutoHotKey, which you can get [Only registered and activated users can see links. Click Here To Register...]

Be sure to run as admin. I did not attach it as an AHK file because I do not feel like doing a VirusTotal scan. Just paste it in Notepad and save as .AHK