SHARE
TWEET

Untitled

a guest Feb 6th, 2014 100 Never
  1. var doc = app.activeDocument;
  2. var layerRef = doc.layers.getByName("Modular Grid");
  3. layerRef.positionLocked = true;
  4.  
  5. if (layerRef.fillOpacity >= 100) {
  6.     layerRef.fillOpacity = 0;
  7. } else if (layerRef.fillOpacity <= 0) {
  8.     layerRef.fillOpacity = 40;
  9. } else {
  10.     layerRef.fillOpacity = 100;
  11. }
RAW Paste Data
Top