Sign in to follow this  
Followers 0
mozart90

Update progressbar while running an external prorgamm ?

8 posts in this topic

#1 ·  Posted (edited)

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



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

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  
Followers 0