Launching a VBScript in a separate thread from an ImageJ macro script?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Launching a VBScript in a separate thread from an ImageJ macro script?

Alan Hewat
I have an ImageJ script that launches a VBScript to capture images
from a camera, writing files that can be picked up by ImageJ when the
VBScript finishes i.e:

status=exec("cscript "+myVBScript+parameters);
open(capturedImage);
...treat the captured image etc...

Now I want to launch the VBScript in a separate thread, such that it
captures a number of images, and ImageJ doesn't wait for it, but finds
and treats those image files as they are written. It should be much
faster to run my VBScript and ImageJ script independently, in separate
threads.

Is that possible please ? Perhaps there is an example somewhere ?

 Thanks. Alan
______________________________________________
Dr Alan Hewat, NeutronOptics, Grenoble, FRANCE
<[hidden email]> +33.476.98.41.68
        http://www.NeutronOptics.com/hewat
______________________________________________

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html