AutoHotkey Community

It is currently May 25th, 2012, 11:09 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: A small little countdown
PostPosted: February 8th, 2005, 11:47 am 
Offline

Joined: January 31st, 2005, 4:11 pm
Posts: 65
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! :lol: :lol:

_________________
Image
Th!s !s STYLE


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 3:55 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 4:02 pm 
Offline

Joined: January 31st, 2005, 4:11 pm
Posts: 65
thx.. :D :D

_________________
Image
Th!s !s STYLE


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: bbwht, Scratch, toddintr and 24 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group