Re: Getting Font Usage list from Quark?
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.