Adobe 26001360 - Illustrator CS - PC Manual page 108

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

108
Table 4.22 GIF export options — Properties (Continued)
Property
matte color
saving as HTML
transparency
vertical scaling
web snap
Notes
This class is used to define a record containing properties that specify options when exporting
a document as a GIF file. GIF export options can only be supplied in conjunction with the
export command. It is not possible to get or create an GIF export options object.
It is not necessary to specify values for all properties. Default values will be provided for any
properties not specified.
Example 13.1
This handler processes all Illustrator files in a specific folder, exporting each as a scaled GIF
image. Note that the class property is specified in the record to ensure that Illustrator can
determine the export option class.
-- fileList is assumed to be a list of aliases to Illustrator files
-- destinationFolder is assumed to be an alias to a folder where the
-- GIF files are to be exported
on ExportFilesAsGIF(fileList, destinationFolder)
set destinationPath to destinationFolder as string
repeat with aFile in fileList
R/O
Value type
RGB color info
boolean
boolean
real
integer
12 Aug 03
AppleScript Reference
What it is
The color to use when matting
the artboard;
default: white
If true, the resulting image
should be saved with an
accompanying HTML file;
default: false
If true, the resulting image
should use transparency;
default: true
The vertical scaling factor to apply
to the resulting image;
range: 0.0–100.0; default: 100.0
Specifies how much the color
table should be changed to
match the web pallet;
range: 0–100, where 100 is the
maximum change. default: 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents