How to install scripts in InDesign

We all love the power of using scripts, but before you can use them, you have to install scripts in InDesign. Here’s how.

Download the script onto your computer and if necessary, unzip it. You should end up with a plain text file with a special filename extension:

  • Javascript files can be run on Mac or Windows and have a .js, .jsx, or .jsxbin extension – “script.jsx”
  • Applescript files are Mac-only and have an .applescript or .scpt extension – “script.applescript”
  • Visual Basic files are Windows-only and have a .vbs extension – “script.vbs”

Tweaking Scripts

If you need to change a setting inside of a script, you can edit it in a text editor. Be sure to save the file as a plain text file with the original extension.

Installing Scripts in the InDesign Scripts Panel

There are two places you can install scripts in InDesign: The Application script folder and the User script folder. The easiest way to find these folders is to open the Scripts panel in InDesign (Window > Utilities > Scripts), then right-click on either Application or User, and from the context menu, choose Reveal in Finder (or Reveal in Windows Explorer).
scripts panel reveal in finder option

We tend to use the User folder for scripts that we’ve downloaded. But if you share a computer with colleagues (or if you make use of multiple user accounts on your machine), you can make scripts available to everyone by putting them in the Application folder.

Inside the window that opens there is a folder called Scripts Panel. Put your scripts inside that.

Any script inside the Scripts Panel folder will show up immediately in InDesign. There’s no need to restart the program.

How to Run Scripts from the InDesign Scripts Panel

To run the script, open a document in InDesign, then open the Scripts panel (see above) and double-click the script name. Some scripts require you make a selection first before you run them, because they act on the selection. See if the script writer provided any sort of documentation if you can’t figure it out.

When the Script is Nothing But Text

If you’ve downloaded or clicked on a script and you just see a bunch of text, you’ll need to get it into a format for you to install. Click here to read how to do just that.

Bookmark
Please login to bookmark Close

This article was last modified on April 26, 2023

Comments (104)

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Lisa
    April 16, 2025

    I tried to run this and it didn’t work. (on a PC, not mac). Any other ideas? It gave me a new code that I didn’t see last time – Error 4, line 7.

  2. Rich Harvey
    January 27, 2023

    I can’t find a “Scripts Panel” folder … and I don’t think InDesign 18.0 will allow me to make a folder. What now?

  3. Septimus
    March 19, 2019

    On my Mac I put scripts in Applications > Adobe InDesign CC 2019 > Scripts > Scripts Panel.

    That way you don’t throw all of them away when you need to trash ID’s Preferences again.

    1. Erica Gamet
      March 19, 2019

      I always place my scripts in the Application folder as well, since I want all my scripts available to all users on my machine. When I present or teach, I use a different (presentation) user and don’t want to worry if all my scripts are installed. The preferences issue is a good reason to, as well!

  4. maurice
    October 11, 2018

    Neat, would be great if a step by step guide would be provided to add clarity as to how you are attaching click event handlers to call the attached functions in the other script. Thus far I’ve been unable to replicate this as I assume others have also had difficulty.

    Even a simple onClick() to add to a button to call a function/method will not work so I’m curious as to how the working demo actually works, is there an InDesign file you could share with the rest of the class?

  5. Liz F
    October 11, 2018

    Thank you! Was having trouble installing Calendar Wizard in IDD CC 2017.

  6. jayesh
    May 22, 2018

    Hi,
    The plugin works great in inDesign cs6 but i have one question.
    can i run this script for particular font
    (like {findWhat:” – “} with Times New Roman {changeTo:”^=”} Arial

    text {findWhat:” – “} {changeTo:”^=”} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:false, wholeWord:false} Find all space-dash-space and replace with an en dash.

  7. Henrik Stig Møller
    January 10, 2018

    Waw! It’s working right out of the box! Thank you very much.

  8. Anne-Marie Concepcion
    November 3, 2017

    A note to our readers: Many of the comments on this post appear to have little to do with *installing* scripts, and instead are referencing specific InDesign scripts, with questions about their usage. That’s because when we write about a script in an InDesignSecrets blog post, we often include a link to this post as well to help users install the script.

    And then when a user has some question or trouble with the script, they sometimes just post their comment here instead of the original post.

    In case you were wondering. ;-)

  9. Karl
    September 29, 2017

    Thank you very much! The only request I can see would be an option to export a list of pages, rather than just one or just all.

  10. Arthur Oxborough
    July 20, 2017

    Hello! This script is no longer linked online. Is there anywhere else I can find it?

    thanks,
    Arthur

    1. Erica Gamet
      September 13, 2017

      Which script?

  11. November 2, 2016

    Saved me hours of extra work. Great work!!!

  12. G KARTHEEPAN
    September 7, 2016

    Hi I am new comer for Indesign script. Anybody can help me, for Indesign Paragraph Styles. Extract the detail and placed in relevant paragraph styles.
    Example: Paragraph Style “Text”. I want details like this
    “Text
    Palatino LT STD
    10pts/12pts”
    Fix new frame in outside Margin

  13. August 23, 2016

    I am about to throw out Adobe Indesign CC as I cant get ComboMambo to run. Without an ability to add & control lists its usless to me. ComboMambo displays in the Scripts window under User, so I am assuming its in the correct folder, I used the reveal in Finder method. But when I doubleclick ComboMambo it opens a popup window asking to be pointed to a text file.. not what I expected

    1. August 24, 2016

      Paul, do you have the CC version of the script? https://creativepro.com/combomambo-script-updated-indesign-cc-2014.php

      1. Paul
        August 24, 2016

        Yes I have the version dated 16-6-2014.
        I am starting to think I should have opted for LiveCycle ES4 instead

  14. Diogo
    November 16, 2015

    Hello, great tut, i´ve followed your footsteps but the script wont act after choosing the selected folder containing the images, running indesign CC on a macbook pro – Yosemite OS. any idea?

    Cheers

  15. October 19, 2015

    Many thanks! :)

  16. Huss Mansour
    October 15, 2015

    Hi there I am looking for this script tomaxxilinkrename [1.0].jsx for windows 7 to add it.
    I tried several times. I couldn’t find it.
    I need it for InDesign CS5
    I would thank you for helping me

  17. Memory Morgan
    September 9, 2015

    Thanks, so simple to use and easy to understand!

  18. William Garner
    May 19, 2015

    Wao, you guys are world-class! Thanks for such wonderful reveals to InDesign’s secrets.

  19. May 17, 2015

    i did as instructed but when i get to the data merge portion, the create merge document is grayed out and i cannot select it. i ran the script and the csv file was created in the folder. but i can’t click on the create merge document because it is grayed-out. please help. I’m using indesign cs6

  20. WM
    April 29, 2015

    This is fantastic. Is there a way to easily change the font type and size?

    1. Memory Morgan
      September 9, 2015

      This may not be the script that you are looking for but here’s an article about fitting text to a text frame. It offers 3 scripts that allow you to change the text depending on what you are looking for. https://in-tools.com/article/scripts-blog/fun-with-text-fitting-in-indesign/

  21. jb
    April 22, 2015

    this is amazing, thank you!

  22. April 1, 2015

    Hi,
    The plugin works great but i have one question.
    How can i make it to round up after to 2 numbers behind the comma.

    I got this: €90.909090909091
    But i need this: €90,91

    Sorry for my pour englisch.

    Hope anyone can help.

    Kind regards,
    Jeffrey

  23. March 16, 2015

    Thank you for such a nice tip. Implemented smoothly and working fine on my PC.

    I came to this page from indesign-faq.de. The author from this site has provided instructions to edit the script. Pasting here with due credit :

    I just got an email telling me that this very very old script of mine stopped working under CS5
    The script automatically creates a backup copy of the current document while saving. Apply cmd-S as shortcut for the script and you won’t notice it is there.
    The new version of “save_with_backup” is now a JavaScript (i.e. works on PC as well as on Mac) with a few minor improvements.
    Configuration

    Before using the script you need to adjust three lines in the code to point to your preferred backup-location.
    var desktop_path = Folder.desktop.toString();
    // var backup_path = “/someFolder/someSubfolder/backupLocation”;
    var backup_path = desktop_path+”/backup”
    Currently the backupfolder is on the desktop. You could point to a deeper subfolder of the desktop by changing line 4
    var backup_path = desktop_path+”/diversesZeuchs/InDesign-Backups”
    In case you want your backupfolder somewhere else, change the code like this
    var desktop_path = Folder.desktop.toString();
    var backup_path = “/someFolder/someSubfolder/backupLocation”;
    //var backup_path = desktop_path+”/backup”
    The Result

    The script creates a subfolder structure. One subfolder for each day you do a save in the form yyyy mm dd and each document gets a time-prefix in the form hhmmss_

  24. Bruce Armenante
    March 11, 2015

    I downloaded the MergeTables script from a link on this site. I’m on a Mac/Mavericks/InDesign CC 10.2.0.69. I opened the Scripts panel, right clicked on it to “reveal in finder” and it opened the folder “armcomdes” which is a folder inside the Users folder on my system. Copied or dragged the “MergeTables.jsx” to that folder and… nothing. It doesn’t show up in the Scripts panel. Not sure what I’m doing wrong.

    1. Bruce Armenante
      March 11, 2015

      Tried the Applications folder and it worked!
      Then went back to the Users folder and it worked!

      Never mind…

  25. Tenzin
    February 5, 2015

    How can I install indesign free of cost in window 8.1?

  26. Shannon
    December 13, 2014

    Thank you so much!! This script was amazing and so fast whew I was dreading opening all those pages and you really saved me the headache!!! By the way this website is an invaluable resource for all of us!!!!

  27. Ginger
    December 10, 2014

    Thank you! I have Adobe Cloud and it worked great, except it deleted the pages that were already there, after the placement, e.g., I placed the pages at p11 and I had content on page 30-35. Those were deleted.

  28. June 6, 2014

    Never mind guys…i figured it out:)

  29. June 6, 2014

    hi i may be ignorant on this…but i downloaded the Adobe Calendar Wizard and the scripts are in Dreamweaver…? is this what i place in InDesign…any help would be great….1st time with a calendar and anything to do with scripts

  30. March 26, 2014

    Awesome! Thanks :)

  31. December 16, 2013

    Thank you so much!

  32. July 31, 2013

    THIS IS BRILLIANT!!! THANKS! WHERE HAS IT BEEN ALL MY LIFE

  33. ptr
    January 31, 2013

    Is it just me or does this script only place the pages of the PDF as images?

  34. Alissa
    January 14, 2013

    has anyone gotten this “multi-page pdf placing” script to work with CS6? I’ve placed the script file in the correct place as described above…but when I click on the script to launch it, InDesign thinks about it forever and nothing actually happens.

    Thanks

    1. Imani
      December 16, 2013

      Yes I have S6 and its working very nicely, thank you for the programmer of this script. God blees you

    2. Tarryn
      December 4, 2013

      Same thing happening here. Did you ever come up with a solution?

  35. firtree
    October 18, 2012

    thank you!

  36. Shorty
    October 11, 2012

    For anyone still needing to split threaded stories using a script, try Story Splitter, mentioned here:
    https://creativepro.com/splitting-up-threaded-stories-into-separate-frames.php

  37. stefg
    June 26, 2012

    very, very nice – thank you so much!

  38. Jongware
    June 4, 2012

    Bill, are you trying Scott Zanelli’s Multipage importer script?

    Not being able to open must be some sort of local issue with your computer — you don’t mention your OS, but if it is Windows 7 it might be something related to your user account.

    For the time being: if you get stuck by this and can’t get on with the job at hand, try the Manual way. Use “Place” the usual way to select your PDF, but make sure “Show options” is selected. In the little Import Options dialog, choose “All” for page range. This ‘loads’ your Place Gun with all pages, and you can click once per page to place all of them.

  39. Bill
    June 4, 2012

    The scripts folder won’t open. “Application” and “user” won’t open. How do I get it to open. I have Indesign CS5. I am trying to import a multi-page PDF file into an Indesign CS5 document. Why should this simple task be so difficult and time-consuming? If somebody can help, I would appreciate it. Adobe Tech Support could not fine an answer for this. Thanks, Bill

  40. kapooostin
    April 11, 2012

    Does anybody still need a script to unlink stories in document/book?

  41. Jongware
    March 9, 2012

    Andrzej, you can ask specific questions in the Scripting forum (you have to register as forum member first but it’s free).

    On documentation: there is a lot of basic how-to’s in the PDFs in Adobe’s own Scripting Resources section. For a detailed item-by-item description, you can consult the built-in Help in the Toolkit Editor, or see the list at the end of my article JavaScript for the Absolute Beginner.

  42. Andrzej Michalski
    March 9, 2012

    I am writing a script in JSX to modify the text in an anchored text frame and modify the size of a graphic frame, but when I run it the anchored object disappears (it seems that the anchor vanishes). I’m really stuck with the main problem being lack of detailed documentation.

    If anyone has experience of the above that would be great, but just as importantly does anyone have any proper documentation for scripting InDesign CS5.5 via jsx?

    Thanks!

    Andrzej

  43. linds
    December 20, 2011

    thanks, super helpful to a new script user!

  44. December 15, 2011

    @Kevin: Which script are you talking about? Sounds like a calendar script. Do you mean the calendarwizard script I talked about here?

  45. Kevin Krows
    December 15, 2011

    It looks like this script only allows for years 2004-2007. How do you change this or how can I get an updated scipt that includes current and future years?

  46. Karunamurthi
    November 9, 2011

    Hi,

    I need, how to layout for head level and body matter in script method.

    For example: Head level 1 is 46p and body matter is 32p how to split in script. (ID-xml workflow)

    Any help will be great !

  47. Kris
    October 24, 2011

    Thank you so much! It actually worked – wow.

  48. taz
    February 16, 2011

    Yes, thank you for your explanation. Bye~

  49. Jim Morgan
    October 29, 2010

    oh, I reinstalled InDesign and it’s working fine now

    Thanks David for your replies :-)

  50. October 28, 2010

    @Jim: Thanks! I don’t know what the problem could be. Perhaps rebuild preferences? Restart? Very mysterious.

  51. Jim Morgan
    October 28, 2010

    I do exactly as you said, David, I even open those folders from InDesign “Reveal in Explorer” command, even more I copied one or 2 of the default scripts to the destination folders, but InDesign acts like there is nothing.

    By the way, thanks for the great work :-)

  52. October 28, 2010

    @Jim: Are you putting them inside the user folder or inside the Scripts Panel folder? They have to go inside Scripts panel. Also, make sure they are .jsx or .js or something like that, not .zip files.

  53. Jim Morgan
    October 28, 2010

    I’m also enabling the “Enable Attached Scripts” in Preferences > General

  54. Jim Morgan
    October 28, 2010

    Hello;

    I’m using “InDesign CS4 Middle-Eastern” on win XP SP2 32-bit , But I got A problem

    When I copy scripts to the User folder or the App folder, nothing shows up in InDesign Scripts Panel.

    I tried a variety of script types, I even copied (duplicated) some of the default scripts (the default is working fine for me) .. but also nothing shows up

    I also tried to install an mxp script with Adobe Extension Manager, then the Extension Manager put the file in the right folder, But also the script doesn’t show up in InDesign.

    Any help will be great !

  55. Reza Haniff
    October 22, 2010

    Thank you so much , well done on the script ,it’s amazing how something so small can have such a huge impact on your productivity.

  56. September 9, 2010

    This script is a lifesaver!!

  57. September 8, 2010

    Man! This is great! Thank you so much!

  58. Rehan
    August 25, 2010
  59. Rehan
    August 25, 2010

    I am using InDesign CS4, I tried it for Arabic, but it’s not working.

    If anyone knows how to deal it with CS4, it would be great help.

    Thanks…

  60. Ahmed Maher
    July 24, 2010

    Many thanks

  61. stretchs
    May 4, 2010

    awesome script, just saved me an hour on a 105 page layout import. thanks a ton

  62. February 13, 2010

    I can’t thank you enough! It worked just fine in CS3.

  63. February 2, 2010

    Which script are you talking about?

  64. ecols
    February 2, 2010

    This is an AMAZING script. I love it!

  65. January 19, 2010

    It worked like a charm

    Thanks

  66. Chai
    January 13, 2010

    Answer to ioanna

    remove the word .txt from ReverseText.jsx.txt so it should read ReverseText.jsx instead of ReverseText.jsx.txt then place it in your javascript of indesign.

  67. borash
    October 27, 2009

    breath taking! Works perfect.
    thank you again

  68. October 26, 2009

    i am getting error in document system freezes & crashes

  69. Drew
    August 10, 2009

    I’m on cs1 and I just can’t get this script to work. I’ve followed the above comments and tried saving the file in various formats both from TextEdit and ScriptEditor and nothing seems to work for me. Please help! I need this script desperately.

  70. Anna
    July 9, 2009

    That script saved me … and so much time
    million thanx!

  71. June 5, 2009

    That is quite a common problem, and the solution is discussed here:

    https://forums.adobe.com/message/1973478

    Basically, your preferences are probably set so that scripts don’t interact with anyone.

    What you should do is copy and paste the following technical-looking line into a text file, save it with the extension .jsx, then put that file into the scripts panel folder (where the other scripts are). Then run it by double-clicking on its name in InDesign’s Scripts Panel. After that, all the scripts should work.

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;

  72. Katarina
    June 5, 2009

    In Cs3 it just doesn’t work, When a double klick it, I mean the script, in the script folder in indesign, it does nothing, I even made the Version 4.0 Scripts folder, installed java again…

    I’m new at this, It just doesn’t work :)

  73. March 25, 2009

    Hello,
    I’m French, so sorry for my english.

    I want change the price Euro on my doc.
    How do that ?

    Because the prefixe, for me, is at the end.
    Ex : 1500,50 ? -> 1500.50 x 1.78

    Thk you in advance.

  74. February 5, 2009

    In InDesign CS3 I used the Dave Saunders´ Change Case of Selected Style script and it worked fine. Now, in CS4 the script reports an error on line 41:
    app.findPreferences = null;
    Any suggestions? this is a very usefull script I use all the time. Thanks in advance.

  75. neomi
    December 18, 2008

    Thank You SO much David for this action script. It’s a
    life saver for those of us who don’t want to plunk down another grand on the ME version.

    all the best
    N.

  76. andre
    November 4, 2008

    Big Thanks! But… the script doesn’t work correctly with the changing of Hebrew vowel’s punctuation of MSS text… does any body could help me to adjust the script?

  77. Stuart
    October 3, 2008

    WOW! Life saving script! (a little over the top, I know, but you don’t know how much this has helped me in a very time critical situation.)

  78. July 17, 2008

    Is there a website on the web with free InDesign scripts available ?

  79. July 10, 2008

    Awesome. Works great. Thank you. :D

  80. ioanna
    May 14, 2008

    Hello

    Altough I have
    place a script into the scripts folder
    indesign cs2 doesnt read it..

    could you please give me an advice ??

    I don’t how i can eddit or save a txt to a script format

    but i have also tried to fix it with a scipt editor and stil doesnt work

  81. September 19, 2007

    to:David Blatner
    Yes. Its working in CS3 too.

  82. August 8, 2007

    Caryn, this plug-in may only work in CS2. Are you trying it with CS3?

  83. Caryn
    August 7, 2007

    Great stuff! However, I tried to use Clever Find/Change Dialog Box Closer and it isn’t working. I can set the shortcut, but there isn’t a way to get out of the find or change boxes. So, when I hit the key it simply places the stroke in the box and doesn’t close the box. I’m sure it’s something simple, but what am I doing wrong?

  84. Adolfo Meneses
    July 21, 2007

    Thank you, I almost have tears on my eyes, I’ve been looking for this procedure for hours. I wonder what the adobe guys was thinking when they wrote the online help.

  85. laura k
    May 5, 2007

    Thank you for describing this process! I could not find it anywhere in the CS2 documentation. (It tells you to install but never tells you how.) Thanks also for including how to open the Scripts palette — the menus are not intuitive, and I don’t use InDesign often enough to remember everything from use to use. It would be a big help for Adobe to include that sort of stuff when they write their manuals.

  86. October 11, 2006

    Scott, I think CS1 Javascripts end with just “.js” … but sometimes the scripts call for CS2-only functions, so just changing .jsx to .js might not work. Look on your CS1 install CD for the folder containing the CS1 scripts. (They’re in the Extras/Resources CD, I think in the Technical folder.) Adobe doesn’t offer the CS1 scripts for downloading at the site I mentioned in the post, only the CS2 ones.

    Renaming a .jsx file to .vbs doesn’t do a thing, the coding the file actually contains is still Javascript, not VBScript. Sorry …

  87. Scott_the_Geek
    October 10, 2006

    I tried the jsx file on Indesign CS with no luck. I also attempted to resave the file as a VBS with no success running it either.

  88. buddygal
    October 7, 2006

    How can i install PDF presets that seem to be missing in my CS2?

    just trying to get in on the correct topic here. Thanks!

  89. yassaman
    September 22, 2006

    It cant add pages between pages. Only adds in end :(

  90. August 10, 2006

    I’m curious why a person would need the Script Editor … I just open or copy/paste ID scripts in TextEdit (switching to Plain Text mode if necessary), then save them from there as .jsx or .as.

  91. Hamish Symington
    August 10, 2006

    You need to make sure it’s a .as and not anything else. .scpt or .app won’t work. Save your script as ‘text’ from Script Editor, then rename it from .applescript to .as (took me half an hour to work this out…)

  92. Tina Delceg
    July 12, 2006

    Had a little trouble editing the script for zooming to actual size, but finally found a script editor on my mac that did it. Great help, thanks very much.

  93. Gary Spedding
    July 4, 2006

    Can this be made (for a novice) to work in CS? i d not have the luxury of CS2 and with CS3 on the way soon it may not be worth moving to CS2.

  94. June 29, 2006

    this is absolutely amazing!! thanks so much!!!

  95. June 7, 2006

    Sorry, I meant to write this in another thread. Guess that’s the draw back of tabbed browsing. ;)

  96. June 7, 2006

    Beautiful!!! It worked like a charm. Actually better, ‘cuz charms never work.
    Now, if I only had a script to unlink all stories in a given document, I’d be set. How hard can that be, right?