The scope of a script library is the current database. All scripts in a database can avail themselves of the LotusScript, JavaScript, or Java in a library in that database. However, the library is lost to scripts outside the database. For example, if a button in a document uses a script library and you mail the document to or paste it into another database that does not have the same script library, the script fails. If a script attempts to use a library not in the current database, the error message, "Error loading USE or USELSX module" displays.
Note The use of JavaScript in script libraries is new with Release 6.
To create a script library
1. Choose Create - Design - Script Library
2. Choose one of the following:
See the following topics for instructions on incorporating a library:
1. From the Design pane, expand Shared Code and select Script Libraries.