This won't be persistent if run as a thread
#Persistent
SetTimer((*) => ToolTip("Persistent Timer Running", , , 3), 100)
adding an infinite loop makes it stay running
#Persistent
SetTimer((*) => ToolTip("Busy Timer Running", , , 3), 100)
loop {
Sleep(100)
}
I tested it using the script bellow
#Persistent
timerThread := ThreadObj("#Include persistent timer.ahkh2")
loopThread := ThreadObj("#Include busy timer.ahkh2")
This won't be persistent if run as a thread
adding an infinite loop makes it stay running
I tested it using the script bellow