Skip to content

Hotkeys script functions

Functions for C# (Cb.Call) and Python (cb.call). See Script functions for how to use them.

hotkeys.list

Lists the hotkeys you made on the Hotkeys page.

Gives back: A list of hotkeys. Each has id, name, gesture (the keys, like "Ctrl+Shift+F1"), enabled (true/false), action (the action it runs) and group.

var answer = await Cb.Call("hotkeys.list");
answer = cb.call("hotkeys.list")

hotkeys.press

Acts as if you pressed one of your Cuebot hotkeys. Its "Hotkey pressed" trigger and its action run. No real key is pressed.

Value What to put in
hotkey The hotkey's name as shown on the Hotkeys page, like "Scene: BRB", or its id.

Gives back: true when the hotkey was found and pressed, false when no hotkey has that name or id.

var answer = await Cb.Call("hotkeys.press", new { hotkey = "Scene: BRB" });
answer = cb.call("hotkeys.press", hotkey="Scene: BRB")