Extensis Suitcase 10 scripting
Extensis Suitcase 10 scripting
- Subject: Extensis Suitcase 10 scripting
- From: email@hidden
- Date: Wed, 13 Mar 2002 11:35:22 -0600
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. From the Suitcase dictionary:
add reference: Add a reference to the item to a set
add reference reference -- the object to be referenced
to reference -- the container (set) to add a reference to the item
to
This is basically what I am trying to do:
--------------------------------------------------------------
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
--------------------------------------------------------------
The error message:
Script Error:
Suitcase FontEngine(tm) got an error: Font File id 5000237 doesn't
understand the add reference message.
I stole the "add reference FileRef to Font Set theSetName" from an example
script, so I know the syntax is okay. I just can't figure out what that line
is looking for as an object after the "add reference"
If it matters, I am running OS 9.1 on a G4 with Applescript 1.5.5 and
Suitcase Font Engine VS 10.1.1.
Thanks...
Jim Scharosch
Mac System Administrator
Gazette Communications
319-368-8669
email@hidden
_______________________________________________
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.