• 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
Repeated opening of a Quark document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Repeated opening of a Quark document


  • Subject: Repeated opening of a Quark document
  • From: David Wadson <email@hidden>
  • Date: Mon, 29 Nov 2004 15:53:03 -0500

I've heavily simplified a script (which of course worked fine in Quark 3/4/5 on OS 8/9) into this...

------- BEGIN SCRIPT

property comicTemplate :"Path"To:The:Test Document" as alias

repeat with i from 1 to 10
tell application "QuarkXPress"
activate
open comicTemplate remap fonts no use doc prefs yes
close front document saving no
end tell
end repeat

------ END SCRIPT

QuarkXPress 6.5 and Mac OS 10.3.6.

At best, the script will open the file on the first iteration of the loop. However, on subsequent iterations, even though Script Editor's event log shows Quark processing the open command with no errors, the document is not actually opened. At worst, Quark throws up some message about "connection failed" and quits only (semi-)unexpectedly.

http://lists.apple.com/archives/applescript-users/2002/Nov/msg01020.html points to a problem with OS X 10.2.x Finder and Quark communication. Is that the case still? I don't think there's anything wrong with my syntax of this script but you never know. New versions of Quark and the OS sometimes are more particular about semi-correct code.

If it is a bug, any ideas on how to work around it until Quark releases their next update for Quark 6. I'll say it before anyone else has to - hahahahahahahaha! :-)


David Wadson
IT Manager
The Chronicle-Journal
Thunder Bay, Ontario
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: RE: open file on another machine
  • Next by Date: Quark scripting question
  • Previous by thread: WANTED: a script to automate QT movie editing
  • Next by thread: RE: Repeated opening of a Quark document
  • Index(es):
    • Date
    • Thread