The Power of Scripts
Scripts are little engines that can supercharge your workflow. Here’s how to find ’em, use ’em, and make ’em with the help of AI.
This article appears in Issue 47 of CreativePro Magazine.
Over the course of my career in design and publishing, I’ve seen a lot of technology come and go. I’ve seen the tools of the trade evolve from wax pencils to GenAI. I’ve written and recorded countless tips and tricks for Photoshop, Illustrator, and InDesign. And if you were to ask me for my all-time top tip for those apps—the single most important bit of knowledge I could share—it would be this: Use scripts whenever you can.
Scripts give you superpowers. They allow you to automate tasks that are tedious and time-consuming, accomplishing in seconds what would take you hours to do manually. They reduce boredom and drudgery. They eliminate inconsistency and errors. And they can free up your time to focus on things you find more enjoyable—or to take on additional work. With the help of scripts, you will impress your boss, your coworkers, and your clients. (Don’t even tell them you used a script—let them think you’re a magical being.) If your goal is to be more productive or to have less frustration and more fun at work, you need to be using scripts.
In this article, I’ll share my best tips for how to incorporate scripts into InDesign, Photoshop, and Illustrator workflows. I’ll show you where to find scripts, and how to install, organize, and run them. You’ll also learn how to make use of AI to create your own scripts and what to do when you need to call in a professional for a large-scale automated solution.
Where to Find Scripts
Assuming you’re on board with the idea that you need to be employing scripts in your workflow, the first natural question is: Where do you find them? Fortunately, there are plenty of great places to look.
The Peter Kahrel Collection at CreativePro
For starters, you don’t need to go very far, because CreativePro is home to stacks of great scripts, especially for InDesign users. The first place to check is the collection of Peter Kahrel’s scripts on the CreativePro website. It’s home to more than 150 thoroughly documented and updated scripts for all kinds of complex tasks in InDesign. Whether you need to manage a ton of tricky endnotes or batch convert a pile of files, odds are Peter’s got something that will help you out.
Scripts from InDesign Magazine
Over the years, hundreds of scripts were featured in InDesign Magazine. Here’s where you can browse and grab many of them.
You’ll find themed script collections in the following issues:
- The InDesign Script-o-pedia
- 100 Free Scripts
- 20 Must-Have Scripts
- Scripts For Long Documents
- Scripts from the Crypts (oldies but goodies)
- Scripts for Images
Issues 143–150 of InDesignMagazine featured a Script of the Month for members to download.
- Issue 143: Remove Shared Hyperlink Destinations
- Issue 144: InDesign to Photoshop Layers
- Issue 145: Format Hyperlinks
- Issue 146: Export for Web
- Issue 147: Smart Sort
- Issue 148: What the GREP?
- Issue 149: Color Contrast Validator
- Issue 150: Adjust Kerning
Other InDesign scripters
Here are some other scripters with great collections of InDesign scripts that you should check out.
- Keith Gilbert/Gilbert Consulting
- Kris Coppieters/GitHub and Rorohiko
- Marc Autret/Indiscripts
- Martinho da Gloria/Automatication (Multi-Find/Change and Layout Zone)
- Kasyan Servetsky
- Colin Flashman
- Luis Felipe Corrullon (LF Scripts)
- William Campbell/Mars Premedia
- René Andritsch/Gumroad (video course)
- Project Octopus
- John Pobojewski/InDesign-Toolbox
- Roland Dreger (website is in German)
- Scott Selberg (Calendar Wizard)
- Typefi (Autofit)
- Adobe (Community Scripts)
- Gabe Harbs/In-tools
Photoshop scripters
Want to explore some cool collections of Photoshop scripts? Here’s where to go.
- Sergey Osokin (Creold)/GitHub
- Stephen Marsh/GitHub and LinkedIn
- Morris Photographics
- Stéphane Baril/GitHub
- Paul Riggott/GitHub
Also, see Issue 19 of CreativePro Magazine for a collection of 10 Great Photoshop Scripts.
Illustrator scripters
Illustrator users can join in the fun too, with the help of these talented folks.
- Katja Bjerrum/Productivista
- Sergey Osokin (Creold)/GitHub
- John Wundes/GitHub
- Alexander Ladygin/GitHub
- Sky Chaser High/GitHub
- Daani Rika/GitHub
- IllustratorScripts.com
Also, see Issue 28 of CreativePro Magazine for a collection of 10 Great Illustrator Scripts.
Installing Scripts
Once you’ve acquired some great scripts, you need to put them where your apps can see them and run them. Here’s the scoop.
Installing scripts in InDesign
Start by opening the Scripts panel (Window > Utilities > Scripts). Then, in the panel, right-click User and select Reveal in Finder/Explorer. This will open a window where you can see the Scripts Panel folder and move scripts into it.
Tip: Make an alias/shortcut to this folder and put it somewhere handy. I have a feeling you’ll be going there a lot after reading this article.
Startup scripts are a special category of scripts that are launched automatically when you start InDesign. They can do things ordinary scripts can’t, such as create menu items. To use these scripts, you need to place them in the Startup Scripts folder (which is next to the Scripts Panel folder) and restart InDesign.
Installing scripts in Illustrator
Save the script file into one of the locations below, then restart Illustrator. The script will appear in File > Scripts.
- Windows: C: \Program Files\Adobe\Adobe Illustrator [version]\Presets\[language]\Scripts
- macOS: /Applications/Adobe Illustrator [version]/Presets/ [language]/Scripts
Installing scripts in Photoshop
Save the script file into one of the locations below, then restart Photoshop. The script will appear in File > Scripts.
- Windows: C: \Program Files\Adobe\Adobe Photoshop [version]\Presets\Scripts
- macOS: /Applications/Adobe Photoshop [version]/Presets/Scripts
Running Scripts
At last, we come to the spot where the rubber meets the road. Time to run your scripts and watch them do their magic.
In InDesign, the most basic way to run a script is to double-click its filename in the Scripts panel. Illustrator and Photoshop don’t have a Scripts panel. In those apps, choose File > Scripts to select and run your installed scripts.
With keyboard shortcuts
It’s even faster to run scripts with the flick of a finger (or two) on your keyboard. See this post at CreativePro for instructions on assigning keyboard shortcuts to scripts in InDesign.
The same process works with Photoshop and should work with Illustrator, but some scripts don’t show up in the Illustrator Keyboard Shortcuts dialog box. Instead, try recording an action that runs a script and assign a shortcut to the action, following these instructions.
With Quick Apply in InDesign
Now that you have a taste for speed, are you ready for life in the fast lane? If so, it’s time to start using Quick Apply to run your scripts. Quick Apply is the fastest way to find and run scripts in InDesign. But in order to use it, you have to turn on Include Scripts in the menu.

Next, press Ctrl+Enter/Command+Return to launch Quick Apply and start typing the name of the script you want to run. When it’s highlighted, press Enter/Return to run it.
Tip 1: Turning off Menu Commands will save you a lot of time and typing (if you don’t also want to execute them via Quick Apply).
Tip 2: Typing s: first will filter the list to show only scripts.
Using AI for Scripts
You can use AI tools such as ChatGPT, Claude, Mistral, and Gemini to generate JavaScript code to automate InDesign, Illustrator, and Photoshop.
OMATA Labs produces extensions for InDesign, Illustrator, and Figma called MATE that can leverage AI to generate scripts, GREP, images, and more. A version of MATE for Photoshop is also in development and expected to debut soon.

You can’t beat MATE for convenience, because you don’t even have to leave the app you’re using to script it. MATE also helps you keep your scripts handy and easily editable. It will automatically try to fix scripting errors for you. It can build interfaces for your scripts, manipulate files on your computer (e.g., linked images), and save your favorite scripts and prompts in handy libraries. It’s definitely worth checking out. For a full rundown on using MATE, check out Jean-Claude Tremblay’s article in Issue 46.
More articles on scripting with AI
For deeper dives into writing scripts with the help of AI, see Alan Gilbertson’s article in Issue 35 and Katja Bjerrum’s article in Issue 42.
for CreativePro Members
Tips for Working with a Developer from Keith Gilbert
Once you get a taste for the kinds of things you can accomplish with scripting, you might start to dream big of bigger things: automated workflow solutions that go beyond what simple (or even complex) scripts can do. When that happens, you need to contact a developer. Here are some important tips for successfully navigating that scenario, compiled by developer extraordinaire Keith Gilbert.
- Do your homework, and have example files ready. You don’t need to describe how you want the script to work, but you need to be able to describe in detail what you want the script to do.
- If it’s a complex project, you may need to compensate a developer for “discovery,” the process of learning about what you’re attempting to accomplish, your workflow, and the project requirements. It’s reasonable for a developer to charge for this if you haven’t written detailed requirements, or if the requirements are such that it will take some work to determine the feasibility of a scripted solution. Bottom line: The more information you can provide up front, the more quickly the developer can do their job, so the less expensive the solution will be.
- Remember that a script cannot add a totally new feature to a program. But a creative developer may be able to achieve a similar result by brute force methods with existing features.
- A good developer will ask you how many people will be using the script, for how long, on how many documents, and how widely the use cases vary. A script that will be used by lots of people on a wide variety of documents will need to have error checking built in, and that can quickly add to the cost of a script.
- It’s reasonable to provide a developer with a general idea of what the script needs to do and ask them for a very, very rough ballpark cost estimate before getting into the weeds with details. This can help you to avoid wasting each other’s time if you have very different budgets in mind.
- Ask the developer who will own the code at the end. Most developers retain copyright to the code they write so that they can reuse modules on other projects. But you should ask if they will provide a JSX/IDJS file or a JSXBIN file at the project’s end. The difference? A JSX or IDJS file can be opened and edited in the future by you or another developer.
Scripted Satisfaction
Using scripts gives you the power to accomplish more with speed and ease. But it also does something even more important: It gets you imagining what else you could do with the resources that were freed up. You can bank that saved time and energy or spend it on activities that are more personally or professionally rewarding. And in the long run, that might be the most superb of the superpowers that scripts give us.
Commenting is easier and faster when you're logged in!
Recommended for you
What Your Printer Wishes You Knew
Your design is great! Your client loves it! But will it print as expected?
Label Placed Images in InDesign
Here’s how to label placed images with their resolution, color space, and other...
InDesigner: Theresa Stoodley
Learn about the creative process behind award-winning editorial and information...
