Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Resolves the shortcut displayed for an action in this area.

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public bool InnoEditor.Interactions.EditorInteraction.TryGetShortcut(string action, out InnoEditor.Interactions.HotKeyGesture gesture)

Parameter action: The stable action name.

Parameter gesture: The resolved gesture when successful.

true when a compatible shortcut exists; otherwise, false.

Exception T:System.ArgumentException: Thrown when action is empty.