Dealing with scripts can be a little daunting for a lot of users of InDesign. Once you get the hang of it, it’s not that hard, but you need to create files in the correct format, name them with the correct extension, and save them in the correct place. We’ve created a script which we hope will make life a lot easier.
FiddleScript — Your tool to fiddle with scripts (without having to fiddle too much).
If you are using CS4 or later, you can download the Extension Manager installer instead from here.
FiddleScript is compatible with InDesign CS3 and higher.
- Download the zip file from here.
- Unzip the file.
- Place the resulting file (FiddleScript.jsxbin) in your Script Panel folder.
- There is a Scripts Panel folder in your application folder, as well as your user data folder either one will work. If you want the script to be accessible by all users, make sure to put it in the main application folder.
- For more information on how to locate your script folder, please read this help file here.
Extension Manager (CS4 or later) Installation:
- Download the .mxp file from here.
- Double-click on the file, and the Extension Manager will install the script into your main Scripts Panel folder.
- The mxp installer file is designed to work with Adobe Extension Manager Versions CS4 or later. If you have other versions of Creative Suite products installed there is a possibility that your operating system may associate mxp files with an earlier version of the Extension Manager and will try to use that when you double-click the file. If that happens you will see an error alert similar to the one pictured below:
If you do, make sure you use the “open with..” option (by right clicking on the file), and open with the correct version of Extension Manager (i.e. Extension Manager CS4).
- Alternately, you can open the Extension Manager, and click Install as shown below.
To run FiddleScript, double-click on the script in your Script Panel. This will bring up a dialog like the one shown:
- Copy the script code from wherever you got it, and paste the code into the text area.
- To see the results of the script, click Run Script. If you are using CS4, you will be able to undo the whole script in one step.
- If you are happy with your script, just click Save Script, type in a name, and your script will be saved to the Scripts Panel.
Some Quick Pointers on Using FiddleScript
- You can click on Load Script to populate the text area with code from a saved script. This is great for making a quick edit on an existing script without ever leaving InDesign. When you are done editing, Just click on Save Script, and you can save it back to your Scripts Panel. You can use the same name to overwrite the original script, or choose a new one.
- After saving a new script to the Scripts Panel, you will need to refresh the Scripts Panel display for it to become visible. To refresh the Panel display you can either close it and re-open it, or switch away from InDesign to another program, and back again.
- The current script will be saved for subsequent runs of FiddleScript. This makes it easy to check the script (or run it numerous times), without having to paste the script into the dialog each time.
- You cannot type a return or tab character into the text in FiddleScript’s dialog. If you need to type a return or tab, use the buttons at the top of the dialog.
- FiddleScript can make your saved script undoable in one step in CS4 and later. To facilitate this, it can wrap your script in a function which can be run in CS4 and later as a single step. By default, the undo Name will be “Run Script”, but you can change it to whatever you want by replacing “Run Script” at the end of the wrapper to whatever you’d like it to be called.