IJ Robot not performing [Enter] KeyPress?

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

IJ Robot not performing [Enter] KeyPress?

Rocco D'Antuono
Dear all, I need to call a plugin many times in a macro, passing it different parameters each time.
I wrote a macro that works fine for each single step, but every time the plugin finishes to execute his work, shows a message saying it has completed his duty, blocking macro execution;
so I thought an easy way to bypass this could be use of "IJ Robot" plugin with "KeyPress [Enter]" option, but it seems not working.
Could you please try to see if running the following example lines you get the window closed, or eventually explain me why is not possible?
Thanks,
Rocco

--------------------
waitForUser("Hello");
run("IJ Robot", "order=KeyPress keypress=!");
--------------------
Senior Microscopist
Crick Advanced Light Microscopy facility (CALM)
The Francis Crick Institute
1 Midland Road, NW1 1AT, London (UK)
https://roccodant.github.io/