Command line options

You can control how SPACE GASS starts by adding one or more options to the command line in the shortcut you use to start SPACE GASS.

 

To add a command line option, select "Properties" of your SPACE GASS shortcut and append the contents of the "Target" field with one or more of the following options.

 

-n

Bypasses the automatic loading of the previously used job.

 

-p

Bypasses the splash screen.

 

-w

Bypasses the Internet check for new versions of SPACE GASS.

 

-i [folder]

Allows you to specify the folder location of the SG.INI file.

 

-s [file]

Allows you to specify a script file that contains a list of menu commands and other items that SPACE GASS will automatically execute one-by-one rather than you operating it in the normal way. For example, a command line option of -s "c:\scripts\myscript.txt" would load the myscript.txt script file from the c:\scripts folder. See "Running a script" for more information and full details of the script file format.

 

-min

Runs SPACE GASS minimized so that it is not visible except for an icon on the taskbar. This can be useful when SPACE GASS is controlled by a script file (see the -s command line option above), although it may be more convenient to use the "SHOW MINIMIZED" command in the script file to achieve a similar effect. See "Running a script" for more information and full details of the script file format.

-nml

Runs SPACE GASS in a normal window that is usually smaller than the overall screen size.

 

-max

Runs SPACE GASS maximized so that it fills the entire screen area. This is the default setting and is the same as if none of the -min, -nml or -max command line options are specified.

 

Note that the -min, -nml and -max command line options can be overridden by the SHOW line in a script file. See "Running a script" for more information and full details of the script file format.

 

For example, to bypass the splash screen and the automatic loading of the previously used job, you could have a shortcut target field of:

 

"C:\Program Files (x86)\SPACE GASS 14\sgwin.exe" -p -n

 

If you start SPACE GASS by double-clicking on a job, then the shortcut is bypassed and any command line options in it are not used. You can, however, apply the command line options when a job is double-clicked by starting Windows Explorer, selecting Tools –> Folder Options from the menu, clicking the File Types tab, scrolling down to and clicking the SG file extension, clicking the Advanced button, clicking the Edit button and then adding the command line option to the end of the "Application used to perform action" field.