Properties
Optional executionMode
executionMode: "Foreground" | "Background"
Optional isCommand
isCommand: boolean
Optional isControl
isControl: boolean
Optional isOption
isOption: boolean
Optional isShift
isShift: boolean
Optional onCancel
onCancel: "ThrowError" | "Abort" | "Continue"
Optional onError
onError: "ThrowError" | "Continue"
Optional virtualKey
virtualKey: "kVK_ANSI_A" | "kNullCharCode" | "kVK_ANSI_S" | "kHomeCharCode" | "kVK_ANSI_D" | "kVK_ANSI_F" | "kEnterCharCode" | "kVK_ANSI_H" | "kEndCharCode" | "kVK_ANSI_G" | "kHelpCharCode" | "kVK_ANSI_Z" | "kVK_ANSI_X" | "kBellCharCode" | "kBackspaceCharCode" | "kVK_ANSI_C" | "kTabCharCode" | "kVK_ANSI_V" | "kLineFeedCharCode" | "kVK_ANSI_B" | "kPageUpCharCode" | "kVerticalTabCharCode" | "kFormFeedCharCode" | "kPageDownCharCode" | "kVK_ANSI_Q" | "kVK_ANSI_W" | "kReturnCharCode" | "kVK_ANSI_E" | "kVK_ANSI_R" | "kVK_ANSI_Y" | "kFunctionKeyCharCode" | "kVK_ANSI_T" | "kCommandCharCode" | "kCheckCharCode" | "kVK_ANSI_1" | "kVK_ANSI_2" | "kDiamondCharCode" | "kVK_ANSI_3" | "kAppleLogoCharCode" | "kVK_ANSI_4" | "kVK_ANSI_6" | "kVK_ANSI_5" | "kVK_ANSI_Equal" | "kVK_ANSI_9" | "kVK_ANSI_7" | "kEscapeCharCode" | "kVK_ANSI_Minus" | "kClearCharCode" | "kLeftArrowCharCode" | "kVK_ANSI_8" | "kVK_ANSI_0" | "kRightArrowCharCode" | "kUpArrowCharCode" | "kVK_ANSI_RightBracket" | "kDownArrowCharCode" | "kVK_ANSI_O" | "kSpaceCharCode" | "kVK_ANSI_U" | "kVK_ANSI_LeftBracket" | "kVK_ANSI_I" | "kVK_ANSI_P" | "kVK_Return" | "kVK_ANSI_L" | "kVK_ANSI_J" | "kVK_ANSI_Quote" | "kVK_ANSI_K" | "kVK_ANSI_Semicolon" | "kVK_ANSI_Backslash" | "kVK_ANSI_Comma" | "kVK_ANSI_Slash" | "kVK_ANSI_N" | "kVK_ANSI_M" | "kVK_ANSI_Period" | "kVK_Tab" | "kVK_Space" | "kVK_ANSI_Grave" | "kVK_Delete" | "kVK_Escape" | "kVK_Command" | "kVK_Shift" | "kVK_CapsLock" | "kVK_Option" | "kVK_Control" | "kVK_RightShift" | "kVK_RightOption" | "kVK_RightControl" | "kVK_Function" | "kVK_F17" | "kVK_ANSI_KeypadDecimal" | "kVK_ANSI_KeypadMultiply" | "kVK_ANSI_KeypadPlus" | "kVK_ANSI_KeypadClear" | "kVK_VolumeUp" | "kVK_VolumeDown" | "kVK_Mute" | "kVK_ANSI_KeypadDivide" | "kVK_ANSI_KeypadEnter" | "kVK_ANSI_KeypadMinus" | "kVK_F18" | "kVK_F19" | "kVK_ANSI_KeypadEquals" | "kVK_ANSI_Keypad0" | "kVK_ANSI_Keypad1" | "kVK_ANSI_Keypad2" | "kVK_ANSI_Keypad3" | "kVK_ANSI_Keypad4" | "kVK_ANSI_Keypad5" | "kVK_ANSI_Keypad6" | "kVK_ANSI_Keypad7" | "kVK_F20" | "kVK_ANSI_Keypad8" | "kVK_ANSI_Keypad9" | "kVK_F5" | "kVK_F6" | "kVK_F7" | "kVK_F3" | "kVK_F8" | "kVK_F9" | "kVK_F11" | "kVK_F13" | "kVK_F16" | "kVK_F14" | "kVK_F10" | "kVK_F12" | "kVK_F15" | "kVK_Help" | "kVK_Home" | "kVK_PageUp" | "kVK_ForwardDelete" | "kVK_F4" | "kVK_End" | "kVK_F2" | "kVK_PageDown" | "kVK_F1" | "kVK_LeftArrow" | "kVK_RightArrow" | "kVK_DownArrow" | "kVK_UpArrow" | "kDeleteCharCode" | "kBulletCharCode" | "kNonBreakingSpaceCharCode"