Scripting with CS2
bham
Registered Users Posts: 1,303 Major grins
Anybody here use it, understand it, have links to places they have found useful in learning about it. I want to learn more about it.
Need a few good places to start. I have looked and so far everything I found I can't really understand. But hey I was the same way with html, css, and a few other things, but not long after looking at dgrins customization and doing a little, I began to understand the basics and the relationship between those things. Now I can read about those things and I understand. I am looking to get that same basic understanding.
Thanks
Need a few good places to start. I have looked and so far everything I found I can't really understand. But hey I was the same way with html, css, and a few other things, but not long after looking at dgrins customization and doing a little, I began to understand the basics and the relationship between those things. Now I can read about those things and I understand. I am looking to get that same basic understanding.
Thanks
"A photo is like a hamburger. You can get one from McDonalds for $1, one from Chili's for $5, or one from Ruth's Chris for $15. You usually get what you pay for, but don't expect a Ruth's Chris burger at a McDonalds price, if you want that, go cook it yourself." - me
0
Comments
I think I found one good resource but still looking for more.
Photoshop scripting is not a gentle place to start if you're not familiar with another scripting language. I would recomend that you learn Javascript (I never thought I would write that sentence!) first, the syntax will then carry you across to understand the DOM (Document Object Model) that Photoshop uses. The Photoshop scripting guide is relatively gentle in its introductions, but the detailed documents are references for people who already understand OLE scripting.
If you're a programmer in a Windows OLE enabled language (Visual Basic, Delphi (I think), C#, C++) then I'd actually recomend scripting it through Visual Studio, the error reporting is weak, but at least you get Intellisense.
Documentation on Photoshop scripting is slightly distributed. For CS2 you'll actually want the documentation on Adobe Bridge as well.
The first thing you'll want to do is get inside Adobe's head as to the way it thinks about documents, layers, channels etc.
Photoshop scripting guides:
http://partners.adobe.com/public/developer/photoshop/sdk/index_scripting.html
Bridge (Javascript) guide:
http://www.adobe.com/products/creativesuite/pdfs/bridge_javascript_ref.pdf
Hope this helps, good luck.
Luke
SmugSoftware: www.smugtools.com
Post'em when you find'em I'm still having trouble with open/save commands in batched actions
"Tis better keep your mouth shut and be thought of as an idiot than to open your mouth and remove all doubt"
Once you're comfortable with javascript take a look at the Adobe guides. Might not be the easiest read, but theres a lot of information in there!