|
Bugzilla – Bug 951 |
load(path) does work in javascript, but not if called from a macro |
Last modified: 2014-11-01 17:33:20 CDT |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
| load(path) does work in javascript, but not if called from a macro | |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
This bug is fixed in the ImageJ 1.49k6 daily build, or work around it by calling the script using run("script.js") instead of runMacro("/path/to/script.js"). For run("script.js") to work, script.js must be located in the plugins folder or an immediate subfolder. The runMacro() macro function runs scripts using the ImageJ JavaScript interpreter, which did not support the load() function prior to v1.49k6.