• 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: Save quark doc works and doesn't?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save quark doc works and doesn't?


  • Subject: Re: Save quark doc works and doesn't?
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 17 Aug 2002 08:20:17 +1000

On 16/8/02 10:49 PM +1000, Michael Tompsett, email@hidden, wrote:

> A very simple applescript to save a quark document. This works fine on my
> mac (OS9.1, Quark 4.11, Applescript Z1-1.6)
> This is not working on someone elses machine howver who have the same setup
> (not sure yet if the applescript version is the same). The hard drive path
> is correct for their machine as well. It comes up with an error about making
> data into the correct type on the save line. Any reasons why this would
> occur, could it be they are using a different version of applescript??
>
> Thanks
>
>
> set filepath to ("Macintosh HD:thefile")
> tell application "QuarkXPress 4.11"
> activate
> save document 1 in filepath with replacing
> close document 1
> end tell

It's probably working for you because you have Jon's Commands or something
similar automatically coercing the path to a file reference. You should be
using:

save document 1 in file filepath

And there's no such parameter as "replacing" with QXP's save command.

--
Shane Stanley, 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.

References: 
 >Save quark doc works and doesn't? (From: Michael Tompsett <email@hidden>)

  • Prev by Date: Re: OS 10.2 & Mail scripting has introduced a new wrinkle
  • Next by Date: Re: Xserve breaks Applescript (continued)
  • Previous by thread: Re: Save quark doc works and doesn't?
  • Next by thread: RE: Save quark doc works and doesn't?
  • Index(es):
    • Date
    • Thread