Using the command-line to send actions to the target GUI

Now, you can send actions to the target GUI simply through the command-line.

Before you begin

  • The trc_gui command-line interface is only available for Targets in Managed Mode with a non-empty BrokerList property.
  • To issue commands, the current working directory must be the Target installation folder, where the trc_guiexecutable is stored.

About this task

Use the trc_gui command-line interface to submit the following actions to the Target GUI.
  • trc_gui --show-main-ui- This command forces the main Target GUI to be shown in foreground.
  • trc_gui --show-cc-dialog - (Windows Only) This command forces the connection code dialog to be shown in foreground.
  • trc_gui --show-cc-dialog=xxxxxx - (Windows Only) This command forces the connection code dialog to be shown in foreground and prefilled with the provided xxxxxx code.
  • trc_gui --connect-with-cc=xxxxxx - This command initiates the Target to attempt a connection to the Broker using the provided xxxxxx code.
Note:
  • The trc_gui command-line interface is enabled by default. You can disable it by setting the property DisableGUI_CLI = Yes.