• 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
EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]


  • Subject: EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
  • From: Brett Conlon <email@hidden>
  • Date: Tue, 3 Apr 2007 18:29:10 +1100


Thanks for your input Simon & kai!

The script below did the trick nicely, thanks!

However, the client has just informed me that their people need to place the barcode file into a Word Doc so the PDF option is now out.

I did some tests and have found that wmf is a suitable format for maintaining the barcode as vector (best for quality printing to whatever device at whatever size) and is very small in file size compared with a high-res JPG. I can  drop the bar code file in Illustrator and export to wmf.

To automate this process inside another script we run I was hoping that Image Events could save as wmf but not so. Even Illustrator isn't scriptable to save a wmf file.

Does anyone know of an automated way of creating a wmf file from an eps.. or any vector based graphics file format acceptable to Word (Mac/PC)?

Cheers,

Coj



kai <email@hidden>
Sent by: applescript-users-bounces+brett.conlon=email@hidden

03/04/07 05:27 AM

Please respond to
applescript-users <email@hidden>

To
applescript-users <email@hidden>
cc
Subject
Re: Quietly Distill a file






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


 _______________________________________________
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:
    • Re: EPS to WMF or other vector file format for MS WORD [was: Re: Quietly Distill a file]
      • From: Peter Waibel <email@hidden>
References: 
 >Re: Quietly Distill a file (From: kai <email@hidden>)

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