Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Fontbook



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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Scripting Fontbook (From: Michael Curtis <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.