Assignments

Assignment(InCopy-アサイン)のコレクション

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
length 数値オブジェクト数

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
add(filePath, [versionComments], [forceSave], [withProperties]) Assignment新しいオブジェクトを作成し、それを返す
filePath ファイルフルパス名
[versionComments] 文字列値バージョンコメント
[forceSave] 真偽値強制的にバージョンを保存 (既定値=false)
[withProperties] Objectプロパティを設定
[7][7.5][8][9]
[10][11][12][13]
anyItem() Assignmentどれかのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
count() 数値要素数を返す
[7][7.5][8][9]
[10][11][12][13]
everyItem() Array( Assignment )全てのオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
firstItem() Assignment最初のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
item(index) Assignmentインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[7][7.5][8][9]
[10][11][12][13]
itemByID(id) AssignmentIDで指定したオブジェクトを返す
id 数値
[7][7.5][8][9]
[10][11][12][13]
itemByName(name) Assignment名前で指定したオブジェクトを返す
name 文字列値
[7][7.5][8][9]
[10][11][12][13]
itemByRange(from, to) Array( Assignment )範囲で指定したオブジェクトを返す
from Assignment, 数値, 文字列値範囲の開始
to Assignment, 数値, 文字列値範囲の終了
[7][7.5][8][9]
[10][11][12][13]
lastItem() Assignment最後のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
middleItem() Assignment真ん中のオブジェクトを返す
[7][7.5][8][9]
[10][11][12][13]
nextItem(obj) Assignment一つ後のオブジェクトを返す
obj Assignment位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
previousItem(obj) Assignment一つ前のオブジェクトを返す
obj Assignment位置の基準になるオブジェクト
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す

Assignment

InCopy-アサイン

プロパティ(parentとその逆)

Ver.プロパティR/O
[7][7.5][8][9]
[10][11][12][13]
parent Document
[7][7.5][8][9]
[10][11][12][13]
assignedStories AssignedStories
[7][7.5][8][9]
[10][11][12][13]
eventListeners EventListeners
[7][7.5][8][9]
[10][11][12][13]
events Events

プロパティ

Ver.プロパティ名R/O説明
[7][7.5][8][9]
[10][11][12][13]
assignmentFileStatus AssignmentStatus
AssignmentStatus
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
ASSIGNMENT_FILE_MISSING1095126387
AFMs
The assignment file is missing.
[7][7.5][8][9]
[10][11][12][13]
ASSIGNMENT_OUT_OF_DATE1095724868
AOoD
The assignment has been modified.
[7][7.5][8][9]
[10][11][12][13]
ASSIGNMENT_UP_TO_DATE1096119364
AUtD
The assignment has not been modified.
アサインファイルの状態
[7][7.5][8][9]
[10][11][12][13]
documentPath ファイルThe path to the document that the hyperlink destination points to.
[7][7.5][8][9]
[10][11][12][13]
exportOptions AssignmentExportOptions
AssignmentExportOptions
Ver.10進数/文字列説明
[7][7.5][8][9]
[10][11][12][13]
ASSIGNED_SPREADS1098073459
AsEs
アサインされたスプレッド
[7][7.5][8][9]
[10][11][12][13]
EMPTY_FRAMES1098073446
AsEf
プレースホルダーフレーム
[7][7.5][8][9]
[10][11][12][13]
EVERYTHING1098073441
AsEa
すべてのスプレッド
The content to export in the assignment.
[7][7.5][8][9]
[10][11][12][13]
filePath 文字列値, ファイルファイルパス
[7][7.5][8][9]
[10][11][12][13]
frameColor [ r, g, b ], UIColors, NothingEnum.NOTHING(1851876449/nada)The color of the assignment's frames.
[7][7.5][8][9]
[10][11][12][13]
id 数値オブジェクトのID
[7][7.5][8][9]
[10][11][12][13]
includeLinksWhenPackage 真偽値If true, includes linked files when packaging the assignment.
[7][7.5][8][9]
[10][11][12][13]
index 数値インデックス
[7][7.5][8][9]
[10][11][12][13]
isValid 真偽値オブジェクトが有効かどうか
[7][7.5][8][9]
[10][11][12][13]
label 文字列値スクリプトラベル
[7][7.5][8][9]
[10][11][12][13]
name 文字列値オブジェクトの名前
[7][7.5][8][9]
[10][11][12][13]
packaged 真偽値If true, the assignment is packaged.
[7][7.5][8][9]
[10][11][12][13]
packageUpToDate 真偽値If true, the assignment package is up to date.
[7][7.5][8][9]
[10][11][12][13]
properties Object
[7][7.5][8][9]
[10][11][12][13]
userName 文字列値The user name to assign to tracked changes and notes.

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[7][7.5][8][9]
[10][11][12][13]
addEventListener(eventType, handler, [captures]) EventListenerEventListenerを作成
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
cancelPackage() なしCancels the package for an assignment.
[7][7.5][8][9]
[10][11][12][13]
createPackage(filePath, [submit], [withProperties]) ファイルCreates an assignment package.
filePath ファイルフルパス名
[submit] 真偽値If true, submits assigned stories before packaging the assignment.(既定値=true)
[withProperties] Objectプロパティを設定
[7][7.5][8][9]
[10][11][12][13]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[7][7.5][8][9]
[10][11][12][13]
getElements() Array( Assignment )オブジェクト参照を返す
[7][7.5][8][9]
[10][11][12][13]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[7][7.5][8][9]
[10][11][12][13]
remove() なし削除
[7][7.5][8][9]
[10][11][12][13]
removeEventListener(eventType, handler, [captures]) 真偽値EventListenerを削除
eventType 文字列値
handler ファイル, JavaScript関数
[captures] 真偽値(廃止)
[7][7.5][8][9]
[10][11][12][13]
toSource() 文字列値ソースコードを表す文字列を返す
[7][7.5][8][9]
[10][11][12][13]
toSpecifier() 文字列値Retrieves the object specifier.
[7][7.5][8][9]
[10][11][12][13]
update([versionComments], [forceSave]) なしUpdates the assignment file.
[versionComments] 文字列値バージョンコメント
[forceSave] 真偽値強制的にバージョンを保存 (既定値=false)