• 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: Scripting Fontbook
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Scripting Fontbook
      • From: Neil Faiman <email@hidden>
References: 
 >Scripting Fontbook (From: Michael Curtis <email@hidden>)
 >Re: Scripting Fontbook (From: Neil Faiman <email@hidden>)
 >Re: Scripting Fontbook (From: Michael Curtis <email@hidden>)

  • Prev by Date: Re: Getting selected event in iCal
  • Next by Date: Re: Scripting Fontbook
  • Previous by thread: Re: Scripting Fontbook
  • Next by thread: Re: Scripting Fontbook
  • Index(es):
    • Date
    • Thread