• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: InDesign Font Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: InDesign Font Question
      • From: David Wolfe <email@hidden>
References: 
 >InDesign Font Question (From: "Simon, Garry" <email@hidden>)

  • Prev by Date: Entourage Exchange Calendar Scripting
  • Next by Date: Re: InDesign Font Question
  • Previous by thread: InDesign Font Question
  • Next by thread: Re: InDesign Font Question
  • Index(es):
    • Date
    • Thread