public trigger(key as Object) as Boolean:
Invokes the action registered for a menu shortcut.
key
true when an action was found and invoked.
true
handled = bar.trigger("F10")