RE: Save Quark 6 files as Quark 5
RE: Save Quark 6 files as Quark 5
- Subject: RE: Save Quark 6 files as Quark 5
- From: "Wadson, David" <email@hidden>
- Date: Wed, 24 Nov 2004 13:27:16 -0500
> tell application "QuarkXPress"
activate
if ((version of front document) as string) is "vers 60" then
set newFilePath to ("path:to:destination:" & (name of front document))
as string
save front document in newFilePath version vers 50
end if
> end tell
>
>
Even though the diction lists vers 33 and vers 40, they don't work. :-(
David Wadson
Systems Manager & Graphic Coordinator
The Chronicle-Journal
Thunder Bay, Ontario
> ----------
> From: William Hopkins
> Sent: Wednesday, November 24, 2004 12:26 PM
> To: email@hidden
> Subject: Save Quark 6 files as Quark 5
>
> rI'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:
> roniclejournal.com
>
> This email sent to 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