I am experienced java developer, but I am new to fiji. Trying to help out scientists friend to automate his image processing.
I am trying to open .lif/.tif files, which contains multiple images in “stack”. Once files are opened, I can change slices and do most of actions I’d want.
Problem is opening itself. When I open file using “open” command (or manually), “Bio-Formats Import Options” window shows up. I don’t know how to confirm that window (I just need to press “OK” or hit “enter”). Then another window “Bio-Formats Series Options” appears, where I need to press “Select All” and “OK”.
I couldn’t find a way. I biggest problem is, that when those windows are opened, script is blocked until they are closed so lines after “open” are not executed until those windows are resolved and closed. How would you proceed?
I probably could create plugin, that will run something on background so that it doesn’t get blocked, wait for image with that title, find button with text in there and click on it, but that sounds quite complicated and a bit of overkill.
Is it normal, that some windows block macro execution and make it almost impossible for macro to control them?
Any general comments, that explain this behaviour is welcomed as I am very new to fiji ecosystem. I don’t mind making some good generic tool for usecases like this with some guidance.