Skip to content

Command Line Interface

PolybiusExtreme edited this page Apr 29, 2026 · 1 revision

OutputHooker features a built-in mechanism to handle command-line arguments efficiently, whether the application is already running or being launched for the first time.

  • New Instance:
    If OutputHooker is launched with arguments and no other instance is active, it processes the commands immediately and then automatically shuts down after a brief delay (500ms).
  • Existing Instance:
    If the program is already running (e.g., in the system tray), any new command-line call will detect the active instance and forward the arguments to it.

Usage:

To execute commands via the CLI, run the executable from a terminal or script using the following syntax:
OutputHooker.exe "command"

Example:
OutputHooker.exe "uls 1 1 1"


Key Features:

  • Background Processing:
    When sending commands to a running instance, the operation happens silently without bringing the main window to the foreground.
  • Automation Friendly:
    Because the application can process arguments and exit automatically, it is ideal for use in batch files or frontends.

Clone this wiki locally