Styles.js

Discussion of the xtools Toolkit

Moderators: Tom, Kukurykus

rhytha

Styles.js

Post by rhytha »

i hope when you mean execute when you mean 'use'

File - > Scripts -> Browse - > open styles.js
xbytor

Styles.js

Post by xbytor »

Styles.js is a library file of routines for working with layer styles _before_ they were included in the layers ActionDescriptor.
There is a function at the bottom of the script called Styles.test() that exercises the API a bit.

In normal usage, you would
Code: Select all//@include "Styles.js"

in your script then make calls to the functions in Styles.js.