Drafts Script Reference

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.

Instance Properties

Class Functions

Examples

// find action
var action = Action.find("Copy");
app.queueAction(action, draft);