Getting ready

The first step to automating a task is to run it and note what you do. The script command discussed earlier may be of use.