View Full Version : scripting for quickmask


pixelzombie
10-04-2007, 12:46 PM
i tried to make an action for quickmask(cs2) so that i could switch between masked and selected colors with different colors but it's not possible...is it possible to make a script for such a task?

xbytor
10-05-2007, 01:28 PM
The only direct support for quickmask in JS is the Document quickMaskMode property that indicates whether the doc is in quickmask mode or not. It's a read/write boolean property.

-X

pixelzombie
10-05-2007, 01:43 PM
thanks for the info, but i know very little about scripting...can you elaborate a bit?

xbytor
10-09-2007, 12:43 PM
All you can do (directly) is turn quick mask mode on and off.

This will turn it on:
app.activeDocument.quickMaskMode = true;

and this will turn it off:
app.activeDocument.quickMaskMode = false;

If there is any additional quick-mask functionality, it is not documented.

-X

pixelzombie
10-09-2007, 01:31 PM
ahhh, ok....thanks