Skip to content
simple shortcut manager for macOS
PureBasic Shell
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build changed NSAppleEventsUsageDescription Dec 7, 2019
.gitignore dmg creation for build script Jul 21, 2016
LICENSE Initial commit Jul 11, 2016
README.md Update README.md Jun 21, 2019
const.pb bumped version to 1.1.0 Apr 20, 2019
helpers.pb small fixes for #24 Apr 14, 2019
iCanHazShortcut.pbp bumped version to 1.1.0 Apr 20, 2019
main.pb small fix for #3 Apr 15, 2019
proc.pb small fix for #3 Apr 15, 2019

README.md

iCanHazShortcut

Simple shortcut manager for macOS 10.8 or higher. It lets you execute any command that works in your terminal by pressing a combination of keyboard keys. No rocket science involved!
screenshot

binaries

Latest binary release can be downloaded here.

applescript support

Use list command to get the full TSV list of shortcuts and their states.
Use enable, disable, toggle commands to control state of shortcuts by their names.
Use enableID, disableID, toggleID commands to control state of shortcuts by their IDs.
Here are some examples:
tell application "iCanHazShortcut" to list
tell application "iCanHazShortcut" to enable "⇧⌘L"
tell application "iCanHazShortcut" to toggleID 6

compiling from source

iCHS created in PB and depends on pb-osx-globalhotkeys.
You also need node-appdmg if you want to build dmg.

  1. Obtain the latest LTS version of pbcompiler, install it to /Applications.
  2. Install xcode command line tools by running xcode-select --install.
  3. Clone iCHS repo.
  4. Clone pb-osx-globalhotkeys module to neighboring directory.
  5. Run the included build/build.sh script to build the app. If you want codesigning then provide your developer ID as a first argument.
You can’t perform that action at this time.