I got word from Nick that the SelectBySize script was locking up for a complex graphic he was working on. He sent me the artwork, and while the script worked for me, it took over 9 minutes to complete. Bleh!
So I rebuilt the processing engine from scratch, and now it is much faster. There is also now a floating text field that updates as pathItems are processed in real time. This way, it still may take a long time to finish, but at least you have a very rudimentary progress bar to let you know that the system hasn't taken a dump on you. It is much faster now though. Oh, I almost forgot, it also tells you when it's complete, and reports the total processing time. Nice huh? I know... :)
This one goes out to all you Cartography Aficionados,
I've checked out cartoTalk.com today. (thanks to Hugo for hawking my scripts there.)
I did a vanity search of the forums, and found some of you folks would be a lot more chummy with my Copy To Multiple Objects script if the objects were allowed to keep their original proportions.
Since, I was feeling all warm and fuzzy this afternoon thanks to all the positive feedback on my latest offering, I've updated copyToMultipleObjects.js to now offer the option of NOT resizing when copied.
I was looking at the "selection" dropdown menu, and noticed that while AI has a "same stroke", and "same fill", it doesn't have a way to select PathItems below a given size.
So I thought, "hey, I can script, this can't be all that hard..."
End result is my first JS4AI for 2009. "Select Paths By Size" simply selects objects smaller (or larger) than a user-supplied threshold of pixels. (Also note, this is my first script that uses a slider bar.)
I envision it being used to remove small extra bits from a vector-traced image, but I'm sure you can find something cleverer to do with it... Is cleverer a word??? Let me know if you come up with anything cool.