global-shortcut-manager
Register and manage global keyboard shortcuts across desktop platforms
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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-handler -
system-services-integrationprocess
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!