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