🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #618

Re: How can I automate a batch crop and straighten function on single pics?

#618
From: Paul_R
Date: Tue, 23 Dec 2008 14:07
13 lines
1611 bytes
The code will work if there are multiple images or just one.
All it means is that it will automate doing a folder of documents.
All the new extracted documents are save in a folder called "Edited" off the selected folder.

Photoshop JavaScripts are saved useing a text editor or better still Photoshop editing environment "Adobe ExtendScript Toolkit" this get installed at the same time as Photoshop. Copy the code and paste it into a new "ExtendScript Toolkit" document the save it to the relevant folder.
PS7 and PSCS are saved with an "js" extension and PS2/3/4 are saved with a "jsx" extension.
The normal place to save the scripts is:
PC:- C:/Program Files/Adobe/Adobe Photoshop CS#/Presets/Scripts/
Mac:- [hard drive]/Applications/Adobe Photoshop CS#/Presets/Scripts/
Allthough they can be saved anywhere you like.
To run a script:
File - Scripts (select script) (if placed in above folders) or
File - Scripts - Browse (to where ever you saved the script.)
Technical Details
Message-ID: <59b75644.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b75644.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,f747cc4cb5c2a9bd
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Paul_R@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Re: How can I automate a batch crop and
 straighten function on single pics?
Message-ID: <59b75644.2@webcrossing.la2eafNXanI>
Date: Tue, 23 Dec 2008 06:07:38 -0800
References: <59b75644.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit