This is an old revision of the document!
Drop Script
Author
Kota Miura
Centre for Molecular and Cellualr Imaging (CMCI), EMBL Heidelberg
miura at embl dot de Tel: +49 6221 387 404
History
2011-07-25
- First release
2012-02-19
- additional capability for dropping jython files
- fixed a bug: Drop Script window was listed in the menu “windows” even after closing, but now it disappears as it should be.
Source
Installation
for IJ macro and Javascripts:
Download Drop_Macro.jar and place it in the ImageJ plugin folder.
for IJ macro, Javascripts and Jython:
2012/02/19 – A new version available with capability for Jyson scripts (files with .py ending). Since this new version requires Fiji or a classpath set to jython.jar, I leave the old version with only IJ macro and Javascript as it is above. The new version could be downloaded from the link below.
[https://github.com/cmci/IJ_DropMacro]
If you are using Fiji:
Instead of installing manually, you could also set automatic download & updates by registering our update site.
http://cmci.embl.de/ijplugins
For managing update site, see this page.
Requires
ImageJ ver 1.44h or higher (ImageJ, upgrade page).
Description
Opens a small window that allows you to drag and drop ImageJ macro and/or ImageJ Javascript files. You could load as many files as you want by simply drag-and-dropping files diretly from filesystem brawser such as “windows explorer” or “Finder (osx)”. Dropped files will all be listed in the drop-down menu. Selecting one macro/scrip and clicking “Run” button will run the macro/script. “Clear” button will clear the list of dropped files. “Code” button will open the code, and let you edit the file.
The reason I made this plugin is to edit macro/scripts using external editors such as Notepad++ or Vim. Since DropScript pluing accesses the code in the saved file everytime “Run” is clicked, you could edit the code in external editor and save while the macro/script is keep on being listed in the DropScript drop-down menu.