• 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: Michael Curtis <email@hidden>
  • Date: Sun, 27 Jan 2008 21:23:03 +0000

Hi Neil,

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!

Thanks for your help.

Best wishes

Michael

On 27 Jan 2008, at 18:34, Neil Faiman wrote:

On Jan 27, 2008, at 1:11 PM, Michael Curtis wrote:

I had an Automator script that would turn off all the fonts in Fontbook and then turn back on the ones that I wanted. This worked fine in Tiger, but in Leopard it just fails. I thought this might be a good time to learn Applescript. I looked in the dictionary and couldn't see deactivate, just enabled and that is a boolean. 

Does anyone know the command for enabling and disabling fonts with Applescript, in Fontbook?

Note that the description of the "enabled" property is

enabled (boolean) : A font family

There isn't a "r/o" in the description, so the property should be writable. What happens if you try "set enabled to true" or "set enabled to false"?

Regards,

Neil Faiman




-------------------------------------

"Windows NT is like mushrooms. As soon as one Windows server appears 
on your network, more start sprouting up, one after the other until 
they almost outnumber your client machines."

Chuck Goolsbee

Michael Curtis

Home Page: http://www.bazmac.co.uk/

Reed Cricket Club Home Page http://www.reedcc.co.uk





Attachment: smime.p7s
Description: S/MIME cryptographic signature

*****************************************************

This E-Mail has been scanned by Sophos Anti-Virus

*****************************************************

 _______________________________________________
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>)

  • Prev by Date: Mail Signature Automation
  • Next by Date: Re: Mail Signature Automation
  • Previous by thread: Re: Scripting Fontbook
  • Next by thread: Re: Scripting Fontbook
  • Index(es):
    • Date
    • Thread