![]() ![]() If omitted and the timer already exists, it will be reset at its former period unless Priority is specified. If 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: Passing an empty variable or an expression which results in an empty value is considered an error. ![]() For example, SetTimer, 0 can be used inside a timer function to mark the timer for deletion, while SetTimer, 1000 would update the current timer's Period. If Function is omitted, SetTimer will operate on the timer which launched the current thread, if any. This occurs automatically for run-once timers, but can also be done by calling SetTimer with a Period of 0. SetTimer Function, Period, Priority Parameters FunctionĪ reference to the function object is kept in the script's list of timers, and is not released unless the timer is deleted. ![]() SetTimer - Syntax & Usage | AutoHotkey v2 SetTimerĬauses a function to be called 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 |