Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: Re: Created white box, Photoshop CS4 js

$
0
0

There are some ways to do this.

 

One easy way is to define a (new) white color.

Replace these 2 lines:

doc.selection.select(mySelection);
doc.mySelection.fill ("White");

 

with this:

var white = new SolidColor();
white.rgb.red = white.rgb.green = white.rgb.blue = 255;
doc.selection.select(mySelection);
doc.selection.fill (white);
doc.selection.deselect();

 

Have fun

 


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>