Jump to content
Sign in to follow this  
mozart90

Update progressbar while running an external prorgamm ?

Recommended Posts

mozart90

Hi

I've got the following problem :

I have a gui with a progressbar and I have to run an external Program ... while the program is running I'd like to move the progressbar in an endless loop (just indicating the script is still working - gui is always on top)

in VB there is the possibility to install a timer event which is called eg. every second

regards mozart90

Edited by mozart90

Share this post


Link to post
Share on other sites
mozart90

AdlibEnable("myadlib", 200); update
RunWait()
AdlibDisable(); stop update
Exit

Func myadlib()
    ; do your stuff here
    ProgressSet( ... )
EndFunc

thanks, that's it

I didn't knew this funktion - always thought it has something to do with AdLib Sound ...

regards mozart90

Share this post


Link to post
Share on other sites
ficofico

AdlibEnable("myadlib", 200); update

RunWait(MsgBox(4096, "mencoder", "Mencoder in progress"))

AdlibDisable(); stop update

Exit

Func myadlib()

Rundos("mencoder.bat") ; do your stuff here

ProgressSet( ... )

EndFunc

I'm not able to compile well this script, I need aid... thanks

Share this post


Link to post
Share on other sites
Danny35d

Remove the RunWait()

RunWait(MsgBox(4096, "mencoder", "Mencoder in progress"))

Should be

MsgBox(4096, "mencoder", "Mencoder in progress")

If you want to use RunWait() then read the help file LINK


AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×