add apple events for invoking menu item commands