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