Including commands in a script file

The -f switch can be used to call a script file consisting of a number of commands.

Within a script file, there is no need for the "-cmd" before the command name. Comment lines in script files begin with a number sign (#).

Sample script file

# This is a sample script file
setlog d:\log.txt
open d:\rhapsody\samples\Dishwasher dishwasher.rpy
generate EXE gui
save
make 

Calling a script file

rhapsody -f script.txt

Feedback