Thanks for that, too, @slbaumgartner!
At any rate, the proc does not seem to update the toolbar item with the MF value. It does update if I call UI.refresh_toolbars manually.
(I mean, without the refresh call in the proc, of course.)
I opened an issue for this in the API issue tracker, here:
@Fredo6, the procs do seem to work when commands are added to the main toolbar (though this requires a UI refresh), but not from palettes (i.e., a plugin toolbar).
So, basically, you are saying that it’s not working!!
UI.refresh() is of course not a workaround for something that should happen automatically
most plugins will have their own separated toolbar on Mac
I use Command validation proc essentially to reflect the state of a command, that is grayed out or highlighted. But still, this should work on all platforms.
…and anyway, the deficiencies on Mac should be indicated in the API documentation.