• 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: Getting Font Usage list from Quark?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Font Usage list from Quark?


  • Subject: Re: Getting Font Usage list from Quark?
  • From: Hans Haesler <email@hidden>
  • Date: Fri, 24 May 2002 09:47:51 +0200

On Thu, 23 May 2002, Gregory Smith wrote:

>I'm ultimately looking to get a list (record) of all fonts in use in the
>document but I can't seem to get past this!

Gregory,

with 'font list' you'll get a list of records:
-->{{name:"Helvetica", id:21}, {name:"Zapf Dingbats", id:16224},
{name:"TimesNewRomanPS", id:15026}}

I guess you want a just list of the names (i.e. you don't need the ID's).
---
set fList to {}
tell document 1 of application "QuarkXPress 4.11"
set fontList to font list
repeat with i from 1 to count of fontList
set end of fList to name of item i of fontList
end repeat
end tell
fList-->{"Helvetica", "Zapf Dingbats", "TimesNewRomanPS"}
---

Hans Haesler <email@hidden>
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Getting Font Usage list from Quark? (From: "Gregory Smith" <email@hidden>)

  • Prev by Date: getting application running information.
  • Next by Date: Re: getting application running information.
  • Previous by thread: Re: Getting Font Usage list from Quark?
  • Next by thread: list with one item?
  • Index(es):
    • Date
    • Thread