Skip to content, Skip to search


Script Templates

No change in size, 05:30, 22 November 2019
Adding a new template
The templates need to be put into a subdirectory corresponding with the correct script language name. So a <code>FFT.rb</code> script would need to be but into the `script-templates/Ruby/` directory to be available under the {{bc | Templates | Ruby}} menu. This is required so that templates are made available only when the corresponding script language is available.
For examples of how the existing templates are structured and distributed, take a look at the [ script_templates <code>imagej-legacy</code> project] (which maintains the script templates that were previously shipped with Fiji's script editor) as well as the [ <code>imagej-scripting</code> project].
= Template best practices =
Bureaucrat, emailconfirmed, incoming, administrator, uploaders, widget editor