• 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: Saving a document in Canvas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving a document in Canvas


  • Subject: Re: Saving a document in Canvas
  • From: Jay Petronis <email@hidden>
  • Date: Tue, 18 Mar 2003 15:34:26 -0700

To successfully save a document, Canvas expects a full path as a string, as well as some export option.

Changing these two lines seems to suppress the error:

tell application "Finder" to set FileChosenName to (choose file name) as string
save front document in FileChosenName as Canvas with options {use compression:false}

Jay

On Tuesday, March 18, 2003, at 08:17 AM, Jeremy Sellors wrote:

In OS X 10.2.4 the line in the following script, "save front document in FileChosenName as Canvas", generates an error "Canvas 8 got an error: Can't make some data into the expected type."

tell application "Canvas 8"
activate
make new document at beginning with properties {document type:illustration}
--document type no document/illustration/publishing/presentation [r/o]
repeat with i in theFileList
set x to folderpath & name of i as string
place x into layer 1 of page 1 of front document at position {10, 20}
tell application "Finder" to set FileChosenName to choose file name save front document in FileChosenName as Canvas end repeat
end tell
_______________________________________________
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: 
 >Saving a document in Canvas (From: Jeremy Sellors <email@hidden>)

  • Prev by Date: Re: Illustrator Overprint Selection
  • Next by Date: Eudora users - Did you know that...
  • Previous by thread: Saving a document in Canvas
  • Next by thread: moving multiple *selected* messages in Eudora
  • Index(es):
    • Date
    • Thread