Auto Refresh Time Series Analyzer V2

Hi guys,

I am looking for a command for a macro that clicks automatically on a certain button.

I want to analyze the fluorescence of a cell over time. I select a ROI with the “ROI Manager” and by clicking “GetAverage” in the Time Series Analyzer, the Average Intensity is displayed. Is there a possibility to write a macro that “automatically clicks” on this GetAverage button so the “Average Intensity plot” will be updated periodically.

It would be really great if someone could help me :slight_smile:

If there is no macro command to do this you can use the Robot plugin to simulate a mouse click on the window
and you can create a macro command from it for the automatization (use
the macro recorder):

Eventually set the location of the window before you calculate the mouse position of the required action, see:

http://imagej.1557.x6.nabble.com/set-location-of-ImageJ-window-at-launch-by-macro-td3683089.html

setLocation(x, y);
getLocationAndSize(x, y, width, height);
2 Likes

Thanks a lot. That’s exacly what i was looking for :slight_smile: