mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
可视化编排uTools功能分类添加获取匹配数据
This commit is contained in:
parent
8d7e6e7a80
commit
5960acd201
@ -2,6 +2,29 @@ export const utoolsCommands = {
|
|||||||
label: "uTools功能",
|
label: "uTools功能",
|
||||||
icon: "insights",
|
icon: "insights",
|
||||||
commands: [
|
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",
|
value: "utools.hideMainWindow",
|
||||||
label: "隐藏主窗口",
|
label: "隐藏主窗口",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user