Article View: adobe.photoshop.scripting
Article #553Re: delete all channels previously created by "save selection"
From: Paul_R
Date: Fri, 09 Jan 2009 09:13
Date: Fri, 09 Jan 2009 09:13
16 lines
1649 bytes
1649 bytes
Thanks for the information Mike. John here are the basics... A script is just a text file, use a text editor such as notepad or better still ExtendSCript Toolkit that comes with Photoshop. Do not use Word as that will leave spurious characters in the file. Depending on the version of Photoshop you have the file extension may differ. Photoshop prior to CS2 would be FileName.js otherwise FileName.jsx You can save this file anywhere you like, but the norm is to save it: PC:- C:/Program Files/Adobe/Adobe Photoshop CS#/Presets/Scripts/ Mac:- [hard drive]/Applications/Adobe Photoshop CS#/Presets/Scripts/ One you have the script saved, to call/use the script. Open a document in Photoshop, then File - Scripts and select the script. This will run the script on the open document. If you saved the script elsewhere it would be :- File - Scripts - Browse (to where you saved the script) You can call the script as part of an action if required by recording the File - Scripts Select script. Hope that ok for you.
Technical Details
Message-ID:
<59b776ef.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b776ef.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,ad07083eeec92c34 X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Paul_R@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Re: delete all channels previously created by "save selection" Message-ID: <59b776ef.3@webcrossing.la2eafNXanI> Date: Fri, 9 Jan 2009 01:13:34 -0800 References: <59b776ef.-1@webcrossing.la2eafNXanI> Lines: 22 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit