Skip to main content
Tabby includes comprehensive desktop automation capabilities that enable system-level control and window management. These features power the invisible typing, text capture, and window focus restoration that make Tabby feel like a natural extension of your operating system.

Core Technologies

Tabby’s desktop automation is built on two powerful libraries:
  • @nut-tree-fork/nut-js - Cross-platform keyboard and mouse automation
  • node-window-manager - Window management and focus control

Window Management

Active Window Capture

Tabby automatically captures the last active window before showing its interface, ensuring text is always pasted back to the correct application.

Focus Restoration

After processing text or accepting suggestions, Tabby seamlessly returns focus to your original application:

Keyboard Automation

Text Capture

Tabby can capture selected text from any application using programmatic keyboard control:
1

Release Modifier Keys

Ensures no interfering key states from previous shortcuts
2

Simulate Ctrl+C

Programmatically copies selected text to clipboard
3

Extract and Restore

Reads the copied text and restores the original clipboard content

Standard Paste Mode

The default output mode uses clipboard-based pasting:
Standard paste mode is fast and reliable, but some applications (like online coding platforms) may detect automated clipboard operations.

Configuration

Keyboard automation uses configurable timing to ensure compatibility across different applications:

Global Shortcuts

Tabby’s automation powers these system-wide shortcuts:
Desktop automation requires appropriate system permissions. On Windows, Tabby may need to run with administrator privileges to control certain protected applications.

Text Output Modes

Tabby supports multiple output modes that can be configured in settings:
See Typewriter Mode for details on undetectable character-by-character typing.

Emergency Stop

Tabby includes a panic button to immediately stop all automation:
Press Shift+Escape at any time to cancel ongoing automation and hide all Tabby UI elements.