Question
javascript in photoshop not recognizing valid functions
I am trying to place a single brushstroke on an image as a watermark. I'm encountering errors when I attempt to access the brush presets. A snippet:
var brushPresetName = "DFP Logo 1";
var brushPresets = app.brushPresets;
var brushPresetFound = false;
alert("app.brushPresets = " + brushPresets);
The following error is generated:
app.brushPresets = undefined
What am I doing wrong here? Any thoughts? I really appreciate your time.
I am using Photoshop (Beta) on a new MacBook Pro.
