<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Stephen,<div><br></div><div> There are instructions for running scripts from the command line at</div><div><a href="https://www.openmicroscopy.org/site/support/omero5.1/developers/scripts/user-guide.html#run-script">https://www.openmicroscopy.org/site/support/omero5.1/developers/scripts/user-guide.html#run-script</a></div><div><br></div><div>I also use the command line to replace scripts after each edit, since I'm editing them in a</div><div>different location than bin/omero/scripts.</div><div>But if your workflow doesn't need this then that's fine.</div><div><br></div><div>One small 'hack' you can use to speed up testing in web is to copy the url of the </div><div>script dialog, E.g. <a href="http://localhost:4080/webclient/script_ui/10656/?Image=3718">http://localhost:4080/webclient/script_ui/10656/?Image=3718</a></div><div>and open a new window / tab and paste this url in, then run the script from here.</div><div>Now, since the window.opener is no-longer the web client, the javascript that</div><div>closes the script dialog when you run the script will fail and the dialog will stay open.</div><div>Then you can simply refresh this window each time you update your script, which</div><div>is quite a bit faster than re-opening it from web client each time.</div><div>Results will still be shown in the web client if you refresh the Activities panel.</div><div><br></div><div> Hope that helps,</div><div><br></div><div>   Will.</div><div><br></div><div><br></div><div><br><div><div>On 1 May 2015, at 10:04, Stephen Taylor <<a href="mailto:stephen.taylor@imm.ox.ac.uk">stephen.taylor@imm.ox.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>I am trying to develop a plugin to do a custom export on our OMERO test server.<br><br>Is there a recommended strategy for doing this? I am currently doing: <br><br>1) Change plugin python code<br>2) Refresh OMERO web page, and click on "Run scripts" >  "Export Scripts" > "Test Export"<br>3) Go to 1<br><br>Which is quite a slow development cycle. It would be nice if I could run the script and pass the parameters to it on the command line somehow...<br><br>I am using OMERO.web 5.0.6-ice34-b53.<br><br>Thanks for any help!<br><br>Steve<br><br><br>_______________________________________________<br>ome-users mailing list<br><a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users<br></blockquote></div><br></div></body></html>