2009-06-23

Generic ExtendScript Functions

What is a Generic ExtendScript Function?

A Generic ExtendScript Function is an ExtendScript (JavaScript for those that don't understand the difference) function that is not specific to a particular main script, but can be used in multiple scripts.
Generic ExtendScripts can be easily used in a 'Library' of script functions and called with
#include
Generic ExtendScripts can also be included in the body of scripts, and for most users, this is likely how they will be used.

A good Generic ExtendScript Function will have the following qualities:
  • It is well documented. To be useful to others, they must be documented so that its use can be easily understood.
  • It is self-sufficient. If additional functions are needed they are either included in the body, or are well documented in the function's header.
  • Solves a unique problem and does it reliably.

This blog, ExtendScript Support, will be posting multiple Generic ExtendScript Functions and wants you to summit your functions for inclusion.

No comments:

Post a Comment