Action
Represents an Action in the Actions palette. Actions are series of commands that can be recorded by user, and can be replayed at a later time
Properties
Name
Type
Access
Min Version
Description
id
number
R
22.1
The internal ID of this Action Can be used for batchPlay calls, used internally
index
number
R
22.1
Zero-based index of this Action in it's parent Action Set
name
string
R W
22.1
The name of this Action, displayed in the panel Cannot be changed
typename
string
R
23.0
The class name of the referenced object: "Action".
Methods
delete
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">22.1</span>
<br/> void
Deletes this Action from the Actions panel
duplicate
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">22.1</span>
<br/> Action
Creates a copy of this Action, placing it in the same Action Set
play
<span class="minversion" style="display: block; margin-bottom: -1em; margin-left: 36em; float:left; opacity:0.5;">22.1</span>
<br/> async : Promise<void>
Plays this Action