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.
| 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.
Larry: Thanks!
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.
North America
Europe, Middle East and Africa
Asia Pacific