Re: InDesign Font Question
Re: InDesign Font Question
- Subject: Re: InDesign Font Question
- From: kai <email@hidden>
- Date: Tue, 28 Feb 2006 19:45:34 +0000
On 28 Feb 2006, at 17:00, Simon, Garry wrote:
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?
I'd be tempted to avoid TIDs altogether, Garry. Instead, try using
um... 'words':
----------------
set textReturned to "Relay Medium Italic"
words of textReturned --> {"Relay", "Medium", "Italic"}
----------------
---
kai
_______________________________________________
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