Macro ${ismaster} not functioning?

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
Havenstad FM
Posts: 104
Joined: 23 Apr 2016 12:36
Macro ${ismaster} not functioning?

Post by Havenstad FM »

Hi Bernd,

It looks like the ${ismaster} macro is not functioning anymore. I use it in our setup and i know that it functioned before, but now it seems broken. I'm not sure when it happened, but i went back to v4.0.1.35 and even then it does not function.

To reproduce put the following in a command button:

Code: Select all

EXEC_COMMAND2 ${ismaster} | Equals(1) | SHOW_ALERT_WINDOW I am the Master
After pushing the button the message should be shown if PFOA is running as master, but nothing happens. Can you confirm this or am i missing something?

With kind regards,

Jack Reitsema
ITC Havenstad.FM
User avatar
radio42
Site Admin
Posts: 9139
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Macro ${ismaster} not functioning?

Post by radio42 »

please remove all SPACEs in your command, then it will work !

Code: Select all

EXEC_COMMAND2 ${ismaster}|Equals(1)|SHOW_ALERT_WINDOW I am the Master
User avatar
Havenstad FM
Posts: 104
Joined: 23 Apr 2016 12:36
Re: Macro ${ismaster} not functioning?

Post by Havenstad FM »

Hi Bernd,

Ah, glad it was that simple. Thanks again....

Regards,

Jack Reitsema
ITC Havenstad.FM

Post Reply