http://imagej.273.s1.nabble.com/is-global-scale-not-working-on-Fiji-Macro-running-on-PC-tp5018267p5018268.html
> On Mar 9, 2017, at 6:05 PM, fmerchant <
[hidden email]> wrote:
>
> <
http://imagej.1557.x6.nabble.com/file/n5018267/Fiji_error.png>
>
> I am running a macro on Fiji with the is("global scale") built-in function
> without any error on a MAC.
> However, when I run the same macro on the PC, I get an error message as
> shown in the attached image.
>
> A snippet of the macro is
>
> macro "Test" {
>
> if (!(is("global scale")))
> {
> Dialog.create("ERROR");
> Dialog.addMessage("Set Scale in MM (millimeters),\nand\ncheck Set Scale
> GLOBAL before ANALYSIS");
> Dialog.show();
> exit();
> }
> } //end macro
>
> The message is
>
> Invalid argument in line 4
>
> if (!(is("global scale" <)>))
>
> What am I doing wrong here? Why does it work just fine on the Mac, but fails
> on a PC?
The PC is probably running a version of ImageJ earlier than 1.50i, the version that added the is("global scaleā) macro function.
> Sent from the ImageJ mailing list archive at Nabble.com.