Ext functions do not work

When running an ImageJ macro that I have been using for years, Ext functions do not work any longer. See error message below

Unrecognized Ext function in line 41
Ext. (“Helvetica” , 8 , “bold”);

All other Ext functions in the macro do not work

Best regards,

Mats Nilsson

Hello @Mats,

Could you please post a complete macro example that triggers this problem ?

Best,

Nicolas

1 Like

Hello Nicolas,

It seems that I can not upload a file. “New users can not upload attachments”.

Best regards,

Mats

What do you want to archive. Is this part of creating a PDF?

http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:pdf_macro_extension:start

The Image Macro Documentation for method ‘Ext’ states

These are functions that have been added to the macro language by plugins using the MacroExtension interface. The Image5D_Extensions plugin, for example, adds functions that work with Image5D. The Serial Macro Extensions plugin adds functions, such as Ext.open(“COM8”,9600,"") and Ext.write(“a”), that talk to serial devices.

See:

https://imagej.nih.gov/ij/developer/macro/functions.html#E

Here an example:

https://imagej.nih.gov/ij/plugins/download/Image5D_Extensions.java

So as far as I understand the documentation a contributing plugin is missing implementing a specific function.

You can share your code directly by copy pasting into your message. Just put the code between triple quotes (these ones: ```) for a correct formatting. Alternatively you can share it using gist (https://gist.github.com).

I your code is super long, please try to remove the parts that are not relevant to the problem.

Best,

Nicolas

2 Likes

Good day Mats Nilsson,

did you try “Arial” instead of “Helvetica”?

Just a supposition. Cf: https://imagej.nih.gov/ij/notes.html

Regards

Herbie