feat: 点击 toast 激活原窗口(P1a)
- WindowActivator:ALT 模拟 + AttachThreadInput + SetForegroundWindow 组合技抢前台 - save 抓的前台句柄经 PipeMessage/ToastRequest 一路带到 toast - 点击 toast 主体激活目标窗口后再关闭 - Win32 互操作用 LibraryImport(AOT 友好) - 新增 acttest 自测子命令
This commit is contained in:
@@ -31,6 +31,7 @@ internal static class Program
|
||||
"notify" => CliRunner.Notify(),
|
||||
"input" => CliRunner.Input(),
|
||||
"cleanup" => CliRunner.Cleanup(),
|
||||
"acttest" => CliRunner.ActTest(args),
|
||||
_ => RunHost(args),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user