• 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: Quark 3 to Quark 4 Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark 3 to Quark 4 Question


  • Subject: Re: Quark 3 to Quark 4 Question
  • From: Hans Haesler <email@hidden>
  • Date: Sat, 18 Nov 2000 21:04:26 +0100

On Sat, 18 Nov 2000, Carey Sydow wrote:

>I'm trying to put together a script that when Quark 3.32 files are dropped
>on it, they open in Quark 4.11 and save them in 4.0. I can do this to an
>individual file [not a 'droplet'], but when trying the 'on open' in a
>droplet, it doesn't work. Can anyone offer any help?

Carey,

this script takes care of documents and templates. Save it as an application.
---
on run
display dialog "This droplet serves to upgrade \"old\"
XPress documents and templates.
(3.32 and older, or \"impure\" 4.x ones).

Drag & drop the files on it's icon." buttons ,
"OK" default button 1 with icon 1
end run

on open fileList
repeat with aFile in fileList
if file type of (info for aFile) = "XDOC" then
doUpGrade(aFile)
else
tell application "Finder"
set file type of aFile to "XDOC"
my doUpGrade(aFile)
set file type of aFile to "XTMP"
end tell
end if
end repeat
end open

on doUpGrade(aFile)
tell application "QuarkXPress 4.11"
open aFile ,
use doc prefs no remap fonts no do auto picture import no with reflow
save document 1 as document version vers 40
close document 1
end tell
end doUpGrade
---

Note: templates are upgraded, but the modification date is not changed.

Hans

---
Hans Haesler | email@hidden


References: 
 >Quark 3 to Quark 4 Question (From: "Carey D. Sydow" <email@hidden>)

  • Prev by Date: Re: Scripting Quicktime Player
  • Next by Date: Re: ()"#%&/=!!! QuarkXpress
  • Previous by thread: Quark 3 to Quark 4 Question
  • Next by thread: Re: Quark 3 to Quark 4 Question
  • Index(es):
    • Date
    • Thread