If you are wondering what an Image Sequence is, or why you would use one, please check out Part One here :
Create an Interactive Image Sequence: Part One
At any time while running a P3D show you can capture an image simply by pressing the "m" key, or an image sequence by pressing the "M" key and in both cases the resulting images will dropped into the same folder as the .p3d file. P3D will continue to save out images until you press "esc" to exit the show, this can rapidly take up a lot of space on your hard disk. This might be all you require and if so, you needn't read on. However, you can achieve more control by running a simple script that will allow you to specify where the files are saved, what they are called and the frame rate at which they are captured.
For this example you will need :