RE: Resize scripting with photoshop 5.0
RE: Resize scripting with photoshop 5.0
- Subject: RE: Resize scripting with photoshop 5.0
- From: "Goodman, Steve" <email@hidden>
- Date: Fri, 5 Jan 2001 10:25:58 -0600
>
I am taking photos on my Nikon coolpix & want to write an automating
>
script to open each image & resize them in photoshop 5.0. Got as far as
>
opening the JPEG files in finder which is automatically grabbed by
>
Picture Viewer. so far so good. Then I try to get photoshop 5.0 to open
>
the files but it doesn't.
Try something like this:
set thePSalias to alias "DCS1811:Applications:*Adobe Photoshop. 5.0:Adobe.
Photoshop. 5.0.2" -- set to your photoshop
set hotfolder to alias "DCS1811:Desktop Folder:FA test:" --set to your
images folder
tell application "Finder"
set thelist to every file of folder hotfolder as alias list
end tell
repeat with theOpen in thelist
tell application "Finder"
open theOpen using thePSalias
end tell
tell application "Adobe. Photoshop. 5.0.2"
do script "Your action here" -- set to your PS action
end tell
end repeat
You'll need to set up an action in PhotoShop for whatever conversion that
you are wanting to perform and put its (the actions) name into the script
Hope that helps some.
>
Steve Goodman
>
Six|12 - THE LTC GROUP
>
>
......."Duct tape is like the force, it has a light side and a dark side
>
and
>
it holds the universe together."------Unknown