Quote:
Originally Posted by LoveThee
It is not clear what behaviour you want.
The script in the op has a RNG num box hovering beside cursor, that is supposed to update to a new number every few seconds.
It does not update, however.
SetBatchLines, -1
lastNumTick := A_TickCount
Random, randNum, 1, 100
SetTimer, UpdateRandomNumber, 1
UpdateRandomNumber:
If (ATickCount > lastNumTick+4000) {
Random, randNum, 1, 100
lastNumTick := ATickCount
}
ToolTip, %randNum%
Return
ESC::ExitApp