![]() If blank or omitted and the timer does not exist, it will be created with a period of 250. This parameter must be either given a non-empty value or completely omitted. Note: In, passing an empty variable or an expression which results in an empty value is considered an error. Other expressions which return objects are currently unsupported. : If not a valid label name, this parameter can be the name of a function whose parameter list has no mandatory parameters, as in example #4, or a single variable reference containing a function object, as in example #5. ![]() This is useful for timers which launch functions or function objects. : If A_ThisLabel is empty but the current thread was launched by a timer, that timer is used. For example, SetTimer, Off can be used inside a timer subroutine to turn off the timer, while SetTimer, 1000 would either update the current timer's Period or set a new timer using the label which is currently running. : If Label is omitted, A_ThisLabel will be used. As with the parameters of almost all other commands, Label can be a variable reference such as %MyLabel%, in which case the name stored in the variable is used as the target. The name of the label, hotkey label, or hotstring label to which to jump, which causes the commands beneath Label to be executed until a Return or Exit is encountered. SetTimer, Label, PeriodOnOffDelete, Priority Parameters Label SetTimer - Syntax & Usage | AutoHotkey v1 SetTimerĬauses a subroutine to be launched automatically and repeatedly at a specified time interval.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |