[Tool] AutoHotkey scripts

Hide All Items (Loot Filter) during fight

  1. Short version if you fight with Left Click and have a simple script

    ~*LButton::
     Send {LAlt}
    Return
    
    ~*LButton UP::
     Send {LAlt}
    Return
    
  2. Longer version example (when you move with Left Click & fight with Left Click + Shift)

    ~*LButton::
     KeyWait, LButton, T0.2
     if ErrorLevel
     {    
         items_hidden := false ;ITEMS SHOWN BEFORE THE FIGHT
       
       while GetKeyState("LButton", "P")
     {   
         ;SKILLS CAST WHILE WALKING
         
         if GetKeyState("Shift", "P") ;FIGHT MODE
         {
             if !items_hidden ;HIDING ITEMS IF SHIFT IS HELD
             {
                 Send {LAlt}
                 items_hidden := true
             }
             
             ;SKILLS CAST WHILE FIGHTING
         }
         else
         {
             if items_hidden ; SHOWING ITEMS IF SHIFT IS RELEASED FIRST
             {
                 items_hidden := false
                 Send {LAlt}
             }
         }
         Sleep, 200
     }
     }
    Return
    
     ~*LButton UP:: ;SHOWING ITEMS IF LEFT CLICK IS RELEASED FIRST
     if items_hidden
     {
         items_hidden := false
         Send {LAlt}
     }
    Return