Repository navigation
Reference Script Functions Input
Kristopher Barrantes edited this page Nov 5, 2026
·
2 revisions
Also on the Cuebot Docs site.
Functions for C# (Cb.Call) and Python (a cb method each, or cb.call). See Script functions for how to use them.
Presses keys on your keyboard for you, in the app that is in front. On Linux your desktop asks once for permission. Fails with an error when the keys cannot be read or sent.
| Value | In Python | What to put in |
|---|---|---|
keys |
keys |
The keys to press, like "Ctrl+Shift+F1". Split several with commas, like "Ctrl+C, Ctrl+V". SendKeys text like "^c" or "{ENTER}" works too. |
Gives back: true when the keys were pressed.
C#
var answer = await Cb.Call("input.keyPress", new { keys = "Ctrl+Shift+F1" });Python
answer = cb.input_key_press(keys="Ctrl+Shift+F1")Tells you how Cuebot presses keys and watches mouse clicks on this computer, and whether that works.
Gives back: keyboard (the key pressing method), keyboardStatus, mouse (the mouse click method) and mouseStatus, all as text.
C#
var answer = await Cb.Call("input.status");Python
answer = cb.input_status()Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- Overlays and alerts
- Writing your own overlay widgets
- Text-to-speech
- Music and now playing
- Points, store and giveaways
- Subathons and goals
- Stream apps and devices
- VTuber apps
- Stream Deck
- The phone app
- Donations and integrations
- Discord bot
- The setup assistant and AI tools
- The assistant on your own computer
- Moving from Streamer.bot
- Cuebot's servers
- Writing code (C# and Python)
- Python in detail
- Using your own code editor
- Controlling Cuebot from other programs
- Backups and your data
- Linux
- Command-line options
- Troubleshooting
- What's experimental
- Reference
