Libraries
A collection of object libraries.
Go to Property Listing | Method Listing
Methods:
[], add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
Library [] (index:Number)
Returns the Library with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
Library add (fullName:File, withProperties:Object)
Creates a new object libary.
Parameter |
Type |
Description |
---|---|---|
fullName |
The library's path and file name. |
|
withProperties |
Initial values for properties of the new Library (Optional) |
Library anyItem ()
Returns any Library in the collection.
Number count ()
Displays the number of elements in the Library.
Library everyItem ()
Returns every Library in the collection.
Library firstItem ()
Returns the first Library in the collection.
Library item (index:Varies LongInteger String)
Returns the Library with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Library itemByName (name:String)
Returns the Library with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
Library itemByRange (from:Varies Library LongInteger String, to:Varies Library LongInteger String)
Returns the Libraries within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The Library, index, or name at the beginning of the range. Can accept: Library, Long Integer or String. |
to |
LongInteger |
The Library, index, or name at the end of the range. Can accept: Library, Long Integer or String. |
Library lastItem ()
Returns the last Library in the collection.
Library middleItem ()
Returns the middle Library in the collection.
Library nextItem (obj:Library)
Returns the Library whose index follows the specified Library in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The Library whose index comes before the desired Library. |
Library previousItem (obj:Library)
Returns the Library with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the Library that follows the desired Library. |
String toSource ()
Generates a string which, if executed, will return the Library.
Object of
Application.libraries