• 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: Save EPS page from Acrobat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save EPS page from Acrobat


  • Subject: Re: Save EPS page from Acrobat
  • From: "Wadson, David" <email@hidden>
  • Date: Tue, 16 Nov 2004 10:33:54 -0500
  • Resent-date: Tue, 16 Nov 2004 10:35:04 -0500
  • Resent-from: "Wadson, David" <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: AppleScript <email@hidden>

The script lets you choose a folder full of PDF files and it goes
through them and exports EPS files. The actual EPS export settings are
the settings that were last used when manually saving as an EPS. I would
imagine you can specify the settings to use for
EPSConversion/PSConversion in the script, but I haven't bothered trying
that yet...

Dave Wadson
IT Manager
The Chronicle-Journal

property sourceFolder : ""
property processedFolder : ""
property EPSFolder : ""

if sourceFolder is "" then
	set sourceFolder to choose folder with prompt "Pick the PDF
source folder."
end if
if processedFolder is "" then
	set processedFolder to choose folder with prompt "Pick the
folder for processed PDF files."
end if
if EPSFolder is "" then
	set EPSFolder to choose folder with prompt "Pick destination
folder for the EPS files."
end if

tell application "Finder"
	set filesToProcess to every file of sourceFolder whose file type
is "PDF "
end tell
repeat with currentFile in filesToProcess
	set currentFileName to name of currentFile
	set currentFileShortName to characters 1 thru -5 of
currentFileName
	set EPSFileName to (currentFileShortName & ".eps") as string
	set EPSFilePath to (EPSFolder & EPSFileName) as string
	tell application "Acrobat 6.0.1 Professional"
		open currentFile
		save document currentFileName to file EPSFilePath using
EPS Conversion
		close document currentFileName
	end tell
	tell application "Finder"
		move currentFile to processedFolder with replacing
	end tell

end repeat



On Nov 16, 2004, at 6:09 AM, Tim Mansour wrote:


Can anyone point me in the right direction as to how I write an
AppleScript to save each page of a PDF from Acrobat as an EPS? I seem
to recall I have to create an "EPS Conversion" and save using this,
but can't quite figure out the syntax.

Or for that matter, any suggestions as to how to do this using
something other than Acrobat would also be appreciated.

-- Tim Mansour <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:
40chroniclejournal.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
  • Follow-Ups:
    • Re: Save EPS page from Acrobat
      • From: Michael McGonagle <email@hidden>
  • Prev by Date: Re: List of users/accounts
  • Next by Date: Adding bookmarks to Safari
  • Previous by thread: Re: Save EPS page from Acrobat
  • Next by thread: Re: Save EPS page from Acrobat
  • Index(es):
    • Date
    • Thread