 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Sty!a
Joined: 31 Jan 2005 Posts: 65
|
Posted: Tue Feb 08, 2005 10:47 am Post subject: A small little countdown |
|
|
I know it is not very complicated, but its funny:
| Code: |
var1 = 100
Loop,100
{
Gui, Add, Text, x6 y7 w50 h30, %var1%
Gui, Add, Button, x56 y7 w40 h30, Close
Gui, Show, x270 y110 h49 w106,
sleep,500
EnvSub, Var1, 1
gui, destroy
}
buttonclose:
exitapp
|
Its the final countdown!  _________________
Th!s !s STYLE |
|
| Back to top |
|
 |
polyethene
Joined: 11 Aug 2004 Posts: 5248 Location: UK
|
Posted: Tue Feb 08, 2005 2:55 pm Post subject: |
|
|
lol
*it was causing some disruptance on taskbar
| my version wrote: | #SingleInstance ignore
var = 100
Gui, +ToolWindow
Gui, Add, Button, gGuiClose x100 y10, Close
Gui, Font, s16
Gui, Add, Text, x5 y10, %var%
Gui, Show, x150 y100 w150, Countdown...
Loop, 99
{
var -= 1
GuiControl, , Static1, %var%
Sleep, 100
}
GuiClose:
ExitApp |
|
|
| Back to top |
|
 |
Sty!a
Joined: 31 Jan 2005 Posts: 65
|
Posted: Tue Feb 08, 2005 3:02 pm Post subject: |
|
|
thx..  _________________
Th!s !s STYLE |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|