• 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
Save Quark 6 files as Quark 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Save Quark 6 files as Quark 5


  • Subject: Save Quark 6 files as Quark 5
  • From: William Hopkins <email@hidden>
  • Date: Wed, 24 Nov 2004 09:26:48 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys

I've been trying to use this script to determine
wether files dropped into a folder are Quark 6 files
if so, the files are opened in Quark and they are
supposed to be saved to Quark 5. But I can't get the
files to save after I open them. Any suggetions?

Code:

on adding folder items to this_folder after receiving
added_items
   repeat with x in added_items
      tell application "Finder"
         
         copy file type of x as string to FileType
         display dialog FileType
         if FileType = "XPRJ" then
            set theList to the name of every process
            if application "QuarkXPress" is not in
theList then
               tell application "QuarkXPress"
                  activate
               end tell
            end if
            open x
            tell application "QuarkXPress"
               activate
               save document 1 in "Design06
X:Users:Admin:Desktop:PSTempOut" as file specification
version vers 50
            end tell
            
         else
            display dialog "Wrong file type"
         end if
      end tell
      
   end repeat
   
   
   
   
end adding folder items to

 _______________________________________________
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: Save Quark 6 files as Quark 5
      • From: Hans Haesler <email@hidden>
  • Prev by Date: Re: \"hyphenate\"
  • Next by Date: Re: \"hyphenate\"
  • Previous by thread: Re: Unicode-to-string bug?
  • Next by thread: Re: Save Quark 6 files as Quark 5
  • Index(es):
    • Date
    • Thread