Kurzreferenz - InDesign automatisieren

TextFrame Klasse
Basisklasse
.textFramesSammlung
LinkStatusAufzählung
.nameEigenschaft
Page.move(LocationOptions, Page)
Methode mit Parameter und Rückgabewert
Sammlungen
Objekte
[index]
.length  #
Object .itemByName(Name)
Object .itemByID(id)
[Object].everytItem()
[Object] .itemByRange(from, to)
Object .add()
.id  #
.index  #
.isValid  bool
.parent  Object
–.remove()
app
Document
FindGrepPreference
.findWhat  String (Regular Expression)
.appliedParagraphStyle  ParagraphStyle
.appliedCharacterStyle  CharacterStyle
ChangeGrepPreference
.changeTo  String (Regular Expression)
.appliedParagraphStyle  ParagraphStyle
.appliedCharacterStyle  CharacterStyle
.fontFamily  String
.fontStyleName  String
.status  FontStatus
String
MasterSpread
Story
Font
[index]
.length  #
length.push(Object)
Object.pop()
Array .concat(Array)
–.sort(Function)
String.join(Delimiter)
#Zahl/Number

read/write

readonly
.length
#indexOf(String)
String .substring(from, to)
Array.split(Delimiter)
Page
Folder
.fullName  String
.desktop  Folder
Folder.selectDialog(Prompt)
bool.create()
File
.name  String
.fullName  String
.exists  bool
.parent  Folder
bool.copy(File)
bool .execute()
File.openDialog(Prompt)
File.saveDialog(Prompt)
.pageItems
–.ungroup()
.appliedMaster
.name  String
.groups
.masterPageItems
.pageItems
.rectangles
.textFrames
.side  PageSideOptions
Page.move(LocationOptions, Page)
– .remove()
.viewPreferences  ViewPreference
.namePrefix  String
.zeroPoint  [x,y]
.baseName  String
.name  String
.pageItems
.fullName  File
.pages
.links
.masterSpreads
Spread .spreads
.pages
.pages
.pageItems
.textContainers
.objectStyles
.paragraphs
.allGraphics  [Graphics]
.textStyleRanges
.stories
Paragraph
.insertionPoints
.paragraphStyles
.lines
.characterStyles
.name
String

TextStyleRange
.characters
.tableStyles
[Text] .findGrep()
.cellStyles
Tint
InsertionPoint
[Text] .changeGrep()
.swatches
.tintValue  #
.tints
.baseColor
Line
.colors
Character
Color
[Text].findGrep()
.colorValue [c,m,y,k]
[Text].changeGrep()
.space  ColorSpace
–.close(SaveOptions)
–.exportFile(ExportFormat, File)
.documents
.activeDocument
Book
.books
.bookContents
.activeBook
 BookContent
.selection  [Object]
.findGrepPreferences
.changeGrepPreferences
.findChangeGrepOptions
 FindChangeGrepOption
.scriptPreferences
.version  String
.wordRTFImportPreferences
 WordRTFImportPreference
.fonts
any.open(File)
ScriptPreference
–.loadFindChangeQuery
.version  #
(Name, SearchModes)
.userInteractionLevel
–.select(Object)
 UserInteractionLevels
–.doScript(File| Function)
Array
Sammlung zu Klasse
Eigenschaft zu Klasse
Klasse zu Basisklasse
Group
TextFrame
Rectangle
.parentStory
.textWrapPreferences
PDF
.nextTextFrame  TextFrame
 TextWrapPreference
.previousTextFrame  TextFrame
.pdfs
.paragraphs
.graphics
.insertionPoints
.images
.lines
.geometricBounds
.characters
 [y1,x1,y2,x2]
.textStyleRanges
.itemLink
.textFramePreferences
 TextFramePreference
.actualPpi  [h,v]
Link
[Text] .findGrep()
.effectivePpi  [h,v]
[Text] .changeGrep()
.name  String
.filePath  String
Document.links .status  LinkStatus
–.relink(File)
Link.update()
Document.paragraphStyles
Image
.parentTextFrames  [TextFrame]
Document.tableStyles
.parentStory  Story
Document.characterStyles
.contents  String
TableStyle
ParagraphStyle
.appliedParagraphStyle
.appliedCharacterStyle
Document.cellStyles
CharacterStyle
.styleOverridden  bool
.appliedFont  Font
.appliedTableStyle
CellStyle
Row
.justification  Justification
.bodyRowCount  #
.fillColor  Swatch
.cells
.columnCount  #
Column
.tables
.footerRowCount  #
.pageItems
.cells
Footnote
.headerRowCount  #
.footnotes
.rows
.storyOffset  InsertionPoint
Cell
[Text] .findGrep()
.columns
.texts
[Text] .changeGrep()
.appliedCellStyle
.cells
Text.move(LocationOptions, Text)
.parentColumn  Column
.storyOffset  InsertionPoint
–.applyCharacterStyle(CharacterStyle)
.parentRow
 Row
.parent  TextFrame
–.applyParagraphStyle(ParagraphStyle)
.texts
Table
InDesign-Skripting-Kurzreferenz zum Buch
InDesign automatisieren – Keine Angst vor Skripting, GREP & Co.
by @grefel
Creative Commons BY-NC-SA 3.0
indesignjs.de
.geometricBounds  [y1,x1,y2,x2]
.visibleBounds  [y1,x1,y2,x2]
.fillColor  Swatch
.textWrapPreferences  TextWrapPreference
.appliedObjectStyle
.strokeWeight  #
.strokeColor  Swatch
ObjectStyle
.overridden  bool
.name  String
Document.objectStyles
.parentPage  Page
[any].place(File)
–.applyObjectStyle(ObjectStyle)
–.fit(FitOptions)
any.override(Page)