- InDesign User Guide
- Get to know InDesign
- Introduction to InDesign
- Workspace
- Generative AI (Not available in mainland China)
- Introduction to InDesign
- Create and layout documents
- Documents and pages
- Create documents
- Work with parent pages
- Work with document pages
- Set page size, margins, and bleed
- Work with files and templates
- Convert PDFs to InDesign Documents
- Create book files
- Add basic page numbering
- Number pages, chapters, and sections
- Convert QuarkXPress and PageMaker documents
- Share content
- Understand a basic managed-file workflow
- Save documents
- Grids
- Flex Layout
- Layout aids
- Documents and pages
- Add content
- Text
- Add text to frames
- Threading text
- South-East Asian Scripts
- Arabic and Hebrew features in InDesign
- Create type on a path
- Bullets and numbering
- Create math expressions
- Glyphs and special characters
- Text composition
- Composing CJK characters
- Text variables
- Generate QR codes
- Edit text
- Align text
- Wrap text around objects
- Anchored objects
- Linked content
- Format paragraphs
- Format characters
- Typography
- Format text
- Review text
- Spell check and language dictionaries
- Add references
- Styles
- Tables
- Interactivity
- Graphics
- Color and transparency
- Text
- Find and replace
- Share
- Export, import, and publish
- Place, export, and publish
- Publish online
- Publish online dashboard
- Place Firefly assets
- Copy, insert graphics
- Export to Adobe Express
- Export content for EPUB
- Adobe PDF options
- Export to HTML5
- Export content to HTML (Legacy)
- Export to Adobe PDF
- Export to JPEG or PNG format
- Import SVG files
- Supported File Formats
- Export and import User Settings
- Printing
- Place, export, and publish
- Extend InDesign
- Automation
- Troubleshooting
Learn how to automate common tasks using the scripts.
Scripting is a powerful tool for performing a wide range of tasks. A script can be as simple as automating a common action or as complex as creating an entirely new feature. You can create your own scripts and run scripts created by others. For more information on scripting, see Scripting Guide, scripting requirements, and other developer resources.
Build plugins with UXP scripting
Developers can now use UXP Scripting to build plugins with extensive user-interface and more interactive components for users. Get started with building your first plugin.
Scripts panel and Script Label panel overview
InDesign includes two panels for scripting: the Scripts panel and the Script Label panel.
The Scripts panel lets you run scripts without leaving InDesign. It displays the scripts located in the Scripts folders in the InDesign application folder and your Preferences folder.
To open the Scripts panel, select Window > Utilities > Scripts. If you create or receive a script, place it in the Scripts Panel folder so it appears in the Scripts panel.
|
macOS |
Users/[username]/Library/Preferences/Adobe InDesign/[version]/[language]/Scripts/Scripts Panel |
|
Windows |
Users\[username]\AppData\Roaming\Adobe\InDesign\[version]\[language]\Scripts\Scripts Panel |
To quickly locate the Scripts Panel folder, right-click (Windows) or control-click (macOS) a script in the Scripts panel, and then select Reveal in Explorer (Windows) or Reveal in Finder (macOS).
Use the Script Label panel to assign a label to a page item, such as a text frame or a shape. Labeling page items helps when writing scripts that need to identify specific objects. To open the Script Label panel, select Window > Utilities > Script Label.
For more information about adding, running, and editing scripts, see the Scripting Guide.
Run a script by double-clicking it in the Scripts panel or by using Quick Apply (press Ctrl + Enter (Windows) or command + return (macOS) to open Quick Apply dialog).
|
Script name |
Function |
|
|---|---|---|
|
AddGuides |
Adds guides around the selected object or objects. |
|
|
AddPoints |
Adds points to the paths of the selected object or objects. |
|
|
Add QR Code |
Places a QR code on the placegun or directly as a page item. |
|
|
AdjustPageItems |
Moves content on even/odd pages by specified amounts to reposition items after master page margin change or page insertions. |
|
|
AlignToPage |
Aligns objects to specified positions on a page. |
|
|
AnimationEncyclopedia |
Creates buttons with different animation properties. |
|
|
BreakFrame |
Removes a selected text frame and its contents from the story. |
|
|
CornerEffects |
Redraws the path of selected items using different corner effects, including effects applied to specific path points. |
|
|
CreateCharacterStyles |
Defines a complete character style based on the selected text. |
|
|
CropMarks |
Adds crop and/or registration marks around the selected object or objects. |
|
|
ExportAllStories |
Exports all stories in a document to a series of text files. |
|
|
FindChangeByList |
Performs common text find/change operations by reading a tab-delimited text file. |
|
|
ImageCatalog |
Places all graphics in a specified folder in a contact sheet layout. |
|
|
MakeGrid |
Creates a grid by subdividing or duplicating the selected object or objects. |
|
|
Neon |
Applies a blend effect to the selected object or objects. |
|
|
PathEffects |
Changes path point positions on selected objects to add a creative effect. |
|
|
PlaceMultipagePDF |
Places all pages of a PDF. |
|
|
SelectObjects |
Selects objects on the active spread by their object type. |
|
|
SortParagraphs |
Sorts selected paragraphs alphabetically. |
|
|
SplitStory |
Splits the text frames in the selected story into separate, unlinked text frames. |
|
|
TabUtilities |
Applies tab stops and indents to the selected text. |
For more information on installing and using these sample scripts, see Automation.
InDesign also provides more scripts that are created by the InDesign community.
- Unicode Injector by Kris Coppieters - Use keyboard shortcuts to easily insert one or more Unicode characters into InDesign text. For more information, see Instructions.
- Insert Typographer Quote by Stefan Rakete - Use keyboard shortcuts to add defined typographic quotes before and after the selected text. For more information, see Instructions.
- Layer Cloner by Paolo Agostinetto - This script allows you to copy one layer and its elements from one document to another. For more information, see Instructions.
- Get x-Height by Roland Dreger - Determine the x-height of a text passage. For more information, see Instructions.
- Snap Margins to Text Frame by Ariel Walden - A script to modify the document's margins throughout to match the selected text frame. For more information, see Instructions.
- Break Text Thread by Ariel Walden - An InDesign script that makes breaking the thread between text frames easy. For more information, see Instructions.
- InCopy Note Alert by Kris Coppieters - A startup script for Adobe® InDesign® and Adobe InCopy® which alerts to the presence of notes. For more information, see Instructions.
- Copy Paste Coordinates by Kris Coppieters - Script to copy-paste coordinates onto page items. For more information, see Instructions.
- Chain Grep by Gregor Fellenz - Chain InDesign GREP Queries to new Scripts. For more information, see Instructions.
- Clear Overrides by Gregor Fellenz - Clear style overrides from InDesign Text, Tables or Objects. For more information, see Instructions.
- Invert Selection by Luis Felipe Corullón - Script to invert the selection in InDesign document. For more information, see Instructions.
- Layer Cloner by Paolo Agostinetto - This script allows you to copy a layer and its elements from one document to another. For more information, see Instructions.
- End Notes to End of Book Notes by Peter Kahrel - Convert end-of-document endnotes to end-of-book endnotes. For more information, see Instructions.
- Renumbering Endnote References by Peter Kahrel - Script creates endnotes whose references do not update automatically when you add or remove endnotes. For more information, see Instructions.
- Size Thing to Page by Olav Kvern - Resizes the current selection such as an image to the size of the page. For more information, see Instructions.
- Size Page to Thing by Olav Kvern - Resizes the page to the size of the current selection such as an image. For more information, see Instructions.
Adobe maintains a repository of open source community scripts on GitHub. For more information about the InDesign Community Script repository, see the ReadMe file. This ReadMe file includes details about contributing a script and links to the scripters.
More like this
Have a question or an idea?
If you have a question to ask or an idea to share, come and participate in Adobe InDesign Community. We would love to hear from you and see your creations.

