Beat the Clock with Scripts for Adobe InDesign | Rene Andritsch | Skillshare

Playback Speed

  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x

Beat the Clock with Scripts for Adobe InDesign

teacher avatar Rene Andritsch, Graphic and Motion Designer

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Watch this class and thousands more

Get unlimited access to every class
Taught by industry leaders & working professionals
Topics include illustration, design, photography, and more

Lessons in This Class

27 Lessons (1h 10m)
    • 1. Class Intro

    • 2. Installing Scripts

    • 3. Editing Scripts

    • 4. Assigning Keyboard Shortcuts to Scripts

    • 5. Adjusting Baseline Grid, Margins and Columns

    • 6. Jumping to Master Pages

    • 7. Applying Language Settings

    • 8. Cleaning Your Documents of Unused Items

    • 9. Saving and Closing Several Open Documents at Once

    • 10. Adjusting x-Height and Cap-Height

    • 11. Custom Kerning

    • 12. Converting Text Columns to Text Frames

    • 13. Controlling Text Wrap

    • 14. Generating Numbers

    • 15. Splitting Text

    • 16. Swapping images

    • 17. Replacing Pages of Placed Multi-Page Documents

    • 18. Creating a Link for an Embedded Image

    • 19. Renaming Images Inside InDesign

    • 20. Creating an Image Catalogue

    • 21. Sorting Tables

    • 22. Transposing Tables

    • 23. Batch-Setting the Width of Table Columns

    • 24. Calculating Table Data

    • 25. Creating Crop Marks

    • 26. Export PDFs in Blocks

    • 27. Good Bye

  • --
  • Beginner level
  • Intermediate level
  • Advanced level
  • All levels
  • Beg/Int level
  • Int/Adv level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.





About This Class


This class is about using free scripts for Adobe InDesign that will help you to streamline your workflow and to get your work done faster. No programming required. With this class I want to encourage you to use scripts in Adobe InDesign more often and enjoy the freed up time with the things you love. 

The content is geared towards InDesign users who want to expand their toolset and ramp up their efficiency in working with the app. Students should have a basic understanding of the core features of InDesign. This is not a course about learning how to use InDesign.

Scripts for InDesign are small programmes which can be run within InDesign to get certain tasks done automatically. InDesign already comes with some scripts preinstalled. There are many additional and useful scripts available for free from developers from all over the world.

You can find all resources four this class in the “Your Project” tab just below the video player. They are located in the zip-file called “SKILLSHARE”

What you will learn in this class

Category Getting Started

  • Installing scripts in InDesign
  • Editing scripts in the ExtendScript Toolkit (outdated – this will be updated until mid March 2021)
  • Adding keyboard shortcuts to execute scripts

Category Document

  • Adjusting baseline grid and margins in a unified UI
  • Jumping to Master pages
  • Automatically apply the correct language settings to all text frames in a document
  • Cleaning your document of unused items and styles
  • Creating Crop and Registration Marks the easy way
  • Saving and closing several documents at once

Category Typography

  • Calculating the x-height of a font
  • Automatically setting the visual character size of different fonts
  • Custom kerning for a typeface

Category Text

  • Controlling text wrap for a more balanced look
  • Splitting text the way you want
  • Generating numbers
  • Converting multicolumn text frames in separate threaded text frames

Category Images

  • Swapping images in frames
  • Replacing pages of placed multi-page files
  • Creating a link for an embedded image
  • Renaming images directly in InDesign
  • Easily creating an image catalogue

Category Tables

  • Sorting tables
  • Transposing tables
  • Batch-setting the width of table columns
  • Calculating table data

Category Export

  • Exporting PDFs in blocks

Meet Your Teacher

Teacher Profile Image

Rene Andritsch

Graphic and Motion Designer


I’m a self employed graphic designer with a focus on Editorial and Motion Design. I have successfully been running my design studio since 1999. I love to learn something new every day and I enjoy passing on my knowledge and to help improve other designers’ workflows.

I’m an Adobe Certified Expert for InDesign as well as a member of the InDesign PreRelease Programme. I teach InDesign in workshops in Vienna as well as at the New Design University in St. Pölten, Austria.

Below you see my first Skillshare Class on Scripts in Adobe InDesign. I hope it is useful to you and you will enjoy watching it.

See full profile

Class Ratings

Expectations Met?
  • Exceeded!
  • Yes
  • Somewhat
  • Not really
Reviews Archive

In October 2018, we updated our review system to improve the way we collect feedback. Below are the reviews written before that update.

Why Join Skillshare?

Take award-winning Skillshare Original Classes

Each class has short lessons, hands-on projects

Your membership supports Skillshare teachers

Learn From Anywhere

Take classes on the go with the Skillshare app. Stream or download to watch on the plane, the subway, or wherever you learn best.


1. Class Intro: I welcome to beat the clock with the scripts for Adobe in Design, Iranian Rich, a graphic designer from Vienna, Austria. And with this class, I would like to encourage you to your script in inside. More often, people speed up your workflow substantially. I will show you what a script, these and how to install it. Then we go over many free strips that will have you and getting your work done faster. You will learn how to work with streets that assists with text tables, images, typography and documents for a class project ever provided to page layout of a magazine. He will get a task like he would get from an editor to do corrections and deadly out. Go through the corrections with and without streets and see for yourself how much time you can see. Scripts can be helpful in any project, so let's get started 2. Installing Scripts: Hello and welcome to my class. First of all, thank you for coming with me onto this journey to the land of scripts. In any sign, all the scripts were working with will also work with low versions off any sign like CIA six prior to Creative Cloud or even lower. If you download scripts for yourself, then usually two developers state which versions of innocent are supported. If you've never worked with scripts in inside before, then you might ask yourself where to find them. Just go up to the window menu down to utilities and then two scripts. Now you're presented with the scripts panel, and inside this panel you will find two photos. There is the application for DNA. This contains scripts the cheap within the sign, and we will go over that later on and there will be the user photo. If you never installed the script before, this folder should be empty for ease of use. I recommend that you talk to scripts panel somewhere between your minimized Aikins, move it up and down and release it at the point that's convenient for you. In this case, I have the minimized ICANN's and when you click on it. They need opens up now let's go through the in starting process together in the download section off the class project, you will find a suit filed once you downloaded it and sipped the file. And inside the folder you will find the class project and the Ford with order scripts we need now Quebec to in design and in India. Sign once you opened the scripts panel right click on the user folder and reveal it in Finder or in the Windows Explorer. So this will be the scripts panel Florida you just opened to install a regular script. All you have to do is struck the script into scripts panel Foda. We can do this with all the force that they're here except for the startup folder. And once you dropped the files into the scripts panel, they should be available in any sign. I change back and there you concede. Unfortunately, the alphabetical order is not in place, and this is due to a buck in any sign that was present at the time of recording. To have the script, spend a folder available all the time and to be able to easily in store scripts I recommend to Dr Scripts Panel Folder into your sidebar. In my quest on Windows, you can create an alliance. Open the folder to the task for quick access. There is another kind of scripts in unison, which is called a startup script, and those scripts create new menu items and even at new functionality to in design. Those creeps have to be installed in a separate place, and I will show you how to do that. Now the startup scripts recite in the EPF Order off Indecent. So let's open up in your window. Go to the applications. Let's look for the in the same folder and in any sand fulla there will be a scripts forward as well. In this Scripts folder, there is the Startup Scripts folder in a folder you have downloaded. There is this folder with Double Zero start up, and this one contains two scripts that use startup scripts. First, take this swap images JSX file and drop it into the Startup Scripts folder. To do that, you might have to put in your admin potentials, and we also have to do this with the second script. It's located in this folder and its court load out of Sparta. Take it and also drop it into the startup scripts holder. The remaining fail has to go into the scripts. Penaflorida. Let's selected in the sidebar. I switch to this view, go to the table section and drop in writing. Now you have to restart any sign so the startup scripts can take effect while doing so. Get yourself a coffee or tea. You were indeed See you in the next lesson. 3. Editing Scripts: In this lesson, I will show you what the script is and how you can edit it. Let's go to the scripts panel. Either wider, we know command, utilities and scripts, or directly with the I can click on it and open it up. As already discussed, we have the two folders, application and user. For this lesson, we take a look at the application folder. Inside the application folder, there is a samples folder, and this folder contains all the scripts that come with InDesign. We will be only concerned with the JavaScript folder. Both folders contain the same scripts just in different formats. 12, the JavaScript folder open and look for the script chord select objects. The select objects script lets you, as it says, select objects on your page. Let's double-click it. And you are provided with an options dialog where you can select what sort of objects you want to choose. What I don't like about the script is that when you invoke it, that all checkboxes are already checked. If I only want to have text frames, I would have to de-select everything to get to this option and then hit Okay, then it would select my text frame. Arad preferred if they were not checked. So I could just choose one option. I like. How can we do that? Go to the script, and then right-click on the script name. Then you can choose Show in Finder. In Windows, it would be show in Explorer. And the script gets shown in the Finder. So the only thing you have to do now is open your JavaScript fail, which is this one. In a text editor. I use text made on macOS. Just pull it up here so it will be opened. And now you can see all the JavaScript code of the script, which does not concern us. We only have a look at this block here. And you can see that here it says checked states true, which means that when the script is started, you can see all the checkbox is checked. And the word true is responsible for that. So we want to have everything unchecked. So we will change the true to force. And I will now just copy this and paste it here everywhere. Once you paste it, all the force states, you should just save the file. And you might be prompted by operating system that you should put in your administrator credentials. Then hit Okay, the script will be saved. You can close the script. And when you go back to InDesign, it will already be updated. And when I double-click the script now, you can see that all the check boxes are empty and now I can just select a single option, like I wanted to do before it, okay? And my text frame gets selected. 4. Assigning Keyboard Shortcuts to Scripts: toe work even more efficiently with scripts. I like to assign keyboard shortcuts to them. So instead of having to go to the scripts panel and clicking on a script, we could use a keyboard shortcut. Let's assign a keyboard shortcut to the Select Objects script. To do that, we go to the edit menu, and almost at the bottom, you will find the entry keyboard shortcuts. In this dialogue, you can assign keyboard shortcuts to almost anything available in any sin. As we're looking for scripts, we have to go to the product area and look for the entry scripts once you click it or the scripts that are in stored are away little. Now let's look for a Select Objects script, hardly entries for the same pattern, and the pattern is that you have looked for a folder and then for the script name. As you can see here, you have to for the application than the folder Samper's then the folder paper script. But we want to have to fall a JavaScript, its core down and in the fall of travel script. In this case, it's empathetically ordered. We will find the Select Objects script in this area can see that there is no current shortcut assigned. So let's do that clicking the new shortcut entry field and then hit the shortcut you want to assign. I would like to have it with the older option key and DS key. So I just told the old auction key and also typing s. You immediately get the feedback that this shortcut is not assigned it. If you use a shortcut that's already assigned, like command this, then you get the feet bake that this is assigned to the action safe. If you're prompted with her shortcuts that you don't use that often or a function, you don't use that often, then you could assign it nonetheless and override it. But in our case, let's go with all option ists. Now we click the assigned button, and if you never modified the Ford keyboard shortcut set, then Adobe asks you to read and you set. This new set is based on the Defour said so order. Other keyboard shortcuts will be there and we just click. Yes, let's give it a name and hit. OK, now we have the option s key assigned to our script as we are already in the keyboard. Shortcuts options there. Look, let's assign another keyboard shortcut. We will need that later, and I can show you a nice functionality. There will be a script that deals with tables, and so I also wanted to work. If we're working in a table, I will go down the list. And after the applications, we see all too. Column number two I will click that, and now to assign a short cut that only works in a special context. Click on this drop down menu, and then we switch from default to tables. This way, we can only use the shortcut, but we have Our cars are in a table. The good thing about that is it doesn't conflict with other keyboard shortcuts that might be a science to already existing functions. So let's go to the new shortcut entry field and hit Old option and see. As you can see, this is unassigned and assigned that as well. Now let's safe and exit the options dialog. Please feel free to use your own shortcuts. The ones I showed you are just suggestions. And now let's have fun with scripts 5. Adjusting Baseline Grid, Margins and Columns: The first script we look at is from Holland Steger, and you will find it in the user folder on the document. The script is, Court said. The baseline grid ended unifies the baseline great auctions in the margins and columns settings as they used to script on a regular bases. I also assigned the keyboard shortcut to it, which in my case, is Ault Option G. If you don't know how to assign keyboard shortcuts, please watch Lesson number three. Usually setting your baseline grid and the marches and columns is a two step operation. First, you go to the Indies. I'm preferences into the grits, and once you set those, you go to the layout and you and there go to the margins and columns. Instead of doing that, you can just click the set a baseline grid script, and you will be presented with this options dialog. It's close to scripts panel. As you can see on the left side, we have our baseline great options, and on the right side we have the margins and columns options. Its first go over our baseline grid options. At the far left, you can set your units and also make the great visible or invisible. This is the first advantage off the script because you don't have a preview in the great the Options dialog box in the preferences. When hovering over a button, you get a to tip. The first drop down menu is the same. It's in the baseline. Great Options Dialog box. There you can set the great relative to the top off the page or the top off the margins. In this entry fields, you can set the start and the in credit off your base language and to the right. We have patents that at new functionality to in design. If you already have a text frame on your page, then you can use those buttons to either adjust to start off degree to the first base line off the selection. Or you could also adjust agreed to the last baseline off the selection. If you want to have your text aligns to the bottom margin, then just click this button with the button next to the increment. You can also adjust the great to the leading off your selection like this. If you feel the need to divide your grades, you can do that by half or even 1/3. The display tape lets you set the color for your great, and you can put in even your own values in those entry fields. Then said the viewing threshold. I like it at 50% because he assume out, I still want to see the baseline great sometimes. And he you can set the greets to the back or in the front. Next. Let's have a look at the marches and columns, and for that I just turn off the baseline grid so we can see it better. Just as a comparison. Let's get the marches and corns from the layout menu, and now you can see that we have those entry fields. They're reflected at the bottom columns, and they gotta on the right here. But there are some more options and additional functionality with the script. I close the dialogue again and let's go over these new functions. Now you can also set a negative page, which makes more sense if we have a spread a double page, so I will jump to page two. I opened the pages panel. You could also do that by the Windows menu. Close it year and say window pages. So jump to Page two and also feed to spread to the view. Now you can see the active page I can has changed to a spread Page two and page three. And now, if we want to adjust our marches and columns, which has could click one off those Aiken's. And now the active page is a page to every setting I change will be reflected on the left page. First, let's do it with the entry fields at the bottom. Let's set the top margins, for instance, to a 40 millimeters instantly reflected here with the Jane I can. You can make all the sad things the same like this. Sometimes it takes a little time that the values get updated but doesn't do any harm to the functionality. So let's set that back to 20 and now we take a look at the buttons in the centre with those buttons in the centre, you can adjust the margin stone already existing text frame, so let's select the text frame first, and then we could just push the button top and the margins adjusted to the top of the text frame. Same goes with left bottom it right. And if you want to adjust, all of the marching still takes frame. Just hit this button on the left here so you can see it works like that. Let's set the march, Inspector 20 millimeters. So we see them better. There is a nice new option which lets you flip the Marchionne's so you can't just mirror them on the right side like this. Another nice feature is that once you have adjusted your margins on your pages, you could transfer them to a master page. There is also this nice tool tip which tells you that if you just click now, it will transfer the values to the applied master page. If you shift, click it. Those values will be transferred to left and right Master page. And with old clicking like this, you would even get another options. There. Look. And here you could select to which kind of master page you want. Apply those settings I cancel out of here. Let's shift, click and a plate to the left and right. Master pH. You also get feet big on the top. And if I go to the master pitches now, you can see the margins are adjusted just like we did. Let's also quickly go into the options. And in these options, you can set that the fort extreme behavior like setting an object style. What kind of first base line you have with S and K paid leading exit and fixing offset? Or is it some generous said things for your document. And here is some fancy future you won't find in indusind somewhere else. So it just turn on the base language to show you what I mean. You could change the column direction and even the great will change with it. Let's create some condoms first. So I said columns to three. When they got to reform, change back to the options. And then for the active page, which was Page two, I would say the column direction to Vertical, and you get something like this that's changed it back and turn off the baseline Great again. On the right side, you have three more buttons that you can reduce the opacity off the window. Then you have refresh and also to close creep button 6. Jumping to Master Pages: in this lesson, I will show you a script from Peter Carroll. It allows you to trump instantly from one of your pages to the related master page. And the script is also most effective if you assign a keyboard shortcut to it. And still in the Documents section, we will talk about go to Master Page script. I assigned the keyboard shortcut option or old M, and this way I can even access it while this creates panel is closed. We're working in a document with several pages now. I opened up the pages pendulum, and as you can see, we have six pages and every two pages. We have a different master page. So, for instance, if a jump to page four, we're Master Ph beat his supply to, and I want to go to the master pitch itself, I would have to go all the way up with the mouse and then double click the master page so I can access it a jumping to page for and also close to pages panel. Now, after playing the keyboard shortcut, I just he told em, and I'm directly taken to the master page. If opened the pages panel again, you can see your right here, and we can now make change to the Master page 7. Applying Language Settings: The next script is by a French developer named LF Cho Yang. And this script allows you to apply language settings to text frames and also styles. I opened up the document from disk You Show Class Florida, which you downloaded in the first step when we installed the scripts. And the document can be found in the class project for her or the text frames in this layout. Have language setting supplied, and if a switch to the type tour with the short cutie and click into a text frame, you can see we have the language setting English UK. You can also find it in the headlines for images and also in this text, a switch back to the selection tool. And they find all of those language settings in paragraph styles here in the leading and the image title and or to the image description. So just let's open up, for instance, the image description and there in the advanced character former U confined language for spell checks and having well working half a nation, it is important to have the correct language setting supply to your text frames the council out of this, so if you would like to use this layout in a different language. You would have to change all those paragraph styles and go into each of one of them to change the language settings. This can be done with this group. This well and for convenience are also applied the keyboard shortcut to the script, which in my case, is hold option L. So in a click option, Ella, this mold airlock pops up and they can choose menu language. Now I want to change it to English USA for the U. S. Market. It's OK, and all of my language settings are changed to English us. This is also reflected in my styles. So let's go to the Burger Styles panel and at its Teledyne and in the advanced character. For months, you will see that the language has been changed to English. You say as well I cancel out a switch to the type tour when I click into one off the text frames. Now you can see English USA supplied or so here in these text 8. Cleaning Your Documents of Unused Items: In this video, I will introduce you to two ways how you can quickly clean your document off unused items. The first only deals with objects in the 2nd 1 or cities with unused styles. Let's open up the scripts panel and inside the document folder, you will find the cleanup forwarder, which contains to clean apace board script and the delete unused items. Script. Clean Up a Sport was written by Marco three and treat unused items was written by Hans Hastler. To better see what's going on in the document that changed a view from preview to normal and soon out a little so you can see that we have three pages head lots of stuff on the pace board. With the cleanup a sport script, you can define an area around your pages for which you want to remove objects. Cleaning up your documents has several advantages. If you open up the links panel, for instance, you can see that in this layout we have three images that are on the pace board. If you remove them, our least in the links panel will get shorter. And when saving a document, the files as well also get smaller. Let's double click the cleanup. A sports group. You're presented with a window here. You can define where your objects should be removed from should they be outside of the bleed, it's luck. You can also define a custom page offset. You can even include your master pages and also preserve threaded text frames. For this document, I will just remove everything outside the bleat. A select bleed. It's OK and as you see 18 items have been removed is also nice because in the links panel how the least has been reduced to three entries. I know. Open up the paragraphs dies panel There were so some paragraphs dies, but I don't know which ones are used and which are not going back to the scripts panel. I now click the Delete Unused Items script. The first prompt tells me that no objects have been deleted that has already been done. Better clean up paste board script. But now it tells me that there are three deleted styles, one unused paragraph style and two unused to characters house. I hit OK and it also tells me that five colors watches have been deleted, which I did not use in this document. With those two scripts, you can quickly and easily remove or your unused items and get smaller document sizes as well as tidied up documents. 9. Saving and Closing Several Open Documents at Once: Let's rip up the scripts from the document section with an efficiency tip. If you open up the scripts panel in the Documents section, you will find two scripts one that saves and close all open documents and one that closes or open documents without saving for the brave phones those two scripts especially used for if you're working with book documents and have a lot off single documents open and want to save and close them all at once. If you go up to the tapes, you will recognize this as the risk which indicates that the document has been ordered and not saved. So now I want to perform this action, save all the documents and close them. I just double click the script and all my documents get saved and closed. And for those of you who like toe work with keyboard shortcuts here too quick tips. There are actually two keyboard shortcuts that allow you to save all the open documents, which is command or control. All achieved s as you see all the s. The risks are gone. And also to close down all open documents which is command or control all chief W 10. Adjusting x-Height and Cap-Height: in this lesson, I will talk about two strips that will help you with your typography. We will be calculating and adjusting Excite and also setting kept height. First, let's open up the scripts order and in the typography section we will have the folder with Excite Tours, and in this one you will find three scripts excites to get X height and kept height. This lesson is updated from an older version, and the update was made on January 4th 2000 and 19. The updates occurred because Roland Vega made an update to his ex Height script, which now is able to copy measurements, which is quite convenient so we can put it into the other script and have a much more streamlined workflow. The other two scripts X hates to and kept hate to from Garrett's in German. So first, let's go over some basics. The X height is the measurement that is taken from the baseline off a character to it's exciting. Adjusting the X height off different phones is important if you want to mix and match different funds. So, for instance, like here we have Helvetica bold In 64 points, you can see the Excite is much larger than from Baskerville in 64 points and we want to try to get those two funds to the same height. So first of all, I select the letter in basketball semi board DoubleClick. They get X height script. Now we present with this option window you can also see on the X height measurements and its values in millimeters and also in points. So let's take a measure appear Get the information off the typeface the front used and the size. And here the readings off the X height in millimeters and points. So let's copy that we can close this window again and now we want to adjust the X height off this Helvetica boat. Therefore, we click the excites to script and paste the values we copy before with command or control V. So now we have these measurements simply click OK. And as you can see here, Baskerville Bold 64 points has been adjusted to 48 points and 1 77 so optically you can see that the excites doesn't match exactly the excite off the basketball, so you would have to do some slight adjustments still, to make it optically perfect, and that's a good approach to mix different fonts. Let's head over to the next page. As a bonus, I will also show you how you can adjust the kept height. So let's hope into their scripts panel again, where you can find the kept heights to script. And first we have to take a measurement again. But unfortunately, there is no script that measures they kept height, so we have to do it with a work around and make sure you're selecting a letter that is exactly even with the cap height. So, for instance, he had the A with the A selected I start to drag and while a drag HOLTE command and the option key or control and option key and you can see you get a new I can for the cursor, which means a copy, and it will copy the letter into a new frame like this. If you are not able to do that, you have to set the preference so exit out of the extreme its commander control K, and under the type menu, you have to enable drag and drop text editing in Leo, you hit okay to get the exact excite. We first have to convert this A into outlines. So I go to the type menu and create outlines Who hit the shortcut command shift? Oh, so now we get these measurements. 45 Thought 354 points. I just hit the H to select the measurement. Copied it with command control. See, then I will select the Baskerville. Click the kept height to a script, paste the value with command or control V hit. Okay, and you can see we adjusted the kept height. So now, just for demonstration. Let's do it the other way around. We want to get the Helvetica bold toe the same kept height than the basketball. So I see like the A first starts to drag it, commander control and old or option to get this new curse I can. So I will have the indicator that it's going to be copied into a new frame release. And here's our new frame with the letter. So, like before, I will convert it to outlines either via the type menu, create outlines, or you can hit Commander Control shift Oh, with the keyboard shortcut. So now let's take the measurement again just click the H hit Commander Control. See, To copy the measure, select the Helvetica boat that will click the camp height to script, pace to value with command. See Hit! Okay. And we adjusted to the Cape height of daily tika and the basketball. 11. Custom Kerning: the next week we will learn to use is one of my most favorite scripts for in design. It was written by Peter Carroll, and it allows you to define custom current ing for any typeface you use in in design. In this lesson, I will show you some basics off the script to get you going. But that script is so powerful that there will be an extra class on skin share on that topic, so watch out for it. Let's go over some basics. First, let's look at this text frame. I go in there with the type tool you can see. This is Helvetica Boat, and there are lots of gaps between certain character combinations. For instance, why N e. There is a wide gap between one and zero, also between one and nine one and four on an eight. The tea and the E could need some burning, and also between one and two. I escaped out of the text frame and select this one holding the tiki. I can talk to the type tool and to apply some quick and dirty solution. I could switch the current ing from metrics to optical, but if we look closely. We can still see there would be some cunning necessary here with the why and with the numbers. One factor don't like about using this technique. Is that all the current data that has been put into the front by the type designers are now lost, so it's keep out of it again. Trouble to the type tool and said it back from optical to metrics. I prefer to set my custom coding pairs and quote expresses can be done with the software, and in any sign, we can do it with a script. Let's go to the script panel and inside the typography folder, we have the cunning folder. It's open up the folder. You will find the script and the text file the text files unnecessary that discreet will work correctly. Each text file contains the current data for the front You want to have current. You also have to make sure that you get the naming off the text files correctly so that the turning script works as expected. Let's go inside the text frame, and I've been the control panel you can see in. The sign shows me that this is Helvetica for those text files. You have to use the name off the front exactly as it is written here in the control panel and have it preceded by an underlying and the bird current. Before we start current ing, I will show you what this text file is all about. A right click the file here in the list to reveal it in Finder, Windows Explorer. Then I will open it up in a text editor I'm gonna make and I will use BB eight it because it's a very powerful text editor that's also free. Now let's a justice size a little bit. And I will also adjust the size of the in the sand windows so I can see, but with at the same time in this text fell, you can already see some cunning data, and I will walk you through how to set this up on your own. In the first line, you can see the front weight and here you also have to take care that it's written exactly like this. The front way tested be preceded by three equal signs, and it has to be written as it shows up here in the control panel for the bold font. Wait, for instance, he would type in three equal science, followed by the world gold. Now let's talk about what the numbers stand for. In this line, you can see the Kernan pair one and zero and using some taps to line up those numbers, you can define a current in value. In this case, I use minus 60 below. In this line, you can already see an advanced feature, which is a group of cunning. Pierce. If one is followed by a zero or a one occurring off minus 60 should be applied to group. Certain characters together used to square briquettes. As you can see in this line, the same goes for characters that are preceded by certain characters. For instance, if I have one that's preceded by a zero or innate, there will be a turning off minus 100 applied. Now, let's take a look how we get to those helpers I go back to in design and with the type tool . I just click inside this text frame. Here we have the letter Y and the letter E, and to apply some turning. I used the all key and the left or right arrow key. So I hit Ault and then moved to eat towards the Why. Let's say we want to go with minus 115 which stated up here. Now we take a quick look which funk we have adjusted its Helvetica bold go into our text file. Here is the bold front weight. We create a new line just with the enter key and the type why and e that's all Kernan pair thing. Go to bride with the tab key and write down minus 115. It's safe. And now this value is also part off our list if the one is followed by a 01 that has already been covered. But now in these documents, they're some new numbers. I want to add the nine and before that, see if you also contend with occurring off minus sixties, where again used the old and left a rookie, so this would be a value off 60. Let's say that's okay. And now we could add to the number nine to this group. What about our number four? I current it to the left and maybe regards with minus 60 for the four, so we at the four to the group as well. Next, they wanna just the one in the eighth. So I go in between one and eight current it with the left, Hiroki and the old key. And let's also go with minus 60 on this one. You can see the minus 60 up here. And so we put in the number eight in our group as well. What's not yet covered is the current between Syria and one. So let's do that as well trusted a little bit. And in this case, maybe we go with minus 40. So I create a new line, type one and zero. Go over here with the tap keys and put in minus 40. Up here, I just take out one off the taps to keep order my numbers lined up. Let's deal with the next one. That's the current between the tea and the your Just wanna have a little bit. It isn't tells me that this has a value of minus 114 so let's put that in the least as well . We have the current in between Capital T and Lower Casey. Go to the right with the tab key and typing minus 114. Lastly, we want to adjust the current between one and two. I go in there, turn it again with the old key and the left, a rookie. And let's say for this example, we want to go with occurring off minus 100 like this. That's also add that to the list. I go into the next line, type in one and two, go over with the tap keys and write down a turning off minus 100. Now, with Commander Control s I safe the turning data in a text file. Let's change back to any sign already used the size of the script. Spend a little bit so that we can see what's happening. And now I double click the turning script, as I also used to fund that their sons in this document descript tells me that it did not find any cunning data for it. All other cunning payers have been dealt with, so imagine how quickly you could current a document that even exists off hundreds of pages with this creep. If you want to set the turning data back to its metrics, just go to the text file instead of having the Kernan data type in him and save it. Now when you run the script all off, the cunning data that comes with the phone is restored. I had escaped to quit descript and let's put back in our minus 60 for this group of characters. Save it, run the script and now we have our cunning like we want it. 12. Converting Text Columns to Text Frames: The next script is a very useful script for editorial design, and it was written by Steve, where him and one of matting clan, this script allows you to convert multi column text frames like this into single threaded text frames. With those single text frames, you would have much more control over their separate columns, and you could adjust them as you wish. Let's go to the scripts panel and in the text folder, you will find the script columns two frames. You have to select the text frame first. We already did it, and now let's click descript. After the Scriptures run, you can see that the columns were converted to single text frames. Let's elect those text frames and let's go up to the view menu so we can see that those text frames a threaded. Now I have perfect control over every single frame, and I can adjust him as I want to 13. Controlling Text Wrap: Now let's have a look how we can gain more control over our text rip with this group from Dave Saunders. I take this object and place it between the two columns and hitting the A key a switch to the direct selector. Click away and click again into the circle because I only want to have the circle with a text rep applied to quickly open the text rip options, I hold the old key and click the text rib. Now I click the econ for the wrap around the object shape. Close the text rip options de select everything, and we can already see that it's visually imbalanced. We have much more room at the bottom than at the top. This is where rep nature comes into play. Let's open up the scripts panel and in the text folder, we have to forge a with rep nausea. Let's open up to get access to the script with still on the direct select to I click the Circle and now double click the rip, Not your script. We now get this nice little window with which we can control the rep or even the graphic. Let's move it out of the way a little. But if all did, he said to Rep, and the tool tip tells you that this is where you said the notching target. On the right side, you have to not sh multiplayer. With this number, you can control how much your rep is adjusted. Those two icons are for expanding your rip or even tightening it up, and the aero speak for themselves. So just let's move up our rep and see what happens. Let's go to preview mode and have a look at the effect, and this already looks a bit more balanced. I go back to normal view and let's adjust the position off the Circleville. Now I switch from rep toe item and move it a little bit to the left. That's once again go to the preview de select everything and let's say were content with it . 14. Generating Numbers: If, for any reason you have to create a large amount of numbers, it would be quite Aegis to type to Marlene. Also, here comes a script to rescue, and this script is from Stanislav Antos. Let's open up the scripts panel and in the text folder, you will find the script in this number generator. Before writing the script, we have to create the text frame, so let's switch to the type toe and created takes frame like this. In a way around the script, you will be presented with a window where you can adjust your settings. At first, you can juice which kind of sequence you want to create, like all in teachers, arithmetic sequences, geometric sequences, a random sequence or even get numbers out of a see SV fire. Then you can input your range. Let's say from one toe 50 and you could even choose to shuffle them. If you have over an option, you get a nice tool tip so that you know what's going on in the member for mid section you can, even though just how the numbers will be written, for instance, we have a preceding zero, if you like to have two numbers. You can have a grouping, and you can even add additional text before or after the numbers. You can define how the numbers are separated in this section. You can decide if the numbers output into the selected text frame or even saved as a separate to cease Wi Fi. Now let's hit okay, and it will lead to more columns to this text frame so we can see on others. I hate Commander Control. Be for text frame options and increase the number of columns to three. And he took a. Now our complete sequence of numbers is visible. This is a fast way to create large sequences off numbers. And if you want to have thes numbers in separate text frames, let's use the script from the next video. 15. Splitting Text: to be able to conveniently split this text into separate frames, we first have to download and install an extension for in design, right click the text file and to reveal it in Finder or Windows Explorer. Open to text fighting a word editor and copy the U R L to paste it into one of your process . The extension is free, and you just have to sign up for a sharp reductions newsletter. Go down to the bottom, sign up for the newsletter. You can always sign out of it. Then check your mail, download the extension after you downloaded the extension and sipped the file ending story , either for Macintosh A Windows during the process off installation, you might have to enter your Edmund potentials. Once the installation is complete, you even get a tip where to find the new extension. That's it. OK and switch back to in design. Disparate text extension should not be available in the application folder on the HR Protections and split text. Let's elect a text for him and double click the script. And in this window you can select your preferred split. I will go and have it split back paragraphs and for this demonstration. I also don't want to keep the original, so I don't check this option. I hit. OK, and now on, my numbers are being split into separate text frames. 16. Swapping images: the script in this lesson is a fun one, and it was written Backyard cinnamon. If you watch the lesson installing scripts and followed along, you should now have also this option available in your menu commands. As the Swap Images script is a startup script, it has added new functionality to any sign. You will not find it in the scripts panel, but the rather in the menu command. If you wanted to change those two images in the frames, you would have to copy the one image first, then copied the content off the one frame, paste it into the other frame just a size, copy the previously carpet image and paste it into the other frame. And once again, you would have to adjust it. Also, deleting this extra image frame would be necessary, so I go back to the beginning. Instead of doing all that, Let's elected to images right click on one off them, go down to swap images and click it. Now that was easy. The second possibility this startup script gives you is to swap places off two images. So while they're still selected, I right click on one of them, go down and select swap places. Now the co ordinates off the two images have been exchanged, and if you want to load your images in the place, cares there again. Select all of the image you want to address, right. Click on one of them, go down to load image in place cursor and click it. Now all your images are ready for a new placement. 17. Replacing Pages of Placed Multi-Page Documents: If you're from place fails. That consists of several pages. You will like this next script from John Hawkins. If you're on the script, it takes you immediately to the placing options. Instead of having to go through the placing their log again, it's open up the scripts panel, and you will find this script on the images. It's called Replace Page Chase X, as they used to script all the time. I also signed the keyboard shortcut treat, which in my case is old or option t A. Select this image frame. And, as you can see in the Links panel, it contains a page from our class project file. The number to the right indicates which pages used. This is Page two, and now I would like to place Patriot three instead of Page two. I close the links panel hit all the Option T, and I'm directly taken to the placing options. I select Page three. It's OK and I'm finished a select image frame again. If you run the script and council out of it without doing anything, you will get this aero message, but it doesn't matter. It will have no effect on the functionality off the script. This does not only work within design files, but also with P D EFS and Adobe Illustrator files. 18. Creating a Link for an Embedded Image: This script from Peter Cargill is especially helpful if I have to deal with embedded images . More images. Did you paste it from your clipboard to you in this and document this document pasted a screenshot from my sketcher project into the indecent document. And when you go to the links panel, you can see that there is no image right here. That's because I pasted the image from my clipboard. But this advantage to this is that I don't have any control over the image. I cannot read the original, and I don't have any information about the image, either. Let's close the links panel and go to the scripts panel in the Image folder. You will find the Scripps dump pasted images and when I click it, the script wants me to select the destination. I will use the desk up hit. Okay, Now, you can also choose between three file for months on a CPS. One is Che Peck and bonus PNG. And as I know that it was a screenshot. I choose the option for P and G. I want that the link is created and hit. OK, now two things happened. If you go to the links panel again, you will see that we have our image here in the list, and they also get additional information about its resolution and and what percentage it is placed. Furthermore, if you go to my desktop, I can see that the link has been created. Let's go back to any sign and the links panel, and here we can see that the name for the placed image is rather peculiar. How we will deal with that I will show you in the next lesson. 19. Renaming Images Inside InDesign: you're probably used to getting images with the names like DSC 90 72 or I am G 78783 Those numbers and letters don't mean much to us, so it would be more convenient to have a real proper name in the links panel as well. Fortunately, there is a fantastic script from Marium Tampa, which is court to Maxie Linge rename as they use it on a regular basis. I assigned the keyboard shortcut to the script as well. In my case, that's option or old plus R. Let's close the scripts panel and in the lesson before we unembedded this screenshot. Also, the resulting name was quite peculiar, so I would like to change the name to a proper name. I select the image in our hit old are and enter a new name for this image. This will be reflected in the links panel, and if you reveal the image in the McCoys finder or the Windows Explorer, then we can see that we also have this name reflected 20. Creating an Image Catalogue: If you want to create an image catalog for yourself or for your client, there's a nice creeped. The chips within the sign it's open up the scripts panel and in the application folder under samples and JavaScript, you will find the script image, cattle look, a double click the script, and I will use the images that a part of the class project. So I navigate to the class project into the links forwarder. It opened, and now I get this options there. Look from the image cutter Look here can define the rows and columns, or so the offset off the images if they should be fitted. And I can also include labels which will draw the information from the file name or other information in the file. That's it. OK, anything will create a new document in place. All the fires with their labors. Now you can trust export. This s a pdf and keep it for your reference, or send it to your client 21. Sorting Tables: Next up, we have a fantastic script from Bitter Carol, which lets you sore table scene in design to use the script. You also have to use the table functioning in design, and this is a very simple table they created. If I toggle the preview to normal with the W key, you can see that this is a table with a hetero and four entries, half the names off the lessons and the duration off the videos. Now let's have a look at how we can sort them open the script spell, and in the table section you will find the script that is called table sort. When you double click the script you presented with this window, where you can select several options, you consort with up to three columns and select. If the sorting takes place numerically or by default in alphabetical order for sorting, simply type in the role you want to define it first. If any header or footer Rosa present, then the direction. You also have options for ignoring the case and former to text. First, let's sort this simple table alphabetically. So in the options and two column one as the column I want to sort First there is a hetero which is already defined, and I wanna have it sorted, ascending and meat. Okay, and you can see the table has been sorted alphabetically. Now let's sort the table by duration a double. Click the script. Instead of choosing the first column, I will choose the second column. Take the checkbooks for numeric leave to Heather Owen one and I wanna have it sorted descending to get the longest video first. I hit OK, and the result is fantastic. Everything has been done in an instant. 22. Transposing Tables: There is another nice script for Working with Tables, which was written by Ian Anderson. This creep leads to transpose your table, which means that you can swap your columns and rows. Important for the script. Work correctly is that if you have a hetero that this is not a defined had a role, but just a simple rule you use of the header. I will select the text from now that holds the table, go to the scripts panel and double click the table transposed. Close the scripts panel and, as you can see, how table has been adjusted accordingly. Now, if you want to, you can go up to the object menu to the fitting options and fit frame to content. 23. Batch-Setting the Width of Table Columns: When working with tables, it's often necessary to adjust the corn with In this class, we will talk about the script from Galatzan German, which allows you to adjust all of your table columns at once. That's first total the view from preview to normal with the W key In any sign, it's only possible to change the current with off a single column. I changed to the text to and select this called him. Now I can go up to the control panel and changed the value for this column to, Let's say, 30. I would have to do that for every other column as well, but it would be much more convenient if you can do it all at once. So now we can take advantage of to skip from garroting human. And as it is a startup script, a new menu common has been added. Now we simply go up to the table menu and at the bottom we click on ought to call them to. Now we get this window and we can start the trusting our settings first. Let's go with those two buttons. We could change all of these automatic and now all the columns would be adjusted so that defeat the text frame. Let's kick okay to see the effect. Now let's adjust the table with some custom settings. I go up to the table menu, invoke or to cut to again. And now let's adjust the columns manually. So for the first column and take 30 millimeters and for the other ones, I choose 28. It's OK and my table is adjusted accordingly. Let's call up the script. Once again, I want to show you an additional feature of the script. The Options Day. Look, you're able to store all the values in the style, so let's take that. Apply the same values again. And now, if you want to create a new table, I create the extreme. First go up to the table menu, insert the table. I also use five columns into rows, so input here, too, into your five. It's OK now with the Kurds air in the table, invoked or two column script load the values from the style and hit apply this way. You're able to achieve consistent Karam with in your documents 24. Calculating Table Data: the same can do many things, but it cannot calculate table data. Fortunately, there is a script from BCB creation that does exactly that. Let's go to the scripts panel and in the user, Florida Under tables, you will find the Ford a Cal cu Renno. Let's not calculate the total duration off all those videos. First, I select the cells, open up the Coconino Fota and double click descript, and let's go over all the options you will get with the script. At first you can define the operation you can have in addition, subtraction, multiplication and also division. We will stay with the addition in the next section. You can tell the script where you want to apply the calculations to selected cells or rose or or columns. I will stay with the selected cells. Then you can also define a rounding, as in this example, we only have one decimal. We were switched at toe one, and it also click for Syria on the decimal in the English version of the script to separate ace by default sets to a period. But you could also switch that and headed with a comma for a French version and also comma for chairman version. But let's stay with the English version. Then you have some additional options. You could get a certain value to the result, but use a different operation from the drop down menu. You can have subtraction, multiplication and even applying a certain percentage to the result. This way, you could even calculate. Have you edited texts as we don't do any of those, we just take off the option. If you're in need of a currency symbol, you can take this one and select either euros, dollars, pounds or the inside, and you could decide if you wanna have to currency symbol before or after the result. Again, we don't need that option. And lastly, if you take this box and the result will be zero, then yourselves will stay empty. It's click OK now and now. Conveniently, my values have been calculated 25. Creating Crop Marks: In this video, I will show you a script that chips within design nets a script that creates crop marks. This is very useful if you want to, makes out your print sheet and also deliver and already prepared to file to your printer. Let's take this business card, and we want to create a print sheet with multiple copies of it. With already crop marks applied, I put in Outland around the business card so you can see better. But now we'll remove it for the next steps, said the stroke to none, and to have the script work. Best rebel group all the objects and hit command control G on our copy this grouped object where the edit menu Go to the pages panel, switch to the second page and pasted right here with command control. I'm moving to the left, and now I will create multiple copies. First, I closed the pages panel with the group business cards to selected. I go up to the object menu and select the move command in the transforming you as I know that my business card is 85 millimeters wide. I will move it by 85 millimeters. Turn the preview, so see what happens and then hit Copy. Now I have to business cards going up to the object menu and say Transform again Every multiplied to 1/3 1 now were repeated to march applied them downwards as well. I select all of them, go up to the May object menu into the Transform menu and select the Move Command. But now, instead of going horizontal, we go down 54 millimeters. Turn on the preview and he'd copy. And now, lastly, we'll do it at their time. Go up to object, transform again. And now we have nine copies off our business card. Let's select all of them. And now a play descript that creates the crop marks. For that, we open up the script Spender. It's close. To use a folder, go to the Applications folder into the samples holder down the channel scripts holder and look for the crop marks. That's double click The crop marks script. The options for the crop marks will pop up, and we can define the settings. I don't want to have registration marks, so I take it off. I just leave the settings for the crop marks and also want to have it drawn around each object hit. Okay, close to scripts panel. Click on the canvas to de select everything. And now you can see we have crop marks all over the place. The only crop marks I don't wanna have other was in the center. Fortunately, they're easy to remove because this group the place a second layer where the crop marks on . So let's look the bottom layer and select those in the middle. Delete them and now we're ready for export for our printer. 26. Export PDFs in Blocks: I want to finish his class off with the product. Give the script for exporting When exporting pdf's. Sometimes you need to divide those pdf's up into separate files. This can be quite time consuming. If done in a crib, it instead use the script. Export pdf's and blocks from like I go. It is in the use of folder on the export. I assume out of this document, and you can see we have six pages. I want to export those six pages. Let's click the script. If the document has not been saved, then discreet asks me to do so. Let's click. Yes, this script lets you define how many pages per pity if you would like to export, and you can also select one off your pdf presets in this trip down menu. Once you define their destination, you just have to eat OK and your PdF will be generated. I will save mine to desktop. I want to have one page per pdf. Choose a high quality pre set and hit. OK, the script tells me when the export is finished, and when it switched to the desktop, I can see all of my singing. Pdf's 27. Good Bye: thanks again for taking my class. I hope you gain some insights for the work with scripts, any design. Remember to look out for scripts that could handle repetitive tasks. Sometimes it is even enough to type in your problem into a search engine and at the words in the sand script, the chances are good that you will get the result. If you have specific needs, you can also contact developers directly, and they will gladly offer their help and write a custom script for you.