The description for the action.
This is populated by running the TA_actionPopulateMore()
function.
The internal name of the action's icon.
This is populated by running the TA_actionPopulateMore()
function.
A Boolean that is true
it the action is set to require the command key modifier for any keyboard shortcut it utilises.
This is populated by running the TA_actionPopulateMore()
function.
A Boolean that is true
it the action is set to require the control key modifier for any keyboard shortcut it utilises.
This is populated by running the TA_actionPopulateMore()
function.
A Boolean that is true
it the action has a keyboard shortcut specified.
This is populated by running the TA_actionPopulateMore()
function.
The text character that describes the key (without modifiers) to trigger the action.
An empty string indicates no keyboard shortcut is assigned to the action.
Special trigger characters are also catered for.
This is populated by running the TA_actionPopulateMore()
function.
A Boolean that is true
it the action is set to require the option key modifier for any keyboard shortcut it utilises.
This is populated by running the TA_actionPopulateMore()
function.
A Boolean that is true
it the action is set to require the shift key modifier for any keyboard shortcut it utilises.
This is populated by running the TA_actionPopulateMore()
function.
A string of text that describes the keyboard combination to trigger the action.
An empty string indicates no keyboard shortcut is assigned to the action.
Special trigger characters are also catered for.
This is populated by running the TA_actionPopulateMore()
function.
The internal numeric ID that identifies the level of logging applied to the action.
Possible values are, 0
(none), 1
(errors), or 2
(all).
This is populated by running the TA_actionPopulateMore()
function.
The description that identifies the level of logging applied to the action.
Possible values are, None
(0), Errors
(1), or All
(2).
This is populated by running the TA_actionPopulateMore()
function.
The internal numeric ID that identifies the notification level applied to the action.
Possible values are, 0
(none), 1
(errors), or 2
(all).
This is populated by running the TA_actionPopulateMore()
function.
The description that identifies the notification level applied to the action.
Possible values are, None
(0), Errors
(1), or All
(2).
This is populated by running the TA_actionPopulateMore()
function.
A Boolean that is true
it the action requires confirmation to run it.
This is populated by running the TA_actionPopulateMore()
function.
The number of steps that the action contains.
This is populated by running the TA_actionPopulateMore()
function.
The colour of the action's icon.
Possible values are none
, gray
, red
, orange
, yellow
, green
, blue
, indigo
, or violet
.
This is populated by running the TA_actionPopulateMore()
function.
Get all actions. Return an array of action objects for all installed actions.
// Example
alert(Action.TA_getAllActions().length);
Populate an action object with additional properties based on data in the installation URL.
The additional properties this function populates are prefixed with an underscore and include:
_description
, _steps
, _shouldConfirm
, _icon
, _tintColor
,
_logLevel
, _logDescription
,
_notificationLevel
, _notificationLevelDescription
_keyShortcut
, _keyShift
, _keyControl
, _keyOption
, _keyCommand
, _keyinput
.
// Example
let acCurrent = Action.find("TAD");
acCurrent.TA_populateMore();
app.TA_msgInfo(`${acCurrent._description}`);
Action (Drafts)
The ThoughtAsylum library includes a set of extensions to the Action object