Layersets now can be moved correctly

This commit is contained in:
Unknown
2018-04-19 14:52:32 -04:00
parent c54b196f6a
commit cb62b35caa
6 changed files with 65 additions and 21 deletions

View File

@@ -1,8 +1,10 @@
#include lib.js
// var saveFile = File(arguments[0]);
var arg = 'app.activeDocument.layerSets.getByName("Indicators").layerSets.getByName("Deck")';
alert(arg.replace(/[^(?:layerSets)]*(layerSets)/, "artLayers"))
var arg = 'app.activeDocument.layerSets.getByName("ResolveGem");';
var set = eval(arg);
set.visible=false;
alert(set.visible)
// var doc=app.activeDocument
// doc.layerSets.getByName("ResolveGem").merge();
// alert(doc.artLayers.getByName("ResolveGem").bounds);