• 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: Mount Volume, QuarkXPress MacOS 9.2.1 MAJOR weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount Volume, QuarkXPress MacOS 9.2.1 MAJOR weirdness


  • Subject: Re: Mount Volume, QuarkXPress MacOS 9.2.1 MAJOR weirdness
  • From: "Bob.Kalbaugh" <email@hidden>
  • Date: Mon, 27 Aug 2001 19:02:09 -0500

on 8/27/01 10:30 AM, Mark Esposito at email@hidden wrote:

(snip)

can't help with the network stuff but just curious..

> -------------
> tell application "QuarkXPress 4.11"
> tell document 1
> get file path
> copy the result to the_path
> save in the_path
> save in "macintosh hd:desktop folder:saved location.qxd"
> close
> end tell
> end tell
>
> this results in two files (as expected), the first saved in "macintosh
> HD:Applications (MacOS 9):" & [name of document 1], the second exactly as
> expected.
>

Why are you grabbing the path to the file and then saving the file? Do you
need the path for some other reason? Because, if the file exists true (not
an untitled, unsaved, document), then the path exists true, so you just have
to save the document.

tell document 1
save
-- do other stuff
end tell

I'm not sure why you are getting the wierd behaviour. For the record, the
script worked fine for me ( OS 8.5.1, QXP 4.11, 4.11 Fix It, AS 1.3.4 )

Hope you find your answer.

bob.kalbaugh


> in Script Editor, the Event Log reads:
> -------------
> get file path of document 1
> --> alias "Output:Watched:Archive:BNS 06-30 BASE P1"
> (this is just some random file for this script)
> save document 1 in "Output:Watched:Archive:BNS 06-30 BASE P1"
> (this did NOT happen - its saved in the wrong place)
> save document 1 in "macintosh hd:desktop folder:saved location.qxd"
> (this happened)
> close document 1
> -------------
> thanks!
> --mark esposito
> email@hidden


  • Follow-Ups:
    • Re: Mount Volume
      • From: q~ <email@hidden>
References: 
 >Mount Volume, QuarkXPress MacOS 9.2.1 MAJOR weirdness (From: "Mark Esposito" <email@hidden>)

  • Prev by Date: Re: mail script...help needed
  • Next by Date: Printing Quark Files to PDF Files
  • Previous by thread: Mount Volume, QuarkXPress MacOS 9.2.1 MAJOR weirdness
  • Next by thread: Re: Mount Volume
  • Index(es):
    • Date
    • Thread