• 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: Scripting Photoshop- Applescript newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Photoshop- Applescript newbie


  • Subject: Re: Scripting Photoshop- Applescript newbie
  • From: Pier Kuipers <email@hidden>
  • Date: Wed, 29 Nov 2000 14:43:23 +0000

Photoscripter doesn't come cheap, although I'll probably have to get it myself sometime soon. You CAN use Photoshop actions with a bit of work-around:

1. Take a sample file and call it "Photoshop Temp". put it in a specific location such as the desktop. Write a Photoshop action that performs the resizing and saves the file, replacing the existing one. The Save command in the action will look something like "Save as ... In: Macintosh HD:Desktop Folder:"
2. Get your script to take each file one by one. Take the first file from the list, store the name and location in two variables and rename it to "Photoshop Temp". Move it to the desktop.
3. Get the script to perform the action:
Tell application "Adobe Photoshop"
do script "My Script"
end tell
4. You may need the script to pause for a few seconds to allow the finder to register the modified file.
5. The script then moves the modified file back to its original location and renames it back to the name using the previously stored variables.

Works like a dream for me!
Cheers,
Pier.

Have you explored PhotoScripter?

http://www.mainevent.com/photo.html

Applescript wrote:

Hey,
Im writing a script that will take a folder of 75MB images and resize them
to 60MB, 35MB, 600k and 300k, storing all of these in seperate folders. The
resizes length pixels by width squared. Can I script this just using
photoshop actions? There was nothing in the photoshop dictionary so I wasnt
sure how to run an action. Is there any good resources online for this type
of scripting?
Thanks guys,
Paul
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users

--
---
Visual ID
A new concept in the storage
and distribution of corporate and
brand identity
http://www.visualid.com

Pier Kuipers
Visual ID
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Fax +353 1 478 1366
Mobile +353 87 294 3063
ISDN +353 1 602 0754


  • Follow-Ups:
    • Re: Scripting Photoshop- Applescript newbie
      • From: Carl West <email@hidden>
  • Prev by Date: RE: Applescript differences between OS 8 and 9...
  • Next by Date: crashes & freezes
  • Previous by thread: Re: Scripting Photoshop- Applescript newbie
  • Next by thread: Re: Scripting Photoshop- Applescript newbie
  • Index(es):
    • Date
    • Thread