Re: Open fonts with suitcase in OSX
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.