Thank you so much for your detailed response Lars_123, very much appreciated.
Quote:
BTW, Opus pubs can launch external files. Maybe you could bypass the middleman step?
Sorry I was a bit unclear in my post - I meant that my Opus pub was to be my 'Launch' utility, providing the front end.
Quote:
When you say 'progress bar', do you mean something low-level in Windows that reflects the delay interval e.g., while something is loading? (Or do you mean a cumulative progress bar e.g., amount of content viewed/listened-to etc.?) Can you explain more -- what the utility program is?
I mean a cumulative progress bar. In this instance it would be represented by the number of files successfully processed and moved to an output folder. example: If I had 100 files in the input folder, as each file is processed and moved to an output folder, the progress bar would indicate this - the first file in the output folder would indicate 1% progress - till all 100 files were processed being 100% completed.
The exe(s) that Opus will be triggering are three compiled scripts created with other software, that follow each other. These do various xml based text format conversions, each three with its own input and output directory. Opus only needs to track the first input directory and the very last output directory of that process for the progress bar functionality. The Opus front end will provide the user with the ability to select the input and output source locations via the 'Browse Directory' actions - (the locations that need to be monitored), and a few other options via a drop down menu.
Quote:
Meanwhile, take a look at: viewtopic.php?f=9&t=4111&hilit=dll
Regarding: "...putting the file location and file names into an array"
I think if you initially tallied the source Folder, and monitored the number of files in the destination Folder -- you could mimmick a progress bar graphically in Opus.
The compiled scripts that I will be using have the ability to generate on the fly, text files with the directory listings of the contents of both the input and output folders; so that is not a problem. Opus appears to have the functionality to read/count each line, allowing for the ability of a file tally of the input directory. Polling the output text file as its dynamically created and feeding it to the progress bar variable may be more of a challenge.
Apparently the Windows dll - Comctl32.dll located in system32 has the functionality to create a progress bar. This would mean that vision impaired staff members who had Jaws software installed on their PCs could have audible feedback via the progress bar, as most Windows system components are accessible to Jaws's text to speech engine. As I work in a charity organisation (for the blind and vision impaired) we have a very limited budget, so a free option is preferable rather than third party dlls or add ons.
There seems to be some info on the web re this dll, however it seems to be related to VB scripts as well, so I'm a little confused as to what is native functionality to the dll and what is VB script.