Makeit - The Image Task Creator
Makeit is a script that can be used to assemble an image task from a simple
text file. This text file can be written in a very simple language called it,
which consists of the following commands. Note that required command
arguments are given in angle brackets (<>), while optional parameters are in
square brackets ([]).
- title << title > - This should go on the first line, and will be the name of the new Image Task.
- picture <image > - This should follow the title command (on the next line) and tells makeit which picture you would like to accompany the title.
- page [image] - Use this to start a new page of the image task. You may supply an optional image filename to bring up a new picture with the new page.
- say <stuff > - This is used for giving instructions to the user.
- ask <question > - Use this to prompt the user for a question. This command may be followed by either of the following commands:
- short - Prompt the user for a short answer
- choices < 1,2,3... > - Prompt the user for several choices, separated by commas on the line.
- end < button > - Use this to wrap up the Image Task with a submit button that says something on it.
Here is an example of a simple .it file that can be processed with makeit:
Click here to see the outcome.
To run makeit on a .it file from a UNIX shell prompt, simply change to the
directory in which your images and .it file(s) are stored and type:
makeit filename
where filename is the name of the .it file you wish to process.
This page is under construction!!