All Projects → wo52616111 → Capslock Plus

wo52616111 / Capslock Plus

Licence: gpl-2.0
An efficiency tool that provides various functions by enhancing the Caps Lock key into a modifier key.

Programming Languages

autohotkey
350 projects

Projects that are alternatives of or similar to Capslock Plus

hotscript
HotScript - Revolutionizing how Windows works.
Stars: ✭ 29 (-95.54%)
Mutual labels:  keyboard, shortcut, hotkey
Hotkeys
➷ A robust Javascript library for capturing keyboard input. It has no dependencies.
Stars: ✭ 5,165 (+694.62%)
Mutual labels:  shortcut, hotkey, keyboard
hotkey
⌨️ cross-platform hotkey package
Stars: ✭ 82 (-87.38%)
Mutual labels:  keyboard, shortcut, hotkey
Hotkey
Simple global shortcuts in macOS
Stars: ✭ 574 (-11.69%)
Mutual labels:  shortcut, keyboard
react-shortcut
Convenient React component that detects if the given key combination is pressed, and triggers a callback
Stars: ✭ 16 (-97.54%)
Mutual labels:  shortcut, hotkey
g910-gkey-macro-support
GKey support for Logitech G910 Keyboard on Linux
Stars: ✭ 85 (-86.92%)
Mutual labels:  keyboard, shortcut
apptivator
A macOS menubar app which activates applications via global shorcuts ⌨️
Stars: ✭ 72 (-88.92%)
Mutual labels:  shortcut, hotkey
ShortcutJS
Keyboard manager for javascript and typescript, made for humans 😎
Stars: ✭ 26 (-96%)
Mutual labels:  keyboard, shortcut
react-hotkey-tooltip
A global Hotkey provider with built in tooltip for React
Stars: ✭ 34 (-94.77%)
Mutual labels:  shortcut, hotkey
Magnet
Customize global hotkeys in macOS.
Stars: ✭ 324 (-50.15%)
Mutual labels:  shortcut, hotkey
React Hotkeys
React component to listen to keydown and keyup keyboard events, defining and dispatching keyboard shortcuts.
Stars: ✭ 279 (-57.08%)
Mutual labels:  shortcut, keyboard
Keymage
Yet Another JS Keybinding library
Stars: ✭ 325 (-50%)
Mutual labels:  shortcut, hotkey
metaKeyboard
turn a common keyboard into a 61-key keyboard for the keyboard shortcut fun like you, I'm a programer, I want to improve coding efficiency
Stars: ✭ 30 (-95.38%)
Mutual labels:  keyboard, shortcut
keybind
ClojureScript key bindings (shortcut) library
Stars: ✭ 85 (-86.92%)
Mutual labels:  shortcut, hotkey
Ghostskb
Smart input method switcher like a ghost
Stars: ✭ 186 (-71.38%)
Mutual labels:  efficiency, hotkey
Selectnextoccurrence
A Visual Studio Extension that selects the next occurrences of the current selection and adds multiple cursors for editing
Stars: ✭ 129 (-80.15%)
Mutual labels:  shortcut, keyboard
Xcactionbar
"Alfred for Xcode" plugin
Stars: ✭ 1,217 (+87.23%)
Mutual labels:  shortcut, hotkey
Ng Keyboard Shortcuts
Dead Simple Keyboard Shortcuts Management for Angular
Stars: ✭ 121 (-81.38%)
Mutual labels:  shortcut, keyboard
vue2-shortcut
Vue2.x plugin to create scoped or global shortcuts. No need to import a vue component into the template.
Stars: ✭ 38 (-94.15%)
Mutual labels:  shortcut, hotkey
Rbtray
A fork of RBTray from http://sourceforge.net/p/rbtray/code/.
Stars: ✭ 365 (-43.85%)
Mutual labels:  hotkey, keyboard

English | 中文


master branch: v3.0+

v2 branch: v2.x

Docs

How to run the source code?

  1. Download and install AutoHotkey (v1.1.+)
  2. Clone the Capslock+ source code
  3. Run Capslock+.ahk

How to set a custom function to a hotkey?

  1. There is a key function keyFunc_example2 in demo.ahk.
  2. Add below setting under the [Keys] section in CapsLock+settings.ini: caps_f7=keyFunc_example2
  3. Save, reload Capslock+ (CapsLock+F5)
  4. Press CapsLock+F7 to invoke the function
  • In order to avoid calling the internal functions, all the key functions are restricted to start with keyfunc_

An example here:

Replace Capslock+Q with Listary

Listary is a good app launcher, now I want to add two features to it:

  1. Activate Listary with CapsLock+Q
  2. I want to fill the selected text into the pop-up text input box

We can make it like this:

  1. Copy the following code to /userAHK/main.ahk:
keyfunc_listary(){
    ; Get the selected text
    selText:=getSelText()

    ; Send win+F (the default hotkey of Listary) to activate Listary
    sendinput, #{f}

    ; Wait until Listary is activated
    winwait, ahk_exe Listary.exe, , 0.5

    ; If there is any selected text
    if(selText){
        ; Add "gg " before the selected text to google
        selText:="gg " . selText

        ; Fill the text, and press `home` key to move the cursor to the beginning,
        ; in order to add other keywords if you need.
        sendinput, %selText%{home}
    }
}
  1. Add a setting caps_q=keyfunc_listary() under [Keys] section in CapsLock+settings.ini, save, press CapsLock+F5 to reload, done.

How to modify the original functions?

CapsLock+.ahk is the entry file, library files are in the /lib folder, the function of each file is as follows:

Filename Description
lib_bindWins.ahk Window binding
lib_clQ.ahk qbar
lib_clTab.ahk CapsLock+Tab
lib_functions.ahk Some utils
lib_init.ahk Program initialization
lib_jsEval.ahk The calculation function implemented by using the IE engine, required by Math Board and CapsLock+Tab
lib_json.ahk json library
lib_keysFunction.ahk All the key functions
lib_keysSet.ahk Hotkey layouts
lib_loadAnimation.ahk Loading animation when the program starts
lib_mathBoard.ahk Math Board
lib_mouseSpeed.ahk Mouse speed modification
lib_settings.ahk Load the settings in CapsLock+settings.ini
lib_ydTrans.ahk Youdao Translation
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].