79172095

Date: 2024-11-09 04:10:51
Score: 0.5
Natty:
Report link
#Requires AutoHotkey v2.0+ 
#SingleInstance Force

ar := [1, 2, 3]

i := 0
:*:ab:: {
  global i ; here
  Loop 3 {
    a := StrCompare(ar[i], "Hi")
    Send(a)
    i++
  }    
}

See https://www.autohotkey.com/docs/v2/Functions.htm#Locals

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Ooker