Page 2 of 2

Styles.js

Posted: Tue Nov 09, 2010 6:57 pm
by rhytha
i hope when you mean execute when you mean 'use'

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

Styles.js

Posted: Tue Nov 09, 2010 11:10 pm
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.