Adds an event listener.
Object
MotionPreset
A Motion preset Object.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| String | read/write | Motion preset raw data | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| Number | readonly | The unique ID of the MotionPreset. | |
| Number | readonly | The index of the MotionPreset within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| String | read/write | The name of the MotionPreset. | |
| Application | Document | readonly | The parent of the MotionPreset (a Application or Document). | |
| Object | read/write | A property that allows setting of several properties at the same time. |
Methods
Duplicates the motion preset.
→ String
Gets the label value associated with the specified key.
→ MotionPreset[]
Resolves the object specifier, creating an array of object references.
→ void
Sets the label to the value associated with the specified key.
→ void
Deletes the MotionPreset.
→ Boolean
Removes the event listener.
→ void
Save a copy of this motion preset to a InDesign motion preset file.
→ String
Generates a string which, if executed, will return the MotionPreset.
→ String
Retrieves the object specifier.
Object of 4
Properties elsewhere that hold a MotionPreset.
Parameter of 3
Method parameters that accept a MotionPreset.
Return 17
Methods that return a MotionPreset.
AnimationSetting.save()Application.loadMotionPreset()MotionPreset.duplicate()MotionPreset.getElements()MotionPresets.[]()MotionPresets.add()MotionPresets.anyItem()MotionPresets.everyItem()MotionPresets.firstItem()MotionPresets.item()MotionPresets.itemByID()MotionPresets.itemByName()MotionPresets.itemByRange()MotionPresets.lastItem()MotionPresets.middleItem()MotionPresets.nextItem()MotionPresets.previousItem()