#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
TimerSleep(Time)
{
Countdown := Time
Loop, %Time%
{
SplashTextOn, , 30,Sleeping, %Countdown%
Sleep, 1000
Countdown := Countdown - 1
}
SplashTextOff
return 0
}
An Autohotkey Timer Function
Sunday, 25 January 2015
Here's a handy time function for use with autohotkey, it waits for the specified number of seconds and shows a countdown on the screen.
Labels:
AutoHotkey
Subscribe to:
Comments (Atom)