Hi Mike, here you go, I found a function by a gentleman called John Resig and jumped the line and adapted it to work with illustrator. It doesn't have options to add/delete words, the list is hard coded but it has most of the common words, you can edit it manually if needed.
Any chance you could get this to work with the text tool? We have a very strict brand standards for leading, and works best if we keep all text in the same container.
Great job on this script, should be part of Illustrator. I just updated the exclusions to the chicago manual of style prepositions, articles, conjunctions.
sorry I forgot to mention to select your text frames before running (regular Black Arrow selection).
what do you mean?, how would like to run it? with the cursor blinking? or with some text selected?
|var small = "(a|abaft|aboard|about|above|absent|across|afore|after|against|along| alonside|amid|amidst|among|amongst|an|and|apopos|around|as|aside|astri de|at|athwart|atop|barring|before|behind|below|beneath|beside|besides| between|betwixt|beyond|but|by|circa|concerning|despite|down|during|exc ept|excluding|failing|following|for|from|given|in|including|inside|int o|lest|like|mid|midst|minus|modula|near|next|nor|notwithstanding|of|of f|on|onto|oppostie|or|out|outside|over|pace|per|plus|pro|qua|regarding |round|sans|save|than|that|the|through|throughout|till|times|to|toward |towards|under|underneath|unlike|until|unto|up|upon|versus|via|vice|wi th|within|without|worth|v[.]?|via|vs[.]?)";|
Kept them alphabetical so easy to proof & add in the future.
Carlos: Wanted to report that have been using this quite often today. Found that the script was not working on a text box (Because someone put a group on this, so in summary wodl be great if this can work on text selections).
ALL: Anyone notice any words missing from the list, please chime in. Used wiki to find all the strange prepositons.