Skip to content

Instantly share code, notes, and snippets.

@nunocodex
Created July 31, 2015 15:51
Show Gist options
  • Save nunocodex/fb52eece33381d03f7c4 to your computer and use it in GitHub Desktop.
Save nunocodex/fb52eece33381d03f7c4 to your computer and use it in GitHub Desktop.
GuildWars 2 Auto Loot Script.
#SingleInstance force
#Persistent
#NoEnv
SetTimer, lootStuff, 250
return
lootStuff:
IfWinActive ahk_class ArenaNet_Dx_Window_Class
{
shiftKey := GetKeyState("Shift", "P")
altKey := GetKeyState("Alt", "P")
controlKey := GetKeyState("Control", "P")
winKey := GetKeyState("LWin", "P")
if !shiftKey and !altKey and !controlKey and !winKey
SendInput {F12}
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment