XPP 9.3 provides this functionality.
This would allow our users to access customized functionality from the standard Pathfinder Interface.
For example, if we wanted to perform a pre/post action when setting a CAP baseline or printing/exporting or completely change an interface aspect.
Continuation/Modification of point #4. It is possible to return the program (triggered from the menu) exit status to the "after" portion of the script. The custom script can then make decisions based on whether the menu command was successful. Some menu commands produce a pop-up after completion, but as stated, if the "after" script returns a "1", the follow on dialogs are disabled. So on error, if there is clean up work to do, you can do the work in the script, and disable follow on dialog boxes by returning a "1", or let them continue to let the user see the fact there was an error, by returning a "0".
Does this sound useful?
Of course, this does not apply to the menu items I originally mentioned as "asynchronous". There is no "after" for editing documents or the job,div, and assembly tickets.