![]()
A script can speed up repetitious production work in InDesign. How do you install a script so that you can use it?
Installing any JavaScript into InDesign
Scripts are simple text files and can be written in JavaScript, the favorite, or other script-writing languages like AppleScript and UXPScript and VBScript. Instead of naming the file with a .txt filename extension, you save the textfile with a .jsx filename extension. Many websites have ready-made scripts that you can download or copy and then save in a text editor. Let's assume you have done that. But now, how do you install it?
Option 1 — Install in the User Scripts Folder
1. Open Adobe InDesign.
2. Go to Window → Utilities → Scripts to open the Scripts panel.
3. In the Scripts panel, right-click on the User folder and choose Reveal in Explorer (Windows) or Reveal in Finder (macOS).
4. In the folder that opens, open the Scripts Panel subfolder.
5. Copy-and-Paste or drag-and-drop YourScriptFile.jsx into that folder.
6. Return to InDesign and look at the Scripts panel.
7. The script will now appear under User.
8. Double-click the script name to run it.
Option 2 — Installation for All Users
If you want the script to appear for every user on the machine, park the script in the following folder (instead of the User folder as in Option 1 above):
Windows: C:\Program Files\Adobe InDesign 2025\Scripts\Scripts Panel\
macOS: /Applications/Adobe InDesign 2025/Scripts/Scripts Panel/
Restart InDesign to see it in the Application section of the Scripts panel.
Option 3 — Run Once Without Installing
1. In InDesign, open Window → Utilities → Scripts.
2. Click the menu icon (≣) in the top-right corner of the Scripts panel.
3. Choose Run Script…
4. Browse to where this YourScriptFile.jsx file is saved and select it.
5. Click Open and the script will run immediately.
Optional: Assign a Keyboard Shortcut
Whenever you make custom keyboard shortcuts, make sure you have saved a custom-named version of the keyboard shortcuts first by clicking New Set... and saving a copy of Defaults with a new name. Now you can add new shortcuts onto this set of shortcuts.
1. Choose Edit → Keyboard Shortcuts…
2. In the Product Area, select Scripts.
3. Find YourScriptFile.jsx in the list.
4. Click New Shortcut and choose a Context and press your desired keys (maybe Ctrl+Alt+Shift+N).
5. Click Assign, then OK. Now you can trigger the script by pressing a keyboard shortcut.

