AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A small little countdown

 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Sty!a



Joined: 31 Jan 2005
Posts: 65

PostPosted: Tue Feb 08, 2005 10:47 am    Post subject: A small little countdown Reply with quote

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! Laughing Laughing
_________________

Th!s !s STYLE
Back to top
View user's profile Send private message
polyethene



Joined: 11 Aug 2004
Posts: 5248
Location: UK

PostPosted: Tue Feb 08, 2005 2:55 pm    Post subject: Reply with quote

lol
*it was causing some disruptance on taskbar Confused

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
View user's profile Send private message Send e-mail Visit poster's website
Sty!a



Joined: 31 Jan 2005
Posts: 65

PostPosted: Tue Feb 08, 2005 3:02 pm    Post subject: Reply with quote

thx.. Very Happy Very Happy
_________________

Th!s !s STYLE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group