DonationCoder.com Software > Post New Requests Here
IDEA: Graphic Countdown with Random Reset
flisflis:
Thanks so much!
Unfortunately when I extract this, I get a warning message when I try to run the .exe file:
"Countdown.exe: Unable to locate component
This application has failed to start because MFC71.DLL was not found."
Flis
flisflis:
Fixed it!
Sorry, takes me a little longer to work these things out. Art student, and all that. It looks great - you're a star!
Flis
skrommel:
:) Or for a proper random, proper restart, transparent, maximized version, try BadCountDown.
Save the script as BadCountDown.ahk, download and install AutoHotkey to run.
It uses ethan's images, so place the images in subfolder called images, and name them LED0.gif through LED9.gif.
Skrommel
--- ---;BadCountDown.ahk
; Counts down, but never reaches 0
;Skrommel @2007
#NoEnv
#SingleInstance,Force
firststart=500
Gui,Destroy
Gui,-Border -Caption +ToolWindow +AlwaysOnTop
Gui,Margin,0,0
Gui,Color,FFFFFF
StringSplit,char_,firststart
w:=A_ScreenWidth/char_0
Loop,% char_0
{
picture:="images\LED" . char_%A_Index% . ".gif"
Gui,Add,Picture,vpic%A_Index% x+0 yp w%w% h-1,%picture%
}
Gui,Show,,Timer!
WinSet,TransColor,FFFFFF,Timer!
start:=firststart
Loop
{
If A_Index>1
Random,start,% start-count,% firststart
Random,count,1,% start-1
Loop,% count
{
Sleep,999
number:=start-A_Index+1000000
StringRight,number,number,StrLen(firststart)
StringSplit,char_,number
w:=A_ScreenWidth/char_0
Loop,% char_0
{
picture:="images\LED" . char_%A_Index% . ".gif"
GuiControl,,pic%A_Index%,%picture%
}
}
}
flisflis:
Thanks!!
Flis
Navigation
[0] Message Index
[*] Previous page
Go to full version