document.selection.length only 1000 max?
In adobe Illustrator CS5.1 I have a script that needs to do an action on over 1000 path objects (they are tiny squares). I noticed that my script was working very strange even though I checked over the code about 10 times to make sure it was right. In the process, I found something very interesting... even though my selection consists of over 1000 path objects (and I changed selections slightly to make sure this was the case), app.activeDocument.selection.length is always 1000 unless I go below 1000 items. Is there a limit to the number of objects that are in that array? If so, what are some solutions I might use to overcome that limitation?
Thanks!
