mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-10 07:23:23 +08:00
automation.cs支持不同条件查找windows,前端依然限制只通过句柄查找
This commit is contained in:
@@ -20,7 +20,9 @@ async function runAutomation(
|
||||
const args = [];
|
||||
|
||||
if (window) {
|
||||
args.push("-window", window);
|
||||
args.push("-method", "handle", "-window", window);
|
||||
} else {
|
||||
args.push("-method", "active");
|
||||
}
|
||||
|
||||
args.push("-type", type);
|
||||
|
Reference in New Issue
Block a user