Assets

Asset(ライブラリの各部品)のコレクション

プロパティ

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

メソッド

Ver.メソッドの書式戻り値メソッドの説明
  パラメータパラメータの説明
[12][13][14][15]
[16][17][18][19]
anyItem() Assetどれかのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
count() 数値要素数を返す
[12][13][14][15]
[16][17][18][19]
everyItem() Array( Asset )全てのオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
firstItem() Asset最初のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
item(index) Assetインデックスまたは名前で指定したオブジェクトを返す
index 数値, 文字列値インデックスまたは名前
[12][13][14][15]
[16][17][18][19]
itemByID(id) AssetIDで指定したオブジェクトを返す
id 数値
[12][13][14][15]
[16][17][18][19]
itemByName(name) Asset名前で指定したオブジェクトを返す
name 文字列値
[12][13][14][15]
[16][17][18][19]
itemByRange(from, to) Array( Asset )範囲で指定したオブジェクトを返す
from Asset, 数値, 文字列値範囲の開始
to Asset, 数値, 文字列値範囲の終了
[12][13][14][15]
[16][17][18][19]
lastItem() Asset最後のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
middleItem() Asset真ん中のオブジェクトを返す
[12][13][14][15]
[16][17][18][19]
nextItem(obj) Asset一つ後のオブジェクトを返す
obj Asset位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
previousItem(obj) Asset一つ前のオブジェクトを返す
obj Asset位置の基準になるオブジェクト
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す

Asset

ライブラリの各部品

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

Ver.プロパティR/O
[12][13][14][15]
[16][17][18][19]
parent Library
[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]
assetType AssetType
AssetType
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
EPS_TYPE1952400720
t_EP
EPS
[12][13][14][15]
[16][17][18][19]
GEOMETRY_TYPE1952409445
t_ge
形状
[12][13][14][15]
[16][17][18][19]
IMAGE_TYPE1952409965
t_im
画像
[12][13][14][15]
[16][17][18][19]
INDESIGN_FILE_TYPE1952409956
t_id
InDesign ファイル
[12][13][14][15]
[16][17][18][19]
PAGE_TYPE1952411745
t_pa
ページ
[12][13][14][15]
[16][17][18][19]
PDF_TYPE1952403524
t_PD
PDF
[12][13][14][15]
[16][17][18][19]
STRUCTURE_TYPE1952412532
t_st
構造
[12][13][14][15]
[16][17][18][19]
TEXT_TYPE1952412773
t_te
テキスト
アセットの形式
[12][13][14][15]
[16][17][18][19]
date 日時値日付
[12][13][14][15]
[16][17][18][19]
description 文字列値アイテム情報の詳細
[12][13][14][15]
[16][17][18][19]
id 数値オブジェクトのID
[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]
properties Object

メソッド

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]
extractLabel(key) 文字列値キーに関連づけられた値を取得
key 文字列値キー
[12][13][14][15]
[16][17][18][19]
getElements() Array( Asset )オブジェクト参照を返す
[12][13][14][15]
[16][17][18][19]
insertLabel(key, value) なしキーに関連づけられた値を設定
key 文字列値キー
value 文字列値
[12][13][14][15]
[16][17][18][19]
placeAsset(on) Array( varies=any )アセットを配置。配置したオブジェクトを返す
on Document, Text配置するドキュメントまたはテキスト
[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]
select([existingSelection]) なし選択状態にする
[existingSelection] SelectionOptions
SelectionOptions
Ver.10進数/文字列説明
[12][13][14][15]
[16][17][18][19]
ADD_TO1633969202
add2
追加選択する
[12][13][14][15]
[16][17][18][19]
REMOVE_FROM1919249734
remF
選択から削除する
[12][13][14][15]
[16][17][18][19]
REPLACE_WITH1919250519
repW
置き換える
[12][13][14][15]
[16][17][18][19]
SET_KEY1936028779
setk
整列のキーオブジェクトにする
既に選択されているものがあった場合 (既定値=SelectionOptions.REPLACE_WITH)
[12][13][14][15]
[16][17][18][19]
toSource() 文字列値ソースコードを表す文字列を返す
[12][13][14][15]
[16][17][18][19]
toSpecifier() 文字列値Retrieves the object specifier.