Register an existing script as a user-defined function so you
can use it within other scripts. The registered function can be
used by a D-Script, Global D-Script, or Extended Script.
When creating a new User-Defined
Function
Click [Create]. The User-Defined Function
dialog box appears.
When editing a previously registered
User-Defined Function
Select the User-Defined Function you want to
modify and click [Edit]. The User-Defined Function dialog box
appears.
Enter the function name and create the script in
the Execution field. Click [OK] to save the user-defined
function.