Edit in GitHubLog an issue

Notes

A collection of notes.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

Number count()

Displays the number of elements in the Note.


Note add( LocationOptions at, Mixed reference, Object withProperties )

Creates a new note.

Parameters

TypeNameDescription
LocationOptions
at
The location relative to the reference object or within the containing object. (Optional)
Mixed
reference
The reference object. Note: Required when the at parameter specifies before or after. Can accept: Note or InsertionPoint. (Optional)
Object
withProperties
Initial values for properties of the new Note (Optional)

Note item( Mixed index )

Returns the Note with the specified index or name.

Parameters

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

Note itemByName( String name )

Returns the Note with the specified name.

Parameters

TypeNameDescription
String
name
The name.

Note itemByID( Number id )

Returns the Note with the specified ID.

Parameters

TypeNameDescription
Number
id
The ID.

Note itemByRange( Mixed from, Mixed to )

Returns the Notes within the specified range.

Parameters

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

Note firstItem()

Returns the first Note in the collection.


Note lastItem()

Returns the last Note in the collection.


Note middleItem()

Returns the middle Note in the collection.


Note previousItem( Note obj )

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

Parameters

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

Note nextItem( Note obj )

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

Parameters

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

Note anyItem()

Returns any Note in the collection.


Note everyItem()

Returns every Note in the collection.


String toSource()

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


Note []( Number index )

Returns the Note 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.