Re: Scripting Fontbook
Re: Scripting Fontbook
- Subject: Re: Scripting Fontbook
- From: Neil Faiman <email@hidden>
- Date: Sun, 27 Jan 2008 17:08:21 -0500
On Jan 27, 2008, at 4:23 PM, Michael Curtis wrote: I will give that a try. I assumed it was just going to give me an answer rather than actually do it. I really want to turn everything off and then turn specifics on. I suppose I will have to find what families are present. Each machine maybe difference. I certainly don't want to name each font family!
You ought to be able to do something like this:
tell application "Font Book" repeat with f in font families set enabled of f to false end repeat end tell
or even
tell application "Font Book" set enabled of (every font family) to false end tell
Unfortunately, trying this out, it seems that you can read the "enabled" property of a font family but can't write it ... i.e., it seems as though the property really is read-only, even though it isn't marked in the dictionary.
Regards,
Neil Faiman
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden