0

How to detect that Autopilot has finished an update

Hi All,

If I execute an Autopilot session from a command line ( for example "C:\Program Files (x86)\JetReports\AutoPilot.exe" /M UPDATE /I "MySourcepathname.xlsx" /O "MyJetDestinationFolder") the program returns control to the command line immediately and continues to execute in the background.
I'm need to write a routine which will take a list of jet reports in various locations and loop through the list refreshing each one, by creating the appropriate command line instruction string for autopilot and executing it. However I can't see a way to determine that autopilot has finished.

I can write a wait loop to see if the output has occurred, but I wondered if Autopilot can be made to return something to say that it has finished, which would be more elegant.

Any thoughts?

Regards,

Richard.

3 comments

Please sign in to leave a comment.