Treechord: Keybind Execution System for Windows

Download

Explanation

Treechord

Treechord is a keybind execution system for Windows. It allows you to execute keybinds by pressing a sequence of keys. When a keybind is pressed, it will check if the program is currently opened. If an instance exists, the program will be raised to the current view. If an instance doesn't exist, the program will be opened. If multiple instances of a program exists, Treechord will cycle through each window on subsequent keybind press.

Keybinds are stored through a JSON file configured by default to be found in your user home directory.

Current keychord possibilities exist as the following:

  1. Windows + {Letter}
  2. Windows + Shift + {Letter}
  3. Windows + Alt + {Letter}

[Windows Class, Program Path] vs. [Program Path]

The majority of the time, you can use the program path to identify the window. However, there are some cases where the program path is not unique enough to identify the window. On occasion, like with the Explorer window, it's necessary to use the Windows class in addition to the program path. The program path is not unique enough to identify the window.

"bindE": [ "CabinetWClass", "C:/Windows/explorer.exe" ],

Most programs can be defined like this:

"bindShiftG": "C:/tools/vim/vim91/gvim.exe",

Default Configuration File

The default configuration file is located in your user home directory. It is named treechord.json. If the file doesn't exist, it will be created when the program is run.

{
    "bindA": "",
    "bindB": "",
    "bindC": "",
    "bindE": [ "CabinetWClass", "C:/Windows/explorer.exe" ],
    "bindF": "",
    "bindG": "",
    "bindH": "",
    "bindI": "",
    "bindJ": "",
    "bindK": "",
    "bindL": "",
    "bindM": "",
    "bindN": "",
    "bindO": "",
    "bindP": "",
    "bindQ": "",
    "bindS": "",
    "bindT": "",
    "bindU": "",
    "bindV": "",
    "bindW": "",
    "bindY": "",
    "bindZ": "",

    "bindShiftA": "",
    "bindShiftB": "",
    "bindShiftC": "",
    "bindShiftD": "",
    "bindShiftE": "",
    "bindShiftF": "",
    "bindShiftG": "",
    "bindShiftH": "",
    "bindShiftI": "",
    "bindShiftJ": "",
    "bindShiftK": "",
    "bindShiftL": "",
    "bindShiftM": "",
    "bindShiftN": "",
    "bindShiftO": "",
    "bindShiftP": "",
    "bindShiftQ": "",
    "bindShiftR": "",
    "bindShiftS": "",
    "bindShiftT": "",
    "bindShiftU": "",
    "bindShiftV": "",
    "bindShiftW": "",
    "bindShiftY": "",
    "bindShiftZ": "",

    "bindAltA": "",
    "bindAltB": "",
    "bindAltC": "",
    "bindAltD": "",
    "bindAltE": "",
    "bindAltF": "",
    "bindAltG": "",
    "bindAltH": "",
    "bindAltI": "",
    "bindAltJ": "",
    "bindAltK": "",
    "bindAltL": "",
    "bindAltM": "",
    "bindAltN": "",
    "bindAltO": "",
    "bindAltP": "",
    "bindAltQ": "",
    "bindAltR": "",
    "bindAltS": "",
    "bindAltT": "",
    "bindAltU": "",
    "bindAltV": "",
    "bindAltW": "",
    "bindAltY": "",
    "bindAltZ": "",

    "bindEnter": "",

    "bindShiftEnter": "",

    "bindLaunch1": "",
    "bindLaunch2": "",
    "bindLaunch3": "",
    "bindLaunch4": "",
    "bindLaunch5": ""
}