Libraries

A collection of object libraries.

Methods

Libraryadd (fullName:
File[, withProperties:
Object])
Creates a new object libary.

Parameter Type Description
fullName File The library’s path and file name.
withProperties Object Initial values for properties of the new Library (Optional)

LibraryanyItem ()
Returns any Library in the collection.

number count ()
Displays the number of elements in the Library.

Array of LibraryeveryItem ()
Returns every Library in the collection.

LibraryfirstItem ()
Returns the first Library in the collection.

Libraryitem (index:
any)
Returns the Library with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

LibraryitemByName (name:
string)
Returns the Library with the specified name.

Parameter Type Description
name string The name.

Array of LibraryitemByRange (from:
any, to:
any)
Returns the Libraries within the specified range.

Parameter Type Description
from Library
Long Integer
String
The Library, index, or name at the beginning of the range. Can accept: Library, Long Integer or String.
to Library
Long Integer
String
The Library, index, or name at the end of the range. Can accept: Library, Long Integer or String.

LibrarylastItem ()
Returns the last Library in the collection.

LibrarymiddleItem ()
Returns the middle Library in the collection.

LibrarynextItem (obj:
Library)
Returns the Library whose index follows the specified Library in the collection.

Parameter Type Description
obj Library The Library whose index comes before the desired Library.

LibrarypreviousItem (obj:
Library)
Returns the Library with the index previous to the specified index.

Parameter Type Description
obj Library The index of the Library that follows the desired Library.

string toSource ()
Generates a string which, if executed, will return the Library.

Element of:

Application.libraries

Leave a Comment

Previous post:

Next post: