All Projects → Clipy → Keyholder

Clipy / Keyholder

Licence: mit
Record shortcuts in macOS, like Alfred.app.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Keyholder

Magnet
Customize global hotkeys in macOS.
Stars: ✭ 324 (+8%)
Mutual labels:  alfred, sandbox
Eval5
A JavaScript interpreter written in TypeScript - Support ES5
Stars: ✭ 281 (-6.33%)
Mutual labels:  sandbox
alfred-iterm-profiles-workflow
An Alfred 3 workflow to easily search and open iTerm profiles
Stars: ✭ 26 (-91.33%)
Mutual labels:  alfred
Alfred Slack
The Slack workflow for Alfred app
Stars: ✭ 254 (-15.33%)
Mutual labels:  alfred
alfred-imessage-2fa
iMessage 2FA Workflow for Alfred
Stars: ✭ 71 (-76.33%)
Mutual labels:  alfred
Alfred Laravel Docs
An ultra-fast Laravel docs search workflow for Alfred 3+.
Stars: ✭ 270 (-10%)
Mutual labels:  alfred
private-networks-deployment-scripts
This repository contains out-of-the-box deployment scripts for private PoA networks
Stars: ✭ 33 (-89%)
Mutual labels:  sandbox
Terasology
Terasology - open source voxel world
Stars: ✭ 3,247 (+982.33%)
Mutual labels:  sandbox
Yonce
👑 Queen Bey-inspired themes for all your favs.
Stars: ✭ 280 (-6.67%)
Mutual labels:  alfred
Cloudlibc
CloudABI's standard C library
Stars: ✭ 254 (-15.33%)
Mutual labels:  sandbox
reactsandbox
Create a React Component Sandboxes based on compositions
Stars: ✭ 11 (-96.33%)
Mutual labels:  sandbox
qubes-app-split-browser
Tor Browser (or Firefox) in a Qubes DisposableVM, with persistent bookmarks and login credentials
Stars: ✭ 33 (-89%)
Mutual labels:  sandbox
Alfred Things
Interact with Things 3 using Alfred.
Stars: ✭ 278 (-7.33%)
Mutual labels:  alfred
SandboxJS
Safe eval runtime
Stars: ✭ 18 (-94%)
Mutual labels:  sandbox
Codeexpander
A cross-platform cloud synchronization development tool for developers that includes input enhancement, code snippet management, and Markdown. (专为开发者开发的一个集输入增强、代码片段管理(支持 Markdown)为一体跨平台云同步的开发工具。)
Stars: ✭ 285 (-5%)
Mutual labels:  alfred
alfred-gitignore
Create .gitignore files using Alfred
Stars: ✭ 15 (-95%)
Mutual labels:  alfred
dark-sky.alfredworkflow
A Dark Sky workflow for Alfred
Stars: ✭ 34 (-88.67%)
Mutual labels:  alfred
Zothero
Rapidly search and cite Zotero entries from Alfred
Stars: ✭ 256 (-14.67%)
Mutual labels:  alfred
Flow.launcher
Launch apps with greater control, search files effortlessly and extend features with community plugins. Fast and fluid productivity tool of choice that helps your workflow.
Stars: ✭ 288 (-4%)
Mutual labels:  alfred
Docker Cuckoo
Cuckoo Sandbox Dockerfile
Stars: ✭ 289 (-3.67%)
Mutual labels:  sandbox

KeyHolder

CI Release version License: MIT Carthage compatible Version Platform SPM supported

Record shortcuts in macOS, like Alfred App.

Usage

CocoaPods

pod 'KeyHolder'

Carthage

github "Clipy/KeyHolder"
github "Clipy/Magnet"
github "Clipy/Sauce"

Example

Set default key combo.

let recordView = RecordView(frame: CGRect.zero)
recordView.tintColor = NSColor(red: 0.164, green: 0.517, blue: 0.823, alpha: 1)
let keyCombo = KeyCombo(doubledModifiers: .command)
recordView.keyCombo = keyCombo

Some delegate methods

func recordViewShouldBeginRecording(_ recordView: RecordView) -> Bool
func recordView(_ recordView: RecordView, canRecordShortcut keyCombo: KeyCombo) -> Bool
func recordView(_ recordView: RecordView, didChangeKeyCombo keyCombo: KeyCombo?)
func recordViewDidEndRecording(_ recordView: RecordView)

Or you can use closures.

let recordView = RecordView(frame: CGRect.zero)
recordView.didChange = { keyCombo in
    guard let keyCombo = keyCombo else { return } // Clear shortcut
    // Changed new shortcut
}

Dependencies

The source code is dependent on hotkey library.

How to Build

  1. Move to the project root directory
  2. Install dependency library with carthage or git submodule
  3. carthage checkout --use-submodules or git submodule update --init --recursive
  4. Open KeyHolder.xcworkspace on Xcode.
  5. build.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].