User Guide

Core objects 25
Finding and replacing URLs
Finding and replacing non-websafe colors with the closest
websafe color
fills
Boolean If set to true, fills that match the specified
colors are replaced.
strokes
Boolean If set to true, strokes that match the
specified colors are replaced.
effects
Boolean If set to true, effects that match the
specified colors are replaced.
Property Data types Notes
whatToFind
string In the format: "url"
find
string URL to find, which is expressed as file://
URL.
replace
string URL to use as replacement text, which is
expressed as file://URL.
wholeWord
Boolean If set to true, only whole words that match
the search text are found. The default
is
false.
matchCase
Boolean If set to true, the search is case sensitive.
Defaults to
false.
regExp
Boolean If set to true, the find and replace text is
interpreted as a regular expression. The
default value is
false.
Property Data type Notes
whatToFind
string In the format: "nonwebcolor"
effects
Boolean If set to true, colors in effects are replaced.
The default value is
false.
fills
Boolean If set to true, colors in fills are replaced. The
default value is
false.
strokes
Boolean If set to true, colors in strokes are replaced.
The default value is
false.
Property Data type Notes