Ver. | メソッドの書式 | 戻り値 | メソッドの説明 |
---|
| | パラメータ | 値 | | パラメータの説明 |
  
   |
activate() | なし | アプリケーションを前面に出す |
  
   |
addEventListener(eventType, handler, [captures]) | EventListener | EventListenerを作成 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
applyMenuCustomization([name]) | なし | メニューのセットを適用 |
| [name] |
文字列型
| | メニューセット名 |
  
   |
applyShortcutSet([name]) | なし | ショートカットセットの適用 |
| [name] |
文字列型
| | ショートカットセット名 |
  
   |
applyWorkspace([name]) | なし | ワークスペースを適用 |
| [name] |
文字列型
| | ワークスペース名 |
  
   |
areFilePathsEquivalent(baselinePath, comparisonPath) | ブール型 | Check to see if two file paths refer to the same file location. |
| baselinePath |
File型
| | |
| comparisonPath |
File型
| | |
  
   |
cancelAllTasks() | なし | 全てのバックグラウンドタスクを中止 |
  
   |
cascadeWindows() | なし | ウィンドウを重ねて表示 |
  
   |
changeGlyph([reverseOrder]) | Text | 字形の置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeGrep([reverseOrder]) | Text | 正規表現置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeObject([reverseOrder]) | PageItem | オブジェクトの置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeText([reverseOrder]) | Text | テキストの置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
changeTransliterate([reverseOrder]) | Text | 文字種変換の置換 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
clearFrameFittingOptions() | なし | フレーム調整オプションを消去して初期値に戻す |
  
   |
copy() | なし | コピー |
  
   |
createCustomMiniFolio(miniFolioDescription, destination) | なし | Create a mini-folio out of asset and overlay descriptions. |
| miniFolioDescription |
[key, value]
| | A dictionary describing the custom mini folio to create. key文字列型, value:Boolean, Long Integer, Long Long Integer, String, File or Array of Any Types. |
| destination |
File型
| | The location to write the file. |
  
   |
cut() | なし | カット |
  
   |
deleteFindChangeQuery(queryName, searchMode) | なし | クエリを削除 |
| queryName |
文字列型
| | クエリ名 |
| searchMode |
SearchModes
SearchModes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
GLYPH_SEARCH | 1181183091 | 字形 |
  
   |
GREP_SEARCH | 1181184627 | GREP |
  
   |
OBJECT_SEARCH | 1181704819 | オブジェクト |
  
   |
TEXT_SEARCH | 1182038131 | テキスト |
  
   |
TRANSLITERATE_SEARCH | 1182036595 | 文字種変換 |
| | |
  
   |
deleteUnusedTags() | なし | 未使用のXMLタグを削除 |
  
   |
doScript(script, [language]) | なし | スクリプトを実行 |
| script |
File型, 文字列型
| | スクリプトファイル |
| [language] |
ScriptLanguage(既定値=ScriptLanguage.UNKNOWN)
ScriptLanguage |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
JAVASCRIPT | 1246973031 | JavaScript言語 |
  
   |
UNKNOWN | 1433299822 | (read-only) 不明 |
  
   |
VISUAL_BASIC | 1447185511 | Visual Basic言語 |
| | スクリプト言語 |
  
   |
doScript(script, [language]) | any | スクリプトを実行 |
| script |
File型, 文字列型
| | スクリプトファイル |
| [language] |
ScriptLanguage(既定値=ScriptLanguage.UNKNOWN)
ScriptLanguage |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
JAVASCRIPT | 1246973031 | JavaScript言語 |
  
   |
UNKNOWN | 1433299822 | (read-only) 不明 |
  
   |
VISUAL_BASIC | 1447185511 | Visual Basic言語 |
| | スクリプト言語 |
  
   |
doScript(script, [language], [withArguments]) | any | スクリプトを実行 |
| script |
File型, 文字列型
| | スクリプトファイル |
| [language] |
ScriptLanguage(既定値=ScriptLanguage.UNKNOWN)
ScriptLanguage |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
JAVASCRIPT | 1246973031 | JavaScript言語 |
  
   |
UNKNOWN | 1433299822 | (read-only) 不明 |
  
   |
VISUAL_BASIC | 1447185511 | Visual Basic言語 |
| | スクリプト言語 |
| [withArguments] |
Array( Any_Types )
| | 引数 |
  
   |
doScript(script, [language], [withArguments], [undoMode], [undoName]) | any | スクリプトを実行 |
| script |
File型, 文字列型, JavaScript関数
| | スクリプトファイルまたはJavaScript |
| [language] |
ScriptLanguage(既定値=ScriptLanguage.UNKNOWN)
ScriptLanguage |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
JAVASCRIPT | 1246973031 | JavaScript言語 |
  
   |
UNKNOWN | 1433299822 | (read-only) 不明 |
  
   |
VISUAL_BASIC | 1447185511 | Visual Basic言語 |
| | スクリプト言語 |
| [withArguments] |
Array( Any_Types )
| | 引数 |
| [undoMode] |
UndoModes =ScriptRequest(既定値=UndoModes.SCRIPT_REQUEST)
UndoModes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
AUTO_UNDO | 1699963221 | |
  
   |
ENTIRE_SCRIPT | 1699963733 | |
  
   |
FAST_ENTIRE_SCRIPT | 1699964501 | |
  
   |
SCRIPT_REQUEST | 1699967573 | |
| | アンドゥ |
| [undoName] |
string ="スクリプト"
| | アンドゥ名 |
  
   |
dumpBetweenMemoryMarks(from, to) | なし | Dumps memory allocations from all marks in the specified range. |
| from |
数値型
| | 範囲の開始 |
| to |
数値型
| | 範囲の終了 |
  
   |
dumpFromMemoryMark(from) | なし | Dumps memory allocations from the specified mark. |
| from |
数値型
| | The mark from which to dump memory. |
  
   |
exportFolioToDirectory(destination, miniFolioList, folioMetadata, [exportFolioParams]) | なし | Export the selected documents to a directory. |
| destination |
File型
| | The directory to write the folio. |
| miniFolioList |
File型, Array( File型 )
| | The mini folio(es) to add to the folio. |
| folioMetadata |
[key, value]
| | Meta data for the folio. key:文字列型, value:文字列型 |
| [exportFolioParams] |
[dataField, dataValue]
| | Additional options for export folios. dataField:文字列型, dataValue:Any Type |
  
   |
exportFolioToDirectoryPackage(destination, miniFolioList, folioMetadata, [exportFolioParams]) | なし | Export the selected documents to a compressed folio file that contains non-compressed mini folios. |
| destination |
File型
| | The location to write the package. |
| miniFolioList |
File型, Array( File型 )
| | The mini folio(es) to add to the folio. |
| folioMetadata |
[key, value]
| | Meta data for the folio. key:文字列型, value:文字列型 |
| [exportFolioParams] |
[dataField, dataValue]
| | Additional options for export folios. dataField:文字列型, dataValue:Any Type |
  
   |
exportFolioToPackage(destination, miniFolioList, folioMetadata, [exportFolioParams]) | なし | Export the selected documents to a compressed folio file that contains compressed mini folios. |
| destination |
File型
| | The location to write the package. |
| miniFolioList |
File型, Array( File型 )
| | The mini folio(es) to add to the folio. |
| folioMetadata |
[key, value]
| | Meta data for the folio. key:文字列型, value:文字列型 |
| [exportFolioParams] |
[dataField, dataValue]
| | Additional options for export folios. dataField:文字列型, dataValue:Any Type |
  
   |
exportMiniFolio(destination, portraitDocument, landscapeDocument, [folioMetadata], [miniFolioParams]) | Array( 文字列型 ) | Export the specified documents to a mini-folio. |
| destination |
File型
| | The location to write the file. |
| portraitDocument |
Document
| | The InDesign document for the stack's portrait orientation. |
| landscapeDocument |
Document
| | The InDesign document for the stack's landscape orientation. |
| [folioMetadata] |
[key, value]
| | Optional meta data for the mini folio. key:文字列型, value:文字列型 |
| [miniFolioParams] |
[dataField, dataValue]
| | Options for exporting a mini folio. dataField:文字列型, dataValue:Any Type. |
  
   |
exportPresets(format, to) | なし | プリセットの保存 |
| format |
ExportPresetFormat
ExportPresetFormat |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
DOCUMENT_PRESETS_FORMAT | 1683190892 | ドキュメントプリセット(不明) |
  
   |
FLATTENER_PRESETS_FORMAT | 1951626348 | 透明の分割・統合プリセット |
  
   |
PDF_EXPORT_PRESETS_FORMAT | 1716745324 | PDF書き出しプリセット |
  
   |
PRINTER_PRESETS_FORMAT | 1918071916 | プリントプリセット |
| | |
| to |
File型
| | ファイル名 |
  
   |
exportPresets(format, to, [versionComments], [forceSave]) | なし | プリセットの保存 |
| format |
ExportPresetFormat
ExportPresetFormat |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
DOCUMENT_PRESETS_FORMAT | 1683190892 | ドキュメントプリセット(不明) |
  
   |
FLATTENER_PRESETS_FORMAT | 1951626348 | 透明の分割・統合プリセット |
  
   |
PDF_EXPORT_PRESETS_FORMAT | 1716745324 | PDF書き出しプリセット |
  
   |
PRINTER_PRESETS_FORMAT | 1918071916 | プリントプリセット |
| | |
| to |
File型
| | ファイル名 |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
exportStrokeStyles(to, strokeStyleList, [versionComments], [forceSave]) | なし | 線種の保存 |
| to |
File型
| | ファイル名 |
| strokeStyleList |
StrokeStyle
| | 線種のリスト |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
extractLabel(key) | 文字列型 | キーに関連づけられたラベルを取得 |
| key |
文字列型
| | キー |
  
   |
findGlyph([reverseOrder]) | Text | 字形の検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findGrep([reverseOrder]) | Text | 正規表現検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findKeyStrings(for) | 文字列型 | ショートカットに割り当てる、ロケーションによらないメニュー名? |
| for |
文字列型
| | The string to search for. |
  
   |
findObject([reverseOrder]) | PageItem | オブジェクトの検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findText([reverseOrder]) | Text | テキストの検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
findTransliterate([reverseOrder]) | Text | 文字種変換の検索 |
| [reverseOrder] |
ブール型
| | 逆順 |
  
   |
generateIDMLSchema(to, [packageFormat]) | なし | Generate schema for IDML. |
| to |
File型
| | フォルダ名 |
| [packageFormat] |
ブール型(既定値=false)
| | If true, generate schema for package format (multiple files). |
  
   |
getAllOverlays(portraitDocumentForCheckingOverlays, landscapeDocumentForCheckingOverlays, [miniFolioParams]) | varies=any | Get all overlays. |
| portraitDocumentForCheckingOverlays |
Document
| | The portrait document for checking overlays. |
| landscapeDocumentForCheckingOverlays |
Document
| | The landscape document for checking overlays. |
| [miniFolioParams] |
[dataField, dataValue]
| | Options for exporting a mini folio. dataField:文字列型, dataValue:Any Type |
  
   |
getDigpubVersion(digpubVersion) | Array( 文字列型 ) | Get the current digital publishing version number for the given parameter. |
| digpubVersion |
DigpubVersion
DigpubVersion |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ALL | 1634495520 | plugin, folio and plist versions in that order. |
  
   |
PLUGIN | 1685090412 | plugin version. |
  
   |
FOLIO | 1685087862 | folio version. |
  
   |
PLIST | 1685090422 | plist version. |
| | Version string(s) to retrieve. |
  
   |
getElements() | Application | |
  
   |
importAdobeSwatchbookProcessColor(name) | Color | スウォッチの読み込み |
| name |
文字列型
| | 名前 |
  
   |
importAdobeSwatchbookSpotColor(name) | Color | スウォッチの読み込み |
| name |
文字列型
| | 名前 |
  
   |
importFile(format, from) | なし | プリセットの読み込み |
| format |
ExportPresetFormat
ExportPresetFormat |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
DOCUMENT_PRESETS_FORMAT | 1683190892 | ドキュメントプリセット(不明) |
  
   |
FLATTENER_PRESETS_FORMAT | 1951626348 | 透明の分割・統合プリセット |
  
   |
PDF_EXPORT_PRESETS_FORMAT | 1716745324 | PDF書き出しプリセット |
  
   |
PRINTER_PRESETS_FORMAT | 1918071916 | プリントプリセット |
| | |
| from |
File型
| | プリセットのファイル名 |
  
   |
importStyles(format, from) | なし | スタイル・プリセットの読み込み |
| format |
ImportFormat
ImportFormat |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CELL_STYLES_FORMAT | 1698919284 | セルスタイル |
  
   |
CHARACTER_STYLES_FORMAT | 1131565940 | 文字スタイル |
  
   |
NAMED_GRIDS_FORMAT | 1315394420 | グリッドフォーマット |
  
   |
OBJECT_STYLES_FORMAT | 1332368244 | オブジェクトスタイル |
  
   |
PARAGRAPH_STYLES_FORMAT | 1885885300 | 段落スタイル |
  
   |
STROKE_STYLES_FORMAT | 1817408620 | 線種 |
  
   |
TABLE_AND_CELL_STYLES_FORMAT | 1700021107 | 表スタイルとセルスタイル |
  
   |
TABLE_STYLES_FORMAT | 1700033396 | 表スタイル |
  
   |
TEXT_STYLES_FORMAT | 1668305780 | 文字スタイルと段落スタイル |
  
   |
TOC_STYLES_FORMAT | 1415795572 | 目次スタイル |
| | |
| from |
File型
| | 読み込み元のInDesignファイル |
  
   |
importStyles(format, from, [globalStrategy]) | なし | スタイル・プリセットの読み込み |
| format |
ImportFormat
ImportFormat |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CELL_STYLES_FORMAT | 1698919284 | セルスタイル |
  
   |
CHARACTER_STYLES_FORMAT | 1131565940 | 文字スタイル |
  
   |
NAMED_GRIDS_FORMAT | 1315394420 | グリッドフォーマット |
  
   |
OBJECT_STYLES_FORMAT | 1332368244 | オブジェクトスタイル |
  
   |
PARAGRAPH_STYLES_FORMAT | 1885885300 | 段落スタイル |
  
   |
STROKE_STYLES_FORMAT | 1817408620 | 線種 |
  
   |
TABLE_AND_CELL_STYLES_FORMAT | 1700021107 | 表スタイルとセルスタイル |
  
   |
TABLE_STYLES_FORMAT | 1700033396 | 表スタイル |
  
   |
TEXT_STYLES_FORMAT | 1668305780 | 文字スタイルと段落スタイル |
  
   |
TOC_STYLES_FORMAT | 1415795572 | 目次スタイル |
| | |
| from |
File型
| | 読み込み元のInDesignファイル |
| [globalStrategy] |
GlobalClashResolutionStrategy(既定値=GlobalClashResolutionStrategy.LOAD_ALL_WITH_OVERWRITE)
GlobalClashResolutionStrategy |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
DO_NOT_LOAD_THE_STYLE | 1147495276 | インポートしない |
  
   |
LOAD_ALL_WITH_OVERWRITE | 1279350607 | 上書きする |
  
   |
LOAD_ALL_WITH_RENAME | 1279350610 | 名前を変更 |
| | The resolution strategy to employ for imported styles that have the same names as existing styles. |
  
   |
insertLabel(key, value) | なし | キーに関連づけられたラベルを設定 |
| key |
文字列型
| | キー |
| value |
文字列型
| | ラベルの値 |
  
   |
loadConditions(from, [loadConditionSets]) | なし | 条件を読み込み |
| from |
File型
| | ファイル名 |
| [loadConditionSets] |
ブール型
| | If true, load the condition sets as well. |
  
   |
loadFindChangeQuery(queryName, searchMode) | なし | クエリを指定 |
| queryName |
文字列型
| | クエリ名 |
| searchMode |
SearchModes
SearchModes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
GLYPH_SEARCH | 1181183091 | 字形 |
  
   |
GREP_SEARCH | 1181184627 | GREP |
  
   |
OBJECT_SEARCH | 1181704819 | オブジェクト |
  
   |
TEXT_SEARCH | 1182038131 | テキスト |
  
   |
TRANSLITERATE_SEARCH | 1182036595 | 文字種変換 |
| | |
  
   |
loadMotionPreset(from) | MotionPreset | モーションプリセットを読み込み |
| from |
File型
| | ファイル名 |
  
   |
loadPreflightProfile(from) | PreflightProfile | プリフライトプロファイルを読み込み |
| from |
File型
| | ファイル名 |
  
   |
loadSwatches(from) | なし | スウォッチの読み込み |
| from |
File型
| | ファイル名 |
  
   |
loadXMLTags(from) | なし | Loads a set of XML markup tags from the specified file. |
| from |
File型
| | ファイル名 |
  
   |
memoryStatistics() | 数値型 | メモリ状況を取得する。順に(core allocation count), (core memory size), (仮想メモリサイズ), (合計メモリサイズ) |
  
   |
mountProject(serverURL, projectName) | なし | Mount a Version Cue project. |
| serverURL |
文字列型
| | The URL of the Version Cue server containing the project |
| projectName |
文字列型
| | The name of the Version Cue project to mount |
  
   |
open(from, [showingWindow]) | varies=any | 開く |
| from |
File型, Array( File型 )
| | ファイル名 |
| [showingWindow] |
ブール型(既定値=true)
| | 表示するかどうか |
  
   |
open(from, [showingWindow], [openOption]) | varies=any | 開く |
| from |
File型, Array( File型 )
| | ファイル名 |
| [showingWindow] |
ブール型(既定値=true)
| | 表示するかどうか |
| [openOption] |
OpenOptions(既定値=OpenOptions.DEFAULT_VALUE)
OpenOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
DEFAULT_VALUE | 1147563124 | 標準 |
  
   |
OPEN_COPY | 1332757360 | コピー |
  
   |
OPEN_ORIGINAL | 1332760434 | オリジナル |
| | How to open the document. |
  
   |
packageUCF(sourceFolder, ucfFile) | なし | Package a folder into a UCF file. |
| sourceFolder |
File型
| | フォルダ名 |
| ucfFile |
File型
| | The destination UCF file. Will be overwritten if it already exists. |
  
   |
packageUCF(sourceFolder, ucfFile, [mimeMediaType]) | なし | Package a folder into a UCF file. |
| sourceFolder |
File型
| | フォルダ名 |
| ucfFile |
File型
| | The destination UCF file. Will be overwritten if it already exists. |
| [mimeMediaType] |
文字列型(既定値=application/vnd.adobe.indesign-idml-package)
| | |
  
   |
paste() | なし | ペースト |
  
   |
pasteInPlace() | なし | 元の位置にペースト |
  
   |
pasteInto() | なし | 選択範囲内にペースト |
  
   |
pasteWithoutFormatting() | なし | フォーマットなしでペースト |
  
   |
performanceMetric(for) | varies=any | Gets the current value of the specified performance metric. |
| for |
数値型, PerformanceMetricOptions
| | The status to get from InDesign. |
  
   |
performanceMetricLongName(for) | 文字列型 | Gets the long name of the specified performance metric. |
| for |
数値型, PerformanceMetricOptions
| | The status to get from InDesign. |
  
   |
performanceMetricShortName(for) | 文字列型 | Gets the short name of the specified performance metric. |
| for |
数値型, PerformanceMetricOptions
| | The status to get from InDesign. |
  
   |
place(fileName, [showingOptions], [withProperties]) | なし | 配置 |
| fileName |
File型
| | ファイル名 |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
place(fileName, [showingOptions], [withProperties]) | なし | 配置 |
| fileName |
File型, Array( File型 )
| | ファイル名 |
| [showingOptions] |
ブール型(既定値=false)
| | オプションのダイアログを表示するかどうか |
| [withProperties] |
Object
| | プロパティの初期値を設定 |
  
   |
print(from, [printDialog], [using], [withGrids]) | なし | プリント |
| from |
File型, Array( File型 )
| | ファイル |
| [printDialog] |
ブール型
| | Whether to invoke the print dialog |
| [using] |
PrinterPresetTypes, PrinterPreset
PrinterPresetTypes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
CUSTOM | 1131639917 | [カスタム] |
  
   |
DEFAULT_VALUE | 1147563124 | [デフォルト] |
| | |
| [withGrids] |
ブール型(既定値=false)
| | グリッドを含むか |
  
   |
quit([saving]) | なし | InDesignを終了 |
| [saving] |
SaveOptions(既定値=SaveOptions.ASK)
SaveOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ASK | 1634954016 | 問い合わせる |
  
   |
NO | 1852776480 | 保存しない |
  
   |
YES | 2036691744 | 保存する |
| | 開いているドキュメントを保存するか |
  
   |
rasterizeDocumentPage(to, document, index, width, height, [params], [cropBox]) | なし | Rasterize a document's page |
| to |
File型
| | 保存先 |
| document |
Document
| | The document to rasterize |
| index |
数値型
| | The page index to rasterize |
| width |
数値型
| | 幅 |
| height |
数値型
| | 高さ |
| [params] |
[dataField, dataValue]
| | dataField:文字列型, dataValue:Any Type |
| [cropBox] |
数値型
| | Bounds to crop the image with [top, left, bottom, right] |
  
   |
redo() | なし | 編集のやり直し |
  
   |
removeEventListener(eventType, handler, [captures]) | ブール型 | EventListenerを削除 |
| eventType |
文字列型
| | |
| handler |
File型, JavaScript関数
| | |
| [captures] |
ブール型(既定値=false)
| | This parameter is obsolete. |
  
   |
saveFindChangeQuery(queryName, searchMode) | なし | クエリを保存 |
| queryName |
文字列型
| | クエリ名 |
| searchMode |
SearchModes
SearchModes |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
GLYPH_SEARCH | 1181183091 | 字形 |
  
   |
GREP_SEARCH | 1181184627 | GREP |
  
   |
OBJECT_SEARCH | 1181704819 | オブジェクト |
  
   |
TEXT_SEARCH | 1182038131 | テキスト |
  
   |
TRANSLITERATE_SEARCH | 1182036595 | 文字種変換 |
| | |
  
   |
saveSwatches(to, swatchList) | なし | 交換用にスウォッチを保存 |
| to |
File型
| | ファイル名 |
| swatchList |
Swatch
| | スウォッチのリスト |
  
   |
saveSwatches(to, swatchList, [versionComments], [forceSave]) | なし | 交換用にスウォッチを保存 |
| to |
File型
| | ファイル名 |
| swatchList |
Swatch
| | スウォッチのリスト |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
saveXMLTags(to) | なし | Saves the XML markup tags as an XML file. |
| to |
File型
| | フルパス名 |
  
   |
saveXMLTags(to, [versionComments], [forceSave]) | なし | Saves a set of tags to an external file. |
| to |
File型
| | フルパス名 |
| [versionComments] |
文字列型
| | コメント |
| [forceSave] |
ブール型(既定値=false)
| | 強制保存 |
  
   |
search([for], [kanaSensitive], [widthSensitive], [wholeWord], [caseSensitive], [replacingWith], [withFindAttributes], [withChangeAttributes]) | Text | 検索・置換の実行 |
| [for] |
文字列型
| | 検索文字列 |
| [kanaSensitive] |
ブール型
| | かな・カナを区別 |
| [widthSensitive] |
ブール型
| | 全角・半角を区別 |
| [wholeWord] |
ブール型
| | 単語として検索 |
| [caseSensitive] |
ブール型
| | 大文字・小文字を区別 |
| [replacingWith] |
文字列型
| | 置換文字列 |
| [withFindAttributes] |
Object
| | |
| [withChangeAttributes] |
Object
| | |
  
   |
select(selectableItems, [existingSelection]) | なし | オブジェクトを選択状態にする |
| selectableItems |
Object, Array( Object ), NothingEnum.NOTHING(1851876449)
| | 選択するオブジェクト |
| [existingSelection] |
SelectionOptions(既定値=SelectionOptions.REPLACE)
SelectionOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ADD_TO | 1633969202 | 追加選択する |
  
   |
REMOVE_FROM | 1919249734 | 選択から削除する |
  
   |
REPLACE | 1701998700 | 置き換える |
  
   |
REPLACE_WITH | 1919250519 | 置き換える |
| | 既に選択されているものがあった場合 |
  
   |
select(selectableItems, [existingSelection]) | なし | オブジェクトを選択状態にする |
| selectableItems |
Object, Array( Object ), NothingEnum.NOTHING(1851876449), SelectAll.ALL(1634495520)
| | 選択するオブジェクト |
| [existingSelection] |
SelectionOptions(既定値=SelectionOptions.REPLACE_WITH)
SelectionOptions |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
ADD_TO | 1633969202 | 追加選択する |
  
   |
REMOVE_FROM | 1919249734 | 選択から削除する |
  
   |
REPLACE | 1701998700 | 置き換える |
  
   |
REPLACE_WITH | 1919250519 | 置き換える |
| | 既に選択されているものがあった場合 |
  
   |
setApplicationPreferences(applicationPreferences) | なし | Sets the application's preferences. |
| applicationPreferences |
File型, LanguageAndRegion
| | The IDML defaults file or enumeration. |
  
   |
tileWindows() | なし | 並べて表示 |
  
   |
tileWindows([orientation]) | なし | 並べて表示 |
| [orientation] |
HorizontalOrVertical(既定値=HorizontalOrVertical.VERTICAL)
HorizontalOrVertical |
---|
Ver. | 値 | 10進数 | 説明 |
  
   |
HORIZONTAL | 1752134266 | 横組み(横) |
  
   |
VERTICAL | 1986359924 | 縦組み(縦) |
| | 並べる方向 |
  
   |
togglePanelSystemVisibility() | なし | パネルの表示/非表示のトグル |
  
   |
toSource() | 文字列型 | |
  
   |
toSpecifier() | 文字列型 | |
  
   |
translateKeyString(for) | 文字列型 | ロケーションによらないメニュー名から各版用のメニュー名を引き出す? |
| for |
文字列型
| | 検索文字列 |
  
   |
undo() | なし | 編集の取り消し |
  
   |
unpackageUCF(ucfFile, destinationFolder) | なし | Unpackage a UCF file into a folder structure. |
| ucfFile |
File型
| | The UCF file to be unpackaged. |
| destinationFolder |
File型
| | フォルダ名。存在しなければ作成 |
  
   |
updateFonts() | なし | フォントリストの更新 |
  
   |
waitForAllTasks() | TaskState | Waits for all the background tasks to finish. |