Showcase and discover digital art at yex

Follow Design Stacks

Subscribe to our free newsletter to get all our latest tutorials and articles delivered directly to your inbox!

Saving FreeHand Files with AppleScript

Saving FreeHand Files with AppleScript

Issue

How can I convert existing FreeHand 5, 7 and 8 documents to FreeHand 9?

Solution

The following basic script will save a file as FreeHand 9:

tell application “FreeHand 9”
activate
make new document
save last document as “DataTypeAGD4” in file “hard drive name:folder name”
end tell

Note: Datatype AGD4 is the designation for the FreeHand 9.x format, and AGD3 is the designation for FreeHand 8.x. You shouldn’t have to specify this, but it doesn’t work unless you do. For further information on scripting FreeHand, consult the AppleScript Dictionary.

Comments