Adobe 65009963 Scripting Manual page 148

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
Parameters
n a m e
The display name or match name of the property to add. (See "PropertyBase matchName attribute" on page 143).
The following names are supported:
Any match name for a property that can be added through the user interface. For example, "ADBE Mask Atom",
"ADBE Paint Atom", "ADBE Text Position", "ADBE Text Anchor Point".
When adding to an ADBE Mask Parade: "ADBE Mask Atom", "Mask".
When adding to an ADBE Effect Parade, any effect by match name, such as "ADBE Bulge", "ADBE Glo2", "APC Vegas".
Any effect by display name, such as "Bulge", "Glow", "Vegas".
For text animators, "ADBE Text Animator".
For selectors, Range Selector has the name "ADBE Text Selector", Wiggly Selector has the name "ADBE Text Wiggly
Selector", and Expression Selector has the name "ADBE Text Expressible Selector".
Returns
PropertyBase object.
PropertyGroup canAddProperty() method
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e r t y G r oup S p e c.ca n AddPro pe rty( n a m e )
Description
Returns true if a property with the given name can be added to this property group. For example, you can only
add mask to a mask group. The only legal input arguments are "mask" or "ADBE Mask Atom".
m a sk G r o u p. c an A d d Pr o p e r t y (" m a sk " ) ; / / r e tu r n s t r u e
m a sk G r o u p. c an A d d Pr o p e r t y (" A DBE M a s k A t o m " ) ; / / r e t u r n s t r u e
m a sk G r o u p. c an A d d Pr o p e r t y (" b len d"); // re tur n s false
Parameters
n a m e
Returns
Boolean.
PropertyGroup numProperties attribute
a pp .p r o j e c t .i te m (i nd e x) .laye r( in de x) .p r op e r t y G r oup S p e c . n u m P r o p e r t i e s
Description
The number of indexed properties in this group.
For layers, this method returns a value of 3, corresponding to the mask, effect, and motion tracker groups,
which are the indexed groups within the layer. However, layers also have many other properties available only
by name; see the "PropertyGroup property() method" on page 149.
Type
Integer; read-only.
The display name or match name of the property to be checked. (See "PropertyGroup addProp-
erty() method" on page 147).
PropertyGroup object
148
148

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents