@extendscript/ind.util.layer
v2.0.0
Published
Some layer utilities for InDesign
Downloads
5
Readme
layer
InDesign Utility
Some layer utilities for InDesign
Install
npm install @extendscript/ind.util.layer
Include
#include 'node_modules/@extendscript/ind.util.layer/layer.js'
Use
Load the module
var LayerUtil = Sky.getUtil("layer");
Methods
- get(
Doc
,layerRefOrName
,createBool
) - select(
Doc
,layerRefOrName
,createBool
) - move(
Doc
,layerRefOrName
,afterlayerNo
,createBool
) - moveAndSelect(
Doc
,layerRefOrName
,afterLayerNo
,createBool
) - locker(
layerRef
,lockBool
) - validOr(
LayerRef
,orValue
)
Test
We can test the code against a range of targets:
npm run test myTarget
We keep a log of test results
More info
Read the docs