Code: Select all
e::
PixelSearch,,, 1075, 495, 1076, 496, 0x9d6346, Fast RGB
If ErrorLevel {
Send, {e}
} Else {
Send, {f}
}
Return
If the loot menu is not visible, I want to send "e" (Use). If it is visible, I want to send "Enter" (Take All Loot).
Everything else is working okay, except when the loot menu is visible, pressing "e" sends "x" (Switch Weapon) instead!
Anybody ever seen something like this happen?