• 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
Quark 6.5 Production Scripting Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quark 6.5 Production Scripting Question


  • Subject: Quark 6.5 Production Scripting Question
  • From: "Grimm, Kenneth" <email@hidden>
  • Date: Tue, 7 Jun 2005 12:49:53 -0400

I'm having a problem getting this old code translated to a newer more
improved version. Here's the pertinent old code:

tell application "Finder"
   duplicate file (QuarkTemplateFolder & templateFile) to disk "PageDrop"
with replacing
   set name of file ("PageDrop:" & templateFile) to myDocumentName
end tell

tell application "QuarkXPress"
   Open [alias file ("PageDrop:" & myDocumentName)] use doc prefs yes remap
fonts no do auto picture import no reflow no
   >> errors here with "Can't make "file PageDrop:Page1A.qxp" into an
expected data type"" (paraphrased)
        --The part in [] I've tried several incantations of, none work so
far.
end tell

The workflow:

The Finder duplicates the appropriate template file to the working folder
(actually a disk named "PageDrop".)

It renames the file to the name of the editorial eps file that was dropped
for pagination, adding the ".qxp" to the end of the name (that code I didn't
show). I tried adding ".qxt" as well (template type) and still errors.

I tell QXP 6.5 to open the recently renamed file. This is where the error
is. If I open the file direct from QXP, the renaming isn't shown -- it still
has the name of the original template file showing in the title bar.

What step am I missing here?

Ken Grimm
Prepress Manager
San Angelo Standard-Times
34 W. Harris
San Angelo, Texas 76903
Work: 325-659-8357
Cell: 325-374-4238
Fax: 325-659-8172
email: email@hidden

 _______________________________________________
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

  • Follow-Ups:
    • Re: Quark 6.5 Production Scripting Question
      • From: Shane Stanley <email@hidden>
  • Prev by Date: OT: Re: Shit - it's all true
  • Next by Date: path to frontmost application as string
  • Previous by thread: Mail fields wont update
  • Next by thread: Re: Quark 6.5 Production Scripting Question
  • Index(es):
    • Date
    • Thread