mike chambers | about

Creating multiple files at once using Offline Generator

Using offline Generator, you can create more than one file type from a single template, and single command.

Just specify the file types, and the name of the file to save it as after the generate.exe command on the command line.

For example :

generate -swf test.swf -jpg test.jpg -gif test.gif template.swt -param foo bar

Will create three files :

test.swf
test.jpg
test.gif

all from the template.swt Generator template.

Notice that the file name comes directly after the file type specification. This is very important.

Tags:
twitter github flickr behance