Go to https://github.com/GReD-Clermont/omero_macro-extensions
Download the two jars:
omero_macro-extensions-1.3.0.jar
Place the two jars files in your Fiji plugin folder (Fiji/plugins)
user = "my_username"; #@INPUT String (label = "Please enter password", style = password) pwd run("OMERO Extensions"); Ext.connectToOMERO("omero-cai.hhu.de", 4064, user, pwd); // code goes here // don't forget to disconnect at the end of the macro Ext.disconnect()
`