Jump to content

Recommended Posts

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
  • 1 year later...
Posted

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

Posted

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

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
×
×
  • Create New...