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

Re: Created white box, Photoshop CS4 js

$
0
0

I got my selection working. Now I need to assign the white fill to it. Here what I have so far:

var doc = app.activeDocument;

var oldUnits = preferences.rulerUnits;

preferences.rulerUnits = Units.PIXELS;

 

var mySelection = [[100,580], [100,350], [600,350],  [600,580]];

doc.selection.select(mySelection);

doc.mySelection.fill ("White");

 

 

Thank you.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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