MotionPresets
A collection of Motion presets.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
MotionPreset [] (index:Number)
Returns the MotionPreset with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
MotionPreset add (withProperties:Object)
Creates a new MotionPreset.
Parameter |
Type |
Description |
---|---|---|
withProperties |
Initial values for properties of the new MotionPreset (Optional) |
MotionPreset anyItem ()
Returns any MotionPreset in the collection.
Number count ()
Displays the number of elements in the MotionPreset.
MotionPreset everyItem ()
Returns every MotionPreset in the collection.
MotionPreset firstItem ()
Returns the first MotionPreset in the collection.
MotionPreset item (index:Varies LongInteger String)
Returns the MotionPreset with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
MotionPreset itemByID (id:Number)
Returns the MotionPreset with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
MotionPreset itemByName (name:String)
Returns the MotionPreset with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
MotionPreset itemByRange (from:Varies LongInteger MotionPreset String, to:Varies LongInteger MotionPreset String)
Returns the MotionPresets within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The MotionPreset, index, or name at the beginning of the range. Can accept: MotionPreset, Long Integer or String. |
to |
LongInteger |
The MotionPreset, index, or name at the end of the range. Can accept: MotionPreset, Long Integer or String. |
MotionPreset lastItem ()
Returns the last MotionPreset in the collection.
MotionPreset middleItem ()
Returns the middle MotionPreset in the collection.
MotionPreset nextItem (obj:MotionPreset)
Returns the MotionPreset whose index follows the specified MotionPreset in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The MotionPreset whose index comes before the desired MotionPreset. |
MotionPreset previousItem (obj:MotionPreset)
Returns the MotionPreset with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the MotionPreset that follows the desired MotionPreset. |
String toSource ()
Generates a string which, if executed, will return the MotionPreset.
Object of
Application.motionPresets
Document.motionPresets