Edit in GitHubLog an issue

Libraries

A collection of object libraries.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Library add( File fullName, Object withProperties )

Creates a new object libary.

Parameters

TypeNameDescription
File
fullName
The library's path and file name.
Object
withProperties
Initial values for properties of the new Library (Optional)

Number count()

Displays the number of elements in the Library.


Library item( Mixed index )

Returns the Library with the specified index or name.

Parameters

TypeNameDescription
Mixed
index
The index or name. Can accept: Long Integer or String.

Library itemByName( String name )

Returns the Library with the specified name.

Parameters

TypeNameDescription
String
name
The name.

Library itemByRange( Mixed from, Mixed to )

Returns the Libraries within the specified range.

Parameters

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

Library firstItem()

Returns the first Library in the collection.


Library lastItem()

Returns the last Library in the collection.


Library middleItem()

Returns the middle Library in the collection.


Library previousItem( Library obj )

Returns the Library with the index previous to the specified index.

Parameters

TypeNameDescription
Library
obj
The index of the Library that follows the desired Library.

Library nextItem( Library obj )

Returns the Library whose index follows the specified Library in the collection.

Parameters

TypeNameDescription
Library
obj
The Library whose index comes before the desired Library.

Library anyItem()

Returns any Library in the collection.


Library everyItem()

Returns every Library in the collection.


String toSource()

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


Library []( Number index )

Returns the Library with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.