• 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: EPS to JPEG
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: EPS to JPEG


  • Subject: RE: EPS to JPEG
  • From: "Jeffrey Pearson" <email@hidden>
  • Date: Wed, 1 Jun 2005 15:53:55 -0700
  • Thread-topic: EPS to JPEG

I discovered (reading Mac Tech magazine...I don't remember the exact month but it was one of the past few months' issues) that Tiger has a built in graphics engine called sips that is apple scriptable. I remember seeing sample scripts to do pretty much what you want to do. Perhaps it would be easier to script to that script instead of writing to Photoshop? You could then also use the script on any Tiger machine without requiring Photoshop to be installed.


Jeff Pearson


-----Original Message-----
From: applescript-users-bounces+jpearson=email@hidden on behalf of Ruby Madraswala
Sent: Wed 6/1/2005 9:03 AM
To: AppleScript Users
Subject: EPS to JPEG

I want to convert all files in folder/subfolders from EPS to JPEG.



The save option does not work even though I got the example of script
from Photoshop applescript manual. Also this script does not check the
subfolders for file.







tell application "Finder"

            set flist to every file in folder hotFolder

            repeat with curfile in flist

                  ---set file names

                  set nm to name of curfile as string

                  set dnm to curfile as string

                  set newfile to hotFolder & characters 1 thru 5 of nm &
"cc.jpg"

                  if nm contains ".eps" then

                        tell application "Adobe Photoshop 7.0"

                              open file dnm

                              set myOptions to {class:JPEG save options,
embed color profile: false, format options:

                                    standard, matte: background color
mate,}

                              save document in file newfile as jpeg with
options myOptions with replacing

                        end tell

                  end if

            end repeat

end tell



Appreciate all the help.



Ruby


 _______________________________________________
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: EPS to JPEG
      • From: Rob Stott <email@hidden>
  • Prev by Date: Re: EPS to JPEG
  • Next by Date: Re: Scripting Spotlight?
  • Previous by thread: Re: EPS to JPEG
  • Next by thread: Re: EPS to JPEG
  • Index(es):
    • Date
    • Thread