GithubHelp home page GithubHelp logo

roppi / keyhacscripts Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 50 KB

Keyhac用設定スクリプトです。Python のパッケージの仕組みを利用して、設定の追加・削除を簡単にしたり、ウインドウのグリッドレイアウト機能を提供します。

License: MIT License

Python 100.00%
keyhac python keymap

keyhacscripts's Introduction

KeyhacScripts

@craftware 様の Keyhac 用スクリプトです。

Python のパッケージの仕組みを利用して、設定の追加・削除を簡単にしたり、
ホットキーを簡単に設定する機能(関数)などを提供します。

Keyhac とは

キーボード操作を柔軟に変更できるアプリケーションです。

[変換]キーが押されたら、IMEをONにする のような単純なキーの置換から、
エクセル操作中は[F1]キーを無効にするなどのアプリケーション別の設定、
特定のキーを押すだけで、キーボードマクロの実行や別アプリケーションの起動など
幅広いことができます。

また、設定スクリプトを Python で記述できるため、
Python の柔軟な文法と強力な機能を使うことができます。

導入手順

1. Keyhac の取得

下記公式サイト様より Keyhac をダウンロードして、任意の場所に展開してください。

2. スクリプトファイルの上書き

このレポジトリの内容を、1.で展開した Keyhac のディレクトリにコピーしてください。

ただし、config.py が上書きされますので、変更されている方は予めバックアップを行ってください。

構成

設定の追加変更が容易なように、スクリプトを分割して以下の構成で配置しています。

各モジュール内のファイル名の先頭に「_」をつけると読み込み対象外となります。

/keyhac                   # Keyhac.exe のあるディレクトリ
├ /extention
| ├ hotkeys               # ホットキー設定スクリプト用ディレクトリ
| | ├ __init__.py         # パッケージ内モジュール初期化処理
| | ├ common.py           # アプリに依らない共通のホットキー
| | ├ common_win_grid.py  # ウインドウサイズ変更用ホットキー
| | ├ _skeleton.py        # ホットキー設定用の雛形
| |        ︙
| ├ lists                 # ヒストリー、リスト設定スクリプト用ディレクトリ
| | ├ __init__.py         # パッケージ内モジュール初期化処理
| | ├ _skeleton.py        # リスト設定用の雛形
| |        ︙
| ├ utils                 # 各種ユーティリティ用ディレクトリ
| | ├ key_util.py         # キー設定関連ユーティリティ
| | ├ ime_util.py         # IME関連ユーティリティ
| | ├ display_util.py     # ディスプレイ関連ユーティリティ
| |        ︙
| └ common.py             # 共通処理
└ config.py               # メインの設定ファイル(エントリポイント)

keyhacscripts's People

Contributors

roppi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.