/dev/null Posted June 28, 2005 Posted June 28, 2005 Hi Guys, I wrote a little tool for one of my projects. It is an animated progress bar, which run in the "background", implemented via AdlibEnable(). Once started, the progress bar will be animated until you close it. You can set the current status of your operations while your functions are running. The whole gui can be moved with the mouse, no matter where in the GUI you click, AND even while you move the GUI, the animation goes on and on Comments are welcome if you like it as well as if you think this sucks.... Here's some sample code: expandcollapse popup#include <anislider.au3> _AniSliderTestMain() func _AniSliderTestMain() _AniSliderCreateGui("Animated Slider Demo", "Status line...", "_AniSliderTestExit") sleep(2000) while 1 _AniSliderTestFunc1() _AniSliderTestFunc2() wend endfunc func _AniSliderTestFunc1() local $i_Counter for $i_Counter = 10 to 0 step -1 _AniSliderSetProgressState("I'm in _AniSliderTestFunc1()... " & $i_Counter & " s") sleep(1000) next endfunc func _AniSliderTestFunc2() for $i_Counter = 1 to 10 _AniSliderSetProgressState("I'm in _AniSliderTestFunc2()... " & $i_Counter & " s") sleep(1000) next endfunc func _AniSliderTestExit() msgbox(0,"EXIT", "This has been a AniSlider demo by /dev/null") _AniSliderExit() endfunc Cheers Kurtanislider.au3 __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *
blindwig Posted June 28, 2005 Posted June 28, 2005 cool! I've been wanting to write a better version of the built-in progress meter, and this gives me ideas of how to do it. Thanks My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
FuryCell Posted June 28, 2005 Posted June 28, 2005 Very Nice UDF. Just tried it and it looks really cool. Good to make a script more unique by not using the standard progress bar. HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now