Re: Extensis Suitcase 10 scripting
Re: Extensis Suitcase 10 scripting
- Subject: Re: Extensis Suitcase 10 scripting
- From: email@hidden
- Date: Sun, 23 Jun 2002 17:57:07 EDT
-----It appears that email@hidden wrote, on 20020313 12:35 PM:
>
Has anyone done any scripting of Suitcase 10? I am trying to script taking
>
fonts that are already in the Suitcase 10 database and adding them into an
>
existing font set.
,,,
>
set theSetName to "Test Set" -- The set name
>
set fontName to "Aachen.t1" --The font name
>
>
tell application "Suitcase FontEngine(tm)"
>
set FileRef to Font File fontName
>
add reference FileRef to Font Set theSetName -- this is where the error
>
occurs
>
end tell
Jim,
Have you figured this out yet? . . .
I've finally gotten back to scripting Suitcase and keep finding oddities.
I can't test this right now, but wonder if your script would work if you:
* first, get the "location" of the suitcase you want to add ("location"
should return an alias)
* add the alias to the FontSet
Lemme know if that helps.
g'luck!
- Dan Feather
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=- Dan at featherweightstuff dot com -=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
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.