global-shortcut-manager
Register and manage global keyboard shortcuts that work even when the application is not focused.
Capabilities
- Register global shortcuts
- Handle modifier combinations
- Manage shortcut conflicts
- Platform-specific key mapping
- Unregister shortcuts
- Check shortcut availability
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"framework": { "enum": ["electron", "tauri", "native"] },
"shortcuts": { "type": "array" }
},
"required": ["projectPath"]
}
Electron Example
const { globalShortcut } = require('electron');
function registerShortcuts() {
globalShortcut.register('CommandOrControl+Shift+X', () => {
console.log('Global shortcut triggered');
});
}
app.on('will-quit', () => {
globalShortcut.unregisterAll();
});
Related Skills
clipboard-handlersystem-services-integrationprocess