Command Line Options ==================== The EventGhost main executable accepts the following command line arguments: .. cmdoption:: -configdir Instructs EventGhost to use the directory to store and retrieve its settings. Without this option EventGhost uses a directory in the application data folder of your machine for storing its settings. For example, through this option you can change the folder to a location on a USB stick to allow EventGhost to be used in a portable manner. .. cmdoption:: -debug Start EventGhost in verbose mode and log to a file located in the %AppData%\\EventGhost folder. .. cmdoption:: -d Shorter alias for the :option:`-debug` option. .. cmdoption:: -event [ ...] Issues the event in the currently running EventGhost instance. Optionally you can specify one or more strings, that will be added to the event in the :data:`eg.event.payload ` field. .. cmdoption:: -e [ ...] Shorter alias for the :option:`-event` option. .. cmdoption:: -file Opens the configuration file . The :option:`-file` is not required, EventGhost will open any file with the .egtree or .xml extension passed as a command line argument. .. cmdoption:: -f Shorter alias for the :option:`-file` option. .. cmdoption:: -hide Starts EventGhost hidden in the system tray or minimized, depending on your setting in :menuselection:`File --> Options --> Display EventGhost icon in system tray`. Otherwise it would start in the state it had when it was closed. .. cmdoption:: -h Shorter alias for the :option:`-hide` option. .. cmdoption:: -multiload Allow multiple sessions of EventGhost on the same computer. .. cmdoption:: -m Shorter alias for the :option:`-multiload` option. .. cmdoption:: -netsend : [ ...] This one is similar to the :option:`-event` option, but sends the event through TCP/IP like the 'Network Event Sender' plugin does. It will not start EventGhost, so it can be used as a little helper tool for other applications or .BAT files to send events to a remote machine. has to be the IP or host name of the target machine. and are the options that you have configured on the target machine's 'Network Event Receiver' plugin. .. cmdoption:: -n : [ ...] Shorter alias for the :option:`-netsend` option. .. cmdoption:: -plugin Opens the plugin archive file for installation in EventGhost. Plugins installed through a plugin archive file are stored in the %AppData%\\EventGhost\\plugins folder and take precedence over plugins in the %ProgramFiles%\\EventGhost\\plugins folder. The :option:`-plugin` is not required, EventGhost will open any file with the .egplugin extension passed as a command line argument. .. cmdoption:: -p Shorter alias for the :option:`-plugin` option. .. cmdoption:: -plugindir Instructs EventGhost to use the directory to load additional plugins. .. cmdoption:: -restart Restart EventGhost. .. note:: If you started EventGhost with full elevation you must also run this commands with full elevation. .. cmdoption:: -translate Starts EventGhost's translation editor.