Adds an event listener.
Object
Assignment
An assignment.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| AssignedStories |
readonly | A collection of assigned stories. | |
| AssignmentStatus | readonly | The status of the assignment file. | |
| File async | readonly | The path to the document that the hyperlink destination points to. | |
| EventListeners |
readonly | A collection of event listeners. | |
| Events |
readonly | A collection of events. | |
| AssignmentExportOptions | read/write | The content to export in the assignment. | |
| String | File async | readonly | The file path (colon delimited on the Mac OS). Can also accept: File. | |
| 3 Reals (0 - 255)[] | NothingEnum[] | UIColors[] | read/write | The color of the assignment's frames. Can return: Array of 3 Reals (0 - 255) or UIColors enumerator or NothingEnum enumerator. | |
| Number | readonly | The unique ID of the Assignment. | |
| Boolean | read/write | If true, includes linked files when packaging the assignment. | |
| Number | readonly | The index of the Assignment within its containing object. | |
| Boolean | readonly | Returns true if the object specifier resolves to valid objects. | |
| String | read/write | A property that can be set to any string. | |
| String | read/write | The name of the Assignment. | |
| Boolean | readonly | If true, the assignment package is up to date. | |
| Boolean | readonly | If true, the assignment is packaged. | |
| Document | readonly | The parent of the Assignment (a Document). | |
| Object | read/write | A property that allows setting of several properties at the same time. | |
| String | read/write | The user name to assign to tracked changes and notes. |
Methods
→ void
Cancels the package for an assignment.
→ File
Creates an assignment package.
→ String
Gets the label value associated with the specified key.
→ Assignment[]
Resolves the object specifier, creating an array of object references.
→ void
Sets the label to the value associated with the specified key.
→ void
Deletes the assignment and its file.
→ Boolean
Removes the event listener.
→ String
Generates a string which, if executed, will return the Assignment.
→ String
Retrieves the object specifier.
→ void
Updates the assignment file.
Object of 4
Properties elsewhere that hold a Assignment.
Parameter of 4
Method parameters that accept a Assignment.
Return 14
Methods that return a Assignment.
Assignment.getElements()Assignments.[]()Assignments.add()Assignments.anyItem()Assignments.everyItem()Assignments.firstItem()Assignments.item()Assignments.itemByID()Assignments.itemByName()Assignments.itemByRange()Assignments.lastItem()Assignments.middleItem()Assignments.nextItem()Assignments.previousItem()