Save Quark 6 files as Quark 5
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