Libraries

A collection of object libraries.

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Library [] (index:Number)

Returns the Library with the specified index.

Parameter

Type

Description

index

Number

The index.

Library add (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)

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

String

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

String

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

Library

LongInteger

String

The Library, index, or name at the beginning of the range. Can accept: Library, Long Integer or String.

to

Library

LongInteger

String

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

Library

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

Library

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