Adobe 65009963 Scripting Manual page 27

After effects cs4
Table of Contents

Advertisement

JavaScript Reference
Application parseSwatchFile() method
a pp .p ar se Sw a tc h F i l e (file )
Description
Loads color swatch data from an Adobe Swatch Exchange (ASE) file.
Parameters
f i l e
The file specification, an ExtendScript
Returns
The swatch data, in this format:
d at a. m ajo r V e r si o n
d at a. m in orVe rs io n
d at a. v al u e s
S w at ch V a l u e . t y p e
S w at ch V a l u e . r
S w at ch V a l u e . g
S w at ch V a l u e . b
S w at ch V a l u e . c
S w at ch V a l u e . m
S w at ch V a l u e . y
S w at ch V a l u e . k
S w at ch V a l u e . L
S w at ch V a l u e . a
S w at ch V a l u e . b
S w a t ch V a l u e . v al u e
Application pauseWatchFolder() method
a pp .p au se W at c h F o l d e r (p au se )
Description
Pauses or resumes the search of the target watch folder for items to render.
Parameters
p au se
True to pause, false to resume.
Returns
Nothing.
The ASE version number.
An array of
S wa tc h V al u e
.
One of
" R G B " , " C M Y K " , " L A B " , " G r a y "
t y pe = " R G B "
When
, the color values in the range [0.0..1.0].
0, 0, 0 is Black.
t y pe = " C M YK "
When
, the color values in the range [0.0..1.0].
0, 0, 0, 0 is White.
t y pe = " L A B"
When
, the color values.
L
a
b
is in the range [0.0..1.0].
and
0, 0, 0 is Black.
When
t y pe = " G ra y "
, the
value
0.0 is Black.
F i l e
object.
are in the range [-128.0..+128.0]
range is [0.0..1.0].
Application object
27
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Creative suite 3 after effects

Table of Contents