Command-line parameters

<< Click to Display Table of Contents >>

Command-line parameters

Note: The command-line parameters described here only work on Windows.

Command-line parameters allow you to specify that TextMaker is started immediately with a specific program option rather than with the usual default behavior. Example: You would like TextMaker to switch to the dialog box for selecting a document template directly upon startup.

To insert a command-line parameter, proceed as follows:

1.Create a new shortcut to TextMaker on the desktop. Ideally, give the link a distinctive name in order to distinguish it more clearly.
2.Choose the properties of the shortcut: Right-click on the link for the context menu and select the entry Properties.
3.The following dialog box with the Shortcut tab will then appear:

command_line_switch

4.In the input field Target after the file path "...\TextMaker.exe", enter the desired parameter from the table below. In the figure, for example, this is the parameter -FN.

Important: There must be a space in front of the parameter and the parameter starts with a hyphen.

5.Confirm with OK.

When you open TextMaker via this newly created link (double-click the link), the program will start directly with the behavior of the parameter that was used.

Command-line parameters

Parameter

Description

-N

TextMaker starts without opening a new default document.

-FO

TextMaker starts with an open dialog box for selecting a file.

-FN

TextMaker starts with an open dialog box for selecting a document template.

-P"Path\FileName"

TextMaker starts and prints the specified file directly on the default printer.

-Q"PrinterName","Path\FileName"

Note: No space is inserted
within the parameter.

TextMaker starts and prints the specified file directly on the specified printer.