mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-15 15:19:59 +08:00
win自动化分类新增界面自动化,支持向指定窗口指定控件发送键盘、鼠标消息
This commit is contained in:
@@ -489,7 +489,11 @@ async function getWindowInfo(method, value) {
|
||||
`;
|
||||
|
||||
const result = await quickcommand.runCsharp(script);
|
||||
return JSON.parse(result);
|
||||
try {
|
||||
return JSON.parse(result);
|
||||
} catch (error) {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user