tooltip not clearing
Opened this issue · 1 comments
garretthester commented
When turning on the macro, my tooltip would not clear from screen. I updated the function to solve the problem:
!F12::
UseFlasks := not UseFlasks
if UseFlasks {
**#Persistent
; initialize start of auto-flask use
ToolTip, UseFlasks On
SetTimer, RemoveToolTip, -2000
return
RemoveToolTip:
ToolTip
return**
; reset usage timers for all flasks
for i in FlaskDurationInit {
FlaskLastUsed[i] := 0
FlaskDuration[i] := FlaskDurationInit[i]
}
} else {
ToolTip, UseFlasks Off
}
return
jmeyer1980 commented
I kept getting an error... and then I felt like an idiot when I realized that the stuff between the double asterisks is the stuff that was added.