How can I detect if a front end token is available to execute? Alternately, how can I detect if a front end token failed to execute?
Example: the Edit -> Copy command is not available if nothing is selected. FrontEndTokenExecute["Copy"]
will simply beep in this case, but it gives me no (programmatic) indication that it has failed.