Clipy / Keyholder
Licence: mit
Record shortcuts in macOS, like Alfred.app.
Stars: ✭ 300
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Keyholder
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 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
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
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
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
KeyHolder
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
- Move to the project root directory
- Install dependency library with
carthage
orgit submodule
-
carthage checkout --use-submodules
orgit submodule update --init --recursive
- Open
KeyHolder.xcworkspace
on Xcode. - 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].