 |
 |
How to write a Photoshop macro/Applescript?
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: BFE
Status:
Offline
|
|
OK, photoshop users. I have a serious quetion for you.
I have about 600 slides my parents took of us kids from 1964 to about 1981 and they are scanned into the computer (after much effort). I have a dust and scratch removal filter installed that works great. However, because of the huge file size (80MB uncompressed), the filter takes a long time (a few minutes per picture) to run. I need to automate the process.
Can someone tell me how to write a macro or Applescript that works in Photoshop (Elements 2.0, actually) that will automatically load a picture, run the filter, save the picture, then repeat for all files in a folder until complete? 
|

I'm a bird. I am the 1% (of pets).
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Nov 1999
Location: Rochester NY
Status:
Offline
|
|
I don't know about PS elements, but photoshop has a batch command: file->automate_>batch. You will need to create the appropriate "action" first, though. I believe you can do this by hitting the record button on the bottom of the actions pallete.
Arrgh, I just found this link that says Elements can't do that...
|
|
“The love of liberty is the love of others; the love of power is the love of ourselves.” -- William Hazlitt
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: BFE
Status:
Offline
|
|
Arrgh! I was afraid that was a PS only function. I think Applescript is my only hope, but I have no idea how to use it.
|

I'm a bird. I am the 1% (of pets).
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
Get a Adobe Photoshop CS tryout.
Its works 100% (that i know of) for 30 days.
Set up your action to run the filter of your choice...
Then run your batch over night. That should do it.
.. : Adobe Photoshop CS Tryout : ..
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: BFE
Status:
Offline
|
|
I will do that. I will try to get back if successful (I have about 300 photos to manually crop before I am ready to run the batch scratch removal on all 650 photos).
Thanks!
|

I'm a bird. I am the 1% (of pets).
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Apr 2004
Location: Philadelphia, PA
Status:
Offline
|
|
photoshop is not 100% scriptable anyway... the batch function runs perfect although it might take some tweaking to get it to do what you want.
Think of using it progressively, instead of everything in one run using one really complex action. It can be set up to generate a log instead of erroring out and stopping.
oh - - - and Yuck having to crop 350 images by hand... [ooofffahhh.]
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: BFE
Status:
Offline
|
|
Originally posted by eyevaan:
oh - - - and Yuck having to crop 350 images by hand... [ooofffahhh.]
The autocrop was not working well. I'd rtather hand crop the images than miss-scan them and have to re-do them. This has not been a fun project, but I am preserving family history here (slides are 20 to 40 years old).
|

I'm a bird. I am the 1% (of pets).
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Apr 2004
Location: Philadelphia, PA
Status:
Offline
|
|
working on one of those myself. Good luck, it certainly is worth all the time you put into it.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2004
Location: Over there->
Status:
Offline
|
|
i have to agree... this is a project that is worth all the time and affort.
I did my families about 2 years ago.. what a job!
Good luck! If you have any more questions, please dont be afraid to ask!
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: BFE
Status:
Offline
|
|
OK, I have the action working... somewhat. The problem is sometimes it wants me to hit enter to complete the "save" function (saving it as a jpg) and so it just sits and waits. Kinda blows the point of automating if I have to hit a key.
How can I prevent this from happening?
|

I'm a bird. I am the 1% (of pets).
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Oct 2001
Location: BFE
Status:
Offline
|
|
OK. This is what i did to prevent the dialog box for JPG quality from popping up: I used Photoshop Elements to batch load and save all pictures before running the batch filtering.
For some reason, photoshop pops up the JPG quality dialog when saving if it has never saved the file before.
I'm about 33% done. I shoudl finish the rest this weekend.
|

I'm a bird. I am the 1% (of pets).
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Apr 2004
Location: Philadelphia, PA
Status:
Offline
|
|
by now you got it licked but "Override Save function" should fix that.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|