Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Jul 23:52

WinRemap v0.3.0 — マクロ記憶

押した操作をその場で記録し、キー一つで再生できるようになりました。

新機能

  • マクロ記憶(任意・既定オフ)
    記憶キーを押して普段どおり操作し、もう一度押して終了。再生キーで同じ操作を繰り返せます。
    • 記録されるのは WinRemap が出力した結果(リマップ後のキー)なので、再生は「自分で打った」のと区別がつきません
    • [macro]record_start / record_stop(省略で開始キーが兼任)/ record_play を書くまで機能は動きません
    • 記憶できるのは 20 コマンド。上限に達したら黙って切らずに画面で知らせます
    • 記憶中・再生中は、入力しているアプリのあるディスプレイにバナーが出続け、終了キー・再生キーと対象アプリ名を表示します
    • ディスクには一切書きません。内容はメモリ上だけにあり、WinRemap を終了すると消えます
    • 再生は専用スレッドで実行し、キーボードフックの中では動かしません(20 コマンド分の送出が低レベルフックのタイムアウトに達してフックが外れるのを避けるため)

詳しい使い方はヘルプ(マクロ記憶)を参照してください。

インストール

  • インストーラー: winremap-setup.exe(管理者権限不要・ユーザー単位)
  • ポータブル: winremap.exe(1 ファイル。設定は %APPDATA%\winremap\config.toml

SmartScreen(「Windows によって PC が保護されました」)が出たら、署名なしのためです。詳細情報 → 実行で起動できます。下記の検証を推奨します。

ダウンロードの検証

(Get-FileHash .\winremap-setup.exe -Algorithm SHA256).Hash.ToLower()   # SHA256SUMS と照合
gh attestation verify .\winremap-setup.exe --repo DaikiSuganuma/winremap

GitHub Releases 以外で配布されているバイナリは非公式です。


WinRemap v0.3.0 — Macro recording

Record what you do, and replay it with a single key.

New

  • Macro recording (optional, off by default).
    Press the recording key, work as usual, press it again to stop, then replay as often as you like.
    • What is recorded is what WinRemap emitted (the remapped keys), so a replay is indistinguishable from typing it yourself
    • Nothing happens until you name record_start / record_stop (omit it and the start key toggles) / record_play under [macro]
    • A recording holds 20 commands; reaching the limit ends it and tells you rather than dropping commands quietly
    • While recording or replaying, a banner sits on the display holding the app you are typing into, naming that app and the stop/replay keys, and follows you between apps and monitors
    • Nothing is written to disk — the recording lives in memory and is gone when WinRemap exits
    • Replay runs on its own thread, never inside the keyboard hook, so 20 commands at the maximum pacing can't reach the low-level-hook timeout and cost you the hook

See the help page for details.

Install

  • Installer: winremap-setup.exe (per-user, no admin rights)
  • Portable: winremap.exe (single file; config at %APPDATA%\winremap\config.toml)

If SmartScreen warns you, it's because the binaries are unsigned — More info → Run anyway, and verify the download below.

Verify your download

(Get-FileHash .\winremap-setup.exe -Algorithm SHA256).Hash.ToLower()   # compare with SHA256SUMS
gh attestation verify .\winremap-setup.exe --repo DaikiSuganuma/winremap

Binaries from anywhere other than GitHub Releases are unofficial.

Full changelog: https://github.com/DaikiSuganuma/winremap/blob/v0.3.0/CHANGELOG.md