feat: 点击 toast 激活原窗口(P1a)

- WindowActivator:ALT 模拟 + AttachThreadInput + SetForegroundWindow 组合技抢前台
- save 抓的前台句柄经 PipeMessage/ToastRequest 一路带到 toast
- 点击 toast 主体激活目标窗口后再关闭
- Win32 互操作用 LibraryImport(AOT 友好)
- 新增 acttest 自测子命令
This commit is contained in:
2026-06-22 14:48:11 +08:00
Unverified
parent 37fc06e274
commit 13fe87da99
9 changed files with 176 additions and 4 deletions
+1
View File
@@ -31,6 +31,7 @@ internal static class Program
"notify" => CliRunner.Notify(),
"input" => CliRunner.Input(),
"cleanup" => CliRunner.Cleanup(),
"acttest" => CliRunner.ActTest(args),
_ => RunHost(args),
};
}