[ImageJ-bugs] [Bug 951] load(path) does work in javascript, but not if called from a macro

bugzilla at fiji.sc bugzilla at fiji.sc
Sat Nov 1 17:33:20 CDT 2014


http://fiji.sc/bugzilla/show_bug.cgi?id=951

Wayne Rasband <wsr at nih.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |wsr at nih.gov
         Resolution|---                         |FIXED

--- Comment #1 from Wayne Rasband <wsr at nih.gov> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20141101/bad89edf/attachment.html>


More information about the Imagej-bugs mailing list