So I figured this might be a good opportunity to learn PS scripting, so I took some functions from one of the gurus online and made a really simple-ass toggle the script just toggles between paintbrush and eraser, but only works in CS3 or CS4 (for any that don't know, dump scripts into program…
Actions and batch processes are cool, but thats not scripting :) good intro: http://www.pstut.com/tutorial-photoshop-scripts-an-introduction.html message board: http://www.ps-scripts.com/bb/
Not training material per se but if you haven't already got these defiantly take a look here... http://www.adobe.com/devnet/photoshop/scripting/ pick up the scripting guide and reference for whichever language you want to use. I've only used the JavaScript one but found it really well documented and helpful.
I just used the help docs and did some google searches for stuff when i made a script or two for PS. I used the Adobe site mostly, and help docs. One of them converted RGB to ints, and another was figuring out how the "save layers to files.." script worked, so i could comment out the line that added _## to every file. Only…
been meaning to sort out a paint / erase toggle for a while. anybody scripted anything similar in javascript ? or have any specific resources on writing similar switches ?
As Moose and nome_sane said, the Javascript scripting guide in the Photoshop folder is great reference. That's pretty much all I use, plus the occasional google search for Javascript tips.
I've written hundreds of actions and taught little classes on PS actions, but never got into scripting. I haven't had anything that really required it yet, but these are good resources! Always something useful & new on polycount...
Yeah, I wrote a little Javascript thing that pops up a prompt window for how big you want to resize the image, it defaults to 1/2 the PSD resolution, and if you change it then it saves the preferences in with the PSD so you can repeatedly perform it. Not a hugely complicated JavaScript, but certainly more flexible than an…