3.1 Console mode

Hollywood itself is a console program. The GUIs that ship with the Amiga, Linux, and macOS versions as well as the IDE that ships with the Windows version of Hollywood are just front-ends that call the console program. If you'd like to have full control over Hollywood or if you'd like to integrate Hollywood into the IDE of your choice, you have to use it from a console.

To get information on all arguments supported by Hollywood, you have to run Hollywood from a console like this:

./Hollywood -help

This will print a comprehensive list of all available console arguments. See Console arguments for details. If you omit the ‘-help’ argument, Hollywood will open a file requester prompting you to select a Hollywood script or applet to run.

If you want to start a Hollywood script from the console, you could use the following command:

./Hollywood test.hws

Some extra care has to be taken on macOS because of the application bundle concept. On macOS, you'd have to start Hollywood like this:

cd Hollywood.app/Contents/Resources
./HollywoodInterpreter.app/Contents/MacOS/Hollywood test.hws

It is important to know that all of Hollywood's features are available from the console as well. After all, the Windows, Amiga, Linux and macOS GUIs for Hollywood are just front-ends for the console-based main program too. Thus, you can do everything from the command line as well. For example, here is how you would ask Hollywood to compile test.hws into an AmigaOS3 executable on Linux:

./Hollywood test.hws -compile ~/MyTest_AmigaOS3 -exetype classic

See Console arguments for a detailed description of all command-line parameters.

Note that on AmigaOS and compatible systems Hollywood is automatically added to your path upon installation. Thus, you can simply type Hollywood in the console and Hollywood will be started - no matter where you installed the program.

Show TOC