Advertisement
Lorenzo501

Findable Item.ahk

Mar 8th, 2024
775
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Requires AutoHotkey 2.0
  2. winIds := {}
  3. winIds[findableItem] := 0 ; Inserting only the key to easily find it (0 is basically blank/null/unset)
  4. winIds.HasKey(findableItem) ; Only possible with a map (an array merely allows you to find by index)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement