| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I am trying to write a script that extracts a list of font names that appear in an InDesign CS document, and then search a font database for the required fonts for the purpose of copying them to a folder on my desktop. The first part is easy, getting the list of fonts. The second part is stumping me, because the font names returned in the script don't necessarily match the actual names of the fonts. For example, the script returns "Relay Medium Italic" when the actual font name is "Relay-MediumItalic.AFM". I could search for any file containing the words "Relay", "Medium", and "Italic", but there is one problem - there is a large space between the words "Relay" and "Italic" in the name returned by the script. I could use a text item delimiter to separate the words, but I can't identify which TID to use - "space", "tab", "ASCII character 32", and "ASCII character 11" don't work. Does anyone have any suggestions?
Thanks,
Garry Simon
_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.