Posted by
ctrueden on
URL: http://imagej.273.s1.nabble.com/Scripting-ImageJ-tp3694635p3694638.html
Hi Alex,
Well, I suppose AutoIT is one way to do it. You could write an ImageJ macro
or plugin that performs the operations you want, and does something obvious
that AutoIT can see in between steps. For example, you could set the ImageJ
status message with IJ.setStatus(), or even pop up a window with a
particular title. I'm not sure what sort of state you can poll with AutoIT,
so I'm not sure what else to suggest, really. Since you can write your own
plugin, you can have it do anything that Java is capable of, really --
writing to a file, sending network messages over a socket... whatever works
for your use case. Your problem isn't really ImageJ specific at that point.
-Curtis
On Wed, Oct 29, 2008 at 4:24 PM, asfarley <
[hidden email]> wrote:
> I guess I'm saying I need some hints on how to write a status update
> method.
> I'm using AutoIT to script the process. Do you know of any simple
> variables/values that indicate when processing is completed?
>
> Right now my code reads visible text, looking for "seconds" which is
> displayed in this context once processing is completed:
>
> AVI... 5000 frames, 12 seconds. 417 frames/second.
>
> However, this doesn't seem reliable; the script still hangs occasionally.
> --
> View this message in context:
>
http://n2.nabble.com/Scripting-ImageJ-tp1395229p1395448.html> Sent from the ImageJ mailing list archive at Nabble.com.
>