Complete Command Reference

Complete Command Reference

Command Description
DELETE Presses the Delete key.
HOME Presses the Home key.
END Presses the End key.
INSERT Presses the Insert key.
PAGEUP Presses the Page Up key.
PAGEDOWN Presses the Page Down key.
ESC Presses the Escape key.
ESCAPE Presses the Escape key (alias).
UPARROW Presses the Up Arrow key.
UP Presses the Up Arrow key (alias).
DOWNARROW Presses the Down Arrow key.
DOWN Presses the Down Arrow key (alias).
LEFTARROW Presses the Left Arrow key.
LEFT Presses the Left Arrow key (alias).
RIGHTARROW Presses the Right Arrow key.
RIGHT Presses the Right Arrow key (alias).
F1 Presses the F1 key.
F2 Presses the F2 key.
F3 Presses the F3 key.
F4 Presses the F4 key.
F5 Presses the F5 key.
F6 Presses the F6 key.
F7 Presses the F7 key.
F8 Presses the F8 key.
F9 Presses the F9 key.
F10 Presses the F10 key.
F11 Presses the F11 key.
F12 Presses the F12 key.
SPACE Presses the Space key.
TAB Presses the Tab key.
ENTER Presses the Enter key.
BREAK Presses the Pause/Break key.
PAUSE Presses the Pause/Break key (alias).
CAPSLOCK Presses the Caps Lock key.
NUMLOCK Presses the Num Lock key.
PRINTSCREEN Presses the Print Screen key.
SCROLLLOCK Presses the Scroll Lock key.
FN Presses the Function (FN) key.
MENU Presses the Menu (Application) key.
WINDOWS Presses the Windows (GUI) key.
GUI Presses the Windows (GUI) key (alias).
SHIFT Presses the Shift key.
ALT Presses the Alt key.
CONTROL Presses the Control key.
CTRL Presses the Control key (alias).

DuckyScript Special Commands

Command Description
REPEAT x Repeats the last command x times.
DEFAULT_DELAY x Sets a default delay of x milliseconds.
DELAY x Delays the next command by x milliseconds.
STRING text Types the string text as keyboard input.
REM comment Comment line for readability.
RED Changes the logo color to red.
GREEN Changes the logo color to green.
BLUE Changes the logo color to blue.
WAIT_FOR_BUTTON Waits for a button press to continue.