InDesign Font Question
InDesign Font Question
- Subject: InDesign Font Question
- From: "Simon, Garry" <email@hidden>
- Date: Tue, 28 Feb 2006 11:00:36 -0600
- Thread-topic: InDesign Font Question
Title: InDesign Font Question
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:
This email sent to email@hidden