Quantcast
Viewing all articles
Browse latest Browse all 12845

Script to change selected layer to one of the drop down colors within layers pallete

Hello!

 

I was wondering if anyone knows of a script that would allow me to change selected layers (either single or mulitple selection) to "Light Blue" or any colors within the drop down selection? (see attached screenshot)

 

I've found the following but it changes all the layers and it's RGB color.

-----

 

tellapplication "Adobe Illustrator"

  setcurrent_Layerincurrent document

display dialog "In current document there are " & layersCounter& " layers." & "Recolor layers label?"

  repeatuntil (layersCounter = 0)

  setcoloroflayerlayersCounterincurrent documentto {Light Blue}

  setlayersCountertolayersCounter - 1

  endrepeat

endtell

-----

 

 

Image may be NSFW.
Clik here to view.
Screen Shot 2015-06-12 at 10.46.46 AM.png

 

I don't know how to script so any help is greatly appreciated. Thank you in advance!

 

John


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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