#Persistent
SetTitleMatchMode, 2 ; match anywhere in the window title
upCounter := 0
; Hotkey for up arrow
#IfWinActive ahk_exe idea64.exe ; only trigger when IntelliJ is active
Up::
upCounter++
; Get IntelliJ window position
WinGetPos, X, Y, Width, Height, A ; A = active window (IntelliJ)
; Show tooltip near top-left corner of IntelliJ
Tooltip, Up pressed: %upCounter%, %X% + 20, %Y% + 20
return
#IfWinActive
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)