MitsukiJoe GitHub avatar

unfuck-windows-ux

MitsukiJoe

A collection of AutoHotkey v2 scripts that fix common Windows frustrations: persistent Chinese IME state, automatic audio device synchronization, and macOS-like window switching.

Stars

30

7-day growth

No data

Forks

0

Open issues

0

License

NOASSERTION

Last updated

2026-07-05

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

Directly addresses long-standing Windows UX bugs that Microsoft hasn't fixed, providing simple, effective workarounds with minimal overhead.

Who it is for

  • Windows power users
  • Developers who frequently switch between coding and Chinese input
  • Users of communication apps like Discord or Teams that rely on default communication device
  • Ex-macOS users who miss Alt+` window switching

Use cases

  • Lock Microsoft Pinyin to Chinese mode across all windows
  • Sync default communication audio device to default playback device with a hotkey
  • Quickly switch between multiple windows of the same application using Alt+`

Strengths

  • Lightweight and focused scripts with clear single purposes
  • Leverages Windows Core Audio API for reliable audio device management
  • Addresses specific, well-known Windows quirks without bloat
  • Open source with permissive non-commercial license

Considerations

  • Requires AutoHotkey v2 runtime to be installed
  • Windows-only; no cross-platform support
  • May conflict with other AutoHotkey scripts or hotkey mappings

README quick start

↑ Microsoft be like ↑

English | 中文

本质上这是一堆 Windows 用的 AutoHotkey 小工具。

我自己用来解决 日常使用 Windows 中遇到的痛点的 小脚本。

运行环境为 AutoHotkey v2

KeepImeState.ahk

用途:

微软拼音一定要有拼音

为直接使用 Alt + Shift 切换输入法语种的人所生的脚本。

我真的巨烦 微软拼音 只要一切到某个仅限英文的窗口后,它就会一直保持着英文。
哪怕切回到之前一直在用拼音输入的地方它也还是保持英文,并且还有几率无法切换回拼音。
这个 BUG 从 Win10 到 Win11 就一直没修复过。

而它,则是用来把微软拼音锁定为拼音输入。

解决的痛点:

  • 在聊天、浏览器、编辑器之间切换时,输入法状态经常不符合当前窗口预期
  • 中文客户内容和代码/命令行之间来回切换时,需要反复手动改中英文状态
  • Windows 对不同应用的 IME 状态记忆不够一致

SyncAudioComm.ahk

用途:

现在的你!再也不需要忍受!
控制面板 - 硬件和声音 - 声音 - 选择设备 - 设为默认值
甚至是
设置 - 系统 - 声音 - 选择设备 - 作为音频的默认使用 - 再按一次 - 作为通信的默认使用
这种不知道是喝了多少才设计出来的繁琐至极的神人操作步骤的逻辑。
你只需要 Ctrl + Win + V 然后选择你想要的播放设备即可!

脚本会把 默认通信播放设备 自动同步成当前 默认播放设备 ,使用 Windows Core Audio 接口直接处理。

解决的痛点:

  • Windows 把 默认设备默认通信设备 分开管理,切换耳机、音箱后,或者是用 Ctrl + Win + V 切换设备的话,某些会议/游戏语音软件用的是 默认通信设备 就会依然走旧设备
  • Discord、Teamspeak、微信 等通信类应用容易和系统默认播放设备不一致
  • 设备切换后需要手动进声音设置改通信设备

WindowSwitch.ahk

用途:

和 macOS 的逻辑一样!使用 Alt + ~ 在同一应用的窗口之间快速切换!

并且由于这里是 Windows,你更是可以多一份 Win + 数字键 切应用的快切,然后 Alt + ~ 切应用内的窗口。

对资源管理器做了单独处理,只在文件夹窗口之间切换,避免误切到桌面或任务栏。

解决的痛点:

  • Alt + Tab 在窗口很多时不够快
  • 同一个应用开多个窗口时,系统默认切换路径太绕
  • 多个资源管理器窗口之间切换不够顺手

完全免费,严禁商用。 本项目采用 CC BY-NC-SA 4.0 协议授权。如果你在任何平台付费购买了本项目的任何内容,说明你被骗了,请立即退款并举报。

Description

Band-aids for the trivially fixable Windows UX wounds Microsoft has left bleeding for decades.