ALL CAPS, because ducks are loud and like to quack with pride. Most commands invoke keystrokes, key-combos or strings of text, while some offer delays or pauses. Below is a list of commands and their function, followed by some example usage.
DEFAULTDELAYis used to define how long (in milliseconds * 10) to wait between each subsequent command.
DEFAULT_DELAYmust be issued at the beginning of the ducky script and is optional. Not specifying the
DEFAULT_DELAYwill result in faster execution of ducky scripts. This command is mostly useful when debugging.
DELAYcreates a momentary pause in the ducky script. It is quite handy for creating a moment of pause between sequential commands that may take the target computer some time to process.
DELAYtime is specified in milliseconds from 1 to 10000. Multiple
DELAYcommands can be used to create longer delays.
SHIFT F10key combo, producing the menu similar to a right-click.
CAPSLOCK, cruise control for cool, the
SHIFTcommand can be used when navigating fields to select text, among other functions.
SHIFT | DELETE, HOME, INSERT, PAGEUP, PAGEDOWN, WINDOWS, GUI, UPARROW, DOWNARROW, LEFTARROW, RIGHTARROW, TAB
ALTkey is instrumental in many automation operations.
ALT | END, ESC, ESCAPE, F1…F12, Single Char, SPACE, TAB
CONTROLis all mighty.
CONTROL | BREAK, PAUSE, F1…F12, ESCAPE, ESC, Single Char
CTRL | BREAK, PAUSE, F1…F12, ESCAPE, ESC, Single Char