You could write a 'shell' script....


I'll get me coat...