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



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


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:
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>)
 >Re: Scripting Fontbook (From: Neil Faiman <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.