可视化编排uTools功能分类添加获取匹配数据

This commit is contained in:
fofolee 2025-02-13 00:49:02 +08:00
parent 8d7e6e7a80
commit 5960acd201

View File

@ -2,6 +2,29 @@ export const utoolsCommands = {
label: "uTools功能",
icon: "insights",
commands: [
{
value: "quickcommand.enterData.valueOf",
label: "获取匹配数据",
icon: "visibility_off",
outputs: {
label: "匹配数据",
suggestName: "enterData",
placeholder: "返回 {code, type, payload, from}",
structure: {
type: {
label: "匹配类型",
suggestName: "enterType",
placeholder:
'返回 "text" | "img" | "file" | "regex" | "over" | "window"',
},
payload: {
label: "匹配的数据",
suggestName: "enterPayload",
placeholder: "返回 string | MatchFile[] | MatchWindow",
},
},
},
},
{
value: "utools.hideMainWindow",
label: "隐藏主窗口",