Change ID (VID/PID):
VendorID an ProductID are codes used to identify your keyboard. ONLY if you are targeting a macOS, remember to insert the ID command, to change VID / PID, at the top of your code.
* You can set custom ID of Flipper USB HID device. ID command should be in the first line of script, it is executed before script run. Unless your target is a macOS (which requires to specify it at the first line of the payload), VID and PID are hex codes and are mandatory, Manufacturer and Product are text strings and are optional.
Remark (REM):
REM is short for Remark and adds a comment to the payload, like a title, the target OS, the functioning of a command or the author's name.
String (STRING/ALTCODE):
STRING injects keystrokes, or "types", the given characters (a-z, 0-9, punctuation & specials). ALTCODE is used instead of STRING, to print text string using "ALT+Numpad" method. It works even if non-US keyboard layout is selected
Delays:
DELAY is expressed in milliseconds (1 sec. = 1000 ms.). The minimum is 100 (0.1 sec.). It increases/decreases by 100 milliseconds each click. DEFAULT_DELAY / DEFAULTDELAY add delay before every next command.
Misc. Commands:
REPEAT is used to repeat the previous command. It expects the number of additional repeats as parameter. ALTCHAR is to display single ALT+Numpad Keys (on Windows), or ALT(ALT+SHIFT) Keys (on macOS). Click HERE for a complete list of available codes for ALT characters.
Modifier Keys:
GUI is used for both: the WINDOWS(⊞) key on Windows, and the CMD(⌘) key on macOS. (Targeting Windows, you can use WINDOWS key or GUI key to get the same result). CONTROL and CTRL as well. If you need to use more than one "modifier key" at once, use the preloaded "Keys Combos", which you'll find just below these Modifier keys.
|