| |
|
|
|
| Company | Partners | Products | Purchase | Download | Support |
March/April 2005 The introduction and general description of this tutorial were covered in the March/April 2005 issue of TRIGGERED. This web page is meant to provide more detailed instructions on how to set up and use the Batch Processor action. These instructions assume you are using QuicKeys 2.5 or later and you are running Windows XP. Part 1: Premise & Preparation This tutorial will demonstrate the Batch Processor by creating a simple shortcut to modify the margins on a collection of WordPad text files. We'll need to create a source folder containing a text file and duplicate it a few times so we have some material to work with. The Batch Processor itself is a separate Action which simply calls our margins sequence as many times as is necessary to process all of the text files in our source folder. Before we start working within QuicKeys, let's create our WordPad source files: 1. Open your "My Documents" folder, right click inside that window, and select New -> Folder from the contextual menu that appears. Name the folder "batch source" then double click on that folder to open it. 2. Right click in the "batch source" folder window and choose New -> WordPad Document from the contextual menu that appears. Name this document "file01.doc" or whatever you like. Double-click on this new WordPad document to begin editing it. Add several lines of garbage text, save the document, and close it.
3. In your "batch source" folder, select "file01.doc" and press control+c to copy it, then press control+v four or five times to paste several copies of it. Now we have sufficient dummy documents to make our batch processor's usefulness more apparent.
We're going to use WordPad to do a very simple operation on each of our text files. The sequence we build will assume you have a text file open in WordPad and will use key presses to select Paragraph from the Format menu. This brings up the paragraph formatting dialog window with the left indent field already selected. QuicKeys will then press "1" to set a one-inch margin, close the dialog window by pressing "enter", save the document, and close the document window. We could use QuicKeys' recording feature to record and edit this sequence, but creating a sequence this simple is often easier to do by hand. 4. Before we start setting up the sequence, let's make sure we're on the same page as far as the QuicKeys user interface goes. Open the QuicKeys Editor and select Options from the View menu. Uncheck the box named "Always use Setup Wizards for editing" and click the "OK" button. If you want to use QuicKeys Setup Wizards to build actions in the future there is no need to turn this option back on, just select them from the "Setup Wizards" tab in the main QuicKeys Editor window.
6. Name your completed sequence "1 inch margin" and give it a hot key (I used F9). Make sure the Action Scope is set to "Universal". This may seem counter-intuitive for an action meant to control WordPad only, but the Batch Processor Action requires the sequence it controls to be scoped to Universal. 7. Click Save & Exit, then open your file01.doc text file and press the hot key for your newly created sequence. If the sequence completes successfully, you're ready to add the batch processor to the mix.
Go to QuicKeys' Create menu and select File & Folder Tools -> Batch Processor. Set up your Batch Processor action so it looks exactly like the screenshot at left. The more important settings are explained: Source folder: This
is the location of the files you want to manipulate with your sequence
and your batch processor. Give your batch processor a suitable name and hot key then Save & exit. Make sure you close all WordPad documents, then press the batch processor hot key and you should see each of your source files in turn be opened and the text indented. A quick edit of your "1 inch margin" sequence (change step 5 from typing "1" to typing "0") and another pass of the Batch Processor will put the indents back to zero.
Batch Processor tips Remember the following guidelines when you create a QuicKeys Sequence for a Batch Processor Action:
|
||||||
![]() |