Advertisement
Tools & Tips

Quick Tip: An Introduction to Scripts in InDesign CS5

by

Scripting is a sure way to save time when performing repetitive tasks within InDesign. Scripts will automatically complete a task for the user, for example, creating crop marks to a specified object. The following tut will serve as an introduction to scripting and will explore a few of the useful sample scripts already contained within InDesign.


Step 1

Start by firing up InDesign, create a new document or work on an existing project. For the purposes of the tut I am setting up an A4 landscape document with these specs.


Step 2

To test out a few scripts we need to draw some objects. From the toolbox select the Rectangle Tool and draw a rectangle. Next, select the Ellipse tool from the tool box and draw a circle. Hold down the Shift key to retain aspect ratio when drawing the shapes. Also remember to fill the objects with color or add a stroke.


Step 3

To locate the scripts go to Window > Utilities > Scripts, and the Scripts window will appear.


Step 4

Open the Application folder by double clicking on the name or clicking once on triangle icon. Then repeat the process for the Samples and Applescript folders.


Step 5

You will now be presented with a list of sample scripts ready for use. So let's take a look at two useful scripts to get you started.


Step 6

Using the Selection Tool from the toolbox, select one of the objects by clicking on it once. Now navigate to the Script panel and double click on CropMarks.applescript. A floating panel will appear.


Step 7

The panel is divided into three areas, Crop Marks, Registration Marks and Draw Marks Around. For the purposes of this tut deselect Registration Marks and in the Crop Marks section set the options to suit your project, my selections are below.

Once set, hit OK. The object will now have crop marks added as specified. Let's take a look at another.


Step 8

Now select the second object with your selection tool and run the AlignToPage.applescript from the Script list. Again you will be presented with a floating panel. The options are pretty self explanatory. However, this script is great for centering objects to the page. Simply select Center on the Vertical option and Center on the Horizontal option and click OK.

The object will be aligned to the center of the page.


Conclusion

By integrating scripts within your workflow you can save a huge amount of time, as well as adding more capability to the InDesign program. The scripts I have demonstrated are only the tip of the iceberg, I urge you to experiment with the other Scripts contained in the Sample folder. Scripts that are worthy of a mention are, MakeGrid, SelectObjects and AddGuides. Below is a link to the definitions of each script.

Related Posts
  • Design & Illustration
    Photoshop
    Create a 3D, Fruit-Textured, Text EffectOrange text preview 400x277
    Use a combination of Modo, Photoshop, and Illustrator to create a text effect made of oranges.Read More…
  • Design & Illustration
    Designing
    Create a Spring Wedding Invitation for Die Cutting and Embossing in InDesignHubpreviewwedding
    In this tutorial you'll learn how to set up your own fold-out invitation design using Adobe InDesign. We'll look at how using Layers can allow you to set up design elements intended for die cutting and embossing, which can add a really beautiful touch to your final cards.Read More…
  • Design & Illustration
    Designing
    Create a Stand-Out Portfolio Book in InDesign: Part Two - the InsidePreview image 400by400
    In the second part of this two-part tutorial you'll learn how to design the interior pages for an Illustration Portfolio book intended for print, in Adobe InDesign. We will create a number of different page layouts and explore how layout styles can showcase your work to its best potential. In this tutorial I will be using vector assets from other Tuts+ tutorials, but the tutorial is designed so that you can interchange these with your own illustration work to create your personal portfolio. Refer to part one for creating the portfolio cover.Read More…
  • Design & Illustration
    Web Roundups
    The A to Z of Adobe IllustratorPre400
    The Adobe Illustrator toolbar is jam-packed with useful tools you may have used a million times or that may be entirely unfamiliar to you. Add to that the numerous panels and effects, and this program can create most any type of artwork. This A–Z list breaks down every tool in the Illustrator toolbar, with a link to a quick tip here on Tuts+ or a description of what each tool can do.Read More…
  • Design & Illustration
    Designing
    Create a Trendy One Page, Print Ready Newsletter in Adobe InDesignPreview retina image v2
    A newsletter is a common business tool to inform customers and employees of company accomplishments and upcoming events. Adobe InDesign is the perfect software to do this. In this tutorial, you'll learn how to properly set up the document with bleed, create columns and set guides, set paragraph styles, and utilize text column breaks and text threading options. We'll start by creating graphical elements in Adobe Illustrator and then bringing them over to InDesign to create our newsletter. Finally, you'll save the file as a print ready PDF for your local printer or Online printing service. Read More…
  • Design & Illustration
    Designing
    Design a Custom, Print Ready Pocket Folder in Adobe InDesignSpokesfolks400
    A pocket folder is a very powerful business device when created the right way. In this tutorial, you'll learn how to set up a dieline, create a multi-page spread with bleed to accommodate your dieline, and apply a full design to the exterior and interior of the pocket folder in Adobe InDesign. This pocket folder will highlight two popular folder styles in one: the hidden pocket and standard pocket. Finally, you'll learn how to save your print ready file for delivery to your printer.Read More…