Represents Task List for use with GoogleTask object. Property details available in Task API reference
The Mail object can be used to create and send mail messages, similar to those created by a "Mail" action step.
var mail = Mail.create();
mail.toRecipients = ["joe@sample.com"];
mail.subject = "My test message";
mail.body = "Body text";
var success = mail.send();
if (!success) {
console.log(mail.status);
context.fail();
}
Represents Linked Resource for use with MicrosoftToDo object. Property details available in To Do API reference
Represents Task for use with MicrosoftToDo object. Property details available in To Do API reference
Represents Task List for use with MicrosoftToDo object. Property details available in To Do API reference
An object describing a navigation location, as defined by the syntax definition in use in the editor
Label text for the marker.
The number of characters in the range.
Indentation level of the marker.
The start location of the range of text representing the marker.
Prefix text for the marker. Example: H1
, H2
in Markdown
An array of numbers containing the location (index in string), and length (number of characters) of a text selection.
The current running action. This can be used in script to branch based on action name.
Reference to current app object.
Current device.
When an action is run, a single draft is always in context and accessible via the draft
const. This usually points to the draft loaded in the editor at the time the action was run if running actions from the action list or action bar.
The active editor
Move a date forward or backward in time based on the simple adjustment expression.
Valid date object
An series of date adjustment values in the format (+|-)(integer) (unit)
, such as "+1 year"
, "-1 month -12 hours"
. Supported units: year, month, day, hour, minute, second. Units may be in singular or plural form.
Format date using strftime format string. See strftime format reference for supported format strings.
Shows a simple alert dialog containing the message.
Include the contents of a script loaded from iCloud Drive. The contents of the script will be evaluated as if they were inline with the current script. Useful for loading reusable libraries and utility scripts.
relative path to javascript file in the iCloud Drive /Drafts/Library/Scripts
folder. For example, to load the script in the file test.js
in the iCloud Drive/Drafts/Library/Scripts/Utilities/
folder, use the path parameter Utilities/test.js
.
Generated using TypeDoc
Represents Task for use with GoogleTask object. Property details available in Task API reference