Skip to contentSkip to Content

Mantis GUI Command

The Mantis GUI command emulates the Windows key (on PC keyboards), the Command key (, on macOS), or the Super key (on Linux).

It can be used alone to open the Start menu / application launcher, or paired with a key on the same line to execute system shortcuts (such as GUI r for Run or GUI d for Show Desktop).


What It Does

  • Emulates USB HID Usage ID 0xE3 (Left GUI) or 0xE7 (Right GUI).
  • Supports standalone keypress or single-line modifier chords.

Syntax & Parameters

hello.mantis
1GUI [key]
  • GUI (alone) — Presses and releases the Windows / Command key.
  • GUI <key> — Holds GUI, presses <key>, and releases both keys.

Examples & Payload Snippets

Common GUI Shortcuts

hello.mantis
1REM Open Windows Run dialog
2GUI r
3
4REM Minimize all windows to show desktop
5GUI d
6
7REM Lock the workstation
8GUI l
9
10REM Open Windows File Explorer
11GUI e

  • CTRL — Control key modifier.
  • ALT — Alt key modifier.
  • SHIFT — Shift key modifier.
  • INJECT_MOD — Raw modifier chord injection.
Last updated on