A package of 7 scripts sure to make design and production of your Adobe Digital Publishing Suite apps easier! Compatible with InDesign CS5, CS5.5, CS6, and CC, Macintosh and Windows.
View a YouTube video demonstration of the scripts.
Add objects to MSO as new state
The New State command in the Object States panel menu will add a new state to the selected MSO, but it duplicates the selected state to do this. This script lets you quickly make a new state that contains only the selected object(s).
Add objects to all states
The Add Objects to State command in the Object States panel menu lets you add any selected objects to the currently active state of the selected multi-state object (mso). But this command only adds the selected objects to a single state. What if you need to add the selected objects to all the states of an mso? This script lets you do that quickly and easily.
Create 2 state MSO
If you select a single object or a single group, and choose the New State command in the Object States panel menu, InDesign creates a 2-state mso, with both states being exactly the same. The main reason to create an mso from a single object, in my experience, is when you wish to create an mso with “hidden” and “visible” states. This script does this automatically.
Create 2 state MSO with reveal & hide btns
Select an object, run this script, and you will get a complete, finished “reveal and hide” multi-state object, with reveal and hide buttons included. You can customize the artwork for the reveal and hide buttons any way you'd like.
Create 2 state MSO with reveal & self hide
Select an object, run this script, and you will get a complete, finished “reveal and hide” multi-state object, with a reveal button, but no hide button. Instead of a hide button, you can tap anywhere on the mso to close the object. You can customize the artwork for the reveal button any way you'd like.
Show Next State and Show Previous State
These two scripts simply advance your view from one state of the selected mso to the next. The intent is that you would assign a keyboard shortcut to these scripts using Edit > Keyboard Shortcuts to make it easy to cycle through states of an MSO in InDesign. When you use the Show Next State script, once you reach the last state, it will loop around to the first state. Likewise, when using the Show Previous State script, when you reach the first state, it will loop around to the last state.
1 user license: $19.95 USD. Please purchase 1 license per user.
A package of 17 additional scripts sure to make design and production of your Adobe Digital Publishing Suite apps easier! Compatible with InDesign CS5, CS5.5, CS6, and CC, Macintosh and Windows.
Align MSO states
There is currently no way in InDesign to align the objects on one state of a multi-state object with the objects on another state. This script will align all the states of a single multi-state object, using the alignment options you specify.
Create super button
A “super button” is a button that will appear above, or on top of, all other interactive elements. This is often used as a way to “float” an image or artwork above other interactive elements, or to create a “dead zone” on the page to prevent tapping. A super button must have both a normal and a click state, and must have a valid action. This script converts the selected object(s) to such a button. The action that is created by the script is a “Go To Page” action, set to the current page. So if you later move the button to a different page, or insert or remove pages before the page the button is on, you will need to adjust the page number of the action.
This script helps automate the process of creating the 70px thumbnail required by the DPS-generated automatic table of contents. The script will create a new 70px square InDesign file with the proper document settings, copy the selected page items to the new document, resize the page items to fit on the new tiny InDesign page, and center the items on the page. Then the script saves the new 70px document as thumbnail.indd in the same folder as the InDesign file. Any existing thumbnail.indd file in the folder is overwritten. It is then intended that you spend a couple of moments sizing and positioning the objects on the page as desired, and then run the next script.
DPS thumbnail-export jpeg
This script is intended to be used with the DPS thumbnail-create script. It will export the open thumbnail.indd file to a 70px square jpeg file ready to use for the automatic DPS-generated table of contents. The proper jpeg settings are used for the export, and the file is named thumbnail.jpg and stored in the same folder as the InDesign file. Any existing thumbnail.jpg file in the folder is overwritten.
DPS thumbnail-export png opaque
This script is identical to the DPS thumbnail-export jpeg script, but it exports a png file with an opaque background instead of a jpeg. Why png vs jpeg? There is often a quality different between jpeg and png export from InDesign for tiny images, as well as a file size difference. You may export both a jpeg and png and then choose which you prefer.
DPS thumbnail-export png transparent
This script is identical to the DPS thumbnail-export jpeg script, but it exports a png file with a transparent background instead of a jpeg. Any areas that are just “empty page” in InDesign will be transparent in the resulting png file.
To use this script just double-click on the DPS thumbnail-export png transparent script.
Sometimes, particularly when creating large scrollable frame objects, you need the pasteboard to be larger. Sure this can be done in preferences, but this script provides a quick way to enlarge the horizontal pasteboard to 3000 pixels wide.
Sometimes, particularly when creating large scrollable frame objects, you need the pasteboard to be larger. Sure this can be done in preferences, but this script provides a quick way to enlarge the vertical pasteboard to 3000 pixels high.
Paste objects inside frame
Creating scrollable frames requires pasting the objects to scroll inside another frame. This script helps automate that process. Particularly useful for creating scrollable frames to keep text sharp in raster multi-state objects, per Bob Levine’s blog post.
Replace spaces with entity
When creating a button that sends an email, per James Lockman’s post, it is sometimes convenient to build the code for the email string, such as “mailto:email@example.com?subject=Tax%20Time&body=Pay%20your%20taxes!<br>http://www.irs.gov.pdf” on the pasteboard. When you do, you need to replace any spaces in the email string with a “%20” entity. This script does that painlessly.
Replace entities with spaces
This script does the opposite of the Replace spaces with entity script, described above.
States-alpha sort ascending
States-alpha sort descending
States-numeric sort ascending
States-numeric sort descending
When creating large, complex multi-state objects with many states, it sometimes becomes necessary to manipulate the order of the states. These scripts help with that task in various ways. The names are pretty self-explanatory.
1 user license: $19.95 USD. Please purchase 1 license per user.