- Saved searches
- Use saved searches to filter your results more quickly
- certainlyakey/Indesign-scripts
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Scripting
- Scripting in InDesign
- UXP Scripting
- Scripts panel and Script Label panel overview
- Sample scripts
- Community-contributed scripts
- Saved searches
- Use saved searches to filter your results more quickly
- License
- runxel/indesign-scripts
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Custom Adobe Indesign scripts written in Javascript for controlling various functions from keyboard
certainlyakey/Indesign-scripts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
These JSX scripts for Indesign are mostly written by me with the help of guys from Adobe Forums. The main puprose they have is to alleviate working in Indesign with keyboard shortcuts by adding control from keyboard to those functions that currently don’t have it. My higher idea is to bring working from keyboard in Indesign closer to the extent it’s possible in Sublime Text, for example.
- resizing frames by document and baseline grid divisions;
- quickly setting keyboard increments (I use Ctrl+Cmd+Shift+numbers for that);
- flexibly controlling opacity, stroke weight and tint;
- starting to edit text in the currently selected frame from keyboard ( Enter );
- invert text case or setting Title case on a word the cursor is currently inside of ( Cmd+U , Ctrl+Cmd+Shift+U );
- selecting current word ( Cmd+D );
- moving objects to another layer ( Ctrl+Alt+Cmd+Home , Ctrl+Alt+Cmd+End );
- opening selection in new window — I use this as a trick for editing in one (often little) window, viewing the result without selection frames in another as it’s not possible to hide frame edges for the current selection like in Sketch;
- selecting swatches from keyboard that doesn’t mess with Swatches palette state;
- toggle different vertical justification modes from keyboard ( Ctrl+Cmd+B )
- and others.
You can make use of them by putting the ones you like into Indesign’s Scripts folder and them assigning to them some keyboard shortcut via Edit->Keyboard Shortcuts . Remember to do that, there’s no way to automatically set a shortcut in Indesign upon downloading a script!
Sometimes they don’t have proper error catching and everything, so be prepared.
I hope you find it useful and offer your ideas and suggestions.
Changing keyboard increments from keyboard:
Changing frame parameters such as opacity, tint and stroke width:
Resizing frame by document or baseline grid divisions:
Simply resizing frames from center:
Choosing swatches for current selection:
Starting frame editing mode from keyboard, selecting current word and controlling paragraph spacing:
Toggling between display performance modes:
Toggling between vertical justification modes:
About
Custom Adobe Indesign scripts written in Javascript for controlling various functions from keyboard
Scripting
Learn about how to automate common tasks using the Scripts panel and the Script Label panel in InDesign.
Scripting in InDesign
Scripting is a great tool for performing a variety of tasks. A script can be as simple as an automated common task or as complex as an entire new feature. You can create your own scripts, and you can run scripts that other people have created. For more information on scripting, see Scripting Guide, scripting requirements, and other developer resources.
The Scripting Guide contains an introduction to scripting and tutorials. You can also find a number of useful scripts that you can run, such as a script that draws guides around the selected object. Some of these scripts appear by default in the Scripts panel.
UXP Scripting
Scripting in InDesign is now powered with the Unified Extensibility Platform (UXP) so that you can use modern JavaScript (ES5 and most of the ES6 features) to automate tasks. Find out more information about UXP Scripting.
Scripts panel and Script Label panel overview
InDesign includes two panels for scripting: the Scripts panel and the Script Label panel .
The Scripts panel is where you run scripts without leaving InDesign. The Scripts panel displays the scripts that are located in the Scripts folders in the InDesign application folder and in your Preferences folders.
Select Windows > Utilities > Scripts to open the Scripts Panel . If you create or receive a script, you can place it in the Scripts Panel folder, so it shows up in the Scripts panel .
Users/[username]/Library/Preferences/Adobe InDesign/[version]/[language]/Scripts/Scripts Panel
Documents and Settings\[username]\Application Data\Adobe\InDesign\[version]\[language]\Scripts\Scripts Panel
Windows Vista and Windows 7
Users\[username]\AppData\Roaming\Adobe\InDesign\[version]\[language]\Scripts\Scripts Panel
A quick way to locate the Scripts Panel folder is to right-click (Windows) or Control-click (macOS) a script in the Scripts panel and choose Reveal In Explorer (Windows) or Reveal In Finder (macOS).
The Script Label panel lets you specify a label for a page item, such as text frame or shape. Specifying labels for page items is especially useful for writing scripts in which you need to identify an object. Select Windows > Utilities > Script label to open the Script Label Panel .
For detailed information on adding, running, and editing scripts, see the Scripting Guide.
Sample scripts
You can double-click a script in the Scripts panel or run scripts using Quick Apply .
Adds guides around the selected object or objects.
Adds points to the paths of the selected object or objects.
QR code can either be placed on the placegun or directly as a page item.
Moves the content of even/odd pages by specified amounts; attempts to get objects back into the correct position after a master page margin change and/or page insertion.
Aligns objects to specified positions on a page.
Automatically creates buttons with different animation properties.
Removes a selected text frame and its contents from a story.
Redraws the path of the selected item or items using a variety of corner effects. Corner effects can be applied to selected points on the path.
Defines a complete character style based on the selected text.
Adds crop and/or registration marks around the selected object or objects.
Exports all stories in a document to a series of text files.
Performs a series of common text find/change operations by reading a tab-delimited text file.
Places all graphics in a specified folder in a “contact sheet” layout.
Creates a grid by subdividing or duplicating the selected object or objects.
Applies a “blend” effect to the selected object or objects.
Changes the position of path points on the selected object or objects to add a creative effect.
Places all pages of a PDF.
Selects objects on the active spread by their object type.
Sorts the paragraphs in the selection alphabetically.
Splits the text frames in the selected story into separate, unlinked text frames.
Applies tab stops and indents to the selected text.
See Automation for more information on installing and using these sample scripts.
Community-contributed scripts
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.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
JavaScript scripts for Adobe InDesign CS/CC.
License
runxel/indesign-scripts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
JavaScript scripts for Adobe InDesign CS6/CC.
Applies the style of the currently selected footnote to all other footnotes.
Places a grey gradient in the centerfold/between two pages and thus simulates the shadow in an opened book.
Simulates the translucency of paper by placing page elements onto the next/previous page with low opacity.
Often enough the «100%» zoom does not match real world sizes. This script fixes this. You’ll need to put in your own specific value. Best is to bind the script to a keyboard shortcut for easy use.
Other valuable places to check out: