Scripting ImageJ

Posted by asfarley on
URL: http://imagej.273.s1.nabble.com/Scripting-ImageJ-tp3694635.html

Hi everybody; I'm scripting some tasks which require VirtualDub and ImageJ (this is why my first choice is not to use the built-in ImageJ macro language). The problem I have been encountering is: when I open/process/save files in ImageJ, I have no way of telling when the operation is complete. What I've been doing is checking if windows are open (indicating that the "file open" operation is complete) or reading the size of a file (to check if it's finished saving), etc. However, these aren't very "robust" methods. Does ImageJ provide any way of checking if a process has completed? For example, is there a way to read the status of the progress bar? Thanks,
Alex