Software Articles

January 1, 2012

What You Can Learn In An InDesign Scripting Course

Filed under: InDesign — admin @ 3:37 pm

InDesign, after a long battle with QuarkXPress, is now widely regarded as the industry-standard page layout, favoured by designers and prepress professionals worldwide. The ability to control InDesign with JavaScripts makes the program even more powerful, enabling developers to automate all sorts of procedures and workflows which, when performed manually, may be prone to error and sometimes very tedious. In this article, we will examine some of the commands available for dealing with files and folders.

The first thing we need to do is to create a folder object. One of the simplest ways of doing this is to use the “create” method and to place the new folder object into a variable.

var fldSource = new Folder(”c/indesign/projects/barkertruman”);

The above syntax can be used to create a folder objects that points to an existing folder or to one that has not yet been created. If the folder does not yet exist, we can create it using the create method.

var blnSuccess = fldSource.create();

If the folder is successfully created, our Boolean variable blnSuccess will contain true. If the attempt to create the folder fails, it will contain false.

If our folder object points to an existing folder, we might want to examine the contents of the folder. Let’s say, for example, we want to check for the existence of an InDesign file called “log.txt”. The getFiles method creates an array containing the names of all the files in the folder and, its optional argument (mask) allows you to specify the file extension of the files you want to return.

var arrFiles = fldSource.getFiles(”*.indd”);

We can then test, within a for loop whether the name of any of the files is “log.txt”.

if(arrSource[i].name == “march.txt”)
{
blnExists = true;
}

In this example, we are setting the value of a Boolean variable to true if the file is found.

Working with the file object is very similar to working with the folder object. Firstly, you need to create the object and assign a file to the object by specifying its path.

var myFile = new file(”c/indesign/projects/barkertruman/log.txt”);

The file object is often used to create and manipulate text files during such operations as keeping a log of activities and reading settings. The methods available with the file object include open, read, write and seek. The open method opens the file for read/write operations. The read method reads the contents of the file starting at the current position. The optional argument specifies the number of characters to read. Similarly, the write method can be used to write to the file starting at the current position. The seek method is used to reset the position within the file.

InDesign training courses

March 12, 2011

Adobe Acrobat Techniques For Manipulating Document Pages

Filed under: Acrobat — Tags: , , — admin @ 8:32 pm

It is quite common that, after you have generated a PDF file, you will want to manipulate the pages within the document without having to return to the original pre-PDF version. You may for example need to update, remove or add pages. Acrobat contains a number of menu commands and other techniques for working with pages. There are two ways of working with pages in Acrobat: firstly, you can use the commands in the Document menu and, secondly, you can use the Pages panel. The pages panel contains its own panel menu offering all of the page manipulation commands found in the Document menu as well as other useful commands and techniques.

Acrobat contains four main menu commands designed for manipulating pages within a PDF document: Insert, Extract, Replace and Delete. These commands are found both in the Document menu and in the Pages panel menu. The Document menu also contains one extra page manipulation command: Split Document.

The Insert command is a sub-menu offering two options: From File and From Clipboard. If you choose From File, you are presented with a browse dialog where you can navigate to the appropriate file and double-click its name. The Insert Pages dialog then appears, allowing you to specify where the incoming file will be inserted: either before or after a given page. If you choose the Clipboard option, the contents of the clipboard will be converted into a one page PDF document and inserted at the specified position.

The Extract command can be used to copy or move a single page (or a range of pages) into a separate new file. When the command is used, you can specify the page range to be extracted and whether or not the extracted pages should be deleted from the original document. Thus, the Extract command can be used to split an original document into several new and smaller documents. However, if the document has bookmarks, the Split document is more useful, since it will perform the operation in one step.

The Split Document dialog allows you to split a document mechanically (x number of pages in each file, for example). However, more usefully, it also offers an option called Top Level Bookmarks. This causes Acrobat to use each bookmark as the signal of where each of the new documents should start and end. You also have the option of placing the newly created PDF documents into a separate folder and using the bookmark names as the names of the new documents.

It’s not uncommon that one or more pages in a PDF document need to be updated. Rather than recreating the whole PDF, the Replace command can be used to choose an incoming PDF file and then specify which page or pages it should replace. Thus, Replace is equivalent to inserting a document and then deleting the pages which it is designed to replace.

Finally, we have the Delete command. No prizes for guessing that this allows you to choose a range of pages which will be permanently deleted from the document. This command cannot be undone; so it is probably a good idea to ensure that a backup version of the document exists before using it.

Adobe Acrobat training courses in London.

March 6, 2011

Benefits Of Using Layers In Adobe InDesign

Filed under: InDesign — Tags: , , , , — admin @ 9:58 pm

Several programs within the Adobe Creative Suite have a layers feature: Photoshop, Flash, Illustrator and InDesign. Their function differs from program to program but, in general, the use of layers serves to offer flexibility of composition. Items of related content can be placed on their own individual layers. Layers can then be made visible or hidden or can be locked to prevent their content being changed. Equally, the stacking order of layers can be changed to determine which elements are displayed in front of which other elements. Layers are not always necessary when creating a publication in InDesign, but they can beneficial in several situations.

Intricate page layouts often require the creation and complex manipulation of many different InDesign elements. This process can sometimes be made much easier by placing elements on a series of layers.

Perhaps the most common reason for using layers is where you need to produce several different versions of a publication. For example, there may be one version of a catalogue for in-house use and another for clients; or you may need to create different language versions of the same document.

Layers are also useful where certain page elements take a long time to redraw. For example, if you’re creating a large poster with a high resolution background image, you may find it useful to place it on a separate layer and hide the layer when you are working on other elements.

Since layers can be made none-printing simply by hiding them, it is also possible to use layers to store text and other elements which are relevant to the publication but are not to be included in the final version. Such layers could also be used for comments and reminders and can simply be deleted once the publication has been completed.

Another trick is to use layers for creating a document by using a similar publication as a template. A full sized scan of the original document can be placed on a locked background layer and used to ensure that each part of the layout is in the right place, has the right dimensions and so forth.

PowerPoint users often complain that elements placed the slide master will always be behind elements placed on the slides. Whilst the same if true of InDesign master page elements, using layers allows to overcome this fact. Simply place all those items which need to be front-most on a separate layer and move that layer to the top of the heap.

Adobe CS5 training courses in London.

March 5, 2011

Any Experienced User Can Master InDesign Scripting

Filed under: InDesign, JavaScript — Tags: , , , , — admin @ 12:56 am

InDesign is widely acknowledged as the industry standard in print and publishing software. It has a huge range of functions and a large base of users, many of whom have an in depth knowledge of the program. Anyone who uses the program regularly, especially those who use it for fairly challenging tasks, will welcome the ability to automate some of their workflows. However, there is no easy way of achieving this in InDesign.

The recordable actions facility found in Photoshop and Illustrator simply does not exist in InDesign. Instead, InDesign allows the user to write executable scripts using a choice of three programming languages: JavaScript, AppleScript or Visual Basic. The major benefit of using JavaScript as the programming language is that it is cross-platform: scripts will run equally well on Windows and Macintosh.

For anyone working in a Mac-only environment, AppleScript will be the obvious language of choice. It offers the benefit of easy integration with scripts written for automating other programs on the Macintosh platform, for example, extracting information from FileMaker and then taking it into InDesign.

For anyone interested in automating InDesign on the Windows platform, Visual Basic is the logical choice. Additionally, it is possible to control InDesign using Visual Basic for Applications (VBA), a variant of Visual Basic which is used to automate Microsoft Office. This option would be ideal for someone automating the production of financial reports heavily reliant on Microsoft Excel spreadsheets.

Be forewarned that, in order to be able to control the program with scripting, you must know InDesign CS5 very well. This is essential; since it is impossible to understand many of the subtleties of the InDesign object model without an intimate knowledge of the elements of InDesign which these scripting objects represent. Basically, in order to automate InDesign, you need a good knowledge of three elements. Firstly, InDesign: the program and all its major functions. Secondly, a compatible scripting language such as JavaScript. Thirdly, the InDesign object model: the programming syntax which is used to represent every nook and cranny of InDesign itself.

InDesign CS5 Automation Using XML & JavaScript by Grant Gamble is available now from Amazon.

November 24, 2010

Understanding Photoshop’s Marquee Selection Tool Features

Filed under: Photoshop — Tags: , , , , — admin @ 11:28 pm

Adobe Photoshop’s Marquee tool is one of the three tools which are used to make selections, the other two being the Lasso and Magic Wand. It is perhaps the most basic of the three, allowing you to make a rectangular or elliptical selection on any part of the image. As with all of the other selection tools, it can be used to make both new selections and to modify existing selections. To choose the marquee shape you wish to create, simply click on the tool and hold the mouse button down until the flyout menu appears then choose either “Rectangular” or “Elliptical”.

If you are making a new selection, the modifier keys can be used to determine the behaviour the tool. If the Shift key is held down while you drag to describe the selection, the resulting selection will either be a circle or a rectangle. If you hold down the Alt key while creating the shape, the shape will be drawn outward from the point you initially click on. Naturally, you can use these two keys in combination to draw a circle or square from the centre.

Similarly, if there is an existing selection in place, you can use the same two modifier keys to determine how the selection you make will interact with the existing selection. This time, Shift is used to add to a section while Alt is used to subtract from the selection. Thus, for example, if you want to make a semi-circular selection, you could start by making a circular selection with the elliptical Marquee tool. You could then switch to the rectangular Marquee tool, hold down the Alt key and draw a rectangle which intersects one half of the circle. The area where the two shapes intersect will be subtracted from the selection.

The behaviour of the Marquee tool can be modified in the options toolbar. You can switch from Normal mode to Constrained or Fixed Size. Thus, for example, if you were creating a series of images which all need to have a 4 by 3 aspect ratio, you could choose the Constrained option and enter 4 for the with and 3 for the height. Each selection you make with the Marquee tool will then automatically have this shape.

As well as the elliptical and rectangular shape, the Marquee tool flyout menu also allows you to choose “Single Row” and “Single Column”. In this mode, simply clicking on any part of the image creates a selection one pixel high or wide going right across the image. If you zoom in, you can hold down the Shift key and click again to make it two pixels, three pixels, etc This mode is sometimes useful when restoring old photographs to select a crease in the original photograph prior to using the cloning tools to remove the flaw.

Adobe Photoshop training courses in London.

November 21, 2010

Web Design Courses Can Kick-Start Your Web Development Career

Filed under: Dreamweaver — Tags: , , , — admin @ 12:09 am

If you are a business owner you may wonder how web design training can help your business succeed. If you are involved with a computer related business, it can be easier to see how it will benefit you. However, even if you are not directly involved with computers, web design in general can be a benefit to you professionally and personally.

If you have a business that you are trying to promote, a web site can be essential to your advertising methods. It allows you to reach a much wider client base than you would be able to reach through standard media advertising, and it can allow you to present a larger number of goods or a larger amount of information that you would be able to through a print or television advertisement.

Good web design is important but it can be expensive. You can expect to pay anywhere from a few hundred dollars for a basic website to thousands for a complicated or involved design. And by allowing an outside company to design your website you are letting go of the control you have over the finished product. It can be easy and worthwhile to look into web design courses through online learning sites or through community colleges.

If you want to learn business related web design applications, you should concentrate on courses such as writing for search engine optimization, e commerce related programs and general site design concepts so that you can generate a professional and logically designed website. Web designers that are making a career of the business learn basic design principles, information on incorporating images and video, and special applications such as flash animation.

Even if you are more interested learning to design websites for yourself and relatives there are some principals that will carry through from the commercial side of the business. You will want to make sure that your site will load well no matter what the connection speed is of the people viewing it. You will also want to make sure that people can find the information they are looking for. Web design training can help you achieve all of these things and more.

Even if you complete your training you should keep in mind that you may need to take refresher courses from time to time. You need to make sure that you are up to date on new operating systems or changes and developments that take place when new versions of programs are released.

If you are interested in web design training, you may be surprised at how easy and fun the courses are. From a starter course in basic web design to building complex sites with multiple pages, you can find a course which gives you the information and the training that you need.

Dreamweaver Web Design courses.

November 14, 2010

How Dreamweaver Templates Speed Up Web Development

Filed under: Dreamweaver — Tags: , , — admin @ 1:06 am

Adobe Dreamweaver CS4 templates are one of the most powerful development aids that the program contains. Basically, a template is a master design which can be copied repeatedly to generate an boundless number of web pages all containing the same shared elements. Unsurprisingly, each time the template generates a new page, the page can be customised and the requisite elements added to it to make it unique. This is achieved by a scheme of locked page regions and editable regions.

When the template is applied to a page, locked regions cannot be modified. (You have to return to the template to adjust them.) Only the areas of the page designated as editable regions can have content added to them.

To create an editable region anywhere on the template, you simply position the cursor in the desired part of the layout and choose Insert – Template Objects – Editable Region. Enter a name for the new region and click OK. One frequent problem experienced by new users of Dreamweaver is the accidental positioning of and editable region inside a heading or paragraph tag. This means that when the template is applied to a page, only text can be placed in the editable region. To fix this problem, return to the template, click in the editable region and examine the Tag Selector on the left of the Status bar. Having located the offending tag (usually h1, h2, p, etc.), right-click on it and choose Remove Tag from the context menu.

To associate an existing page with a template, open the page and choose Modify – Templates – Apply Template to Page. Next, double-click on the name of the template to be applied. Strangely enough, there is no Dreamweaver command that enables you to apply a template to several pages at once. However, here are two suggestions for applying a template to multiple pages reasonably quickly.

Begin by selecting multiple pages in the Files panel using the classic techniques of Shift-click or Control-click (Command-click on a Mac). Then, you can right-click one of the selected files and choose Open from the context menu to open all of them. Next, activate the Assets panel (Window – Assets) and click on the Templates button (the second icon from the bottom). Finally, drag the icon of the required template onto each of the open pages. To speed up the process, use Control-Tab to switch from page to page.

To create a brand new page based on a template, choose New from the File menu and, when the New Document window appears, select the Page From Template option, click on the site that contains the template (It should already be highlighted.), then choose the template. To get the most benefit from a template, before clicking the Create button, make sure that the option “Update Page When Template Changes” is activated.

Adobe Dreamweaver CS5 training courses.

April 26, 2010

Adobe InDesign’s Vector Drawing Capabilities

Filed under: InDesign — Tags: , , , — admin @ 9:49 pm

Given that Adobe own both InDesign and Illustrator, it should come as no surprise that the vector drawing tools found in InDesign function in pretty much the same way as those found in Illustrator. InDesign contains tools and menu commands for creating, manipulating and transforming vector shapes. These are used when working with text and graphic frames as well as with decorative page elements such as backgrounds, lines and flourishes.

The three shape tools (rectangle, ellipse and polygon) are duplicated in InDesign. The first series of tools are used for creating frames, containers into which the user can place images. The second series of tools is used to create simple shapes in exactly the same way as in Adobe Illustrator.

The shapes created with the two sets of tools are distinguished from each other by their contents: frames, by default, are containers for images; shapes contain nothing. You can change the contents of any item created with the two sets of tools by right-clicking on the object and choosing one of the options in the Content sub-menu: Graphic, Text or Unassigned.

Having created a vector shape you can transform it in the usual ways: move, resize, rotate, flip horizontal, flip vertical and shear. As with Illustrator, InDesign allows you to transform an object either by using one of the transformation tools or by using the options in the Transform sub-menu found under the Object menu. The advantage of using the tools is that you can specify the pivot point used during the transformation. This appears as a registration positioned, by default, in the centre of the object which may be moved to any position inside or outside the object being transformed.

One very powerful transformation feature in Illustrator is the ability to repeat a transformation using the Transform Again command and InDesign also incorporates this feature. Say for example, you are creating a layout where you want some text copied and rotated several times with each copy having a different tint of the same colour, giving a kind of fade-out effect. Having copied and rotated the original text once, you can repeat the rotate and copy step by choosing Object – Transform Again – Transform Again or by using the keyboard shortcut Control-Alt-3. It is rather a nuisance that this shortcut differs from the one used in Illustrator, Control-d, but kind of inevitable since Control-d is used in InDesign as the shortcut for File – Place.

Click here for Adobe InDesign training.

April 18, 2010

Marquee Selection Tool In Adobe Photoshop

Filed under: Photoshop — Tags: , , , — admin @ 1:14 pm

The Marquee tool is one of the three tools in Photoshop which are used to make selections, the other two being the Lasso and Magic Wand. It is perhaps the most basic of the three, allowing you to make a rectangular or elliptical selection on any part of the image. As with all of the other selection tools, it can be used to make both new selections and to modify existing selections. To choose the marquee shape you wish to create, simply click on the tool and hold the mouse button down until the flyout menu appears then choose either “Rectangular” or “Elliptical”.

When making new selections, the modifier keys can be used to determine the behaviour the tool. If the Shift key is held down while you drag to describe the selection, the resulting selection will either be a circle or a rectangle. If you hold down the Alt key while creating the shape, the shape will be drawn outward from the point you initially click on. Naturally, you can use these two keys in combination to draw a circle or square from the centre.

If you have an existing selection, you can use the same two modifier keys to determine how the selection you make will interact with the existing selection. This time, Shift is used to add to a section while Alt is used to subtract from the selection. Thus, for example, if you want to make a semi-circular selection, you could start by making a circular selection with the elliptical Marquee tool. You could then switch to the rectangular Marquee tool, hold down the Alt key and draw a rectangle which intersects one half of the circle. The area where the two shapes intersect will be subtracted from the selection.

The options toolbar also allows you to change the behaviour of the Marquee tool. You can switch from Normal mode to Constrained or Fixed Size. Thus, for example, if you were creating a series of images which all need to have a 4 by 3 aspect ratio, you could choose the Constrained option and enter 4 for the with and 3 for the height. Each selection you make with the Marquee tool will then automatically have this shape.

In addition to the elliptical and rectangular shape, the Marquee tool flyout menu also allows you to choose “Single Row” and “Single Column”. In this mode, simply clicking on any part of the image creates a selection one pixel high or wide going right across the image. If you zoom in, you can hold down the Shift key and click again to make it two pixels, three pixels, etc This mode is sometimes useful when restoring old photographs to select a crease in the original photograph prior to using the cloning tools to remove the flaw.


Click here for Adobe Photoshop training classes
.

Graphic File Formats And Adobe Photoshop

Filed under: Photoshop — Tags: , , , — admin @ 1:01 pm

The native file format of Adobe Photoshop documents is “.psd”. This is the only format which supports all of Photoshop’s features: layers, layer masks, layer comps, etc. If you have used these features in creating your final artwork, it is always a good idea to retain the “.psd” version and use File – Save As to export your work in any other format.

When exporting images from Photoshop, you will normally either be targeting print or web graphics. Print graphics are saved in the CMYK colour space while web graphics remain in Photoshop’s native colour space: RGB. With print graphics the focus is on quality, while the main talent of web graphics formats is file compression.

When exporting work for print, the standard format to use is TIFF (Tagged Image File Format) and the colour space CMYK. Although the TIFF format is capable of preserving layers, best practice is to make sure that you flatten the image by choosing Layers – Flatten Image before exporting. EPS (Encapsulated PostScript) is another option for exporting files for print. However, this option is now normally reserved for files that contain one or more spot colours.

The two main formats used for exporting web graphics are GIF (Graphic Interchange Format) and JPEG (Joint Photographic Experts Group). The GIF format compresses files by reducing the number of colours in an image. This makes the format ideal for exporting images that contain flat colour such as logos, charts and symbols. If photographs or images containing smooth transitions of colour are saved in GIF format, posterization and banding will normally occur. This is where, instead of seeing all the colours that were in the image, we see simplified clumps or bands of colour.

The JPEG format reduces file size by dividing the image into blocks of 8 x 8 pixels and locating redundant information within these blocks and rewriting the information in a simplified manner which requires less data storage. The fact that the human eye does not detect slight changes in colour means that pixels which have very similar colour values can be treated as being identical. When saving an image in the JPEG format, Photoshop allows you to specify the degree of compression. Naturally, there is always some loss of quality, so it is never a good idea to open a JPEG, make changes to it and then resave it. It is always better to fall back on the original PSD file if changes need to be made.

Click here for Adobe Photoshop training classes.

Older Posts »

Powered by WordPress