Skip to main content

Basics

note

USB Nova's script language is compatible with Ducky Script (1.0). However, some functions and keys were added or expanded. You can find a great Ducky Script quick reference at docs.hak5.org.

Basic rules:

  • A single space separates the keys
  • All keys as part of the same line get pressed and released simultaneously
  • To write text, use the STRING function
  • Upper and lower case matters!
ExampleExplanation
WINDOWS RPress the Windows key and the R key simultaneously
STRING Hello WorldWrite "Hello World"

Example Script:

REM Hello World Example Script
DEFAULTDELAY 200
DELAY 1000
GUI r
STRING notepad
ENTER
DELAY 1000
STRING Hello World!
LineExplanation
REM This is a commentComment something.
DEFAULTDELAY 200Set the default delay between each line to 200 milliseconds.
DELAY 1000Wait 1 seconds.
GUI rPress the Windows key and the R key simultaneously to open the run window.
STRING notepadType "notepad".
ENTERPress enter key to launch the Windows Notepad application.
DELAY 1000Wait 1 seconds.
STRING Hello World!Type "Hello World!" into the newly opened notepad window.

Made with ❤️ by

Spacehuhn

dev f82a457e