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.

Bug 172 - 3D Viewer macro recorded command does not work
3D Viewer macro recorded command does not work
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: ImageJ1
unspecified
PC Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2010-05-24 13:50 CDT by G. Landini
Modified: 2010-05-24 22:31 CDT
0 users

See Also:

Description G. Landini 2010-05-24 13:50:42 CDT
When I run this "recorded" macro:

selectWindow("yyy");
call("ij3d.ImageJ3DViewer.setColor", "255","0","0")run("3D Viewer");
call("ij3d.ImageJ3DViewer.add", "yyy", "None", "yyy", "0", "true", "true", "true", "2", "0");
call("ImageJ_3D_Viewer.select", "yyy");
call("ij3d.ImageJ3DViewer.setColor", "255","0","0")

I get the error:

Could not find method select with 1 parameter(s) in class ImageJ_3D_viewer in line 4.

call ( "Image_3D_Viewer.select", "yyy" <)>;

Is this a 3D Viewer problem or is the ImageJA macro recorder not working correctly?
I also noted that some command are sent to the recorder window without a ";" at the end and on the same line as the previously recorded command.

Regards
G
Comment 1 Johannes Schindelin 2010-05-24 18:55:20 CDT
I just pushed a few changes which should help the situation. Can you test (in a fiji.git checkout)?
Comment 2 G. Landini 2010-05-24 22:31:13 CDT
Yes, it seems to work now, many thanks.
I'll close the bug report.
Cheers
G