Skip to content

Function: record playMacro()

cajhin edited this page Jan 27, 2021 · 1 revision

recordMacro(1..20)

Starts recording a macro.

Press ESC to stop recording

recordSecretMacro(1..20)

Start recording a macro, and never show it in the console log (neither on record nor play).

Additionally, the macro is obfuscated before it is stored in a variable in memory; so that your password does not show up as an ASCII string, when somebody opens a memory dump in a hex editor.

Note that this offers no advanced protection, if an attacker seriously wants to find your password, has a dump of your memory, and knows you are using capsicain. It is designed to protect against accidental exposure and little brothers.

playMacro(1..20)

Play back a previously recorded macro.

This will repeat each individual key down/up event exactly as you typed it. It will work on targets that do not accept Paste (Ctrl+V).

Adjust playback speed

By default, capsicain sends at full speed, very very fast. If you play back a long macro, this might overload a key buffer along the way.

If you experience dropped keys, slow down with [ESC]+[,] and speed up with [ESC]+[.]