• 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: Quietly Distill a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quietly Distill a file


  • Subject: Re: Quietly Distill a file
  • From: kai <email@hidden>
  • Date: Mon, 2 Apr 2007 20:27:11 +0100


On 2 Apr 2007, at 01:22, Brett Conlon wrote:

I'd like to distill a file without Distiller having to launch. You can print to PDF and Distiller doesn't run, it uses the Distillerintf process. How can I tap into this or similar to have it produce the PDF "silently"?

Not sure if something like this will do exactly what you want, Coj - but you might like to play around with it:


---------------

set f to choose file with prompt ¬
	"Choose an EPSF file:" of type "EPSF" without invisibles

set {name:n, name extension:{length:e}} to info for f
if e is 0 then set n to n & "."
set n to n's text 1 thru -(e + 1) & "pdf"

set p to choose file name default name n default location f ¬
	with prompt "Choose a PDF name and location:"

do shell script "pstopdf " & quoted form of f's POSIX path & ¬
	" -o " & quoted form of p's POSIX path

---------------

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
      • From: Brett Conlon <email@hidden>
References: 
 >Re: Quietly Distill a file (From: Brett Conlon <email@hidden>)

  • Prev by Date: Odd AS user account problem...
  • Next by Date: Re: Folder Access, invisibility
  • Previous by thread: Re: Quietly Distill a file
  • Next by thread: EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
  • Index(es):
    • Date
    • Thread