findColor() returns a number, it should return objects to which the colour was applied
Using the Colour tab in the Find/Change dialog you can search text and/or objects to which a certain colour was applied in the document. That works fine.
However, in a script, this call:
app.findColorPreferences.properties.findWhat =
app.documents[0].swatches.item ('red');
app.documents[0].findColor();
returns the number of objects to which the swatch 'red' was applied. It should return the objects to whci the swatch was applied.
This makes the function entirely useless. Please fix this.
1
vote
Peter Kahrel
shared this idea