03-19-2014, 01:52 PM
Hi Gintaras, Hi all
I have a function built to process a file from Directory Opus (DO) file manager. The function is called from DO with the filename(s) as argument.
The function MyFunction begins with:
function str'&j
foreach _s j
...Do code with each file
1. How to "queue" a file if the function is already running. For instance I launched MyFunction with three files to process,
and I want to add one as the function is already busy.
2. How to launch several instances of MyFunction in the same time. At the time being, only one instance is allowed to run.
Thanks
I have a function built to process a file from Directory Opus (DO) file manager. The function is called from DO with the filename(s) as argument.
The function MyFunction begins with:
function str'&j
foreach _s j
...Do code with each file
1. How to "queue" a file if the function is already running. For instance I launched MyFunction with three files to process,
and I want to add one as the function is already busy.
2. How to launch several instances of MyFunction in the same time. At the time being, only one instance is allowed to run.
Thanks