Automation sequences are a new feature of Quite Imposing Plus 2.0. They are designed to allow you to
Quite Imposing Plus does not, however, provide any facilities to run sequences without intervention, or against a batch of files. Each file to be processed is handled separately.
"Imposition by example" is a powerful way to use automation sequences in Quite Imposing. It makes use of another new feature of Quite Imposing 2.0: it saves details of all the commands you use, inside the PDF files you change or create.
You can look at these commands and all the options used with Imposition Info . But you can also use the commands directly with the automation sequences feature.
To create a new command sequence from the current document, click Import/Export and select the first option, Import commands from current document . You are now asked to give the sequence a name, and whether or not you want to see the command options each time.
Now you can use this command sequence again and again, each time taking a similar source and creating a similar result. Simply make sure the same sequence name is showing and click the Play button.
It is important to realise what is happening when you play back the sequence. The sequence is storing commands and options, not the exact layout of pages. This adds a lot of flexibility. For example, a sequence which numbers all the pages in a document, then makes a booklet of a particular size, will work no matter how many pages the document has, and no matter what size the pages are; it will process the numbering and booklet making as if you had run the commands and chosen the options again.
Some commands have limitations, which are noted in the section for that command. In addition you should generally avoid imposition options based on "current page", because it is hard to control what that means.
To create a brand new sequence, you can just click the Create new sequence button. You will now see a screen with a list of commands on the left, and an empty box on the right. The idea is that you select commands in the left, and click Add to move them to the right. When you click Next , all the commands on the right make up your new sequence.
Normally, you just click a command name on the left, and you are prompted. For example, you can select Booklet and click Add (or double click Booklet ). You will be get five screens of choices for booklet making, exactly as if you had chosen to make a booklet from the Control Panel or menu. However, no booklet is made; you are just choosing options.
You have these choices to work with the list of sequences on the right hand side:
When you are happy with your new command sequence, click Next . You will now get the chance to name the sequence and choose other options (which you can change later).
If you prefer, you can use Remember Last Action which remembers the options used with the last time you ran a particular command. All these remembered actions will show up in the list of commands on the left hand side, and you can select them, then click Add .
These actions have the advantage that they move directly to the right hand side without prompting. You can still use Edit to change the options.
You have several choices available when you create or import a sequence. As well as giving the sequence a name, you can choose a user interface mode, and prompting options.
User interface mode controls how much interaction you have.
The Prompt choice allows you to create a new prompt to replace the ones you have chosen not to see. This can be used as a reminder or check. For example, the prompt might be "This creates the Friday edition. Did you remember the extra pages for the property section?". The user can click Cancel , and the sequence will not run.
New document choices are available with many of the commands in Quite Imposing. In every case they are optional when you run a command, and so they are optional when you create a command sequence.
These are especially important when running a sequence in the default Fast mode. The effect of new document choices can be that a sequence with several commands makes several new documents, only one of which is interesting. You may wish to change the sequence so only the first command creates a new document.
Take care if you completely turn off new document creation. This means that imposed files will replace the original open document. You will normally want to be sure that you do not save this document, as it would destroy your copy of the original. This also applies to every sequence set up with Advanced batch mode.
XML files are used by many programs, and have many different purposes. The best way to think of XML files is as containers for information. Quite Imposing can write XML files containing certain information, and can read back that information. It cannot read XML files written by other programs, or with different kinds of information.
XML files are popular for several reasons, including that they are easy to examine with a text editor. However, such advanced stuff is not necessary to work with XML.
An XML file can contain a sequence of Quite Imposing commands. This could have been created by using the Export function in Automation sequences. You can also import an XML file to create a new automation sequence, giving a simple way to share that sequence between computers.
Quite Imposing can also write XML files containing a whole collection of sequences, with their original names, and import the whole collection.
The following options are available on importing.
The sequences control panel shows you both a category and a name for each sequence. Both are provided to help you organise your sequences. If you have only a few sequences, you need not create any new categories, you can just use the default, which is called "Automation sequences".
If you want to use more sequences, select Add new category from the list of categories. Any new sequence you create or import will be placed automatically in whatever category is currently shown.
Tips for working with categories:
Your sequences are saved in the qiplusmemory.xml file, as described in Where are settings saved? .
The Remember last and
Playback functions have always been a convenient way to save a single command,
and play it back, showing all the choices but with the options filled in as
before. This has been much simpler than Automation Sequences, so some people
have kept using it. These functions can now work in two ways:
Version 4 includes a
Sequences Manager to assist in working with large numbers of sequences.
To run the manager click the Manage
button. Once open, the manager has a number of tabs:
You can do the
following functions under Manage.
You can set up
sequences and other things in Quite Imposing Plus which use files, that is,
external PDF files. The names of these files are stored. It can happen that
files need to be moved, or you lose track of which files are needed. The Files
section of the Sequences Manager helps you to work with these. Please see also
the Collect function.
Files may be used in
the following places:
Files will show you a
list of the directories used. Within each directory, you see each file used. If
the file or directory no longer exists, this is also shown. Under each file you
see a list of the sequences and page sizes which refer to the file.
The following
functions are available. After any change the file list is updated.
The collect function collects together all your sequences and files. A new
directory is made. In the directory will be copies of all of
the files used in every sequence and page size. A collect.xml file is written
which is a backup of all sequences. If the file names are not unique, some of
the files will be renamed by adding numbers.
This folder can be
backed up, or moved to another system. On the new
system use Restore and select “My collect”, which will import all the
sequences, updating the directory used in the sequences and page sizes to be
the new location.
You can also use this
method without changing system, if you have built up sequences and page sizes
that use files from an untidy collection of directories and you want them in
one place.
You can generate TXT
file reports in the following formats:
To avoid losing the
time spent setting up sequences, there are various automatic backups. You can
also do manual backups. Backups do not
include the files used in sequences, see the Collect function for that.
You can select
Automatic backup to make the same backups done automatically. Automatic backups
are stored in your user profile indefinitely. One is made before the first time sequences are changed on each day, and before a
restore. When you choose automatic backup, the file is written behind the
scenes, you do not choose a name.
You can select Choose
a file, and you will be prompted for a filename. This backup can be taken to
another system, but will not include the files used in
sequences. The backup will also include page size definitions.
Three types of restore
are available. In all cases you can choose Delete
all sequences first (full restore). If you do not choose this, your existing sequences are left, and you are
asked to confirm replacing each one.
If you do choose Delete all sequences first (full restore),
you can choose Also restore page size
definitions. This deletes all your existing page size and background
definitions, then restores from the backup.
When a user has many sequences or sequence categories, it can be time
consuming to find and select the one that is needed. Now, there is a space for
searching for a string.
Fill in a string and
click Go. You will see only:
A sequence or category
matches if the string appears anywhere in the name. For instance
WED matches sequences called WED, WED.ITEM, WEDNESDAY,
STEWED. Click Show all to
go back and see everything.
Importing sequences
(including importing from XML files) can save a lot of time in maintaining
sequences. Previously, users had to redo work in similar sequences. You can
import sequences in several places:
In all cases the
import sequences dialog appears.
You can import from an
XML file or another sequence. There are important differences between editable
and non-editable imports.
When you import as
“editable” the steps of the original sequence are copied. There is no
connection to the original sequence, just the copies. If the original sequence
changes, there is no way to know this.
When you import as a
reference, a copy is made of the original sequence steps, just as with editable
import. This means they keep working even if the original is deleted. They
will not change automatically even if the original is changed.
In a sequence, the
imported steps appear as if there is a command “Imported sequence”. If you
expand the list you will see where it was imported
from, and the commands included.
If you double click or
Click Edit, you can see further details and options.
If you click Make
editable, the steps of the imported commands are used instead of the
reference. You cannot undo this.
Notice that the
sequence is shown as “Up to date”. The original sequence has been compared. If
it has changed, you will have an Update button allowing you to read the
commands again so the reference is up to date.
Essentially, a Condition command lets you run some tests and choose just one sequence to run. It is especially useful combined with Split/Merge (partials) to choose impositions that vary with the input page count.
Here are few of the
tests you can make
We’re going to set up
an example of the first test (are there exactly 32 pages). If there are 32 pages we’re going to run a sequence called “Test Impo”. If there is not exactly 32 pages we’re going to stop
with an error.
This is the initial
dialog before we start. We need to make sure Number of pages is
selected.
Now we need to set up
a test (number of pages is exactly 32).
And we need to click Import.
(We might also click Create to start from scratch). We select the “Test impo” sequence.
We could click Add
another condition if we wanted more tests. In this case we do not.
We do want an error
message for the case where there is any other number of pages, so we move down
the dialog to the Otherwise section and click Message.
Now we choose a
message and select that it is an error. See the Message command, described
later. This Conditional command is now complete.
Some sequences allow
lists, to save duplication. Particularly useful is Number of pages … in this
list choice. This might set up different impositions according to the
number of pages, perhaps using Split and Merge (Partials) commands as needed.
You can list a range
of pages, so you can see 5..7, which means 5 to 7,
same as 5 6 7. You can also see 8..12 for 8 to 12. So the first condition applies if the number of pages is 1,
3, 5, 6 or 7. (Note: you cannot use commas, only spaces).
Note that only one
condition will be matched. Even if a later condition might also be matched,
this has no effect.
The Message command
can be used in any automation sequence, though it is most useful with the new
Conditions command, as described above. Simply, it puts out a message. This may
be for information, or it may be an error message, stopping the sequence. (Your
choice).
In Quite Hot Imposing,
stopping the sequence causes the file to go to the ERROR folder.
The Message button in
Conditions is a shortcut for “create an automation sequence containing one
Message command”. The sequence created can be further edited to change the
message or add other commands.