Styles.js

Discussion of the xtools Toolkit

Moderators:xbytor, DavideBarranca, Paul MR

rhytha
Styles.js

Post by rhytha » Tue Nov 09, 2010 6:57 pm

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

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

xbytor

Styles.js

Post by xbytor » Tue Nov 09, 2010 11:10 pm

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.

Post Reply