Ver. | プロパティ名 | R/O | 値 | 説明 |
|
assignmentFileStatus | ○ |
AssignmentStatus
AssignmentStatus |
---|
Ver. | 値 | 10進数/文字列 | 説明 |
| ASSIGNMENT_FILE_MISSING | 1095126387 AFMs | The assignment file is missing. |
| ASSIGNMENT_OUT_OF_DATE | 1095724868 AOoD | The assignment has been modified. |
| ASSIGNMENT_UP_TO_DATE | 1096119364 AUtD | The assignment has not been modified. |
| アサインファイルの状態 |
|
documentPath | ○ |
ファイル | The path to the document that the hyperlink destination points to. |
|
exportOptions | |
AssignmentExportOptions
AssignmentExportOptions |
---|
Ver. | 値 | 10進数/文字列 | 説明 |
| ASSIGNED_SPREADS | 1098073459 AsEs | アサインされたスプレッド |
| EMPTY_FRAMES | 1098073446 AsEf | プレースホルダーフレーム |
| EVERYTHING | 1098073441 AsEa | すべてのスプレッド |
| The content to export in the assignment. |
|
filePath | ○ |
文字列値, ファイル | ファイルパス |
|
frameColor | |
[ r, g, b ], UIColors, NothingEnum.NOTHING(1851876449/nada) | The color of the assignment's frames. |
|
id | ○ |
数値 | オブジェクトのID |
|
includeLinksWhenPackage | |
真偽値 | If true, includes linked files when packaging the assignment. |
|
index | ○ |
数値 | インデックス |
|
isValid | ○ |
真偽値 | オブジェクトが有効かどうか |
|
label | |
文字列値 | スクリプトラベル |
|
name | |
文字列値 | オブジェクトの名前 |
|
packaged | ○ |
真偽値 | If true, the assignment is packaged. |
|
packageUpToDate | ○ |
真偽値 | If true, the assignment package is up to date. |
|
properties | |
Object | |
|
userName | |
文字列値 | The user name to assign to tracked changes and notes. |
Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
|
addEventListener(eventType, handler, [captures]) |
EventListener | EventListenerを作成 |
| eventType |
文字列値 | | |
| handler |
ファイル, JavaScript関数 | | |
| [captures] |
真偽値 | | (廃止) |
|
cancelPackage() |
なし | Cancels the package for an assignment. |
|
createPackage(filePath, [submit], [withProperties]) |
ファイル | Creates an assignment package. |
| filePath |
ファイル | | フルパス名 |
| [submit] |
真偽値 | | If true, submits assigned stories before packaging the assignment.(既定値=true) |
| [withProperties] |
Object | | プロパティを設定 |
|
extractLabel(key) |
文字列値 | キーに関連づけられた値を取得 |
| key |
文字列値 | | キー |
|
getElements() |
Array( Assignment ) | オブジェクト参照を返す |
|
insertLabel(key, value) |
なし | キーに関連づけられた値を設定 |
| key |
文字列値 | | キー |
| value |
文字列値 | | 値 |
|
remove() |
なし | 削除 |
|
removeEventListener(eventType, handler, [captures]) |
真偽値 | EventListenerを削除 |
| eventType |
文字列値 | | |
| handler |
ファイル, JavaScript関数 | | |
| [captures] |
真偽値 | | (廃止) |
|
toSource() |
文字列値 | ソースコードを表す文字列を返す |
|
toSpecifier() |
文字列値 | Retrieves the object specifier. |
|
update([versionComments], [forceSave]) |
なし | Updates the assignment file. |
| [versionComments] |
文字列値 | | バージョンコメント |
| [forceSave] |
真偽値 | | 強制的にバージョンを保存 (既定値=false) |