Sign Up Now
Twitter Facebook Flickr Buzz
PhotoshopSociety.org
 
Search:   
 
Social Networks

LOGIN     

Go
Forgot Password? Go Join Now
Sign Up for Starter's Pack (Free)
Call (800) 223-8720
Email custserv@photoshopsociety.org
 
Need Web Solutions? Get Free Sample Issue

Library: Creative Design

 

Speed through routine Photoshop tasks with JavaScript

Added on Thursday 4th of June 2009 09:23 am EST

 
Application >B> Adobe Photoshop CS/CS2
Operating Systems > Macintosh, Microsoft Windows

Whenever you find yourself wasting time routinely performing common Photoshop tasks, it's time to streamline your workflow by taking advantage of scripts. A script is a written set of instructions Photoshop follows to accomplish a particular result, as shown in Figure A. There a numerous options for automating Photoshop with scripts, but one of the most versatile is JavaScript. But if you don't know much JavaScript, or are simply a bit wary of the whole scripting process, you needn't worry. It's easier than you may think to take advantage of this powerful function. Let's begin with a short discussion about what exactly JavaScript is.


Know the nature of JavaScript
JavaScript is a scripting language developed in 1995. Its original purpose was to complement the HTML language that web developers use to create web pages. It enabled them to expand page capabilities beyond those that HTML offered. JavaScript quickly became a favorite of developers, not only because it's practical, but also because it's relatively easy to learn, doesn't need to be compiled, and is platform independent. These features found favor with Adobe software developers as well, and so they included its functionality into Photoshop.


Script vs. Actions – vive la difference
If you're familiar with Photoshop, you know you can also automate functions using the Actions command. But scripts differ from actions in a number of important ways:
Scripts are more versatile than actions. An action can only process a series of in...