marketplace/apps

App Keys

One chord per app: focus its window if it is running, launch it if it is not.

@rebindv0.1.1free

More install options
$rebind install @rebind/app-keys

Gallery

App Keys preview

Readme

Six slots. Each slot pairs a key with an application. Hold the modifier, press the key: the app's window comes forward if it is running, otherwise the app is launched.

Setup

  1. Pick the modifier in Settings. The default is Ctrl+Alt; slot keys default to F1 through F6.
  2. In each slot tab, set the key and the application.
    • Windows: the executable name, for example notepad.exe or code.exe. If the executable is not on your PATH, use the full path. Arguments are optional and split on spaces.
    • macOS: the application name as it appears in Finder, for example Safari. Arguments are not used.
  3. Restart the script after changing a key.

Behavior

  • Windows: a visible window whose process matches the executable name is focused. The window is restored if minimized, and a maximized window stays maximized. If the operating system refuses to change focus, or the launch fails, the reason is logged and shown as a notice.
  • macOS: activation goes through the system's own launch or focus path for the named application. A missing application is reported the same way.

Limits

  • Slot keys are captured system wide while the script runs.
  • Matching is by process name only. Two apps that share an executable name resolve to whichever window the system lists first.

Reviews

No reviews yet. Write a review in the app.

Source

README.md

# App Keys

Six slots. Each slot pairs a key with an application. Hold the modifier, press the key: the app's window comes forward if it is running, otherwise the app is launched.

## Setup

1. Pick the modifier in Settings. The default is Ctrl+Alt; slot keys default to F1 through F6.
2. In each slot tab, set the key and the application.
   - Windows: the executable name, for example `notepad.exe` or `code.exe`. If the executable is not on your PATH, use the full path. Arguments are optional and split on spaces.
   - macOS: the application name as it appears in Finder, for example `Safari`. Arguments are not used.
3. Restart the script after changing a key.

## Behavior

- Windows: a visible window whose process matches the executable name is focused. The window is restored if minimized, and a maximized window stays maximized. If the operating system refuses to change focus, or the launch fails, the reason is logged and shown as a notice.
- macOS: activation goes through the system's own launch or focus path for the named application. A missing application is reported the same way.

## Limits

- Slot keys are captured system wide while the script runs.
- Matching is by process name only. Two apps that share an executable name resolve to whichever window the system lists first.