URL which can be used to install this Action in another installation of Drafts. Useful for sharing and backups.
If true, the action is a separator.
The display name of the action as displayed in the action list.
The unique identifier of the action group.
Search for action matching the name passed and return it if found. Useful to lookup and action and queue it to be run using app.queueAction(action, draft)
. This method will return only the first found action with the given name, be sure to avoid duplicate names in your action list.
Name of a valid, installed action.
Generated using TypeDoc
Global
Action
In addition to being able to lookup an action using the find method, a single global
action
object is created and available in scripts to inquire about the current action and control flow.Example
// find action let action = Action.find("Copy"); // queue to action to run after the current action app.queueAction(action, draft);