This tutorial is fairly comprehensive in that it discusses the most common aspects of. InDesign On a PC, click Start > Programs > Adobe > InDesign CS3, or click on the InDesign shortcut . your document as a PDF, the button appears on all. Adobe® InDesign® CS3 User Guide for Windows® and Mac OS To see the PDF documentation included with your software, look in the Documents folder . To access Adobe Creative Suite 3 video tutorials, visit Adobe Video Workshop at. InDesign CS6 (PDF) · Learn InDesign CS6 video tutorials · Adobe Creative Suite CS3 (PDF) · Adobe InDesign CS3 Troubleshooting (PDF).
|Language:||English, Spanish, Portuguese|
|Distribution:||Free* [*Registration Required]|
(eBook) Adobe InDesign CS3 Scripting osakeya.info - Download as PDF File .pdf) , Text File .txt) or read online. Adobe CS3. Scripting is the most powerful feature in Adobe® InDesign® CS3. . Copy the script from this Adobe PDF document and paste it into your script editor, such as. InDesign for Beginners Step-By-Step Guide. Learning Objectives Finalize spelling as well as export to PDF. Non-Printing . (opens in Adobe Acrobat). 9.
Open the image you wish to crop. Select the Crop Tool from the Toolbox. In the Options bar, specify the values for Width and Height Fig. Crop Tool Options bar 4. Click in your image and drag the cropping border. Notice that the border is constrained - you cannot make it wider or longer than the specified values Figure 4. For example, if you entered 8 for Width and 10 for Height, whatever size you make the border, the area within it will fit on an 8x10 photo.
Adobe Photoshop CS3 22 Fig. Cropping to a specific size 5. To crop with the Marquee Tool, follow the steps below: 1. Click in your image and drag the mouse to draw a marquee around the area you wish to crop Figure 5. Drawing a marquee Adobe Photoshop CS3 23 4. The image will be immediately cropped. In the New dialog box, click on the Preset dropdown menu.
You will see several preset sizes, such as 2x3, 4x6, 5x7, 8x10 with the preset resolution of ppi Fig. Preset size in the New dialog box 3. Choose the size that you wish and click OK. NOTE: All the preset sizes are in portrait orientation. If you wish to resize an image with the landscape orientation, you need to create your own preset.
To create your own size, do the following: 1. Type in the values for Width and Height, for example 7x5. Type in your desired resolution ppi is enough for high quality printing, and 72 ppi is good for the web images.
When printed, the photos with the changed size will look pixilated. To resize the digital photos without loosing the quality, follow these steps: 1. Open the digital photo you wish to resize.
You will be able to see the dimension of your photo Fig. Dimensions of a digital photo - Type in your desired resolution anything between and ppi. The photo is now 6. Adobe Photoshop CS3 26 Fig. Changing resolution. However, just increasing the dimensions will make the image appear blurry and pixilated. To enlarge the image without loosing the quality, follow these steps: 1. Open the digital image you wish to enlarge. Increasing the size by 10 percent 4.
Change the Document Size measurements to Percent. Type in ; this will increase the size of the image by 10 percent Fig. Adobe Photoshop CS3 27 5. Continue enlarging by 10 percent till you are satisfied with the size. In Photoshop, you can correct these problems, as well as adjust the overall color of your digital photo.
To remove the "red eye", follow the steps below: 1. Open a photo you wish to correct. Select the Zoom Tool from the Toolbox. Click and drag to draw a rectangle around the eye Fig. Red eye zoomed in 3. Make sure your default Foreground and Background colors are black and white Fig. Foreground and Background colors set to black and white 4. Adobe Photoshop CS3 29 5. Click on the red and paint, holding down the mouse button. You will see how the red will disappear Fig.
Red eye corrected 6. Repeat the steps for the other eye. To correct this problem, follow the steps below: 1. Open the photo you wish to correct. Select the Clone Stamp Tool from the Toolbox. Setting the options for the Clone Stamp Tool 4. Set the Opacity to 50 percent. Choose a soft-edged brush, set the diameter to 40 or 50 Fig. Adobe Photoshop CS3 30 Fig. Brush settings 6. Clone Stamp selection 7. Paint over the "hot spot", the light area will gradually darken Fig.
To fix underexposed photos, follow these steps: 1. Open a digital photo you wish to correct Fig. Underexposed photo 2. In the Duplicate Layer dialog box, name the layer Layer 1. Make sure Layer 1 is selected in the Layers palette.
The whole image will lighten. Keep duplicating Layer 1 till you are satisfied with the quality of your image Fig. To color correct your images, follow these steps: 1. Open the image you wish to correct. You will see a dialog box displaying a diagram of the colors in your image Fig. The black triangle is for shadows, the gray is for midtones, the white is for highlights. These indicate whether your changes effect all the colors, or just one red, green, or blue. Levels dialog box Adobe Photoshop CS3 33 3.
Make sure the Preview box is checked off. Choose the channel you wish to change and drag the triangles. Dragging the black triangle to the right will make the shadows in your photo darker; dragging the white triangle to the left will make the highlights in your photo lighter; dragging the gray triangle to the left will make the midtones in your photo lighter, dragging it to the right will make the midtones darker.
You will be able to see the changes in your image Fig. Selecting just one color channel can alter the color of your photo completely. Initial image Fig. To sharpen your photo, follow the steps below: 1. Open an image you wish to sharpen. Note that this technique can sharpen images that are only slightly blurry. You will see the Unsharp Mask dialog box Fig. Unsharp Mask dialog box 4.
Enter for the Amount, 1 for the Radius, and 3 for the Threshold. Click OK. You will see how the image has become more in focus. To soften am image, follow these steps: 1. Alternately, put the script inside the Scripts Panel folder in your user-preferences folder. Once the script is in the folder, it appears on the Scripts panel inside InDesign.
Many scripts display user-interface items like dialog boxes or panels and display alerts if necessary. To view the script actions as they execute, choose Enable Redraw from the Scripts panel menu. The Scripts panel can run compiled or uncompiled AppleScripts files with the file extension.
This opens the script in the editor you defined for the script file type. To open the folder containing a script shown in the Scripts panel, hold down the Command Mac OS or Ctrl-Shift Windows keys and double-click the scripts name.
By default, scripts run as a single action, which means you usually can undo the changes the script made to a document by choosing Undo from the Edit menu. To make the script run as multiple actions, which gives you the ability to undo each action the script creates, choose Undo Affects Entire Script from the Script panel menu.
This can help you troubleshoot a script, as you can step backward through each change. In general, you should leave this option turned on, as it improves script performance.
A list of the scripts in your Scripts panel appears. Select a script and assign a keyboard shortcut as you would for any other InDesign feature. Although the scripting languages differ, the ways they work with InDesign are very similar. Each sample script in this document is shown in all three scripting languages.
After you complete the installation, any user can run InDesign scripts, and any user can add scripts to the InDesign Scripts panel. Which Scripting Language should you use? If you have written scripts before, use whatever language you know. Create a new text frame on the first page and a create a reference to the text frame.
In this document. Type the comment marker at the beginning of a line. For example: In AppleScript. In VBScript. To include a comment in an AppleScript. For example. Values are the data your scripts use to do their work. A high-precision number that can contain a decimal point. The type of a value defines what sort of data the value contains. Integers can be positive or negative.
Rem To convert from a number to a string: A variable might hold a number. The most common conversions involve converting numbers to strings so you can enter them in text or display them in dialog boxes or converting strings to numbers so you can use them to set a point size or page location. Example AppleScript: Array "0p0".
See the examples below.
Examples of defining arrays are shown below: Longer names do not affect the execution speed of the script. In our first sample script. This means the variables do not persist outside the function in which they are created. Variable names must be one word. Assigning a Value to a Variable Assigning values or strings to variables is fairly simple. This way. To put a value into a variable. This makes your script easier to read.
In all the sample and tutorial scripts that come with InDesign. Try to use descriptive names for your variables. Variable names cannot begin with a number. Add Note: Array Variables AppleScript. Examples of referring to items in an array are shown below: Given a variable of unknown type.
In the examples in this document. All the scripting languages allow you to determine the type of a variable. The Visual Basic OptionBase statement can be used to set the first item of an array to item 1.
Rem Given a variable of unknown type. If you set OptionBase to 1. Arrays can include other arrays. NewDouble 0. Array Finding the Value Type of a Variable Sometimes.
Control structures provide repetitive processes. You also can use operators to perform comparisons: Conditional statements make decisions. All the scripting languages provide additional utility operators. The code used in functions and handlers is simply a convenience to avoid having to type the same lines of code repeatedly in your script.
Conditional statements almost always start with if. Conditional statements often make logical comparisons. The idea of a loop is to repeat an action over and over. Control Structures If you could talk to InDesign. You know paragraphs are contained by text frames which. EPS files. Objects have properties attributes.
The fill color property of text can be set to a color. The diagram is not a comprehensive list of the objects available to InDesign scripting. Properties have values. As you think about the layouts you create. Documents contain colors. A page is a part of a spread. Text frames contain characters. Understanding the object model is the key to finding the object you want to work with.
Objects in your publication are arranged in a specific order: Parameters can be required or optional. The things we mention here are the objects that make up an InDesign publication. Methods have parameters. The following figure is an overview of the InDesign object model.
A document contains pages. Objects also have methods—the verbs of the scripting world. When we speak of an object model or a hierarchy. Scripts can be triggered by events. Scripts can be attached to menu choices and can execute menu actions. Just as in the user interface. Application properties Books Document Document defaults.
Events are generated by opening. Application defaults affect all new documents. The properties of the application. Document preferences change the settings of a specific document. The actions the application can take. Document default settings. Many of the preferences objects also exist at the document level. Application default settings. The menus. An InDesign document. The things that happen as a user or script works with the application.
Adobe InDesign CS3 Scripting Tutorial Scripting and the InDesign Object Model 15 application documents a document libraries books application preferences application defaults application events application menus application properties application methods stories text objects document preferences document defaults document events document properties document methods document elements pages or spreads page page items The objects in the diagram are explained in the following table: A collection of open books.
PDF export preferences. XML elements. There are many types of page items. Events that occur at the document level. A single page in an InDesign document. The pages or spreads in an InDesign document. The figure that precedes this table shows pages and stories.
All reference information on objects and their properties and methods is stored in the model and can be viewed AppleScript To view the InDesign AppleScript dictionary:. Start the Apple Script Editor. Start InDesign. Any object you can create or place on a page. The preferences of a document. A collection of open documents. The Script Editor displays a list of scriptable applications: The text in an InDesign document.
The actions the document can take. In the Script Editor. A collection of open libraries. From the Classes list. Select an object. Start the ExtendScript Toolkit. Select a suite. Select your copy of InDesign. The ExtendScript toolkit displays more information on the property or method you selected: Once you locate the file. If necessary. From the list of available references. Visual Basic displays the objects that make up the InDesign object model.
Visual Basic displays the References dialog box: Create a new Visual Basic project. For more on using the ExtendScript Toolkit object-model viewer. If the library does not appear in the list of available references. Visual Basic displays the Object Browser dialog box. NET adds the reference to the Selected Components list. Visual Basic displays the properties and methods of the object. For more information on a property or method.
Click an object class. Visual Basic displays the Object Browser tab. Visual Basic displays the Add Reference dialog box.