ImageJ中的宏脚本语言如何模拟点击一个按钮

run("IJ Robot", "order=Left_Click x_point=159 y_point=62 delay=300");

 

请参考:

https://forum.image.sc/t/whats-the-imagej-script-for-clicking-a-button-on-a-plugin/3762

 

 

 

真正能够解决我的问题的是一下的博客:

这个人和我有一摸一样的问题:

https://forum.image.sc/t/opening-image-file-with-open-and-auto-clicking-on-ok/9292/2

他是这样解决的:

 

https://imagej.net/Bio-Formats

http://imagej.github.io/presentations/fiji-scripting/#/6/2

 

run("Bio-Formats", "open=/Users/jdoe/data.ome.tif " +
  "autoscale color_mode=Default view=Hyperstack stack_order=XYCZT");
saveAs("Tiff", "/Users/jdoe/Desktop/result.tif");

 

posted @ 2019-09-27 17:51  bH1pJ  阅读(40)  评论(0编辑  收藏  举报