• 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: Open fonts with suitcase in OSX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open fonts with suitcase in OSX


  • Subject: Re: Open fonts with suitcase in OSX
  • From: Mr Tea <email@hidden>
  • Date: Thu, 10 Apr 2003 14:50:38 +0100

This from Bjorn Van Blanckenberg - dated 10-04-03 01752 pm:

> In OS9 I can get the status of set and change it with the Suitcase
> FontEngine
> But I want to how to do that on OSX with Suitcase

You can do some of that directly from Suitcase's icon in the dock, but for
an AppleScript solution, the first place you should look is Suitcase's
dictionary (drop the Suitcase application icon onto your script editor's
icon to see it).

There, under 'font set' you find this:

activation status deactivated/partially activated/activated/activated
temporarily/auto-activated/missing -- Whether/how the set is activated


It's a hop and a skip from there to something like this:


--===========================================================
tell application "Extensis Suitcase"
set targetSet to a reference to Font Set "Antique & Retro"
if activation status of targetSet is in {deactivated, partially
activated} then
set activation status of targetSet to activated
else
set activation status of targetSet to deactivated
end if
end tell
--===========================================================

(Any lines that abut the left margin of the message window have been wrapped
and should be re-connected to the end of the previous line.)


HTH


Nick
pp Mr Tea

--

Brew of the day: Yorkshire Red
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Open fonts with suitcase in OSX (From: Bjorn Van Blanckenberg <email@hidden>)

  • Prev by Date: Re: UI Scripting menu items
  • Next by Date: AppleWorks 6 'unexpected error' #-24668 with AppleScript
  • Previous by thread: Open fonts with suitcase in OSX
  • Next by thread: Telling Address Book to quit -> Connection is invalid.
  • Index(es):
    • Date
    • Thread