Assignments

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

プロパティ

Ver.プロパティ名R/O説明
[12][13][14][15]
[16][17][18][19]
length 数値オブジェクト数

メソッド

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

Assignment

InCopy-アサイン

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

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Document
[12][13][14][15]
[16][17][18][19]
assignedStories AssignedStories
[12][13][14][15]
[16][17][18][19]
eventListeners EventListeners
[12][13][14][15]
[16][17][18][19]
events Events

プロパティ

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

メソッド

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