Code: Select all
timer(t){
Gui, Font, s20
loop{
Gui, Add, Text,, %t%
Gui, Show, x0 y0 w100 h1000
t += -1
sleep 1000
} until t <=0
}
Capslock::
timer(14)
timer(21)
timer(10)
timer(22)
^j::exitapp
Code: Select all
timer(t){
Gui, Font, s20
loop{
Gui, Add, Text,, %t%
Gui, Show, x0 y0 w100 h1000
t += -1
sleep 1000
} until t <=0
}
Capslock::
timer(14)
timer(21)
timer(10)
timer(22)
^j::exitapp
Code: Select all
#SingleInstance Force
Gui, -caption +border
Gui, Font, s18
Gui, Add, Text, vText center,
timer(t){
Loop
{ GuiControl,, Text,% t
Gui, Show,% "x" A_ScreenWidth/2 " y" A_ScreenHeight/2
t += -1
Sleep 1000
} until t <=0
}
F1::
timer(14)
timer(21)
timer(10)
timer(22)
return
F2::exitapp
F12::timer(SubStr(A_ThisHotkey,2))