diff --git a/package.json b/package.json index 570d77f..9803951 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "typecheck": "tsc --noEmit -p tsconfig.json", "check:deps": "node packages/rpa-core/scripts/check-deps.mjs", "rpa-cli": "tsx scripts/rpa-cli.ts", - "catalog": "node scripts/build-catalog.mjs", + "catalog": "tsx scripts/build-catalog.mjs", "snapshot": "vitest run scripts/capability-snapshot.test.ts", "package": "node scripts/package.mjs", "test": "vitest run", diff --git a/packages/rpa-core/src/capabilities/platform-groups.test.ts b/packages/rpa-core/src/capabilities/platform-groups.test.ts new file mode 100644 index 0000000..cdc388c --- /dev/null +++ b/packages/rpa-core/src/capabilities/platform-groups.test.ts @@ -0,0 +1,37 @@ +import { describe, expect, it } from "vitest"; +import { capabilityCount, getCapabilityMeta } from "../engine/registry"; +import { + PLATFORM_GROUPS, + buildDomainPlatformMap, + capabilityDomains +} from "./register-all"; + +describe("PLATFORM_GROUPS 平台单一源(迁移指南五件小事 #1)", () => { + it("每个能力域都有平台行,不允许缺行", () => { + for (const domain of capabilityDomains) { + expect(PLATFORM_GROUPS[domain], `域 ${domain} 缺少 PLATFORM_GROUPS 行`).toBeDefined(); + } + expect(Object.keys(PLATFORM_GROUPS).sort()).toEqual([...capabilityDomains].sort()); + }); + + it("现阶段数据只允许 win32,darwin/linux 仅类型占位不填数据", () => { + for (const [domain, platforms] of Object.entries(PLATFORM_GROUPS)) { + expect( + platforms.every((p) => p === "win32"), + `域 ${domain} 填了 win32 以外的平台数据` + ).toBe(true); + } + }); + + it("registerAll 后所有能力 meta.platforms 与分组表一致(运行时派生)", async () => { + // buildDomainPlatformMap 逐域加载(动态 import 有缓存,必须在 registerAll 语义内一次完成) + const map = await buildDomainPlatformMap(); + expect(capabilityCount()).toBeGreaterThan(700); + expect(map.size).toBe(capabilityCount()); + for (const id of map.keys()) { + const meta = getCapabilityMeta(id); + expect(meta, `能力 ${id} 无 meta`).toBeTruthy(); + expect(meta!.platforms, `能力 ${id} 的 meta.platforms 未从分组表派生`).toEqual(["win32"]); + } + }); +}); diff --git a/packages/rpa-core/src/capabilities/register-all.ts b/packages/rpa-core/src/capabilities/register-all.ts index 5b85b36..79ae258 100644 --- a/packages/rpa-core/src/capabilities/register-all.ts +++ b/packages/rpa-core/src/capabilities/register-all.ts @@ -1,4 +1,53 @@ import type { RpaEngine } from "../engine/engine"; +import { applyPlatformDefaults, capabilityIds, type CapabilityPlatform } from "../engine/registry"; + +export type { CapabilityPlatform } from "../engine/registry"; + +/** + * 平台归属单一权威表(迁移指南「五件小事 #1」,dev-conventions 规则 4)。 + * + * - 运行时 `meta.platforms` 与构建期 catalog `platformTag` 都从这张表派生, + * 任何代码不得自行声明第二份平台数据(守卫测试 platform-groups.test.ts 把关)。 + * - 现阶段所有能力只在 Windows 交互会话验证过,全部标 `["win32"]`; + * `darwin`/`linux` 仅类型占位,不填数据。将来支持新平台 = 对应行加平台,仅此而已。 + * - 后续若某域内出现平台混装(如 remaining-core 里混着 PS 专用能力), + * 先把域拆细,再在能力 meta.platforms 里显式声明更窄限制。 + */ +export const PLATFORM_GROUPS: Record = { + control: ["win32"], + files: ["win32"], + http: ["win32"], + data: ["win32"], + office: ["win32"], + desktop: ["win32"], + desktopUia: ["win32"], + time: ["win32"], + windowsSystem: ["win32"], + ftp: ["win32"], + ocr: ["win32"], + pdf: ["win32"], + word: ["win32"], + wordExtended: ["win32"], + message: ["win32"], + vision: ["win32"], + cvVision: ["win32"], + extended: ["win32"], + systemExtended: ["win32"], + officeFileExtended: ["win32"], + officeAliases: ["win32"], + excelCommon: ["win32"], + excelCom: ["win32"], + dataExtended: ["win32"], + utilityExtended: ["win32"], + dataTableCommon: ["win32"], + basicEncryption: ["win32"], + mailRemaining: ["win32"], + remainingCore: ["win32"], + commonFinal: ["win32"], + humanDialog: ["win32"], + aiService: ["win32"], + windowExtended: ["win32"] +}; /** * 显式注册入口(任务 4.2,决策点 9:双入口过渡)。 @@ -46,14 +95,35 @@ const DOMAINS: Record Promise> = { windowExtended: () => import("./window-extended") }; +async function loadDomainWithPlatformDefaults(domain: string): Promise> { + const load = DOMAINS[domain]; + if (!load) throw new Error(`未知能力域:${domain}(可选:${Object.keys(DOMAINS).join(", ")})`); + const before = new Set(capabilityIds()); + await load(); + const fresh = [...capabilityIds()].filter((id) => !before.has(id)); + // 平台默认值从 PLATFORM_GROUPS 派生(单一源);能力显式声明的 platforms 优先 + applyPlatformDefaults(fresh, PLATFORM_GROUPS[domain] ?? []); + return new Set(fresh); +} + export async function registerAll(engine: RpaEngine, groups?: string[]): Promise { const wanted = groups && groups.length ? groups : Object.keys(DOMAINS); - for (const group of wanted) { - const load = DOMAINS[group]; - if (!load) throw new Error(`未知能力域:${group}(可选:${Object.keys(DOMAINS).join(", ")})`); - await load(); - } + for (const group of wanted) await loadDomainWithPlatformDefaults(group); return engine; } +/** + * 逐域加载并返回「能力 id → 平台数组」映射(副作用:完成全量注册)。 + * 供构建脚本(build-catalog)派生 catalog platformTag,与运行时同一张表。 + */ +export async function buildDomainPlatformMap(): Promise> { + const map = new Map(); + for (const domain of Object.keys(DOMAINS)) { + const fresh = await loadDomainWithPlatformDefaults(domain); + const platforms = PLATFORM_GROUPS[domain] ?? []; + for (const id of fresh) map.set(id, platforms); + } + return map; +} + export const capabilityDomains = Object.keys(DOMAINS); diff --git a/packages/rpa-core/src/engine/registry.ts b/packages/rpa-core/src/engine/registry.ts index 9b26b97..539a299 100644 --- a/packages/rpa-core/src/engine/registry.ts +++ b/packages/rpa-core/src/engine/registry.ts @@ -13,6 +13,9 @@ export interface CapabilityParamMeta { description?: string; } +/** 平台类型;现阶段只有 win32 有实现,darwin/linux 仅类型占位(dev-conventions 规则 4) */ +export type CapabilityPlatform = "win32" | "darwin" | "linux"; + export interface CapabilityMeta { /** 一句话能力摘要(中文) */ summary?: string; @@ -27,7 +30,7 @@ export interface CapabilityMeta { /** 执行中是否需要回传截图(Agent 侧视觉判断用) */ needsScreenshot?: boolean; /** 平台限制;省略表示跨平台 */ - platforms?: Array<"win32">; + platforms?: CapabilityPlatform[]; } const handlers = new Map(); @@ -60,3 +63,21 @@ export function capabilityIds(): string[] { export function capabilityCount(): number { return handlers.size; } + +/** + * 给一批能力落平台默认值(来自 register-all.ts 的 PLATFORM_GROUPS 单一权威表)。 + * - 空数组 = 平台无限制,不落 meta; + * - 已有 meta 且已声明 platforms 的不覆盖(能力可显式声明更窄的平台限制); + * - 无 meta 的补一个只含 platforms 的 meta。 + */ +export function applyPlatformDefaults(ids: string[], platforms: CapabilityPlatform[]): void { + if (!platforms.length) return; + for (const id of ids) { + const meta = metas.get(id); + if (meta) { + if (!meta.platforms) metas.set(id, { ...meta, platforms: [...platforms] }); + } else { + metas.set(id, { platforms: [...platforms] }); + } + } +} diff --git a/resources/capability-snapshot.json b/resources/capability-snapshot.json index 55dad12..6f98237 100644 --- a/resources/capability-snapshot.json +++ b/resources/capability-snapshot.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-11-04T09:12:00.449Z", + "generatedAt": "2026-11-05T09:52:08.862Z", "count": 909, "ids": [ "App_GetPid", diff --git a/resources/catalog-overrides.json b/resources/catalog-overrides.json index 771bc2c..7d6dbbf 100644 --- a/resources/catalog-overrides.json +++ b/resources/catalog-overrides.json @@ -176,7 +176,25 @@ "cvSelector": { "description": "屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)" } - } + }, + "removeFields": [ + "searchRegion" + ], + "addFields": [ + { + "key": "searchRegion", + "label": "搜索区域", + "widget": "region", + "type": "object", + "displayType": "region", + "required": false, + "defaultValue": "", + "placeholder": "", + "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", + "advanced": false, + "valueTypes": [] + } + ] }, "CV_SetText": { "fields": { @@ -187,7 +205,25 @@ "description": "填写参数值,支持 ${变量} 引用上游输出", "placeholder": "输入内容或 ${变量}" } - } + }, + "removeFields": [ + "searchRegion" + ], + "addFields": [ + { + "key": "searchRegion", + "label": "搜索区域", + "widget": "region", + "type": "object", + "displayType": "region", + "required": false, + "defaultValue": "", + "placeholder": "", + "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", + "advanced": false, + "valueTypes": [] + } + ] }, "CV_MouseHover": { "fields": { @@ -200,7 +236,25 @@ "offsetY": { "description": "相对目标中心的垂直偏移像素,正数向下、负数向上,0 为正中" } - } + }, + "removeFields": [ + "searchRegion" + ], + "addFields": [ + { + "key": "searchRegion", + "label": "搜索区域", + "widget": "region", + "type": "object", + "displayType": "region", + "required": false, + "defaultValue": "", + "placeholder": "", + "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", + "advanced": false, + "valueTypes": [] + } + ] }, "CV_MouseClick": { "fields": { @@ -216,7 +270,25 @@ "offsetY": { "description": "相对目标中心的垂直偏移像素,正数向下、负数向上,0 为正中" } - } + }, + "removeFields": [ + "searchRegion" + ], + "addFields": [ + { + "key": "searchRegion", + "label": "搜索区域", + "widget": "region", + "type": "object", + "displayType": "region", + "required": false, + "defaultValue": "", + "placeholder": "", + "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", + "advanced": false, + "valueTypes": [] + } + ] }, "Image_Click": { "fields": { @@ -225,6 +297,9 @@ }, "show_track": { "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程" + }, + "accuracy2": { + "required": false } } }, @@ -298,15 +373,14 @@ "Image_Screenshot": { "fields": { "image_path": { - "placeholder": "如 D:\\files\\demo.png" + "label": "截图保存路径" }, "action": { "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}" }, "position": { - "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}" + "label": "截图区域" }, "position_img": { "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", @@ -332,7 +406,68 @@ "path": { "description": "编码方向的源图片路径,支持 ${变量} 引用上游输出(如上游截图的保存路径)" } - } + }, + "removeFields": [ + "mode", + "output", + "val" + ], + "addFields": [ + { + "key": "mode", + "label": "转换方向", + "widget": "radio", + "type": "string", + "displayType": "buttonGroup", + "required": false, + "defaultValue": "encode", + "placeholder": "", + "description": "编码:图片文件转为 base64 字符串;解码:base64 字符串还原保存为图片文件", + "advanced": false, + "valueTypes": [], + "options": [ + { + "label": "图片 → Base64", + "value": "encode" + }, + { + "label": "Base64 → 图片", + "value": "decode" + } + ] + }, + { + "key": "output", + "label": "图片保存路径", + "widget": "file", + "type": "object", + "displayType": "selectFile", + "required": false, + "defaultValue": "", + "placeholder": "如 D:\\files\\restored.png", + "description": "解码方向的保存位置(含文件名);留空自动生成临时图片文件", + "advanced": false, + "valueTypes": [ + "rpa_str_file", + "rpa_str" + ] + }, + { + "key": "val", + "label": "Base64编码", + "widget": "text", + "type": "string", + "displayType": "text-expression", + "required": true, + "defaultValue": "", + "placeholder": "如 ${图片编码值}", + "description": "解码方向的 base64 字符串,支持 ${变量} 引用上游输出;自动忽略 data:image/...;base64, 前缀", + "advanced": false, + "valueTypes": [ + "rpa_str" + ] + } + ] }, "Image_Wait_V1": { "fields": { @@ -413,7 +548,7 @@ "Image_Find_V1": { "fields": { "window_obj": { - "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择" + "required": false }, "action": { "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", @@ -425,23 +560,75 @@ }, "image": { "description": "模板图片文件的完整路径,用于匹配识别;点右侧「屏幕截取」可框选屏幕上的目标图案" + }, + "accuracy": { + "label": "模板相似度" } } }, "Image_Exists_V1": { "fields": { "image": { - "description": "模板图片文件的完整路径,用于匹配识别;点右侧「屏幕截取」可框选屏幕上的目标图案" + "required": true, + "label": "目标图像" }, "accuracy": { - "description": "相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。建议 0.8~0.9。" + "required": true, + "label": "模板相似度" } - } + }, + "removeFields": [ + "find_range", + "timeout", + "window_obj" + ], + "addFields": [ + { + "key": "find_range", + "label": "图像查找范围", + "widget": "select", + "displayType": "dropDownSelect", + "defaultValue": "1", + "required": false, + "options": [ + { + "label": "整个屏幕", + "value": "1" + }, + { + "label": "指定窗口", + "value": "2" + } + ], + "description": "在整个虚拟桌面(含副屏)中查找,或仅在指定窗口范围内查找", + "type": "string" + }, + { + "key": "timeout", + "label": "等待超时(秒)", + "widget": "number", + "displayType": "text-expression", + "defaultValue": "0", + "required": false, + "description": "大于 0 时在该时间内每隔 0.3 秒重试查找,超时仍未找到才返回 false", + "type": "string" + }, + { + "key": "window_obj", + "label": "窗口对象", + "widget": "text", + "displayType": "text-expression", + "defaultValue": "", + "required": false, + "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择", + "type": "string" + } + ] }, "Image_CropImg": { "fields": { "file_path": { - "description": "要被裁剪的源图片完整路径——本组件从已有图片文件中裁出区域,不是截屏;截屏请用「截图图像」组件" + "label": "源图片地址" }, "imagePath": { "description": "文件夹的完整路径;点右侧按钮浏览选择,支持 ${变量} 引用" @@ -467,13 +654,16 @@ }, "show_track": { "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程" + }, + "accuracy2": { + "required": false } } }, "Image_Click_V3": { "fields": { "window_obj": { - "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择" + "required": false }, "action": { "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", @@ -500,10 +690,10 @@ "Image_RelativePosition": { "fields": { "source": { - "description": "被搜索的较大图片路径(如整屏截图),支持 ${变量} 引用上游输出" + "label": "被搜索图像" }, "template": { - "description": "要寻找的小图案完整路径(按钮/图标/文字块),可点右侧按钮选择文件" + "label": "查找目标(小图)" } } }, @@ -1346,5 +1536,626 @@ "description": "选择解压使用的执行方式;不确定时保持默认。" } } + }, + "WebBrowser_RunJsInIeBySelector_v3": { + "fields": { + "waitResultTimeout": { + "required": false + } + } + }, + "StrUtil_CreateRandomStr": { + "fields": { + "special_str": { + "required": false + }, + "min_max_length": { + "required": false + }, + "str_contain": { + "required": false + } + } + }, + "Element_SetAttribute_v2": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Element_FileUploader": { + "fields": { + "upload_time": { + "required": false + }, + "wait_dialog_time": { + "required": false + }, + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_GetCookieNew": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_Wait": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_GetWeblistening": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_SetCookies": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_GetAttribute_v2": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Trigger.Manual": { + "fields": { + "entryName": { + "required": false + } + } + }, + "Keyboard_Send_V1": { + "removeFields": [ + "window_title" + ], + "addFields": [ + { + "key": "window_title", + "label": "输入目标窗口", + "widget": "text", + "type": "string", + "displayType": "text-expression", + "required": false, + "defaultValue": "", + "placeholder": "留空则输入到当前焦点窗口", + "description": "选择目标窗口后,运行时会先把该窗口带到前台再输入内容", + "advanced": false, + "valueTypes": [] + } + ] + }, + "Mail_ReplyMail_v2": { + "fields": { + "emails": { + "required": false + } + } + }, + "WebBrowser_GoForward": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_Stop": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_GetScrollPos_V1": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_UploadDialog": { + "fields": { + "upload_time": { + "required": false + }, + "web": { + "required": false + } + } + }, + "Element_GetPieChartData": { + "fields": { + "v_offset": { + "required": false + }, + "radius_ratio": { + "required": false + }, + "designated_obj": { + "required": false + }, + "h_offset": { + "required": false + } + } + }, + "Mail_OperateMail": { + "fields": { + "emails": { + "required": false + } + } + }, + "Element_GetButtonEnable_v3": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "StrUtil_SplitStr": { + "fields": { + "split_num": { + "required": false + } + } + }, + "Element_SetValue_V6": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_GoUrl": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_SetScrollPos_V1": { + "fields": { + "designated_selector": { + "required": false + }, + "designated_position": { + "required": false + }, + "web": { + "required": false + } + } + }, + "logic_control_stop_return": { + "fields": { + "return_value": { + "required": false + } + } + }, + "WebBrowser_GetScrollPos": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_MouseTo_V4": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Element_GetButtonEnable_v4": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_GetBrowserPicV1": { + "fields": { + "pic_name": { + "required": false + }, + "web": { + "required": false + } + } + }, + "Trigger.FileArrival": { + "fields": { + "stableSeconds": { + "required": false + } + } + }, + "WebBrowser_GetCookies": { + "fields": { + "web": { + "required": false + } + } + }, + "Bivartable_HandleDfMissValue": { + "fields": { + "row_num_list": { + "required": false + }, + "col_num_list": { + "required": false + }, + "row_name_list": { + "required": false + }, + "col_name_list": { + "required": false + } + } + }, + "WebBrowser_StopWeblistening": { + "fields": { + "web": { + "required": false + } + } + }, + "Image_Find": { + "fields": { + "accuracy2": { + "required": false + } + } + }, + "Element_exception_monitor_v2": { + "fields": { + "monitor_frequency": { + "required": false + }, + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_GetDocument": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_GetAttribute_v3": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_Switch": { + "fields": { + "web": { + "required": false + } + } + }, + "Mail_DoReplyMail_v1": { + "fields": { + "emails": { + "required": false + } + } + }, + "concurrent_child_process_v1": { + "fields": { + "fun_name": { + "required": false + }, + "call_type": { + "required": false + }, + "fun_version": { + "required": false + } + } + }, + "Element_Click_V6": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_SetScrollPos": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_Reload": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_GetCookie": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_GetTitle": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_GetUrl": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_Maximize": { + "fields": { + "web": { + "required": false + } + } + }, + "child_modules_v1": { + "fields": { + "fun_name": { + "required": false + }, + "call_type": { + "required": false + }, + "fun_version": { + "required": false + } + } + }, + "Element_SelectOperation_v2": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_Minimize": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_Close": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_GetLineBarChartData": { + "fields": { + "offset": { + "required": false + }, + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_DownloadFile_V1": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Element_GetText_V5": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Trigger.Schedule": { + "fields": { + "timezone": { + "required": false + } + } + }, + "StrUtil_ListToString": { + "fields": { + "connectors_num": { + "required": false + } + } + }, + "WebBrowser_StartWeblistening": { + "fields": { + "web": { + "required": false + } + } + }, + "WebBrowser_SetCookies_V1": { + "fields": { + "web": { + "required": false + } + } + }, + "Keyboard_Send": { + "removeFields": [ + "window_title" + ], + "addFields": [ + { + "key": "window_title", + "label": "输入目标窗口", + "widget": "text", + "type": "string", + "displayType": "text-expression", + "required": false, + "defaultValue": "", + "placeholder": "留空则输入到当前焦点窗口", + "description": "选择目标窗口后,运行时会先把该窗口带到前台再输入内容", + "advanced": false, + "valueTypes": [] + } + ] + }, + "WebBrowser_CloseWeb": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_CheckBoxOperation_v3": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "MessageNotification_Feishu_Message": { + "fields": { + "mentioned_list": { + "required": false + } + } + }, + "WebBrowser_RunJsInIeBySelectorGround": { + "fields": { + "web": { + "required": false + } + } + }, + "Word_SaveAs": { + "fields": { + "fileAddr": { + "required": false + } + } + }, + "Mouse_ClickCombine_v4": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_RunJsInIeBySelector_v2": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Bivartable_DfWriteToFile": { + "fields": { + "suffix": { + "required": false + } + } + }, + "Element_WaitElement_v5": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_Switch_V1": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_Region2_v3": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_GoBack": { + "fields": { + "web": { + "required": false + } + } + }, + "Element_Shot_V2": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "Element_ScrollIntoView_v2": { + "fields": { + "designated_obj": { + "required": false + } + } + }, + "WebBrowser_GetBrowserPic": { + "fields": { + "web": { + "required": false + }, + "pic": { + "required": false + } + } + }, + "Element_SelectOperation_v3": { + "fields": { + "designated_obj": { + "required": false + }, + "select_value_list": { + "required": false + } + } + }, + "ScreenControl_Screenlock": { + "name": "屏幕锁屏", + "removeFields": [ + "username", + "pwd", + "width", + "height", + "scale_factor", + "port" + ] } } diff --git a/resources/catalog.json b/resources/catalog.json index afe2f76..65b8034 100644 --- a/resources/catalog.json +++ b/resources/catalog.json @@ -1,125487 +1 @@ -{ - "schemaVersion": 1, - "generatedAt": "2026-10-30T01:13:45.040Z", - "source": { - "catalog": "shizai-catalog-data.js", - "componentsNew": "componentsNew.json" - }, - "counts": { - "total": 1016, - "vendor": 997, - "native": 16, - "triggers": 3, - "fields": 4298 - }, - "groups": [ - { - "id": "control", - "label": "编排控制", - "icon": "branch", - "count": 16 - }, - { - "id": "trigger", - "label": "流程触发", - "icon": "trigger", - "count": 3 - }, - { - "id": "app", - "label": "应用与系统", - "icon": "app", - "count": 60 - }, - { - "id": "web", - "label": "网页自动化", - "icon": "web", - "count": 169 - }, - { - "id": "office", - "label": "Office 与文档", - "icon": "table", - "count": 230 - }, - { - "id": "data", - "label": "数据处理", - "icon": "database", - "count": 167 - }, - { - "id": "file", - "label": "文件与传输", - "icon": "file", - "count": 46 - }, - { - "id": "desktop", - "label": "桌面与键鼠", - "icon": "mouse", - "count": 97 - }, - { - "id": "vision", - "label": "图像与 OCR", - "icon": "scan", - "count": 100 - }, - { - "id": "message", - "label": "网络与消息", - "icon": "send", - "count": 82 - }, - { - "id": "mobile", - "label": "移动端与设备", - "icon": "mobile", - "count": 46 - } - ], - "components": [ - { - "id": "Trigger.Manual", - "name": "人工发起", - "kind": "trigger", - "group": "trigger", - "categories": [ - "trigger" - ], - "categorySignature": "trigger", - "description": "由用户在运行页手动发起流程。", - "messageTemplate": "", - "baseType": "Trigger", - "functionName": "Trigger.Manual", - "functionCalls": [], - "version": "", - "tags": [ - "触发", - "人工发起" - ], - "platformTag": null, - "icon": "trigger", - "risk": "low", - "fields": [ - { - "key": "entryName", - "label": "入口名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "立即执行", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Trigger.Schedule", - "name": "定时触发", - "kind": "trigger", - "group": "trigger", - "categories": [ - "trigger" - ], - "categorySignature": "trigger", - "description": "按工作日或时间计划创建运行请求。", - "messageTemplate": "", - "baseType": "Trigger", - "functionName": "Trigger.Schedule", - "functionCalls": [], - "version": "", - "tags": [ - "触发", - "定时触发" - ], - "platformTag": null, - "icon": "trigger", - "risk": "low", - "fields": [ - { - "key": "mode", - "label": "计划方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": true, - "defaultValue": "工作日", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - "工作日", - "每天", - "每周", - "Cron 表达式" - ] - }, - { - "key": "time", - "label": "执行时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "08:30", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "timezone", - "label": "时区", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Asia/Shanghai", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Trigger.FileArrival", - "name": "文件到达触发", - "kind": "trigger", - "group": "trigger", - "categories": [ - "trigger" - ], - "categorySignature": "trigger", - "description": "监听指定目录的新文件事件。", - "messageTemplate": "", - "baseType": "Trigger", - "functionName": "Trigger.FileArrival", - "functionCalls": [], - "version": "", - "tags": [ - "触发", - "文件到达触发" - ], - "platformTag": null, - "icon": "trigger", - "risk": "low", - "fields": [ - { - "key": "folder", - "label": "监听目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "D:\\业务文件\\待处理", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pattern", - "label": "文件匹配", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "*.xlsx", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "stableSeconds", - "label": "文件稳定等待", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "unit": "秒" - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "logic_control_if_else", - "name": "IF 条件分支", - "kind": "native", - "group": "control", - "categories": [ - "judgment" - ], - "categorySignature": "judgment", - "description": "definition.args1/args3 保存两个 input_statement 子树,代码生成器输出 if/else。", - "messageTemplate": "", - "baseType": "logic_control_if_else", - "functionName": "logic_control_if_else", - "functionCalls": [], - "version": "", - "tags": [ - "judgment", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "condition", - "label": "条件表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "statement_if", - "statement_else" - ], - "nodeKind": "container" - }, - { - "id": "logic_control_var", - "name": "设置变量", - "kind": "native", - "group": "control", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "变量名字段使用 assign 导出语义,代码生成器输出赋值语句。", - "messageTemplate": "", - "baseType": "logic_control_var", - "functionName": "logic_control_var", - "functionCalls": [], - "version": "", - "tags": [ - "base_command", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "var_name", - "label": "变量名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "var_value", - "label": "变量值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "var_name", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "logic_control_count_for", - "name": "计次循环", - "kind": "native", - "group": "control", - "categories": [ - "loop" - ], - "categorySignature": "loop", - "description": "args1 保存循环体,生成 range(start,end,step)。", - "messageTemplate": "", - "baseType": "logic_control_count_for", - "functionName": "logic_control_count_for", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "count_index", - "label": "计数变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "count_start_value", - "label": "开始值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "count_end_value", - "label": "结束值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "count_step", - "label": "步长", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "count_index", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "count_for_fn" - ], - "nodeKind": "container" - }, - { - "id": "logic_control_while", - "name": "条件循环", - "kind": "native", - "group": "control", - "categories": [ - "loop" - ], - "categorySignature": "loop", - "description": "args1 保存循环体,condition 生成 while 表达式。", - "messageTemplate": "", - "baseType": "logic_control_while", - "functionName": "logic_control_while", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "if_for_condition", - "label": "循环条件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "if_for_fn" - ], - "nodeKind": "container" - }, - { - "id": "infinite_loop", - "name": "无限循环", - "kind": "native", - "group": "control", - "categories": [ - "loop" - ], - "categorySignature": "loop", - "description": "前端内置无限循环容器;仅作 UI 结构参考。", - "messageTemplate": "", - "baseType": "infinite_loop", - "functionName": "infinite_loop", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "loop_body" - ], - "nodeKind": "container" - }, - { - "id": "logic_control_next_for", - "name": "继续下次循环", - "kind": "native", - "group": "control", - "categories": [ - "loop" - ], - "categorySignature": "loop", - "description": "生成 continue。", - "messageTemplate": "", - "baseType": "logic_control_next_for", - "functionName": "logic_control_next_for", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "logic_control_break_for", - "name": "跳出循环", - "kind": "native", - "group": "control", - "categories": [ - "loop" - ], - "categorySignature": "loop", - "description": "生成 break。", - "messageTemplate": "", - "baseType": "logic_control_break_for", - "functionName": "logic_control_break_for", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "logic_control_try_catch", - "name": "异常捕获", - "kind": "native", - "group": "control", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "args1/args3/args5 分别保存 try、except、finally 子树。字段名 else_fn 与实际 finally 生成语义不一致。", - "messageTemplate": "", - "baseType": "logic_control_try_catch", - "functionName": "logic_control_try_catch", - "functionCalls": [], - "version": "", - "tags": [ - "process", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "try_fn", - "except_fn", - "else_fn" - ], - "nodeKind": "container" - }, - { - "id": "logic_control_stop", - "name": "退出流程", - "kind": "native", - "group": "control", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "流程终止语句。", - "messageTemplate": "", - "baseType": "logic_control_stop", - "functionName": "logic_control_stop", - "functionCalls": [], - "version": "", - "tags": [ - "process", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "logic_control_stop_return", - "name": "返回并退出流程", - "kind": "native", - "group": "control", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "生成 return,并允许返回值。", - "messageTemplate": "", - "baseType": "logic_control_stop_return", - "functionName": "logic_control_stop_return", - "functionCalls": [], - "version": "", - "tags": [ - "process", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "return_value", - "label": "返回值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "child_modules_v1", - "name": "调用子流程", - "kind": "native", - "group": "control", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "模块树、方法、参数和输出由 changeTargetData 动态查询;运行时可附加重试与错误处理参数。", - "messageTemplate": "", - "baseType": "child_modules_v1", - "functionName": "child_modules_v1", - "functionCalls": [], - "version": "", - "tags": [ - "process", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "module_name", - "label": "子流程", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "call_type", - "label": "调用方式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "fun_name", - "label": "方法", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "args", - "label": "输入映射", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "fun_version", - "label": "版本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "outputs", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "concurrent_child_process_v1", - "name": "并发调用子流程", - "kind": "native", - "group": "control", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "与子流程选择器共用动态参数源,并增加 is_async。", - "messageTemplate": "", - "baseType": "concurrent_child_process_v1", - "functionName": "concurrent_child_process_v1", - "functionCalls": [], - "version": "", - "tags": [ - "process", - "statement" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "module_name", - "label": "子流程", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "call_type", - "label": "调用方式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "fun_name", - "label": "方法", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "args", - "label": "输入映射", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_async", - "label": "是否异步", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "fun_version", - "label": "版本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [], - "nodeKind": "statement" - }, - { - "id": "logic_control_array_for_v3", - "name": "遍历列表", - "kind": "native", - "group": "control", - "categories": [ - "loop", - "List" - ], - "categorySignature": "loop/List", - "description": "循环项与索引是作用域输出,args1 保存循环体。", - "messageTemplate": "", - "baseType": "logic_control_array_for_v3", - "functionName": "logic_control_array_for_v3", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "List", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "array_name", - "label": "列表变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "reverse", - "label": "是否倒序", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "start_index", - "label": "开始索引", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "end_index", - "label": "结束索引", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "array_value", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "array_for_fn" - ], - "nodeKind": "container" - }, - { - "id": "logic_control_dictionary_for_v1", - "name": "遍历字典", - "kind": "native", - "group": "control", - "categories": [ - "loop", - "dict" - ], - "categorySignature": "loop/dict", - "description": "键和值是作用域输出,args1 保存循环体。", - "messageTemplate": "", - "baseType": "logic_control_dictionary_for_v1", - "functionName": "logic_control_dictionary_for_v1", - "functionCalls": [], - "version": "", - "tags": [ - "loop", - "dict", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "dictionary_name", - "label": "字典变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "dictionary_key", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "dictionary_for_fn" - ], - "nodeKind": "container" - }, - { - "id": "Element_exception_monitor_v2", - "name": "异常监控", - "kind": "native", - "group": "control", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "将子树生成回调函数,并返回 monitor_id;依赖 Element 厂商插件运行时。", - "messageTemplate": "", - "baseType": "Element_exception_monitor_v2", - "functionName": "Element_exception_monitor_v2", - "functionCalls": [], - "version": "", - "tags": [ - "process", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "low", - "fields": [ - { - "key": "event_type", - "label": "事件类型", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uiSelector", - "label": "元素选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_info", - "label": "指定信息", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "指定对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_exits", - "label": "存在条件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "monitor_type", - "label": "监控类型", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "monitor_frequency", - "label": "监控频率", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "monitor_id", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "exception_monitor_params" - ], - "nodeKind": "container" - }, - { - "id": "logic_control_if_ai_vision", - "name": "判断屏幕图像(AI)", - "kind": "native", - "group": "control", - "categories": [ - "ai_operation_screen", - "judgment" - ], - "categorySignature": "ai_operation_screen/judgment", - "description": "调用 DataService.AiScreenJudge 后决定是否执行子树;依赖 Z-Brain/AgentVision 与外部服务。", - "messageTemplate": "", - "baseType": "logic_control_if_ai_vision", - "functionName": "logic_control_if_ai_vision", - "functionCalls": [], - "version": "", - "tags": [ - "ai_operation_screen", - "judgment", - "container" - ], - "platformTag": null, - "icon": "branch", - "risk": "high", - "fields": [ - { - "key": "input_data", - "label": "屏幕判断要求", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "log_process", - "label": "记录过程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [ - "statement_if" - ], - "nodeKind": "container" - }, - { - "id": "App_Run", - "name": "启动应用程序", - "kind": "vendor", - "group": "app", - "categories": [ - "app" - ], - "categorySignature": "app", - "description": "启动指定的程序,并返回程序的pid到指定变量。", - "messageTemplate": "运行应用程序 $1, 然后把结果保存到 $0", - "baseType": "App_Run", - "functionName": "App.Run", - "functionCalls": [ - { - "function": "App.Run", - "args": [ - "executeable", - "params", - "cwd", - "is_admin", - "create_new_console" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "启动程序", - "开启程序", - "打开应用", - "启动", - "开启", - "运行", - "打开", - "启用" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "executeable", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择需启动程序的文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "params", - "label": "携带参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要携带的参数", - "description": "启动应用时携带的参数,示例:无痕模式启动Chrome,可输入\"--incognito\"。为空表示不携带参数。", - "advanced": true, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cwd", - "label": "执行目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "为空表示程序所在父目录", - "description": "选择应用程序的执行目录,为空表示程序所在父目录", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "is_admin", - "label": "以管理员身份启动", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "以管理员身份打开目标应用程序", - "advanced": true, - "valueTypes": [] - }, - { - "key": "create_new_console", - "label": "创建新控制台窗口", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "未勾选:组件自动判断启动方式;勾选:强制新建控制台窗口。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "程序PID值", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "程序PID值", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "App_GetPid", - "name": "获取一个匹配PID", - "kind": "vendor", - "group": "app", - "categories": [ - "app" - ], - "categorySignature": "app", - "description": "获取与通配符匹配的第一个应用程序的PID,并输出到指定变量。", - "messageTemplate": "获取第一个 $1 应用程序的PID, 然后把结果保存到 $0", - "baseType": "App_GetPid", - "functionName": "App.GetPid", - "functionCalls": [ - { - "function": "App.GetPid", - "args": [ - "pattern" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "指定pid", - "指定应用程序", - "单个pid", - "获取", - "得到", - "取得", - "提取", - "获取到", - "PID", - "进程ID", - "进程标识" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "pattern", - "label": "通配符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "chrome.exe", - "placeholder": "请输入要获取PID的程序的特殊符号", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "第一个PID值", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "第一个PID值", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "App_GetPids", - "name": "获取全部匹配PID", - "kind": "vendor", - "group": "app", - "categories": [ - "app" - ], - "categorySignature": "app", - "description": "获取所有设定通配符的应用程序的PID,并以数组的形式输出。", - "messageTemplate": "获取所有 $1 应用程序的PID, 然后把结果保存到 $0", - "baseType": "App_GetPids", - "functionName": "App.GetPids", - "functionCalls": [ - { - "function": "App.GetPids", - "args": [ - "pattern" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "指定PID", - "指定应用程序", - "多个PID", - "获取", - "得到", - "取得", - "提取", - "获取到", - "PID", - "进程ID", - "进程标识" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "pattern", - "label": "通配符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "chrome.exe", - "placeholder": "请输入要获取PID的程序的特殊符号", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "获取的PID列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "获取的PID列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "App_KillV1", - "name": "关闭应用程序", - "kind": "vendor", - "group": "app", - "categories": [ - "app" - ], - "categorySignature": "app", - "description": "关闭指定PID/名称的应用程序。", - "messageTemplate": "终止{$$0 == 'id' && '进程PID为 $1'}{$$0 == 'name' && '所有名称为 $2'} 的进程", - "baseType": "App_Kill", - "functionName": "App.KillV1", - "functionCalls": [ - { - "function": "App.KillV1", - "args": [ - "close_type", - "pid", - "p_name", - "kill_all" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "close_type", - "label": "终止方式", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "id", - "placeholder": "", - "description": "通过进程PID、进程名称来终止进程", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按进程 PID", - "value": "id" - }, - { - "label": "按进程名称", - "value": "name" - } - ] - }, - { - "key": "pid", - "label": "进程PID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入要关闭的进程PID", - "description": "要终止的进程PID", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_str" - ] - }, - { - "key": "p_name", - "label": "进程名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入要关闭的进程名称", - "description": "要终止的进程的名称,如果有多个正在运行的同名进程,则均会被终止", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "kill_all", - "label": "关闭所有会话中的程序", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "使用静默运行方式时,Windows会启动多个会话。默认不勾选表示仅关闭当前会话下程序,勾选则会关闭所有会话下的程序。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "App_Kill", - "name": "关闭应用程序", - "kind": "vendor", - "group": "app", - "categories": [ - "app" - ], - "categorySignature": "app", - "description": "关闭指定PID的应用程序。", - "messageTemplate": "关闭PID为 $0 的应用程序", - "baseType": "App_Kill", - "functionName": "App.Kill", - "functionCalls": [ - { - "function": "App.Kill", - "args": [ - "pid" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭程序", - "退出程序", - "关闭进程" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "pid", - "label": "PID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "iPID", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Array_Reshape2Dim", - "name": "转化数组维度", - "kind": "vendor", - "group": "data", - "categories": [ - "Array" - ], - "categorySignature": "Array", - "description": "。", - "messageTemplate": "将 $1 数组转化为 $2,$3 维, 然后把结果保存到 $0", - "baseType": "Array_Reshape2Dim", - "functionName": "Array.Reshape2Dim", - "functionCalls": [ - { - "function": "Array.Reshape2Dim", - "args": [ - "arr", - "x", - "y" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转化数组维度" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arr", - "label": "集合", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "x", - "label": "x维度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "y", - "label": "y维度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_IsDictionary", - "name": "判断数据是否为字典", - "kind": "vendor", - "group": "app", - "categories": [ - "judgment" - ], - "categorySignature": "judgment", - "description": "判断数据是不是一个字典,是则返回Ture,否则返回False。", - "messageTemplate": "判断 $1 中的数据是不是一个字典, 然后把结果保存到 $0", - "baseType": "Basic_IsDictionary", - "functionName": "Basic.IsDictionary", - "functionCalls": [ - { - "function": "Basic.IsDictionary", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "dict", - "字典" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待校验数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_StringToNum", - "name": "将文本转换为数字", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将数字的文本表示形式转换为包含数字的变量。", - "messageTemplate": "将 $1 转换成数字格式, 然后把结果保存到 $0", - "baseType": "Basic_StringToNum", - "functionName": "Basic.StringToNum", - "functionCalls": [ - { - "function": "Basic.StringToNum", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "文字", - "文本", - "text", - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "字符" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待转换文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入文本形式的数值或变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "数字类型值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "数字类型值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Delay_V2", - "name": "等待", - "kind": "vendor", - "group": "app", - "categories": [ - "waite" - ], - "categorySignature": "waite", - "description": "让流程等待一段时间后再执行。", - "messageTemplate": "{$$0 == '0' && '让流程等待 $1 秒后继续执行'}{$$0 == '1' && '让流程等待 $2 至 $3 秒后继续执行'}", - "baseType": "Basic_Delay", - "functionName": "Basic.Delay_V2", - "functionCalls": [ - { - "function": "Basic.Delay_V2", - "args": [ - "is_random", - "second", - "min_second", - "max_second" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "延长", - "等待", - "暂停", - "延迟", - "随机等待" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "is_random", - "label": "等待时长随机", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "等待时长是随机数", - "advanced": false, - "valueTypes": [] - }, - { - "key": "second", - "label": "等待时间(秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "min_second", - "label": "最小时长(秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "max_second", - "label": "最大时长(秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "5", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Basic_ConvertInt", - "name": "数值转为整数类型", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将数值转换成整数然后保存。", - "messageTemplate": "将 $1 中的数值转换为整数类型, 然后把结果保存到 $0", - "baseType": "Basic_ConvertInt", - "functionName": "Basic.ConvertInt", - "functionCalls": [ - { - "function": "Basic.ConvertInt", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "整数", - "int" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "转换对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_RandomInt", - "name": "生成随机数", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "在指定最小值到最大值之间随机生成一个整数。", - "messageTemplate": "从 $1 到 $2 之间随机一个整数, 然后把结果保存到 $0", - "baseType": "Basic_RandomInt", - "functionName": "Basic.RandomInt", - "functionCalls": [ - { - "function": "Basic.RandomInt", - "args": [ - "min", - "max" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "随机数", - "生成", - "产生", - "生成数据", - "创建", - "制作" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "min", - "label": "最小值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "生成随机数的下限,仅支持整数(包含该值)", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "max", - "label": "最大值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "100", - "placeholder": "", - "description": "生成随机数的上限,仅支持整数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "随机数", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "随机数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_GetSystemAccount_v2", - "name": "获取平台账号(通用)", - "kind": "vendor", - "group": "app", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "获取门户中配置的系统账号信息,用以登录业务系统。", - "messageTemplate": "获取 $1 业务 $2 平台账号, 然后把结果保存到 $0", - "baseType": "Basic_GetSystemAccount", - "functionName": "Basic.GetSystemAccount_v2", - "functionCalls": [ - { - "function": "Basic.GetSystemAccount_v2", - "args": [ - "businessType", - "platform" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "账号", - "门户", - "系统账号" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "businessType", - "label": "业务类型", - "widget": "text", - "type": "string", - "displayType": "remotePortalBusinessType", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "设置需要关联业务,用来关联业务执行结果。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "platform", - "label": "指定平台", - "widget": "text", - "type": "string", - "displayType": "remotePortalPlatform", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "平台账号", - "valueTypes": [ - "rpa_dict_portal" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "平台账号", - "valueTypes": [ - "rpa_dict_portal" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_IsNumber", - "name": "判断数据是否为数值", - "kind": "vendor", - "group": "app", - "categories": [ - "judgment" - ], - "categorySignature": "judgment", - "description": "判断数据是不是数值,是则返回Ture,否则返回False。", - "messageTemplate": "判断 $1 中的数据是不是一个数值, 然后把结果保存到 $0", - "baseType": "Basic_IsNumber", - "functionName": "Basic.IsNumber", - "functionCalls": [ - { - "function": "Basic.IsNumber", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "判断变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_ConvertBool", - "name": "数据转为布尔类型", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将数据格式转换为布尔类型,结果保存为true或false。", - "messageTemplate": "将 $1 中的数据转换为布尔类型, 然后把结果保存到 $0", - "baseType": "Basic_ConvertBool", - "functionName": "Basic.ConvertBool", - "functionCalls": [ - { - "function": "Basic.ConvertBool", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转化", - "boolean", - "逻辑数据", - "true", - "false" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "转换对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Type", - "name": "获取数据类型", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion", - "base_command" - ], - "categorySignature": "data_type_conversion|base_command", - "description": "判断数据的类型,然后展示类型的名称。", - "messageTemplate": "判断 $1 中的数据类型, 然后把结果保存到 $0", - "baseType": "Basic_Type", - "functionName": "Basic.Type", - "functionCalls": [ - { - "function": "Basic.Type", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型", - "变量类型", - "获取", - "得到", - "取得", - "提取", - "获取到", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "判断变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "请选择或输入需要判断数据类型的变量", - "description": "选择或输入需要判断数据类型的变量", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "数据类型", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "数据类型", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Dodecryption", - "name": "设置密文变量", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "将输入的密码用暗文显示,以便安全的在流程中使用。", - "messageTemplate": "将密文内容 $1 保存到 $0", - "baseType": "Basic_Dodecryption", - "functionName": "Basic.Dodecryption", - "functionCalls": [ - { - "function": "Basic.Dodecryption", - "args": [ - "words" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "密码", - "保密", - "隐私", - "设置", - "配置", - "设定", - "调配", - "设置好", - "变量", - "变数", - "变量值" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "words", - "label": "密文内容", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入需要进行加密的文本", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "变量名", - "key": "var_name", - "suggestedName": "密文", - "valueTypes": [ - "rpa_password" - ], - "fields": [ - { - "key": "var_name", - "label": "变量名", - "defaultValue": "密文", - "valueTypes": [ - "rpa_password" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_IsNull", - "name": "判断数据是否为空", - "kind": "vendor", - "group": "app", - "categories": [ - "judgment" - ], - "categorySignature": "judgment", - "description": "判断数据是不是空值,是则返回Ture,否则返回False。", - "messageTemplate": "判断 $1 中的数据是不是空值, 然后把结果保存到 $0", - "baseType": "Basic_IsNull", - "functionName": "Basic.IsNull", - "functionCalls": [ - { - "function": "Basic.IsNull", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待校验数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_DebugOutput", - "name": "调试输出", - "kind": "vendor", - "group": "app", - "categories": [ - "log", - "base_command" - ], - "categorySignature": "log|base_command", - "description": "将指定信息输出至控制台。", - "messageTemplate": "输出 $0 至控制台", - "baseType": "Basic_DebugOutput", - "functionName": "Basic.DebugOutput", - "functionCalls": [ - { - "function": "Basic.DebugOutput", - "args": [ - "msg" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "输出", - "打印", - "显示", - "输岀", - "展现" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "msg", - "label": "输出信息", - "widget": "textarea", - "type": "string", - "displayType": "logInput", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择需要输出的变量", - "description": "将输出信息打印到输出栏", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Basic_GetSystemAccount", - "name": "获取系统账号(门户专用)", - "kind": "vendor", - "group": "app", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "获取门户中配置的系统账号信息,用以登录业务系统。", - "messageTemplate": "获取 $1 业务系统账号, 然后把结果保存到 $0", - "baseType": "Basic_GetSystemAccount", - "functionName": "Basic.GetSystemAccount", - "functionCalls": [ - { - "function": "Basic.GetSystemAccount", - "args": [ - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "账号", - "门户", - "系统账号" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "category", - "label": "指定系统", - "widget": "select", - "type": "string", - "displayType": "remoteOptionSelect", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "账号密码", - "valueTypes": [ - "rpa_dict_portal" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "账号密码", - "valueTypes": [ - "rpa_dict_portal" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_SetVariable_V1", - "name": "设置变量", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "设置一个新的变量或者已有变量的值。", - "messageTemplate": "将变量值 $2 保存到 $0", - "baseType": "Basic_SetVariable", - "functionName": "Basic.SetVariable_V1", - "functionCalls": [ - { - "function": "Basic.SetVariable_V1", - "args": [ - "value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置", - "配置", - "设定", - "调配", - "设置好", - "变量", - "变数", - "变量值" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "variableType", - "label": "变量类型", - "widget": "text", - "type": "string", - "displayType": "variableTypeSelect", - "required": false, - "defaultValue": "rpa_str", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "变量值", - "widget": "text", - "type": "string", - "displayType": "text", - "required": false, - "defaultValue": "", - "placeholder": "请输入变量值", - "description": "输入需要设置的值", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "temp", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "temp", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_BusinessOrderCount", - "name": "业务办理计数", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "将业务办理的单数,自动记录累加,并上报到运营平台。可了解本次任务,处理了多少条数据或办理了多少单业务。", - "messageTemplate": "从“起始值”开始计数,每次上报增加“每次累加”, 然后把结果保存到 $0", - "baseType": "Basic_BusinessOrderCount", - "functionName": "Basic.BusinessOrderCount", - "functionCalls": [ - { - "function": "Basic.BusinessOrderCount", - "args": [ - "start_count", - "count" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "业务计数", - "业务办理", - "单量", - "处理量上报" - ], - "platformTag": 1, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "start_count", - "label": "起始值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "从几开始计数,仅支持整数", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "count", - "label": "每次累加", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "每运行一次增加几,仅支持整数", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "业务办理数", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "业务办理数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_SetVariable", - "name": "设置变量", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "设置一个新的变量或者已有变量的值。", - "messageTemplate": "将变量值 $1 保存到 $0", - "baseType": "Basic_SetVariable", - "functionName": "Basic.SetVariable", - "functionCalls": [ - { - "function": "Basic.SetVariable", - "args": [ - "value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "value", - "label": "变量值", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请输入变量值", - "description": "输入需要设置的值", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "temp", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "temp", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Delay_V1", - "name": "等待", - "kind": "vendor", - "group": "app", - "categories": [ - "waite", - "base_command" - ], - "categorySignature": "waite|base_command", - "description": "让流程等待一段时间后再执行。", - "messageTemplate": "让流程等待 $0秒后继续执行", - "baseType": "Basic_Delay", - "functionName": "Basic.Delay_V1", - "functionCalls": [ - { - "function": "Basic.Delay_V1", - "args": [ - "second" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "延长", - "等待", - "暂停", - "延迟", - "延时", - "等候" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "second", - "label": "等待时间(秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "请输入等待时间(秒)", - "description": "输入等待时间(秒),默认1秒", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Basic_GetSystemAccount_v1", - "name": "获取平台账号", - "kind": "vendor", - "group": "app", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "获取门户中配置的系统账号信息,用以登录业务系统。", - "messageTemplate": "获取 $1 业务 $2 平台账号, 然后把结果保存到 $0", - "baseType": "Basic_GetSystemAccount", - "functionName": "Basic.GetSystemAccount_v1", - "functionCalls": [ - { - "function": "Basic.GetSystemAccount_v1", - "args": [ - "businessType", - "platform" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "账号", - "门户", - "系统账号" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "businessType", - "label": "业务类型", - "widget": "text", - "type": "string", - "displayType": "remotePortalBusinessType", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "设置需要关联业务,用来关联业务执行结果。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "platform", - "label": "指定平台", - "widget": "text", - "type": "string", - "displayType": "remotePortalPlatform", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "平台账号", - "valueTypes": [ - "rpa_dict_portal" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "平台账号", - "valueTypes": [ - "rpa_dict_portal" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_ConvertNumber", - "name": "数据转为数值类型", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将数据转换成数值类型并保存。", - "messageTemplate": "将 $1 中的数据转换为数值类型, 然后把结果保存到 $0", - "baseType": "Basic_ConvertNumber", - "functionName": "Basic.ConvertNumber", - "functionCalls": [ - { - "function": "Basic.ConvertNumber", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "数值", - "number" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待转换数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_GetProcessInfo", - "name": "获取流程信息", - "kind": "vendor", - "group": "app", - "categories": [ - "process" - ], - "categorySignature": "process", - "description": "获取流程名称,版本号,流程简介,使用说明等。", - "messageTemplate": "获取当前流程的信息, 然后把结果保存到 $0", - "baseType": "Basic_GetProcessInfo", - "functionName": "Basic.GetProcessInfo", - "functionCalls": [ - { - "function": "Basic.GetProcessInfo", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "流程信息", - "valueTypes": [ - "rpa_dict_process" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "流程信息", - "valueTypes": [ - "rpa_dict_process" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_ConvertString", - "name": "将数字转换为文本", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将数字转换为文本形式,可用于数字和文本的拼接。", - "messageTemplate": "将 $1 转换成文本格式, 然后把结果保存到 $0", - "baseType": "Basic_ConvertString", - "functionName": "Basic.ConvertString", - "functionCalls": [ - { - "function": "Basic.ConvertString", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "文字", - "文本", - "text", - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "字符" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待转换数字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入数字或变量。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Delay", - "name": "流程延迟执行", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "让流程等待一段时间后再执行。", - "messageTemplate": "让流程等待 $0 毫秒后继续执行", - "baseType": "Basic_Delay", - "functionName": "Basic.Delay", - "functionCalls": [ - { - "function": "Basic.Delay", - "args": [ - "mileSecond" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "延长", - "等待", - "暂停", - "延迟" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mileSecond", - "label": "延时时间(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "1000", - "placeholder": "请输入延迟时间(毫秒)", - "description": "输入延迟时间(毫秒),默认1000毫秒", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Basic_IsArray", - "name": "判断数据是否为数组", - "kind": "vendor", - "group": "app", - "categories": [ - "judgment" - ], - "categorySignature": "judgment", - "description": "判断数据是不是一个数组,是则返回Ture,否则返回False。", - "messageTemplate": "判断 $1 中的数据类型是不是一个数组, 然后把结果保存到 $0", - "baseType": "Basic_IsArray", - "functionName": "Basic.IsArray", - "functionCalls": [ - { - "function": "Basic.IsArray", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数组类型", - "判断数组", - "数组" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "判断变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "varData", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Clone", - "name": "复制数据", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "将数据复制一份,然后保存。", - "messageTemplate": "复制 $1 中的数据, 然后把结果保存到 $0", - "baseType": "Basic_Clone", - "functionName": "Basic.Clone", - "functionCalls": [ - { - "function": "Basic.Clone", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制", - "拷贝", - "复件", - "仿制", - "数据", - "资料", - "数据信息", - "数据内容" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待拷贝数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入待拷贝的变量", - "description": "输入待拷贝的变量,修改拷贝后变量将不影响原变量值", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "复制的数据", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "复制的数据", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_Rnd", - "name": "生成随机数", - "kind": "vendor", - "group": "app", - "categories": [ - "base_command" - ], - "categorySignature": "base_command", - "description": "生成一个随机数。", - "messageTemplate": "从0到1之间获取一个随机小数, 然后把结果保存到 $0", - "baseType": "Basic_RandomInt", - "functionName": "Basic.Rnd", - "functionCalls": [ - { - "function": "Basic.Rnd", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "随机数", - "0到1之间" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "随机小数", - "valueTypes": [ - "rpa_float" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "随机小数", - "valueTypes": [ - "rpa_float" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_JudgeDataType", - "name": "判断数据类型", - "kind": "vendor", - "group": "app", - "categories": [ - "judgment", - "base_command" - ], - "categorySignature": "judgment|base_command", - "description": "按所选目标类型判断数据,返回布尔值 true 或 false。数值判断区分数字与数字文本。", - "messageTemplate": "判断数据 $1 的类型, 然后把结果保存到 $0", - "baseType": "Basic_JudgeDataType", - "functionName": "Basic.JudgeDataType", - "functionCalls": [ - { - "function": "Basic.JudgeDataType", - "args": [ - "val", - "into_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "类型", - "转换", - "文字", - "布尔", - "整数", - "列表", - "浮点", - "判断", - "判定", - "判别", - "判断出", - "识别", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待判断数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入待判断数据", - "description": "选择或输入需要判断数据类型的变量", - "advanced": false, - "valueTypes": [] - }, - { - "key": "into_type", - "label": "目标数据类型选项", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "number", - "placeholder": "", - "description": "选择要判断的目标类型。历史默认值 1 兼容数值类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "数值", - "value": "number" - }, - { - "label": "整数", - "value": "int" - }, - { - "label": "空值", - "value": "null" - }, - { - "label": "字典", - "value": "dict" - }, - { - "label": "数组", - "value": "list" - }, - { - "label": "文本", - "value": "string" - }, - { - "label": "布尔", - "value": "bool" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Basic_DataTypeConversion", - "name": "转换数据类型", - "kind": "vendor", - "group": "app", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将数据转换为所选的数值、整数、布尔或文本类型;无法转换时给出参数错误。", - "messageTemplate": "将待转换数据 $1 转换为 $2, 然后把结果保存到 $0", - "baseType": "Basic_DataTypeConversion", - "functionName": "Basic.DataTypeConversion", - "functionCalls": [ - { - "function": "Basic.DataTypeConversion", - "args": [ - "val", - "into_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "类型", - "转换", - "文字", - "布尔", - "整数", - "列表", - "浮点", - "转变", - "转换格式", - "转换类型", - "变换", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "val", - "label": "待转换数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入待转换数据", - "description": "输入需要转换为其他类型的数据。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "into_type", - "label": "需要转换的数据类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "number", - "placeholder": "", - "description": "选择目标类型。历史默认值 1 兼容数值;其他数字别名 2=整数、3=布尔、4=文本。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "数值", - "value": "number" - }, - { - "label": "整数", - "value": "int" - }, - { - "label": "布尔", - "value": "bool" - }, - { - "label": "文本", - "value": "string" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "转换结果", - "valueTypes": [ - "rpa_str", - "rpa_bool", - "rpa_int", - "rpa_float", - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "转换结果", - "valueTypes": [ - "rpa_str", - "rpa_bool", - "rpa_int", - "rpa_float", - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_CreateDf", - "name": "创建数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "创建数据表格(二维表)。注:当前使用的pandas版本为 1.0.1。", - "messageTemplate": "创建数据表格, 然后把结果保存到 $0", - "baseType": "Bivartable_CreateDf", - "functionName": "Bivartable.CreateDf", - "functionCalls": [ - { - "function": "Bivartable.CreateDf", - "args": [ - "mode", - "data", - "filePath", - "sheet", - "columnList", - "startRow", - "rowNum", - "format", - "dataType", - "param" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "创建二维表", - "二维表", - "数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "mode", - "label": "创建方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "数据表格创建方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "手动输入", - "value": "1" - }, - { - "label": "Excel", - "value": "2" - }, - { - "label": "CSV", - "value": "3" - }, - { - "label": "数据表", - "value": "4" - } - ] - }, - { - "key": "data", - "label": "写入内容", - "widget": "region", - "type": "object", - "displayType": "drawDataTable", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "支持二维列表数据和字典,示例:[[\"a\",\"b\",\"c\"],[1,2,3]]、{'Name':['Tom', 'Jack', 'Steve', 'Ricky'],'Age':[28,34,29,42]}", - "advanced": false, - "valueTypes": [ - "rpa_list", - "rpa_dict" - ] - }, - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet页", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "columnList", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "一般适用于Excel缺少列名,或者需要重新定义列名的情况。names的长度必须等于Excel表格列的长度,否则会报错。", - "advanced": true, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "startRow", - "label": "指定行开始", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指定开始读取行位置,默认值空,表示从列表第一行开始。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "rowNum", - "label": "读取行数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "需要读取的行数。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "format", - "label": "编码格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "读取的数据如果出现乱码,请设置编码格式。Excel文件一般用utf-8,CSV文件一般采用gb18030", - "advanced": true, - "valueTypes": [ - "rpa_str" - ], - "options": [ - { - "label": "utf-8", - "value": "utf-8" - }, - { - "label": "gb18030", - "value": "gb18030" - }, - { - "label": "gbk", - "value": "gbk" - }, - { - "label": "gb2312", - "value": "gb2312" - } - ] - }, - { - "key": "dataType", - "label": "数据类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "object", - "placeholder": "", - "description": "指定整个数据表格的数据类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "对象(object)", - "value": "object" - }, - { - "label": "浮点数(float)", - "value": "float64" - }, - { - "label": "整型(int)", - "value": "int64" - }, - { - "label": "类别(category)", - "value": "category" - }, - { - "label": "日期类型(datetime)", - "value": "datetime64[ns]" - } - ] - }, - { - "key": "param", - "label": "可选参数", - "widget": "textarea", - "type": "string", - "displayType": "multipleTextArea", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "可输入对应 pandas DataFrame()、read_excel()、read_csv()方法里的参数。支持传入一个字典。", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "数据表格保存至", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "数据表格保存至", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_GetMaxValue", - "name": "获取最大值", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "获取二维表中某列的最大值。", - "messageTemplate": " $1 先分组,分组依据为 $2 ,而后获取列 $3 的最大值 , 然后把结果保存到 $0", - "baseType": "Bivartable_GetMaxValue", - "functionName": "Bivartable.GetMaxValue", - "functionCalls": [ - { - "function": "Bivartable.GetMaxValue", - "args": [ - "df", - "groupby", - "maxvaluecols" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "最大值", - "获取最大值", - "获取二维表中某列的最大值" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "groupby", - "label": "分组依据(列名,多列的话,以中文逗号(',')隔开)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "maxvaluecols", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "最大数值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "最大数值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DelDfColRow", - "name": "删除行/列", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "删除数据表格中指定的行或列。", - "messageTemplate": "删除 $1 的 {$$3 == 'col' && '列'}{$$3 == 'row' && '行'} $4 $5 $6 $7, 然后把结果保存到 $0", - "baseType": "Bivartable_DelDfColRow", - "functionName": "Bivartable.DelDfColRow", - "functionCalls": [ - { - "function": "Bivartable.DelDfColRow", - "args": [ - "df", - "delType", - "delRange", - "del_col_name_list", - "del_col_num_list", - "del_row_name_list", - "del_row_num_list", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "delType", - "label": "删除方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "num", - "placeholder": "", - "description": "行名、列名是数据表格中指定的表头。行号、列号是数据表格中的行序号、列序号,是一个整数。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行名、列名", - "value": "name" - }, - { - "label": "按行号、列号", - "value": "num" - } - ] - }, - { - "key": "delRange", - "label": "删除行/列", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "col", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "删除行", - "value": "row" - }, - { - "label": "删除列", - "value": "col" - } - ] - }, - { - "key": "del_col_name_list", - "label": "待删除列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单列和多列,示例:[\"A\"],[\"A\",\"B\",\"C\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "del_col_num_list", - "label": "待删除列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单列和多列,示例:[\"A\"],[\"A\",\"B\",\"C\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "del_row_name_list", - "label": "待删除行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单行和多行,示例:[1],[1,2,3]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "del_row_num_list", - "label": "待删除行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单行和多行,示例:[1],[1,2,3]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "删除后结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "删除后结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ReadDfData_V1", - "name": "读取数据", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取数据表格中部分数据。", - "messageTemplate": "读取数据表格数据, 然后把结果保存到 $0", - "baseType": "Bivartable_ReadDfData", - "functionName": "Bivartable.ReadDfData_V1", - "functionCalls": [ - { - "function": "Bivartable.ReadDfData_V1", - "args": [ - "df", - "readType", - "readRange", - "row_name", - "col_name", - "row_num", - "col_num", - "appoint_row_name", - "appoint_row_num", - "appoint_col_name", - "appoint_col_num", - "range_name", - "range_num", - "showTable", - "toList" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读出", - "读取信息", - "数据", - "资料", - "数据信息", - "数据内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量。", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "readType", - "label": "读取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "name", - "placeholder": "", - "description": "选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行名、列名", - "value": "name" - }, - { - "label": "按行号、列号", - "value": "num" - } - ] - }, - { - "key": "readRange", - "label": "读取区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": true, - "defaultValue": "cell", - "placeholder": "", - "description": "选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "cell" - }, - { - "label": "行", - "value": "row" - }, - { - "label": "列", - "value": "col" - }, - { - "label": "区域", - "value": "range" - } - ] - }, - { - "key": "row_name", - "label": "行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入数据表格行标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "col_name", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "输入数据表格列标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "row_num", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "col_num", - "label": "列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "appoint_row_name", - "label": "指定行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "appoint_row_num", - "label": "指定行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "appoint_col_name", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "appoint_col_num", - "label": "指定列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "range_name", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "range_num", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toList", - "label": "结果转为列表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "不勾选读取结果将输入dataFrame对象,勾选将输出为列表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "读取结果保存到", - "key": "var_name", - "suggestedName": "读取结果", - "valueTypes": [ - "rpa_list", - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "读取结果保存到", - "defaultValue": "读取结果", - "valueTypes": [ - "rpa_list", - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_GetMinValue", - "name": "获取最小值", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "获取二维表中某列的最小值。", - "messageTemplate": " $1 先分组,分组依据为 $2 ,而后获取列 $3 最小值 , 然后把结果保存到 $0", - "baseType": "Bivartable_GetMinValue", - "functionName": "Bivartable.GetMinValue", - "functionCalls": [ - { - "function": "Bivartable.GetMinValue", - "args": [ - "df", - "groupby", - "minvaluecols" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "最小值", - "获取最小值", - "获取二维表中某列的最小值" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "groupby", - "label": "分组依据(列名,多列的话,以中文逗号(',')隔开)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "minvaluecols", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "最小数值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "最小数值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_CreateDfV1", - "name": "创建数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "创建数据表格(二维表)。注:当前使用pandas版本为 1.0.1。", - "messageTemplate": "创建数据表格, 然后把结果保存到 $0", - "baseType": "Bivartable_CreateDf", - "functionName": "Bivartable.CreateDfV1", - "functionCalls": [ - { - "function": "Bivartable.CreateDfV1", - "args": [ - "mode", - "data", - "filePath", - "filePath_csv", - "sheet", - "columnList", - "startRow", - "rowNum", - "format", - "dataType", - "param", - "save", - "view", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "创建二维表", - "二维表", - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "表格", - "数据表", - "表格数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "mode", - "label": "创建方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "数据表格的创建方式。数据表:从控制台中的数据表创建", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "手动输入", - "value": "1" - }, - { - "label": "Excel", - "value": "2" - }, - { - "label": "CSV", - "value": "3" - }, - { - "label": "数据表", - "value": "4" - } - ] - }, - { - "key": "data", - "label": "写入内容", - "widget": "region", - "type": "object", - "displayType": "drawDataTable", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "支持二维列表数据和字典,示例:[[\"a\",\"b\",\"c\"],[1,2,3]]、{'Name':['Tom', 'Jack', 'Steve', 'Ricky'],'Age':[28,34,29,42]}", - "advanced": false, - "valueTypes": [ - "rpa_list", - "rpa_dict" - ] - }, - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "filePath_csv", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet页", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "columnList", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "请输入新列名,例如:[\"列名1\",\"列名2\"]", - "description": "一般适用于Excel缺少列名,或者需要重新定义列名的情况。names的长度必须等于Excel表格列的长度,否则会报错。", - "advanced": true, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "startRow", - "label": "指定行开始", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "开始行号,从1开始", - "description": "指定开始读取行位置,默认值空,表示从列表第一行开始。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "rowNum", - "label": "读取行数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入正整数", - "description": "需要读取的行数。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "format", - "label": "编码格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "读取的数据如果出现乱码,请设置编码格式。Excel文件一般用utf-8,CSV文件一般采用gb18030。", - "advanced": true, - "valueTypes": [ - "rpa_str" - ], - "options": [ - { - "label": "utf-8", - "value": "utf-8" - }, - { - "label": "gb18030", - "value": "gb18030" - }, - { - "label": "gbk", - "value": "gbk" - }, - { - "label": "gb2312", - "value": "gb2312" - } - ] - }, - { - "key": "dataType", - "label": "数据类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "object", - "placeholder": "", - "description": "指定整个数据表格的数据类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "对象(object)", - "value": "object" - }, - { - "label": "浮点数(float)", - "value": "float64" - }, - { - "label": "整型(int)", - "value": "int64" - }, - { - "label": "类别(category)", - "value": "category" - }, - { - "label": "日期类型(datetime)", - "value": "datetime64[ns]" - } - ] - }, - { - "key": "param", - "label": "可选参数", - "widget": "textarea", - "type": "string", - "displayType": "multipleTextArea", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入可选参数字典", - "description": "可输入对应 pandas DataFrame()、read_excel()、read_csv()方法里的参数。支持传入一个字典。", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "save", - "label": "将结果保存至松塔", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "数据表格保存至", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "数据表格保存至", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_HandleDfMissValue", - "name": "缺失值处理", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将数据表格中缺失值(NaN)填充固定值、填充前一值、填充后一值、删除缺失值等操作。", - "messageTemplate": "将数据表格对象 $1 指定 $3 的缺失值 $9 {$$9 == 4 && '填充固定数值$10'} , 然后把结果保存到 $0", - "baseType": "Bivartable_HandleDfMissValue", - "functionName": "Bivartable.HandleDfMissValue", - "functionCalls": [ - { - "function": "Bivartable.HandleDfMissValue", - "args": [ - "df", - "missType", - "missRange", - "missColRow", - "col_name_list", - "col_num_list", - "row_name_list", - "row_num_list", - "handleType", - "value", - "delType", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "处理", - "处置", - "办理", - "处理数据", - "加工" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "missType", - "label": "缺失值类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "处理指定的缺失值类型,包含NaN、None、空字符。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "不包含空字符串", - "value": "0" - }, - { - "label": "包含空字符串", - "value": "1" - } - ] - }, - { - "key": "missRange", - "label": "处理区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "col", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行", - "value": "row" - }, - { - "label": "列", - "value": "col" - } - ] - }, - { - "key": "missColRow", - "label": " ", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "num", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行名、列名", - "value": "name" - }, - { - "label": "按行号、列号", - "value": "num" - } - ] - }, - { - "key": "col_name_list", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单列和多列,单列示例:[\"A\"],多列示例:[\"A\",\"B\",\"C\"],输入空列表则作用于整个表,空列表示例:[]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "col_num_list", - "label": "列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单列和多列,单列示例:[1],多列示例:[1,2,3],输入空列表则作用于整个表,空列表示例:[]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "row_name_list", - "label": "行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单行和多行,单行示例:[1],多行示例:[1,2,3],输入空列表则作用于整个表,空列表示例:[]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "row_num_list", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "支持单行和多行,单行示例:[1],多行示例:[1,2,3],输入空列表则作用于整个表,空列表示例:[]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "handleType", - "label": "处理方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "支持将缺失值填充指定的值、填充前一值(前一行/列)、填充后一值(后一行/列)、删除缺失值所在行/列。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "填充固定值", - "value": "1" - }, - { - "label": "填充前一值", - "value": "2" - }, - { - "label": "填充后一值", - "value": "3" - }, - { - "label": "删除缺失值", - "value": "4" - } - ] - }, - { - "key": "value", - "label": "填充值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "将所有缺失值填充指定的值。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "delType", - "label": "删除条件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "支持指定的行/列中存在缺失值即删除所在行/列、指定的行/列所有值为缺失值才删除所在行/列。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "存在缺失值即删除", - "value": "1" - }, - { - "label": "全部是缺失值才删除", - "value": "0" - } - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "处理后结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "处理后结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ColumnOperationDf", - "name": "两列运算", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "对数据表格的指定两列进行加减乘除计算,并将计算结果保存到新的一列。", - "messageTemplate": "对 $1 的 $2 列和 $4 列进行 $3 运算,新增计算结果列 $6, 然后把结果保存到 $0", - "baseType": "Bivartable_ColumnOperationDf", - "functionName": "Bivartable.ColumnOperationDf", - "functionCalls": [ - { - "function": "Bivartable.ColumnOperationDf", - "args": [ - "df", - "name1", - "operator", - "name2", - "ret_type", - "name", - "pos_name", - "direction", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "表格", - "数据表格", - "表格数据", - "表格处理" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "name1", - "label": "待运算列名1", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "指定需要进行运算的列名。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "operator", - "label": "运算符", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "+", - "placeholder": "", - "description": "选择运算符。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "加(+)", - "value": "+" - }, - { - "label": "减(-)", - "value": "-" - }, - { - "label": "乘(*)", - "value": "*" - }, - { - "label": "除(/)", - "value": "/" - } - ] - }, - { - "key": "name2", - "label": "待运算列名2", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "指定需要进行运算的列名。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "ret_type", - "label": "指定数据类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "float", - "placeholder": "", - "description": "指定计算结果的数据类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "浮点数(float)", - "value": "float" - }, - { - "label": "整数(int)", - "value": "int" - } - ] - }, - { - "key": "name", - "label": "运算结果列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "指定新增运算结果列的列名。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pos_name", - "label": "插入位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "将新增的运算结果列,插入到哪一列的左边或右边,仅支持输入列名,为空时,默认在数据表格最后一列插入。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "direction", - "label": "插入方向", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将新增的运算结果列,插入到指定\"插入位置\"的左边还是右边。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "向左", - "value": "0" - }, - { - "label": "向右", - "value": "1" - } - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "运算后数据", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "运算后数据", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_SortDf", - "name": "排序数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将数据表格按指定列升序、降序排列。", - "messageTemplate": "将 $1 的按列名 $2 $3 排序, 然后把结果保存到 $0", - "baseType": "Bivartable_SortDf", - "functionName": "Bivartable.SortDf", - "functionCalls": [ - { - "function": "Bivartable.SortDf", - "args": [ - "df", - "name", - "sort", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "表格", - "数据表", - "表格数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "name", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "指定按哪一列进行排序。支持按多列进行排序,示例:“A”、[“A”,”B”]", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list", - "rpa_num" - ] - }, - { - "key": "sort", - "label": "排序规则", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "根据指定的列按升序或者降序排列。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "升序", - "value": "True" - }, - { - "label": "降序", - "value": "False" - } - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "排序后数据", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "排序后数据", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ReadTable", - "name": "读取数据表内容", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取数据表中指定区域的内容。", - "messageTemplate": "读取数据表 $3 的内容, 然后把结果保存到 $0", - "baseType": "Bivartable_ReadTable", - "functionName": "Bivartable.ReadTable", - "functionCalls": [ - { - "function": "Bivartable.ReadTable", - "args": [ - "df", - "sheet", - "regionType", - "row", - "column", - "start_row", - "start_column", - "end_row", - "end_column" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取数据表内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "第一页", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "regionType", - "label": "读取区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "1" - }, - { - "label": "行", - "value": "2" - }, - { - "label": "列", - "value": "3" - }, - { - "label": "区域", - "value": "4" - } - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "start_row", - "label": "起始单元格号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "start_column", - "label": "起始单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "end_row", - "label": "结束单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_column", - "label": "结束单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "获取的表格内容", - "valueTypes": [ - "rpa_str", - "rpa_list", - "rpa_list", - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "获取的表格内容", - "valueTypes": [ - "rpa_str", - "rpa_list", - "rpa_list", - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoCreate", - "name": "创建二维表", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将指定的数据保存于创建的二维表中,并输出该表。", - "messageTemplate": "通过二维数据创建二维表,二维表数据为 $1 , 然后把结果保存到 $0", - "baseType": "Bivartable_DoCreate", - "functionName": "Bivartable.DoCreate", - "functionCalls": [ - { - "function": "Bivartable.DoCreate", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "创建二维表", - "二维表", - "数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "二维表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_dict", - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_WriteDfData", - "name": "写入数据", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "在数据表格的指定行和指定列写入数据。", - "messageTemplate": "将数据写入到数据表格中的指定 {$$2 == 'name' && $$3 == 'cell' && '行 $4、列 $5'}{$$2 == 'num' && $$3 == 'cell' && '行 $6、列 $7'}{$$2 == 'name' && $$3 == 'row' && '行 $4'}{$$2 == 'num' && $$3 == 'row' && '行 $6'}{$$2 == 'name' && $$3 == 'col' && '列 $5'}{$$2 == 'num' && $$3 == 'col' && '列 $7'}, 然后把结果保存到 $0", - "baseType": "Bivartable_WriteDfData", - "functionName": "Bivartable.WriteDfData", - "functionCalls": [ - { - "function": "Bivartable.WriteDfData", - "args": [ - "df", - "writeType", - "writeRange", - "row_name", - "col_name", - "row_num", - "col_num", - "data", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入", - "写入到", - "写进", - "录入", - "数据", - "资料", - "数据信息", - "数据内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "writeType", - "label": "写入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "name", - "placeholder": "", - "description": "行名、列名是数据表格中指定的表头。行号、列号是数据表格中的行序号、列序号,是一个整数。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行名、列名", - "value": "name" - }, - { - "label": "按行号、列号", - "value": "num" - } - ] - }, - { - "key": "writeRange", - "label": "写入区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "cell", - "placeholder": "", - "description": "可以写入到数据表格指定单元格、行、列、区域", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "cell" - }, - { - "label": "行", - "value": "row" - }, - { - "label": "列", - "value": "col" - }, - { - "label": "区域", - "value": "range" - } - ] - }, - { - "key": "row_name", - "label": "行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入数据表格行标签", - "description": "输入数据表格行标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "col_name", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "请输入数据表格列标签", - "description": "输入数据表格列标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "row_num", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入所在行序号,第一行序号为1", - "description": "输入所在行序号,第一行序号为1", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "col_num", - "label": "列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入所在列序号,第一列序号为1", - "description": "输入所在列序号,第一列序号为1", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "data", - "label": "写入数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "单元格输入字符串,行或列输入列表", - "description": "写入区域为单元格输入字符串,写入区域为行或列输入列表", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "写入后结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "写入后结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_FilterDf", - "name": "筛选数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "根据条件筛选数据表格中数据,并返回筛选后的数据。", - "messageTemplate": "以列名 $3 筛选 $1 中数据, 然后把结果保存到 $0", - "baseType": "Bivartable_FilterDf", - "functionName": "Bivartable.FilterDf", - "functionCalls": [ - { - "function": "Bivartable.FilterDf", - "args": [ - "df", - "filter_mode", - "col_name", - "choice", - "criteria", - "rule", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "表格", - "数据表", - "表格数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "filter_mode", - "label": "筛选模式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "ordinary", - "placeholder": "", - "description": "持普通模式和高级模式,高级模式支持输入一个筛选表达式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "普通模式", - "value": "ordinary" - }, - { - "label": "高级模式", - "value": "high" - } - ] - }, - { - "key": "col_name", - "label": "筛选列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "输入所需筛选的列名,示例:”A”。仅支持单列筛选,如果进行多列筛选请使用高级模式或连续使用多个数据筛选组件。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "choice", - "label": "筛选条件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以选择对应的筛选条件和比较值。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "满足全部条件", - "value": "1" - }, - { - "label": "满足任一条件", - "value": "0" - } - ] - }, - { - "key": "criteria", - "label": "筛选条件", - "widget": "text", - "type": "string", - "displayType": "itemGroup", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "rule", - "label": "筛选规则", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "多条件支持使用 & 和 | 进行连接,且每个条件都要使用小括号包裹。示例1:df['A'] =='公司A'。示例2:(df['A'] =='公司A')&(df['B'] =='老板')。示例3:df['A'].isin(['公司A','公司B'])。示例4:~df['A'].isin(['公司A','公司B'])。示例5:df['A'].str.contains('公司')", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "筛选结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "筛选结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_SummaryCalculationDf", - "name": "按列汇总计算", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "对数据表格的指定列进行求和、求均值、计数等。", - "messageTemplate": "将 $1 的按列名 $2 进行 $3 计算, 然后把结果保存到 $0", - "baseType": "Bivartable_SummaryCalculationDf", - "functionName": "Bivartable.SummaryCalculationDf", - "functionCalls": [ - { - "function": "Bivartable.SummaryCalculationDf", - "args": [ - "df", - "name", - "method", - "ret_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "name", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "指定需要进行汇总计算的列名,仅支持单列计算。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "method", - "label": "计算类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "sum", - "placeholder": "", - "description": "选择计算类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "求和(sum)", - "value": "sum" - }, - { - "label": "均值(mean)", - "value": "mean" - }, - { - "label": "计数(count)", - "value": "count" - }, - { - "label": "最小值(min)", - "value": "min" - }, - { - "label": "最大值(max)", - "value": "max" - }, - { - "label": "中位数(median)", - "value": "median" - }, - { - "label": "方差(var)", - "value": "var" - }, - { - "label": "标准差(std)", - "value": "std" - } - ] - }, - { - "key": "ret_type", - "label": "指定数据类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "float", - "placeholder": "", - "description": "指定计算结果的数据类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "浮点数(float)", - "value": "float" - }, - { - "label": "整数(int)", - "value": "int" - } - ] - } - ], - "output": { - "label": "计算结果", - "key": "var_name", - "suggestedName": "计算值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "计算结果", - "defaultValue": "计算值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoSort", - "name": "排序", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "对二维表中某列数据进行排序。", - "messageTemplate": "对 $1 依据列 $2 排序, 升序( $3 ) 并保存, 然后把结果保存到 $0", - "baseType": "Bivartable_DoSort", - "functionName": "Bivartable.DoSort", - "functionCalls": [ - { - "function": "Bivartable.DoSort", - "args": [ - "df", - "sortby", - "basceeding" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "排序", - "对二维表中某列数据进行排序" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "sortby", - "label": "排序依据(列名,多列的话,以中文逗号(',')隔开)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "basceeding", - "label": "升序", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "排序结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "排序结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoFilter", - "name": "表格过滤", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "对二维表中数据根据设置条件进行过滤。", - "messageTemplate": "对 $1 进行过滤,过滤条件为 $2 , 然后把结果保存到 $0", - "baseType": "Bivartable_DoFilter", - "functionName": "Bivartable.DoFilter", - "functionCalls": [ - { - "function": "Bivartable.DoFilter", - "args": [ - "df", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "表格过滤", - "过滤", - "对二维表中数据根据设置条件进行过滤" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "filter", - "label": "filter:注明DataFrame,比如列学号,分数,必须就是DataFrame['学号'],DataFrame['分数'];(DataFrame['学号'] > 1) & (DataFrame['分数'] >= 80)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "过滤后数据", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "过滤后数据", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_InsertDfData", - "name": "插入数据", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "在数据表格指定位置插入一行或一列数据,插入数据为空时,将插入一空行或空列。", - "messageTemplate": "在 $1 插入一 $3 数据 $10, 然后把结果保存到 $0", - "baseType": "Bivartable_InsertDfData", - "functionName": "Bivartable.InsertDfData", - "functionCalls": [ - { - "function": "Bivartable.InsertDfData", - "args": [ - "df", - "writeType", - "writeRange", - "col_name", - "col_data_name", - "col_num", - "col_data_num", - "row_name", - "row_num", - "data", - "resetIndex", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "writeType", - "label": "插入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "num", - "placeholder": "", - "description": "行名、列名是数据表格中指定的表头。行号、列号是数据表格中的行序号、列序号,是一个整数。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行名、列名", - "value": "name" - }, - { - "label": "按行号、列号", - "value": "num" - } - ] - }, - { - "key": "writeRange", - "label": "插入行/列", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "col", - "placeholder": "", - "description": "在指定的行或列插入数据", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行", - "value": "row" - }, - { - "label": "列", - "value": "col" - } - ] - }, - { - "key": "col_name", - "label": "插入位置列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "请输入数据表格列标签", - "description": "输入插入位置所在列标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "col_data_name", - "label": "插入数据列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "输入插入数据列名,可以为空。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "col_num", - "label": "插入位置列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入所在列序号,第一列序号为1", - "description": "输入插入位置所在列序号,支持1或-1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "col_data_num", - "label": "插入数据列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "输入插入数据列名,可以为空。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "row_name", - "label": "插入位置行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入数据表格行标签", - "description": "输入插入位置所在行标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "row_num", - "label": "插入位置行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入所在行序号,第一行序号为1", - "description": "输入插入位置所在行序号,支持1或-1,-n表示倒数第n行", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "data", - "label": "插入数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "请输入列表类型,长度和原长度一致", - "description": "允许输入为空值、空列表,与原数据表格列数一致的列表", - "advanced": false, - "valueTypes": [ - "rpa_list", - "rpa_none" - ] - }, - { - "key": "resetIndex", - "label": "重置行名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "是否将数据表格的行名按插入之后的顺序重新生成", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "插入后结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "插入后结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ReadDfData", - "name": "读取数据", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取数据表格中部分数据。", - "messageTemplate": "读取数据表格数据, 然后把结果保存到 $0", - "baseType": "Bivartable_ReadDfData", - "functionName": "Bivartable.ReadDfData", - "functionCalls": [ - { - "function": "Bivartable.ReadDfData", - "args": [ - "df", - "readType", - "readRange", - "row_name", - "col_name", - "row_num", - "col_num", - "appoint_row_name", - "appoint_row_num", - "appoint_col_name", - "appoint_col_num", - "range_name", - "range_num", - "toList" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "readType", - "label": "读取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "name", - "placeholder": "", - "description": "选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行名、列名", - "value": "name" - }, - { - "label": "按行号、列号", - "value": "num" - } - ] - }, - { - "key": "readRange", - "label": "读取区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": true, - "defaultValue": "cell", - "placeholder": "", - "description": "选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "cell" - }, - { - "label": "行", - "value": "row" - }, - { - "label": "列", - "value": "col" - }, - { - "label": "区域", - "value": "range" - } - ] - }, - { - "key": "row_name", - "label": "行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入数据表格行标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "col_name", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "输入数据表格列标签", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "row_num", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "col_num", - "label": "列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "appoint_row_name", - "label": "指定行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "appoint_row_num", - "label": "指定行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "appoint_col_name", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "appoint_col_num", - "label": "指定列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "range_name", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "range_num", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toList", - "label": "结果转为列表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "不勾选读取结果将输入dataFrame对象,勾选将输出为列表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "读取结果保存到", - "key": "var_name", - "suggestedName": "读取结果", - "valueTypes": [ - "rpa_list", - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "读取结果保存到", - "defaultValue": "读取结果", - "valueTypes": [ - "rpa_list", - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ReadDfIndexColumns", - "name": "读取行名/列名", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取数据表格的行名、列名。", - "messageTemplate": "读取数据表格的行名、列名,并将 $0, $1 输出至变量", - "baseType": "Bivartable_ReadDfIndexColumns", - "functionName": "Bivartable.ReadDfIndexColumns", - "functionCalls": [ - { - "function": "Bivartable.ReadDfIndexColumns", - "args": [ - "df" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - } - ], - "output": { - "label": "行名", - "key": "var0", - "suggestedName": "行名", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var0", - "label": "行名", - "defaultValue": "行名", - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "var1", - "label": "列名", - "defaultValue": "列名", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ReadDfShape", - "name": "读取行数/列数", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取数据表格的行数、列数。", - "messageTemplate": "读取数据表格的行数、列数,并将 $0, $1 输出至变量", - "baseType": "Bivartable_ReadDfShape", - "functionName": "Bivartable.ReadDfShape", - "functionCalls": [ - { - "function": "Bivartable.ReadDfShape", - "args": [ - "df" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - } - ], - "output": { - "label": "行数", - "key": "var0", - "suggestedName": "行数", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var0", - "label": "行数", - "defaultValue": "行数", - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "var1", - "label": "列数", - "defaultValue": "列数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DfWriteToFile", - "name": "写入到文件", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将数据表格写入到Excel、CSV文件。", - "messageTemplate": "将 $1 写入到 $4, 然后把结果保存到 $0", - "baseType": "Bivartable_DfWriteToFile", - "functionName": "Bivartable.DfWriteToFile", - "functionCalls": [ - { - "function": "Bivartable.DfWriteToFile", - "args": [ - "df", - "suffix", - "folderPath", - "sheet", - "addRows", - "addColumns" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入", - "写入到", - "写入数据", - "写进", - "录入", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "suffix", - "label": "文件格式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "xlsx", - "placeholder": "", - "description": "支持将数据表格导出至Excel文件、CSV文件。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Excel文件", - "value": "xlsx" - }, - { - "label": "CSV文件", - "value": "csv" - } - ] - }, - { - "key": "folderPath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择文件路径", - "description": "\".xls\"后缀文件仅支持覆盖输入,其他Sheet页数据将会丢失,如果想要保留其他Sheet页数据请将文件后缀转换为\".xlsx\"", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet页", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Sheet1", - "placeholder": "请输入工作表名称,例如:Sheet1", - "description": "输入Excel文件工作表名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "addRows", - "label": "写入行标签", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将数据中的行标签(行表头)写入到文件中。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "addColumns", - "label": "写入列标签", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将数据中的列标签(列表头)写入到文件中。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "写入后路径", - "key": "var_name", - "suggestedName": "路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "写入后路径", - "defaultValue": "路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoSave", - "name": "保存二维表至Excel", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取一个二维表的信息,并以Excel内一张sheet的形式保存到指定变量。", - "messageTemplate": "$1 保存在文件路径为 $2 的Excel上sheet表中,sheet表名称为 $3 , 然后把结果保存到 $0", - "baseType": "Bivartable_DoSave", - "functionName": "Bivartable.DoSave", - "functionCalls": [ - { - "function": "Bivartable.DoSave", - "args": [ - "df", - "filePath", - "sheetName", - "indexx" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "保存二维表至Excel", - "保存二维表" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "filePath", - "label": "路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "sheetName", - "label": "sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "indexx", - "label": "是否添加索引", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "保存结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "保存结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_PivotDf", - "name": "生成数据透视表", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "对数据表格按指定行字段、列字段、值字段设置生成数据透视表。", - "messageTemplate": "对 $1 的按行字段 $2,列字段 $3, 值字段 $4 生成数据透视表, 然后把结果保存到 $0", - "baseType": "Bivartable_PivotDf", - "functionName": "Bivartable.PivotDf", - "functionCalls": [ - { - "function": "Bivartable.PivotDf", - "args": [ - "df", - "row_list", - "col_list", - "operator", - "value", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "生成", - "产生", - "生成数据", - "创建", - "制作", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "row_list", - "label": "行字段列表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "指定数据透视表的行标签名,输入原数据表格的列名。示例:[\"公司\", \"员工\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "col_list", - "label": "列字段列表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "指定数据透视表的列标签名,输入原数据表格的列名。示例:[\"职位\", \"年龄\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "operator", - "label": "值字段设置", - "widget": "text", - "type": "string", - "displayType": "valueFieldConfig", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "设置值字段及值汇总计算类型。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "填充缺失值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入值缺失时的填充值。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "数据透视表", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "数据透视表", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_GetSumValue", - "name": "获取统计总和", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "计算二维表中某列的统计总和。", - "messageTemplate": "$1 先进行分组,分组依据为 $2 ,而后获取列 $3 统计总和, 然后把结果保存到 $0", - "baseType": "Bivartable_GetSumValue", - "functionName": "Bivartable.GetSumValue", - "functionCalls": [ - { - "function": "Bivartable.GetSumValue", - "args": [ - "df", - "groupby", - "sumvaluecols" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "统计", - "总和", - "获取统计总和", - "计算二维表中某列的统计总和" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "groupby", - "label": "分组依据(列名,多列的话,以中文逗号(',')隔开)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sumvaluecols", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "总和值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "总和值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_GetAvgValue", - "name": "获取平均值", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "计算二维表中某列的平均值。", - "messageTemplate": " $1 先分组,分组依据为 $2 ,而后获取列 $3 平均值 , 然后把结果保存到 $0", - "baseType": "Bivartable_GetAvgValue", - "functionName": "Bivartable.GetAvgValue", - "functionCalls": [ - { - "function": "Bivartable.GetAvgValue", - "args": [ - "df", - "groupby", - "avgvaluecols" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "平均值", - "获取平均值", - "计算二维表中某列的平均值" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "groupby", - "label": "分组依据(列名,多列的话,以中文逗号(',')隔开)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "avgvaluecols", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "平均值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "平均值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_SpliceColData", - "name": "拼接两列数据", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将两列数据按指定的连接符拼接成新的列。", - "messageTemplate": "将 $1 的列名 $3$5 和 $4$6 以连接符 $7 拼接,拼接后列名为 $8, 然后把结果保存到 $0", - "baseType": "Bivartable_SpliceColData", - "functionName": "Bivartable.SpliceColData", - "functionCalls": [ - { - "function": "Bivartable.SpliceColData", - "args": [ - "df", - "change_type", - "col_name_1", - "col_name_2", - "col_num_1", - "col_num_2", - "connector", - "new_col_name", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "change_type", - "label": " ", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "name", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按列名", - "value": "name" - }, - { - "label": "按列号", - "value": "num" - } - ] - }, - { - "key": "col_name_1", - "label": "待拼接列名1", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入待拼接列名", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "col_name_2", - "label": "待拼接列名2", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入待拼接列名", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "col_num_1", - "label": "待拼接列号1", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入待拼接列号", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "col_num_2", - "label": "待拼接列号2", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入待拼接列号", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "connector", - "label": "连接符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入两列之间的连接符", - "description": "输入两列数据拼接的连接符。为空时将直接拼接。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "new_col_name", - "label": "新增列列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "为空时列名也进行拼接", - "description": "两列拼接之后显示的列名,为空时表示列名也参与拼接。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "拼接后数据", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "拼接后数据", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_Dtype", - "name": "列数据类型转换", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将数据表格对象的指定列或整个表转换为字符串(str)、整数(int)、浮点数(float)。", - "messageTemplate": "将 $1 的指定列{$$2 == 'name' && '名'}{$$2 == 'num' && '号'}$3 $4,转换为 $5, 然后把结果保存到 $0", - "baseType": "Bivartable_Dtype", - "functionName": "Bivartable.Dtype", - "functionCalls": [ - { - "function": "Bivartable.Dtype", - "args": [ - "df", - "change_type", - "col_name", - "col_num", - "dtype", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "change_type", - "label": " ", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "num", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按列名", - "value": "name" - }, - { - "label": "按列号", - "value": "num" - } - ] - }, - { - "key": "col_name", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "输入需要转换数据类型的列,为空[]时表示转换整个表,单列输入['A'],多列输入['A','B','C']", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "col_num", - "label": "指定列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "输入需要转换数据类型的列,为空[]时表示转换整个表,单列输入[1],多列输入[1,2,3]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "dtype", - "label": "转换为", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "str", - "placeholder": "", - "description": "输入需要转换为何种数据类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "字符串(str)", - "value": "str" - }, - { - "label": "整数(int)", - "value": "int" - }, - { - "label": "浮点数(float)", - "value": "float" - } - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "转换后结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "转换后结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ModifyDfName", - "name": "修改行名/列名", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "修改数据表格的行名、列名。", - "messageTemplate": "修改 $1 的行名为和列名, 然后把结果保存到 $0", - "baseType": "Bivartable_ModifyDfName", - "functionName": "Bivartable.ModifyDfName", - "functionCalls": [ - { - "function": "Bivartable.ModifyDfName", - "args": [ - "df", - "modifyType", - "new_row_name_list", - "new_col_name_list", - "row_name_list", - "col_name_list", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "修改", - "编辑", - "更改", - "改动", - "修正" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "请输入变量或数据表格对象", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "modifyType", - "label": "修改方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "支持将数据表格的表头名全部一起修改或仅修改其中部分。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部修改", - "value": "all" - }, - { - "label": "部分修改", - "value": "part" - } - ] - }, - { - "key": "new_row_name_list", - "label": "新行名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "请输入列表类型,长度和原行标签一致", - "description": "输入与原行名长度一致的列表。为空时,将不修改原行名。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "new_col_name_list", - "label": "新列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "请输入列表类型,长度和原列标签一致", - "description": "输入与原列名长度一致的列表。为空时,将不修改原列名。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "row_name_list", - "label": "修改行名", - "widget": "text", - "type": "string", - "displayType": "batchIncrease", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入原行名和新行名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "col_name_list", - "label": "修改列名", - "widget": "text", - "type": "string", - "displayType": "batchIncrease", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入原列名和新列名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "修改后结果", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "修改后结果", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_ModifyColName", - "name": "修改列名", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "修改二维表中某列的名称。", - "messageTemplate": "对 $1 修改 $2 的列名,新列名为 $3 , 然后把结果保存到 $0", - "baseType": "Bivartable_ModifyColName", - "functionName": "Bivartable.ModifyColName", - "functionCalls": [ - { - "function": "Bivartable.ModifyColName", - "args": [ - "df", - "srcname", - "newname" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列名", - "修改列名", - "修改二维表中某列的名称" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "srcname", - "label": "原列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "newname", - "label": "新列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "修改结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "修改结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DeleteDuplicateRow", - "name": "删除重复行", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "删除数据表格对象的指定列或整个表的重复行数据。", - "messageTemplate": "将 $1 的指定列{$$2 == 'name' && '名'}{$$2 == 'num' && '号'}$3 $4 的重复行进行 $5, 然后把结果保存到 $0", - "baseType": "Bivartable_DeleteDuplicateRow", - "functionName": "Bivartable.DeleteDuplicateRow", - "functionCalls": [ - { - "function": "Bivartable.DeleteDuplicateRow", - "args": [ - "df", - "change_type", - "col_name", - "col_num", - "mode", - "showTable", - "reset" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表格对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "change_type", - "label": " ", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "num", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按列名", - "value": "name" - }, - { - "label": "按列号", - "value": "num" - } - ] - }, - { - "key": "col_name", - "label": "指定列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "所选列数据都一致时则删除。输入需要转换数据类型的列,单列输入['A'],多列输入['A','B','C'],输入空列表则转换整个表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "col_num", - "label": "指定列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "所选列数据都一致时则删除。输入需要转换数据类型的列,单列输入[1],多列输入[1,2,3],输入空列表则转换整个表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "mode", - "label": "删除模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "first", - "placeholder": "", - "description": "检测到重复行时,可选择保留首行、保留尾行或全部删除。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "保留首行", - "value": "first" - }, - { - "label": "保留尾行", - "value": "last" - }, - { - "label": "全部删除", - "value": "False" - } - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - }, - { - "key": "reset", - "label": "重置行名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后,数据表格的行名将按顺序重置为123456.", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "删除后数据", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "删除后数据", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_MergeDf", - "name": "合并数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将两个数据表格对象按指定规则合并成一个新的数据表格对象(并集、交集等操作)。", - "messageTemplate": "将 $1 与 $2 以 $4$5$6 为连接键,以 $7 方式合并, 然后把结果保存到 $0", - "baseType": "Bivartable_MergeDf", - "functionName": "Bivartable.MergeDf", - "functionCalls": [ - { - "function": "Bivartable.MergeDf", - "args": [ - "df1", - "df2", - "key_type", - "on_name", - "on_left", - "on_right", - "merge_type", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "表格", - "数据表", - "表格数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df1", - "label": "左侧对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格1", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "df2", - "label": "右侧对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据表格2", - "placeholder": "", - "description": "可以使用“创建数据表格”组件返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "key_type", - "label": "连接键类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "以指定的连接键合并两个数据表格对象。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左右侧对象连接键列名一致", - "value": "1" - }, - { - "label": "左右侧对象连接键列名不一致", - "value": "0" - } - ] - }, - { - "key": "on_name", - "label": "指定连接键列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指定用于连接的键(即列名),该键必须同时存在于左右两个DataFrame对象中,如果为空,并且其他参数也未指定, 那么将会以两个DataFrame的列名交集作为连接键", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_str", - "rpa_list" - ] - }, - { - "key": "on_left", - "label": "左侧连接键列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指定左侧 DataFrame 中作连接键的列名", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_str", - "rpa_list" - ] - }, - { - "key": "on_right", - "label": "右侧连接键列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指定右侧 DataFrame 中作连接键的列名", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_str", - "rpa_list" - ] - }, - { - "key": "merge_type", - "label": "合并方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "选择两个数据表格对象的合并方式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "使用左侧对象的键名", - "value": "left" - }, - { - "label": "使用右侧对象的键名", - "value": "right" - }, - { - "label": "使用左右两侧对象的并集", - "value": "outer" - }, - { - "label": "使用左右两侧对象的交集", - "value": "inner" - } - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将读取或者处理之后的结果保存至控制台的数据表", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "合并后数据", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "合并后数据", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoOpenExcel", - "name": "基于Excel创建二维表", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "读取Excel内的信息,并以二维表的形式保存到指定变量。", - "messageTemplate": "基于读取路径为 $1 的Excel文件,sheet表名称为 $2,创建二维表, 然后把结果保存到 $0", - "baseType": "Bivartable_DoOpenExcel", - "functionName": "Bivartable.DoOpenExcel", - "functionCalls": [ - { - "function": "Bivartable.DoOpenExcel", - "args": [ - "filePath", - "sheetName", - "indexx" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "基于Excel创建二维表" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "sheetName", - "label": "sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "indexx", - "label": "是否添加索引", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "df", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "df", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoMerge", - "name": "合并二维表", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "支持两个二维表以不同的方式(pandas)合并。", - "messageTemplate": "请参照pandas规则进行合并,在$1 和 $2 依据 how $3 on $4 left_on $5 right_on $6 left_index $7 right_index $8 sort $9 等合并, 然后把结果保存到 $0", - "baseType": "Bivartable_DoMerge", - "functionName": "Bivartable.DoMerge", - "functionCalls": [ - { - "function": "Bivartable.DoMerge", - "args": [ - "df1", - "df2", - "howx", - "onx", - "left_onx", - "right_onx", - "left_indexx", - "right_indexx", - "sortx", - "suffixesx", - "copyx", - "indicatorx", - "validatex" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "合并二维表", - "合并" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df1", - "label": "二维表对象1", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "数据表格1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "df2", - "label": "二维表对象2", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "数据表格2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "howx", - "label": "how", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "inner", - "placeholder": "", - "description": "连接方式,有inner、left、right、outer,默认为inner", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "onx", - "label": "on", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认为None,填写时应为列名(字符串),多列以中文逗号(,)隔开", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - }, - { - "key": "left_onx", - "label": "left_on", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - }, - { - "key": "right_onx", - "label": "right_on", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - }, - { - "key": "left_indexx", - "label": "left_index", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "right_indexx", - "label": "right_index", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "sortx", - "label": "sort", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "suffixesx", - "label": "suffixes", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "(\"_x\", \"_y\")", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_tuple" - ] - }, - { - "key": "copyx", - "label": "copy", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "indicatorx", - "label": "indicator", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "indicator", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "validatex", - "label": "validate", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "合并后二维表", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "合并后二维表", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_WriteTable", - "name": "数据表写入内容", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将内容写入到数据表中。", - "messageTemplate": "在数据表 $3 中,写入内容 $8, 然后把结果保存到 $0", - "baseType": "Bivartable_WriteTable", - "functionName": "Bivartable.WriteTable", - "functionCalls": [ - { - "function": "Bivartable.WriteTable", - "args": [ - "df", - "sheet", - "regionType", - "row", - "column", - "start_row", - "start_column", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据表写入内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "数据表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "第一页", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "regionType", - "label": "写入区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "1" - }, - { - "label": "行", - "value": "2" - }, - { - "label": "列", - "value": "3" - }, - { - "label": "区域", - "value": "4" - } - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "start_row", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "start_column", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "data", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "写入后的数据表格", - "valueTypes": [ - "rpa_pd" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "写入后的数据表格", - "valueTypes": [ - "rpa_pd" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoJoint", - "name": "拼接列", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将目标二维表中指定的A列和B列的字符串形式拼接的列,并将拼接成功与否作为结果输出。", - "messageTemplate": "将 $1 上列 $2 和列 $3 以字符串形式拼接,并保存成新列 $4 中, 然后把结果保存到 $0", - "baseType": "Bivartable_DoJoint", - "functionName": "Bivartable.DoJoint", - "functionCalls": [ - { - "function": "Bivartable.DoJoint", - "args": [ - "df", - "cola", - "colb", - "colnew" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "拼接", - "列拼接", - "二维表拼接" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "cola", - "label": "列名A", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "colb", - "label": "列名B", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "B", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "colnew", - "label": "字符串形式拼接后的新列名New", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "New", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "拼接结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "拼接结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Bivartable_DoCal", - "name": "列计算", - "kind": "vendor", - "group": "data", - "categories": [ - "bivartable" - ], - "categorySignature": "bivartable", - "description": "将目标二维表中指定的A列和B列数据进行指定数值运算方式计算,新建一列保存计算结果,并将计算成功与否作为结果输出。", - "messageTemplate": "将 $1 上列 $2 与列 $4 进行数值运算 ($3) ,并保存成新列 $5, 然后把结果保存到 $0", - "baseType": "Bivartable_DoCal", - "functionName": "Bivartable.DoCal", - "functionCalls": [ - { - "function": "Bivartable.DoCal", - "args": [ - "df", - "cola", - "cal", - "colb", - "colnew" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "计算", - "列计算", - "二维表计算" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "df", - "label": "二维表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "df", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_pd" - ] - }, - { - "key": "cola", - "label": "列名A", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cal", - "label": "运算符", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "+", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "+", - "value": "+" - }, - { - "label": "-", - "value": "-" - }, - { - "label": "*", - "value": "*" - }, - { - "label": "/", - "value": "/" - } - ] - }, - { - "key": "colb", - "label": "列名B", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "B", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "colnew", - "label": "数值运算后的新列名New", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "New", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "计算结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "计算结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Clipboard_SetImage", - "name": "设置剪切板图片", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "将指定图片置于剪切板中。", - "messageTemplate": "将图片 $0 放入剪切板", - "baseType": "Clipboard_SetImage", - "functionName": "Clipboard.SetImage", - "functionCalls": [ - { - "function": "Clipboard.SetImage", - "args": [ - "path" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "剪切板图片", - "剪切板图像", - "设置剪切板" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Clipboard_SetTextV1", - "name": "将文本添加到剪切板", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "将指定的文本内容置于剪切板中。", - "messageTemplate": "设置剪切板文本内容为 $0", - "baseType": "Clipboard_SetText", - "functionName": "Clipboard.SetTextV1", - "functionCalls": [ - { - "function": "Clipboard.SetTextV1", - "args": [ - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "将文本添加到剪切板", - "添加到剪切板", - "添加", - "增加", - "新增", - "添上", - "加入", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "剪切板内容", - "widget": "textarea", - "type": "string", - "displayType": "multipleTextArea", - "required": false, - "defaultValue": "", - "placeholder": "请输入需添加的内容", - "description": "请输入要添加到剪切板中的文本内容", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Clipboard_GetText", - "name": "取剪切板文本", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "获取系统剪切板中的文本内容,并输出到指定变量。", - "messageTemplate": "获取剪切板文本内容, 然后把结果保存到 $0", - "baseType": "Clipboard_GetText", - "functionName": "Clipboard.GetText", - "functionCalls": [ - { - "function": "Clipboard.GetText", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "剪切板内容", - "剪切板输出" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Clipboard_SaveImageV1", - "name": "获取剪切板文件", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "将剪切板的文件内容保存到指定路径。", - "messageTemplate": "将剪切板文件存储到 $1 ", - "baseType": "Clipboard_SaveImage", - "functionName": "Clipboard.SaveImageV1", - "functionCalls": [ - { - "function": "Clipboard.SaveImageV1", - "args": [ - "filename", - "path" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取剪切板文件", - "剪切板文件", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "filename", - "label": "保存名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件保存名称,需加文件后缀", - "description": "命名时需输入文件扩展名,如\"123.txt\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择文件保存路径", - "description": "输入文件保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Clipboard_GetTextV1", - "name": "获取剪切板文本", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "获取系统剪切板中的文本内容,并输出到指定变量。", - "messageTemplate": "获取剪切板文本内容, 然后把结果保存到 $0", - "baseType": "Clipboard_GetText", - "functionName": "Clipboard.GetTextV1", - "functionCalls": [ - { - "function": "Clipboard.GetTextV1", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取剪切板文本", - "剪切板文本", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "剪切板文本", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "剪切板文本", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Clipboard_ClearClipboard", - "name": "清空剪切板", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "清空当前剪切板中的内容。", - "messageTemplate": "清空当前剪切板中的内容", - "baseType": "Clipboard_ClearClipboard", - "functionName": "Clipboard.ClearClipboard", - "functionCalls": [ - { - "function": "Clipboard.ClearClipboard", - "args": [], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "清空剪切板", - "剪切板" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Clipboard_SetImageV1", - "name": "将文件添加到剪切板", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "将指定文件添加至剪切板。", - "messageTemplate": "将文件 $0 添加至剪切板中", - "baseType": "Clipboard_SetImage", - "functionName": "Clipboard.SetImageV1", - "functionCalls": [ - { - "function": "Clipboard.SetImageV1", - "args": [ - "path" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "将文件添加到剪切板", - "添加到剪切板", - "添加", - "增加", - "新增", - "添上", - "加入", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "path", - "label": "选择文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择文件路径", - "description": "选择文件存储路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Clipboard_SetText", - "name": "设置剪切板文本", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "将指定的文本内容置于剪切板中。", - "messageTemplate": "设置剪切板文本内容为 $0", - "baseType": "Clipboard_SetText", - "functionName": "Clipboard.SetText", - "functionCalls": [ - { - "function": "Clipboard.SetText", - "args": [ - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "剪切板内容", - "设置剪切板" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "剪切板内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Clipboard_SaveImage", - "name": "取剪切板图片", - "kind": "vendor", - "group": "desktop", - "categories": [ - "clipboard" - ], - "categorySignature": "clipboard", - "description": "将剪切板的图片内容保存到指定路径。", - "messageTemplate": "将剪切板的图片存储到 $0 ", - "baseType": "Clipboard_SaveImage", - "functionName": "Clipboard.SaveImage", - "functionCalls": [ - { - "function": "Clipboard.SaveImage", - "args": [ - "path", - "filename" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "保存剪切板图片", - "保存剪切板图像" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "保存名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "命名时需输入后缀", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Collection_Create", - "name": "创建集合", - "kind": "vendor", - "group": "data", - "categories": [ - "collection" - ], - "categorySignature": "collection", - "description": "创建一个集合,并输出到执行的变量中。", - "messageTemplate": "创建集合, 然后把结果保存到 $0", - "baseType": "Collection_Create", - "functionName": "Collection.Create", - "functionCalls": [ - { - "function": "Collection.Create", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "集合", - "{}" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "集合", - "valueTypes": [ - "rpa_set" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "集合", - "valueTypes": [ - "rpa_set" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Collection_HasItem", - "name": "判断集合元素存在", - "kind": "vendor", - "group": "data", - "categories": [ - "judgment", - "collection" - ], - "categorySignature": "judgment|collection", - "description": "判断指定元素是否存在于目标集合中,并返回判断结果给指定变量。", - "messageTemplate": "判断 $2 元素是否存在于 $1 集合中, 然后把结果保存到 $0", - "baseType": "Collection_HasItem", - "functionName": "Collection.HasItem", - "functionCalls": [ - { - "function": "Collection.HasItem", - "args": [ - "collection", - "item" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素判断", - "元素检索", - "元素存在", - "判断", - "判定", - "判别", - "判断出", - "识别", - "判断存在", - "检测存在", - "判断是否存在" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "collection", - "label": "集合", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "集合", - "placeholder": "请选择或输入集合变量", - "description": "选择或输入集合变量", - "advanced": false, - "valueTypes": [ - "rpa_set" - ] - }, - { - "key": "item", - "label": "判断的对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "元素", - "placeholder": "请选择或输入判断的对象变量", - "description": "选择或输入判断的对象变量", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Collection_Count", - "name": "取集合大小", - "kind": "vendor", - "group": "data", - "categories": [ - "collection" - ], - "categorySignature": "collection", - "description": "获取目标集合中元素的个数,输出个数到指定变量。", - "messageTemplate": "集合中元素的个数, 然后把结果保存到 $0", - "baseType": "Collection_Count", - "functionName": "Collection.Count", - "functionCalls": [ - { - "function": "Collection.Count", - "args": [ - "collection" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "集合元素", - "元素个数" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "collection", - "label": "集合", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "集合", - "placeholder": "请输入集合类型变量或集合", - "description": "输入集合类型变量或集合", - "advanced": false, - "valueTypes": [ - "rpa_set" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "集合大小", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "集合大小", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Collection_Remove", - "name": "删除集合元素", - "kind": "vendor", - "group": "data", - "categories": [ - "collection" - ], - "categorySignature": "collection", - "description": "删除目标集合中的指定元素。", - "messageTemplate": "移除 $0 集合中的元素 $1", - "baseType": "Collection_Remove", - "functionName": "Collection.Remove", - "functionCalls": [ - { - "function": "Collection.Remove", - "args": [ - "collection", - "value" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除元素", - "集合", - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "collection", - "label": "集合", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "集合", - "placeholder": "请输入集合类型变量或集合", - "description": "输入集合类型变量或集合", - "advanced": false, - "valueTypes": [ - "rpa_set" - ] - }, - { - "key": "value", - "label": "元素", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "varValue", - "placeholder": "请输入要删除的元素", - "description": "输入要从集合中删除的元素", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Collection_Add", - "name": "添加集合元素", - "kind": "vendor", - "group": "data", - "categories": [ - "collection" - ], - "categorySignature": "collection", - "description": "添加元素到指定的集合中。", - "messageTemplate": "向 $0 集合中添加元素 $1", - "baseType": "Collection_Add", - "functionName": "Collection.Add", - "functionCalls": [ - { - "function": "Collection.Add", - "args": [ - "collection", - "value" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "添加元素", - "集合", - "添加", - "增加", - "新增", - "添上", - "加入" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "collection", - "label": "集合", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "集合", - "placeholder": "请输入集合类型变量或集合对象", - "description": "输入集合类型变量或集合对象", - "advanced": false, - "valueTypes": [ - "rpa_set" - ] - }, - { - "key": "value", - "label": "元素", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "varValue", - "placeholder": "请输入要添加的元素", - "description": "输入要添加到集合中的元素", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "CSV_ReadNew", - "name": "读取内容", - "kind": "vendor", - "group": "data", - "categories": [ - "CSV" - ], - "categorySignature": "CSV", - "description": "读取目标csv文件的内容,并输出到指定变量。", - "messageTemplate": "读取CSV文件 $1 的内容, 然后把结果保存到 $0", - "baseType": "CSV_Read", - "functionName": "CSV.ReadNew", - "functionCalls": [ - { - "function": "CSV.ReadNew", - "args": [ - "path", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "csv读取", - "csv内容", - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "utf-8", - "placeholder": "", - "description": "选择和原文件一致的编码规则,否则可能写入后会出现乱码", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "GB2312", - "value": "gb2312" - }, - { - "label": "UTF-8 with BOM", - "value": "utf-8-sig" - }, - { - "label": "UTF-16", - "value": "utf-16" - }, - { - "label": "UTF-16 LE", - "value": "utf-16-le" - }, - { - "label": "GB18030", - "value": "gb18030" - }, - { - "label": "ISO-8859-1", - "value": "iso-8859-1" - }, - { - "label": "Big5", - "value": "big5" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "csv内容", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "csv内容", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "CSV_Read", - "name": "读取内容", - "kind": "vendor", - "group": "data", - "categories": [ - "CSV" - ], - "categorySignature": "CSV", - "description": "读取目标csv文件的内容,并输出到指定变量。", - "messageTemplate": "读取CSV文件 $1 的内容, 然后把结果保存到 $0", - "baseType": "CSV_Read", - "functionName": "CSV.Read", - "functionCalls": [ - { - "function": "CSV.Read", - "args": [ - "path", - "isAbsolutePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "csv读取", - "csv内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "isAbsolutePath", - "label": "是否绝对路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "CSV_Write", - "name": "写入内容", - "kind": "vendor", - "group": "data", - "categories": [ - "CSV" - ], - "categorySignature": "CSV", - "description": "保存数据到指定csv文件,如已有数据,则将原数据覆盖,为数据为空则直接写入。", - "messageTemplate": "保存数据到CSV文件 $0", - "baseType": "CSV_Write", - "functionName": "CSV.Write", - "functionCalls": [ - { - "function": "CSV.Write", - "args": [ - "path", - "table", - "isAbsolutePath" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入csv", - "保存cvs文件" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "table", - "label": "数据表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objDataTable", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isAbsolutePath", - "label": "是否绝对路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "CSV_WriteNew", - "name": "写入内容", - "kind": "vendor", - "group": "data", - "categories": [ - "CSV" - ], - "categorySignature": "CSV", - "description": "保存数据到指定csv文件,如已有数据则覆盖,如数据为空则直接写入。文件不存在时将自动新建。", - "messageTemplate": "保存数据到CSV文件 $0", - "baseType": "CSV_Write", - "functionName": "CSV.WriteNew", - "functionCalls": [ - { - "function": "CSV.WriteNew", - "args": [ - "path", - "encode", - "table" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入csv", - "保存cvs文件", - "写入", - "写入到", - "写入数据", - "写进", - "录入" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择CSV文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "utf-8", - "placeholder": "", - "description": "选择和原文件一致的编码规则,否则可能写入后会出现乱码", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "GB2312", - "value": "gb2312" - }, - { - "label": "UTF-8 with BOM", - "value": "utf-8-sig" - }, - { - "label": "UTF-16", - "value": "utf-16" - }, - { - "label": "UTF-16 LE", - "value": "utf-16-le" - }, - { - "label": "GB18030", - "value": "gb18030" - }, - { - "label": "ISO-8859-1", - "value": "iso-8859-1" - }, - { - "label": "Big5", - "value": "big5" - } - ] - }, - { - "key": "table", - "label": "数据表对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objDataTable", - "placeholder": "请输入要写入CSV文件的数据表对象", - "description": "输入需写入内容,数据格式为二维列表,例如:[[1,2,3],[\"a\",\"b\",\"c\"]]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "CustomConfig_GetConfig", - "name": "自定义配置", - "kind": "vendor", - "group": "app", - "categories": [ - "CustomConfig" - ], - "categorySignature": "CustomConfig", - "description": "。", - "messageTemplate": "自定义配置, 然后把结果保存到 $0", - "baseType": "CustomConfig_GetConfig", - "functionName": "CustomConfig.GetConfig", - "functionCalls": [ - { - "function": "CustomConfig.GetConfig", - "args": [ - "jsonlist", - "configName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "jsonlist", - "label": "配置信息", - "widget": "textarea", - "type": "string", - "displayType": "multiInput", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "configName", - "label": "配置名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "string", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "string", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "CV_GetText", - "name": "获取文本", - "kind": "vendor", - "group": "vision", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "用于对通过CV方式,对屏幕中的元素进行截图,并在目标元素中获取文本。", - "messageTemplate": "在目标截图范围内进行截图,在目标元素 $1 进行获取文本, 然后把结果保存到 $0", - "baseType": "CV_GetText", - "functionName": "CV.GetText", - "functionCalls": [ - { - "function": "CV.GetText", - "args": [ - "cvSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "cvSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "cvselectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "searchRegion", - "label": "搜索区域", - "widget": "region", - "type": "object", - "displayType": "region", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "CV_SetText", - "name": "文本输入", - "kind": "vendor", - "group": "vision", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "用于对通过CV方式,对屏幕中的元素进行识别,过滤出能进行文本输入的类型元素,并在目标元素中进行文本输入。", - "messageTemplate": "在目标截图范围内指定目标元素,在目标元素 $0 进行文本输入", - "baseType": "CV_SetText", - "functionName": "CV.SetText", - "functionCalls": [ - { - "function": "CV.SetText", - "args": [ - "cvSelector", - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "cvSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "cvselectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "searchRegion", - "label": "搜索区域", - "widget": "region", - "type": "object", - "displayType": "region", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", - "advanced": false, - "valueTypes": [] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入内容或 ${变量}", - "description": "填写参数值,支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "CV_MouseHover", - "name": "移动到元素上", - "kind": "vendor", - "group": "vision", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "用于对通过CV方式,对屏幕中的元素进行识别,并将鼠标移动到目标元素的位置。为后续操作做准备。", - "messageTemplate": "在目标截图范围内,将鼠标移动到的指定元素$0中心位置上", - "baseType": "CV_MouseHover", - "functionName": "CV.MouseHover", - "functionCalls": [ - { - "function": "CV.MouseHover", - "args": [ - "cvSelector", - "offsetX", - "offsetY" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "cvSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "cvselectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "searchRegion", - "label": "搜索区域", - "widget": "region", - "type": "object", - "displayType": "region", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", - "advanced": false, - "valueTypes": [] - }, - { - "key": "offsetX", - "label": "x轴偏移量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "相对目标中心的水平偏移像素,正数向右、负数向左,0 为正中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "offsetY", - "label": "y轴偏移量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "相对目标中心的垂直偏移像素,正数向下、负数向上,0 为正中", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "CV_MouseClick", - "name": "元素点击", - "kind": "vendor", - "group": "vision", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "用于对通过CV方式,对屏幕中的元素进行识别,并将鼠标点击到目标元素的位置。为后续操作做准备。", - "messageTemplate": "在目标截图范围内,鼠标点击所选定目标元素 $0", - "baseType": "CV_MouseClick", - "functionName": "CV.MouseClick", - "functionCalls": [ - { - "function": "CV.MouseClick", - "args": [ - "cvSelector", - "clickway", - "offsetX", - "offsetY" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "cvSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "cvselectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "searchRegion", - "label": "搜索区域", - "widget": "region", - "type": "object", - "displayType": "region", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找", - "advanced": false, - "valueTypes": [] - }, - { - "key": "clickway", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "点击方式:单击或双击", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "offsetX", - "label": "x轴偏移量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "相对目标中心的水平偏移像素,正数向右、负数向左,0 为正中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "offsetY", - "label": "y轴偏移量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "相对目标中心的垂直偏移像素,正数向下、负数向上,0 为正中", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Database_BatchSQLExecute", - "name": "批量执行SQL语句", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "批量执行SQL。", - "messageTemplate": "在目标数据库 $1 批量执行 $2 , 然后把结果保存到 $0", - "baseType": "Database_BatchSQLExecute", - "functionName": "Database.BatchSQLExecute", - "functionCalls": [ - { - "function": "Database.BatchSQLExecute", - "args": [ - "connectionID", - "sql", - "paras" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "SQL", - "结构化查询语言", - "SQL语句", - "查询语句", - "数据库查询" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "目标数据库对象", - "widget": "select", - "type": "string", - "displayType": "databaseType", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "请输入连接数据库返回的变量", - "description": "输入连接数据库返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - }, - { - "key": "sql", - "label": "SQL语句", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入SQL语句", - "description": "输入SQL语句", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "paras", - "label": "sql语句参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[[]]", - "placeholder": "请输入SQL语句参数列表", - "description": "输入SQL语句参数列表,例如:[[\"参数1\",\"参数2\"],[\"参数1\",\"参数2\"]]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "SQL执行结果", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "SQL执行结果", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Database_DBConnect", - "name": "连接数据库", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "可连接 MySQL、Oracle、SQL Server、DB2、PostgreSQL、SQLite、Access、Gauss数据库,并把连接信息存为变量。", - "messageTemplate": "连接 $1 类型数据库, 然后把结果保存到 $0", - "baseType": "Database_DBConnect", - "functionName": "Database.DBConnect", - "functionCalls": [ - { - "function": "Database.DBConnect", - "args": [ - "dtype", - "DatabaseConfig" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dtype", - "label": "数据库类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请选择需要连接的数据库类型。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "MySQL", - "value": "0" - }, - { - "label": "SQL Server", - "value": "1" - }, - { - "label": "Oracle", - "value": "2" - }, - { - "label": "PostgreSQL", - "value": "3" - }, - { - "label": "SQLite", - "value": "4" - }, - { - "label": "Access", - "value": "5" - }, - { - "label": "DB2", - "value": "6" - }, - { - "label": "Gauss", - "value": "7" - }, - { - "label": "达梦", - "value": "8" - } - ] - }, - { - "key": "DatabaseConfig", - "label": "数据库配置", - "widget": "text", - "type": "string", - "displayType": "databaseConfig", - "required": false, - "defaultValue": "[ {\"name\":\"Charset\",\"label\":\"编码类型\",\"value\":\"utf8\",\"domProps\":{\"placeholder\":\"请输入编码类型\"},\"tip\":\"输入编码类型,常用编码类型为utf-8、gbk、gb2312等\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"DataSource\",\"label\":\"数据库地址\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入数据库地址\"},\"tip\":\"输入数据库地址\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"DbName\",\"label\":\"数据库名\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入数据库名\"},\"tip\":\"输入数据库名\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"Port\",\"label\":\"端口\",\"value\":3306,\"domProps\":{\"placeholder\":\"请输入数据库端口号\"},\"tip\": \"输入数据库端口号\",\"vType\":[{\"types\":[\"rpa_int\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"UserName\",\"label\":\"用户名\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入用户名\"},\"tip\":\"输入用户名\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"Pwd\",\"label\":\"密码\",\"displayType\":\"encryption\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入密码\"},\"tip\":\"输入密码\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}]", - "placeholder": "", - "description": "配置需要连接的数据库账号信息。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "数据库对象", - "valueTypes": [ - "rpa_db_conn" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "数据库对象", - "valueTypes": [ - "rpa_db_conn" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Database_SingleSQLQuery", - "name": "执行单SQL查询", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "单SQL查询。", - "messageTemplate": "在目标数据库 $1 进行单SQL $2 查询, 然后把结果保存到 $0", - "baseType": "Database_SingleSQLQuery", - "functionName": "Database.SingleSQLQuery", - "functionCalls": [ - { - "function": "Database.SingleSQLQuery", - "args": [ - "connectionID", - "sql", - "paras", - "showdic" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查询", - "查找", - "搜索", - "查询到", - "检索", - "SQL", - "结构化查询语言", - "SQL语句" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "目标数据库对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "请输入连接数据库返回的变量", - "description": "输入连接数据库返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - }, - { - "key": "sql", - "label": "SQL语句", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入SQL语句", - "description": "输入SQL语句", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "paras", - "label": "sql语句参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入SQL语句参数列表", - "description": "输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "showdic", - "label": "是否显示字典", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "否", - "value": "0" - }, - { - "label": "是", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "SQL查询结果", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "SQL查询结果", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Database_BatchInsertExecute", - "name": "SQL批量插入数据", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "将数据批量插入数据库中,返回成功或失败结果。", - "messageTemplate": "在 $1 中执行SQL语句 $2 批量插入数据 $3, 然后把结果保存到 $0", - "baseType": "Database_BatchInsertExecute", - "functionName": "Database.BatchInsertExecute", - "functionCalls": [ - { - "function": "Database.BatchInsertExecute", - "args": [ - "connectionID", - "sql", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "SQL", - "结构化查询语言", - "SQL语句" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "数据库对象", - "widget": "select", - "type": "string", - "displayType": "databaseType", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "", - "description": "使用连接数据组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - }, - { - "key": "sql", - "label": "SQL语句", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入插入数据的SQL语句,示例:INSERT INTO table_name (column1,column2)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "data", - "label": "插入数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[[]]", - "placeholder": "", - "description": "输入需插入的数据。示例:[[\"张三\",25],[\"李四\",30]]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "执行结果", - "key": "var_name", - "suggestedName": "批量插入结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "执行结果", - "defaultValue": "批量插入结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Database_AllSQLQuery_V1", - "name": "执行全SQL查询", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "全SQL查询。", - "messageTemplate": "在目标数据库 $1 进行全SQL $2 查询, 然后把结果保存到 $0", - "baseType": "Database_AllSQLQuery", - "functionName": "Database.AllSQLQuery_V1", - "functionCalls": [ - { - "function": "Database.AllSQLQuery_V1", - "args": [ - "connectionID", - "sql", - "paras", - "showdic" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "目标数据库对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "请输入连接数据库返回的变量", - "description": "输入连接数据库返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - }, - { - "key": "sql", - "label": "SQL语句", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入SQL语句", - "description": "输入SQL语句", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "paras", - "label": "sql语句参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入SQL语句参数列表", - "description": "输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "showdic", - "label": "是否显示字典", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "否", - "value": "0" - }, - { - "label": "是", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "SQL查询结果", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "SQL查询结果", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Database_CloseDBConnect", - "name": "关闭连接", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "关闭数据库连接。", - "messageTemplate": "对 $1 关闭连接 , 然后把结果保存到 $0", - "baseType": "Database_CloseDBConnect", - "functionName": "Database.CloseDBConnect", - "functionCalls": [ - { - "function": "Database.CloseDBConnect", - "args": [ - "connectionID" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "目标数据库对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "请输入连接数据库返回的变量", - "description": "输入连接数据库返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "数据库对象", - "valueTypes": [ - "rpa_db_conn" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "数据库对象", - "valueTypes": [ - "rpa_db_conn" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Database_SQLExecute", - "name": "执行SQL语句", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "执行SQL。", - "messageTemplate": "在目标数据库 $1 执行 $2 , 然后把结果保存到 $0", - "baseType": "Database_SQLExecute", - "functionName": "Database.SQLExecute", - "functionCalls": [ - { - "function": "Database.SQLExecute", - "args": [ - "connectionID", - "sql", - "paras" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "SQL", - "结构化查询语言", - "SQL语句", - "查询语句", - "数据库查询" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "目标数据库对象", - "widget": "select", - "type": "string", - "displayType": "databaseType", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "请输入连接数据库返回的变量", - "description": "输入连接数据库返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - }, - { - "key": "sql", - "label": "SQL语句", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入SQL语句", - "description": "输入SQL语句", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "paras", - "label": "sql语句参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入SQL语句参数列表", - "description": "输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "SQL执行结果", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "SQL执行结果", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Database_AllSQLQuery", - "name": "执行全SQL查询", - "kind": "vendor", - "group": "data", - "categories": [ - "Database" - ], - "categorySignature": "Database", - "description": "全SQL查询。", - "messageTemplate": "在目标数据库 $1 进行全SQL $2 查询, 然后把结果保存到 $0", - "baseType": "Database_AllSQLQuery", - "functionName": "Database.AllSQLQuery", - "functionCalls": [ - { - "function": "Database.AllSQLQuery", - "args": [ - "connectionID", - "sql", - "paras", - "showdic" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查询", - "查找", - "搜索", - "查询到", - "检索", - "SQL", - "结构化查询语言", - "SQL语句" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "connectionID", - "label": "目标数据库对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据库对象", - "placeholder": "请输入连接数据库返回的变量", - "description": "输入连接数据库返回的变量", - "advanced": false, - "valueTypes": [ - "rpa_db_conn" - ] - }, - { - "key": "sql", - "label": "SQL语句", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入SQL语句", - "description": "输入SQL语句", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "paras", - "label": "sql语句参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入SQL语句参数列表", - "description": "输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "showdic", - "label": "是否显示字典", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "否", - "value": "0" - }, - { - "label": "是", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "SQL查询结果", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "SQL查询结果", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Databook_WriteContent", - "name": "写入内容至数据表", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "在数据表写入内容,支持追加、插入、覆盖。", - "messageTemplate": "{$$0 == 'cell' && '在单元格$2$3写入数据 $4 到数据表格'} {$$0 == 'region' && '从$2$3位置开始写入数据 $4 到数据表格'} {$$0 == 'row' && $$1 == 'append' && '$1一行数据 $4 到数据表格'} {$$0 == 'row' && $$1 == 'insert' && '在第 $3 行 $1数据 $4 到数据表格'} {$$0 == 'row' && $$1 == 'overwrite' && '使用数据 $4 覆盖数据表格第 $3 行的数据'} {$$0 == 'column' && $$1 == 'append' && '$1一列数据 $4 到数据表格'} {$$0 == 'column' && $$1 == 'insert' && '在第 $2 列 $1 数据 $4 到数据表格'} {$$0 == 'column' && $$1 == 'overwrite' && '使用数据 $4 覆盖数据表格第 $2 列的数据'}", - "baseType": "Databook_WriteContent", - "functionName": "Databook.WriteContent", - "functionCalls": [ - { - "function": "Databook.WriteContent", - "args": [ - "write_type", - "write_kind", - "column_name", - "row_num", - "content" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入数据", - "写入数据表" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "write_type", - "label": "写入范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "cell", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "cell" - }, - { - "label": "区域", - "value": "region" - }, - { - "label": "行", - "value": "row" - }, - { - "label": "列", - "value": "column" - } - ] - }, - { - "key": "write_kind", - "label": "写入方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "append", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "追加", - "value": "append" - }, - { - "label": "插入", - "value": "insert" - }, - { - "label": "覆盖", - "value": "overwrite" - } - ] - }, - { - "key": "column_name", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "支持输入A或1,-n表示倒数第n列", - "description": "支持输入A或1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "row_num", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "支持输入1或-1,-n表示倒数第n行", - "description": "支持输入1或-1,-n表示倒数第n行", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "content", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "写入区域为行、列,支持输入列表,如[1,2,3]", - "description": "写入区域为行、列,支持输入列表,如[1,2,3]写入区域为区域,支持输入二维列表,如[[1,2,3],[4,5,6]] 写入区域为单元格,支持输入文本,如“实在智能”", - "advanced": false, - "valueTypes": [ - "rpa_list", - "rpa_any" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Databook_DeleteColumn", - "name": "删除数据表格列", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "删除数据表格指定行或列。", - "messageTemplate": "删除第 $0 列数据表格内容", - "baseType": "Databook_DeleteColumn", - "functionName": "Databook.DeleteColumn", - "functionCalls": [ - { - "function": "Databook.DeleteColumn", - "args": [ - "column_names" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除列" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "column_names", - "label": "待删除列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "删除单列输入“A”或1,删除多列用[“A”,“B”,“C”]或[1,2,3],-1表示倒数第一列", - "description": "删除单列输入“A”或1,删除多列用[“A”,“B”,“C”]或[1,2,3],-1表示倒数第一列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num", - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Databook_Export", - "name": "导出数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "将数据表格内容导出为文件。", - "messageTemplate": "将数据表格内容导出到 $1 文件 $2$3 中, {$$4 == 1 && '并导出列头信息'}, 然后把结果保存到 $0", - "baseType": "Databook_Export", - "functionName": "Databook.Export", - "functionCalls": [ - { - "function": "Databook.Export", - "args": [ - "export_location", - "export_path", - "export_name", - "if_exists", - "export_headers" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "写到文件", - "数据表格导出", - "导出表格" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "export_location", - "label": "文件夹", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "desktop", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "桌面", - "value": "desktop" - }, - { - "label": "下载目录", - "value": "downloads" - }, - { - "label": "临时目录", - "value": "temp" - }, - { - "label": "自定义目录", - "value": "custom" - } - ] - }, - { - "key": "export_path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择所在文件夹路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "export_name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "实在数据表格.xlsx", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "if_exists", - "label": "存在同名文件时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "replace", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "覆盖原文件", - "value": "replace" - }, - { - "label": "导出为副本", - "value": "rename" - } - ] - }, - { - "key": "export_headers", - "label": "导出列头信息", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则将列头作为第一行信息导出", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "导出路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "导出路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Databook_GetColumnInfo", - "name": "获取列信息", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "获取列名称、描述。", - "messageTemplate": "{$$1 == 'use_name_get_description' && '获取列名为 $2 的列描述信息'} {$$1 == 'use_description_get_name' && '获取列描述为 $3 的列名称'}, 然后把结果保存到 $0", - "baseType": "Databook_GetColumnInfo", - "functionName": "Databook.GetColumnInfo", - "functionCalls": [ - { - "function": "Databook.GetColumnInfo", - "args": [ - "get_way", - "column_name", - "column_description" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取信息", - "获取描述" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "get_way", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "use_name_get_description", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "根据列名称获取列描述", - "value": "use_name_get_description" - }, - { - "label": "根据列描述获取列名称", - "value": "use_description_get_name" - } - ] - }, - { - "key": "column_name", - "label": "列名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "A或1代表A列,支持负数,-n表示倒数第n列,获取多列请输入如:['A', 'B']", - "description": "A或1代表A列,支持负数,-n表示倒数第n列,获取多列请输入如:['A', 'B']", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num", - "rpa_list" - ] - }, - { - "key": "column_description", - "label": "列描述", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入要作为获取条件的列描述信息", - "description": "请输入要作为获取条件的列描述信息", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列信息", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列信息", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Databook_ReadContent", - "name": "读取数据表格内容", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "从数据表中读取内容,支持读取单元格、行、列、区域。", - "messageTemplate": "读取数据表格 {$$1 == 'cell' && '单元格:$2$3'} {$$1 == 'region' && '区域:$2$3:$4$5'} {$$1 == 'row' && '第 $3 行'} {$$1 == 'column' && '第 $2 列'} 的内容, 然后把结果保存到 $0", - "baseType": "Databook_ReadContent", - "functionName": "Databook.ReadContent", - "functionCalls": [ - { - "function": "Databook.ReadContent", - "args": [ - "read_type", - "column_name", - "row_num", - "end_column_name", - "end_row_num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取内容", - "读取数据" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "read_type", - "label": "读取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "cell", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格", - "value": "cell" - }, - { - "label": "区域内容", - "value": "region" - }, - { - "label": "行内容", - "value": "row" - }, - { - "label": "列内容", - "value": "column" - } - ] - }, - { - "key": "column_name", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "支持输入A或1,-n表示倒数第n列", - "description": "支持输入A或1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "row_num", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "支持输入1或-1,-n表示倒数第n行", - "description": "支持输入1或-1,-n表示倒数第n行", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "end_column_name", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "支持输入A或1,-n表示倒数第n列", - "description": "支持输入A或1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "end_row_num", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "支持输入1或-1,-n表示倒数第n行", - "description": "支持输入1或-1,-n表示倒数第n行", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "保存读取结果至", - "key": "var_name", - "suggestedName": "数据表格", - "valueTypes": [ - "rpa_any" - ], - "fields": [ - { - "key": "var_name", - "label": "保存读取结果至", - "defaultValue": "数据表格", - "valueTypes": [ - "rpa_any" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Databook_Clear", - "name": "清空数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "清空数据表格。", - "messageTemplate": "删除数据表格中所有数据", - "baseType": "Databook_Clear", - "functionName": "Databook.Clear", - "functionCalls": [ - { - "function": "Databook.Clear", - "args": [], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "清空表格" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Databook_SetColumnInfo", - "name": "设置列描述", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "根据数据表格列名称,设置描述信息。", - "messageTemplate": "给 $0 列设置描述信息 $1", - "baseType": "Databook_SetColumnInfo", - "functionName": "Databook.SetColumnInfo", - "functionCalls": [ - { - "function": "Databook.SetColumnInfo", - "args": [ - "column_name", - "column_description" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "列信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "column_name", - "label": "列名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "支持输入A或1,-n表示倒数第n列", - "description": "支持输入A或1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "column_description", - "label": "列描述", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "列描述", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Databook_Import", - "name": "导入数据表格", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "导入数据到数据表格。", - "messageTemplate": "导入文件 $0 的 $1内容到数据表格 {$$2 == 1 && '并使用第一行数据作为列头'}", - "baseType": "Databook_Import", - "functionName": "Databook.Import", - "functionCalls": [ - { - "function": "Databook.Import", - "args": [ - "excel_path", - "sheet_name", - "first_row_as_headers" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "创建数据表格", - "创建数据", - "数据导入", - "导入表格" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "excel_path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "sheet_name", - "label": "Sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要导入的Sheet页名称,为空时默认导入第一个Sheet页", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "first_row_as_headers", - "label": "使用第一行数据作为列头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用第一行数据作为列头", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Databook_GetRowAndColCount", - "name": "读取数据表格总行列数", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "读取数据表格总行列数。", - "messageTemplate": "读取数据表格总行数、列数,然后把结果保存到 $0", - "baseType": "GetRowAndColCount", - "functionName": "Databook.GetRowAndColCount", - "functionCalls": [ - { - "function": "Databook.GetRowAndColCount", - "args": [], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取行数", - "读取列数" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "行数", - "key": "var0", - "suggestedName": "行数", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var0", - "label": "行数", - "defaultValue": "行数", - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "var1", - "label": "列数", - "defaultValue": "列数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Databook_DeleteRow", - "name": "删除数据表格行", - "kind": "vendor", - "group": "data", - "categories": [ - "data_table" - ], - "categorySignature": "data_table", - "description": "删除数据表格指定行或列。", - "messageTemplate": "删除第 $0 行数据表格内容", - "baseType": "Databook_DeleteRow", - "functionName": "Databook.DeleteRow", - "functionCalls": [ - { - "function": "Databook.DeleteRow", - "args": [ - "row_nums" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除行" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "row_nums", - "label": "待删除行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "删除单列输入1,删除多列用[1,2,3],-1表示倒数第一行", - "description": "删除单列输入1,删除多列用[1,2,3],-1表示倒数第一行", - "advanced": false, - "valueTypes": [ - "rpa_num", - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "DataService_Correct", - "name": "文本纠错", - "kind": "vendor", - "group": "message", - "categories": [ - "WisdomText" - ], - "categorySignature": "WisdomText", - "description": "对文本内容进行纠错,并输出到指定变量。", - "messageTemplate": "将文件 $2 进行文本纠错, 然后把结果保存到 $0", - "baseType": "DataService_Correct", - "functionName": "DataService.Correct", - "functionCalls": [ - { - "function": "DataService.Correct", - "args": [ - "showTable", - "filePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "showTable", - "label": "将结果保存到数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将纠错的结果信息显示在控制台“数据表”中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "待纠错的文件(支持Word、PDF、常见图片格式和扫描件格式文件)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "纠错建议", - "valueTypes": [ - "rpa_dict_correct" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "纠错建议", - "valueTypes": [ - "rpa_dict_correct" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_DeleteControllerFiles_v1", - "name": "删除文件", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "删除实在RPA-控制器/运营平台的【文件管理】云端文件。", - "messageTemplate": "删除云端 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'}, 然后把结果保存到 $0", - "baseType": "DataService_DeleteControllerFiles", - "functionName": "DataService.DeleteControllerFiles_v1", - "functionCalls": [ - { - "function": "DataService.DeleteControllerFiles_v1", - "args": [ - "del_type", - "file_data", - "data", - "folder_path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "del_type", - "label": "匹配方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择匹配控制器/运营平台中文件的方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文件路径", - "value": "1" - }, - { - "label": "文件名称", - "value": "2" - }, - { - "label": "文件ID", - "value": "3" - } - ] - }, - { - "key": "file_data", - "label": "选择文件路径", - "widget": "file", - "type": "object", - "displayType": "selectControllerFile", - "required": true, - "defaultValue": "{}", - "placeholder": "请选择文件路径", - "description": "可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "data", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件", - "description": "输入或选择需要在控制器/运营平台中删除的文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int", - "rpa_list" - ] - }, - { - "key": "folder_path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "selectControllerFolder", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择所在文件夹路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "删除结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "删除结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_ReportException", - "name": "上报异常信息", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "向控制器/运营平台上报异常原因,由控制器/运营平台记录并多方式推送异常消息。", - "messageTemplate": "将异常原因 $0 上报到云端", - "baseType": "DataService_ReportException", - "functionName": "DataService.ReportException", - "functionCalls": [ - { - "function": "DataService.ReportException", - "args": [ - "reason" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "异常", - "错误", - "异常情况", - "错误信息", - "异常信息" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "reason", - "label": "异常原因", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "DataService_AgentCall", - "name": "调用智能体", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_software_automation" - ], - "categorySignature": "ai_software_automation", - "description": "调用执行实在Agent已发布可用的智能体。", - "messageTemplate": "调用 $2 执行,然后把结果保存到 $0", - "baseType": "DataService_AgentCall", - "functionName": "DataService.AgentCall", - "functionCalls": [ - { - "function": "DataService.AgentCall", - "args": [ - "agent_choice", - "agent_params" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "智能体", - "agent", - "调用Agent", - "Agent调用", - "Agent" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "agent_choice", - "label": "选择智能体", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "请选择智能体市场内的智能体(暂不支持包含流程节点的)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "agent_params", - "label": "输入参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "解析并展示当前所选智能体的输入参数", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出回复内容", - "key": "var0", - "suggestedName": "输出回复内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var0", - "label": "输出回复内容", - "defaultValue": "输出回复内容", - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "var1", - "label": "输出文件", - "defaultValue": "输出文件", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_AIGenTxt", - "name": "AI生成文本", - "kind": "vendor", - "group": "message", - "categories": [ - "AIGC" - ], - "categorySignature": "AIGC", - "description": "通过AI引擎,根据输入的描述内容,生成对应的高质量文本文案。广泛适用于客服对话、评论回复、文章生成等场景。企业:5万字/月; 其他:1万字/月(如需追加,请联系客服)。", - "messageTemplate": "调用 $1 引擎,{$$1 != 3 && '根据描述 $2 生成文本'}{$$1 == 3 && '生成 $4'}, 然后把结果保存到 $0", - "baseType": "DataService_AIGenTxt", - "functionName": "DataService.AIGenTxt", - "functionCalls": [ - { - "function": "DataService.AIGenTxt", - "args": [ - "engine", - "input", - "is_reference", - "Friday", - "title", - "keyword" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "生成", - "产生", - "生成数据", - "创建", - "制作", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "engine", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "ChatGPT(限时)", - "value": "1" - } - ] - }, - { - "key": "input", - "label": "描述内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "最多输入800字,请勿输入敏感词汇", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "is_reference", - "label": "连续引用", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "开启后,自动将之前的会话引用,实现连续会话", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Friday", - "label": "类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择想要生成文本的主题类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "新媒体全文写作", - "value": "1" - }, - { - "label": "营销文案戳痛点", - "value": "2" - }, - { - "label": "短视屏口播稿", - "value": "3" - } - ] - }, - { - "key": "title", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入主题文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "keyword", - "label": "关键词", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入关键词文本(多个用“,”分开)", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "生成内容", - "key": "var_name", - "suggestedName": "生成内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "生成内容", - "defaultValue": "生成内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_ProductionQueue", - "name": "将数据存入队列", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "将数据存至控制器/运营平台已有队列中。", - "messageTemplate": "将数据 $1 数据存入队列 $2 中, 然后把结果保存到 $0", - "baseType": "DataService_ProductionQueue", - "functionName": "DataService.ProductionQueue", - "functionCalls": [ - { - "function": "DataService.ProductionQueue", - "args": [ - "data", - "queue" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "data", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入要放入的数据", - "description": "要数据存入队列的数据,支持变量、表达式、文本等多种形式", - "advanced": false, - "valueTypes": [] - }, - { - "key": "queue", - "label": "队列名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入队列名称", - "description": "可至资源管理-队列管理-对应队列详情中,查看队列名称信息", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_WorkingDay", - "name": "判断是否工作日", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "从实在RPA-控制器/运营平台的【日历管理】中获取日期,并判断指定的日期是否是工作日。", - "messageTemplate": "判断 $2 是否工作日, 然后把结果保存到 $0", - "baseType": "DataService_WorkingDay", - "functionName": "DataService.WorkingDay", - "functionCalls": [ - { - "function": "DataService.WorkingDay", - "args": [ - "working_cal", - "day" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "判断", - "判定", - "判别", - "判断出", - "识别" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "working_cal", - "label": "日历名称", - "widget": "text", - "type": "string", - "displayType": "calendarSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "控制器/运营平台中维护的工作日历", - "advanced": false, - "valueTypes": [] - }, - { - "key": "day", - "label": "指定日期", - "widget": "text", - "type": "string", - "displayType": "datePicker", - "required": false, - "defaultValue": "", - "placeholder": "选择日期", - "description": "需要判断的日期,指定某一天", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_datetime" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_UploadControllerFiles_v1", - "name": "上传文件", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "将本地文件上传至实在RPA-控制器/运营平台指定路径下。", - "messageTemplate": "上传文件 $1 至云端, 然后把结果保存到 $0", - "baseType": "DataService_UploadControllerFiles", - "functionName": "DataService.UploadControllerFiles_v1", - "functionCalls": [ - { - "function": "DataService.UploadControllerFiles_v1", - "args": [ - "file_path", - "folder_path", - "is_cover" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "file_path", - "label": "上传文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "保存至路径", - "widget": "folder", - "type": "object", - "displayType": "selectControllerFolder", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件夹路径", - "description": "输入或选择控制器/运营平台中的路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "is_cover", - "label": "重名时覆盖文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果勾选则直接覆盖源文件,如果不勾选则重名时会上传失败", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_ServiceNew", - "name": "数据服务(松塔)", - "kind": "vendor", - "group": "message", - "categories": [ - "data_parse" - ], - "categorySignature": "data_parse", - "description": "连接松塔·Lite DS产品,把获取到的数据存到松塔的数据库中 并将结果输出到变量(可在松塔中进行数据加工和可视化展示)。", - "messageTemplate": "在数据服务中为数据表 $1 新增数据, 然后把结果保存到 $0", - "baseType": "DataService_Service", - "functionName": "DataService.ServiceNew", - "functionCalls": [ - { - "function": "DataService.ServiceNew", - "args": [ - "config", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "服务" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "同步数据到(松塔)", - "widget": "text", - "type": "string", - "displayType": "setDataService", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "同步采集数据到松塔内,并设置数据表信息。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将本次同步到“松塔”中的数据保存到控制台的“数据表”中显示。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "数据服务表", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "数据服务表", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_DeleteControllerFiles", - "name": "删除控制器文件", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "删除实在RPA-控制器的【文件管理】云端文件。", - "messageTemplate": "删除控制器文件 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'}, 然后把结果保存到 $0", - "baseType": "DataService_DeleteControllerFiles", - "functionName": "DataService.DeleteControllerFiles", - "functionCalls": [ - { - "function": "DataService.DeleteControllerFiles", - "args": [ - "del_type", - "file_data", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "del_type", - "label": "匹配方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择匹配控制器文件的方式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "控制器文件", - "value": "1" - }, - { - "label": "文件名称", - "value": "2" - }, - { - "label": "文件ID", - "value": "3" - } - ] - }, - { - "key": "file_data", - "label": "控制器文件", - "widget": "file", - "type": "object", - "displayType": "selectControllerFile", - "required": true, - "defaultValue": "{}", - "placeholder": "请选择控制器文件", - "description": "可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "data", - "label": "控制器文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int", - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "删除结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "删除结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_Diff", - "name": "文本比对", - "kind": "vendor", - "group": "message", - "categories": [ - "WisdomText" - ], - "categorySignature": "WisdomText", - "description": "将两份文件内容进行比对,并输出到变量。", - "messageTemplate": "将标准文件: $2 与比对文件: $3 进行比对, 然后把结果保存到 $0", - "baseType": "DataService_Diff", - "functionName": "DataService.Diff", - "functionCalls": [ - { - "function": "DataService.Diff", - "args": [ - "showTable", - "sourceFilePath", - "targetFilePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "showTable", - "label": "将结果保存到数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将比对的结果信息显示在控制台“数据表”中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sourceFilePath", - "label": "标准文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "比对依据的标准文件(支持word、PDF、常见图片格式和扫描件格式文件)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "targetFilePath", - "label": "比对文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "待寻找差异点的文件(支持word、PDF、常见图片格式和扫描件格式文件)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "比对结果", - "valueTypes": [ - "rpa_dict_diff" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "比对结果", - "valueTypes": [ - "rpa_dict_diff" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_Service", - "name": "数据服务", - "kind": "vendor", - "group": "message", - "categories": [ - "data_parse" - ], - "categorySignature": "data_parse", - "description": "在松塔的数据服务中为选定的数据表新增数据,并将结果输出。", - "messageTemplate": "在数据服务中为数据表 $1 新增数据, 然后把结果保存到 $0", - "baseType": "DataService_Service", - "functionName": "DataService.Service", - "functionCalls": [ - { - "function": "DataService.Service", - "args": [ - "config", - "showTable" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "服务" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置数据", - "widget": "text", - "type": "string", - "displayType": "dataService", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "在数据表中预览数据效果", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后,该组件运行后的采集结果可在控制台的“数据表”tab中进行展示。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "数据表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "数据表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_LargeModel", - "name": "大模型", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_software_automation" - ], - "categorySignature": "ai_software_automation", - "description": "调用大模型回答问题或对自然语言进行处理。", - "messageTemplate": "调用 $1 模型,根据描述 $4 生成内容, 然后把结果保存到 $0", - "baseType": "DataService_LargeModel", - "functionName": "DataService.LargeModel", - "functionCalls": [ - { - "function": "DataService.LargeModel", - "args": [ - "model", - "is_vision_model", - "img_path", - "hint_word" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "大模型", - "模型", - "model", - "AI模型" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "model", - "label": "模型", - "widget": "text", - "type": "string", - "displayType": "LLMModelSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_vision_model", - "label": "is_vision_model", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "img_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "输入图像(小于10Mb,格式仅限jpg;png;jpeg;webp),多模态模型将理解图像内容回答问题", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "hint_word", - "label": "提示词", - "widget": "text", - "type": "string", - "displayType": "promptWordTemplate", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入提问指令,大模型将根据你的指令输出回答", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "生成内容", - "key": "var_name", - "suggestedName": "生成内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "生成内容", - "defaultValue": "生成内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_DownloadControllerFiles", - "name": "下载控制器文件", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "从实在RPA-控制器的【文件管理】下载云端文件至本地。", - "messageTemplate": "下载控制器文件 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'} 至 $4, 然后把结果保存到 $0", - "baseType": "DataService_DownloadControllerFiles", - "functionName": "DataService.DownloadControllerFiles", - "functionCalls": [ - { - "function": "DataService.DownloadControllerFiles", - "args": [ - "load_type", - "file_data", - "data", - "file_path", - "is_cover" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "load_type", - "label": "匹配方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择匹配控制器文件的方式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文件路径", - "value": "1" - }, - { - "label": "文件名称", - "value": "2" - }, - { - "label": "文件ID", - "value": "3" - } - ] - }, - { - "key": "file_data", - "label": "控制器文件", - "widget": "file", - "type": "object", - "displayType": "selectControllerFile", - "required": true, - "defaultValue": "{}", - "placeholder": "请选择控制器文件", - "description": "可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "data", - "label": "控制器文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "file_path", - "label": "文件保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "is_cover", - "label": "重名时覆盖文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果勾选则直接覆盖源文件;如果不勾选,则会在文件名后添加“副本”(示例:“实在智能(副本).xlsx”)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_DownloadControllerFiles_v1", - "name": "下载文件", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "从实在RPA-控制器/运营平台的【文件管理】下载云端文件至本地。", - "messageTemplate": "下载云端 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'} 至 $5, 然后把结果保存到 $0", - "baseType": "DataService_DownloadControllerFiles", - "functionName": "DataService.DownloadControllerFiles_v1", - "functionCalls": [ - { - "function": "DataService.DownloadControllerFiles_v1", - "args": [ - "load_type", - "file_data", - "data", - "folder_path", - "file_path", - "is_cover" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "load_type", - "label": "匹配方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择匹配控制器/运营平台中文件的方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文件路径", - "value": "1" - }, - { - "label": "文件名称", - "value": "2" - }, - { - "label": "文件ID", - "value": "3" - } - ] - }, - { - "key": "file_data", - "label": "选择文件路径", - "widget": "file", - "type": "object", - "displayType": "selectControllerFile", - "required": true, - "defaultValue": "{}", - "placeholder": "请选择文件路径", - "description": "请选择您账号权限范围内的文件。若未找到所需文件,请联系企业管理员调整权限", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "data", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件", - "description": "输入或选择需要在控制器/运营平台中下载的文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "folder_path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "selectControllerFolder", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择所在文件夹路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "file_path", - "label": "文件保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "is_cover", - "label": "重名时覆盖文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果勾选则直接覆盖源文件;如果不勾选,则会在文件名后添加“副本”(示例:“实在智能(副本).xlsx”)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_ConsumptionQueue", - "name": "从队列获取数据", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "从控制器/运营平台具体队列中取出数据。", - "messageTemplate": "从队列 $1 中取出数据, 然后把结果保存到 $0", - "baseType": "DataService_ConsumptionQueue", - "functionName": "DataService.ConsumptionQueue", - "functionCalls": [ - { - "function": "DataService.ConsumptionQueue", - "args": [ - "queue", - "num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "queue", - "label": "队列名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入队列名称", - "description": "可至资源管理-队列管理-对应队列详情中,查看队列名称信息", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "num", - "label": "获取消息", - "widget": "textarea", - "type": "string", - "displayType": "inputComposeLabel", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "队列数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "队列数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_Review", - "name": "文本审核", - "kind": "vendor", - "group": "message", - "categories": [ - "WisdomText" - ], - "categorySignature": "WisdomText", - "description": "审核文本内容,并输出到指定变量。", - "messageTemplate": "根据文件类型:$3,对文件:$2 中的审核点 $4 进行审核, 然后把结果保存到 $0", - "baseType": "DataService_Review", - "functionName": "DataService.Review", - "functionCalls": [ - { - "function": "DataService.Review", - "args": [ - "showTable", - "filePath", - "reviewTemplate", - "drowPoint" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "showTable", - "label": "将结果保存到数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将审核的结果信息显示在控制台“数据表”中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "支持word、PDF、常见图片格式和扫描件格式文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "reviewTemplate", - "label": "审核模板", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect1", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持采购、销售等20余种常用合同种类", - "advanced": false, - "valueTypes": [] - }, - { - "key": "drowPoint", - "label": "配置审核点", - "widget": "text", - "type": "string", - "displayType": "setCheck", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "需要审核的特征点、风险点等", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "审核结果", - "valueTypes": [ - "rpa_dict_review" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "审核结果", - "valueTypes": [ - "rpa_dict_review" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_UploadControllerFiles", - "name": "上传文件至控制器", - "kind": "vendor", - "group": "message", - "categories": [ - "controller" - ], - "categorySignature": "controller", - "description": "将本地文件上传至实在RPA-控制器指定路径下。", - "messageTemplate": "上传文件 $1 至控制器, 然后把结果保存到 $0", - "baseType": "DataService_UploadControllerFiles", - "functionName": "DataService.UploadControllerFiles", - "functionCalls": [ - { - "function": "DataService.UploadControllerFiles", - "args": [ - "file_path", - "is_cover" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "file_path", - "label": "上传文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "is_cover", - "label": "重名时覆盖文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果勾选则直接覆盖源文件,如果不勾选则重名时会上传失败", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_ChatBot", - "name": "chatbot对话机器人", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_software_automation" - ], - "categorySignature": "ai_software_automation", - "description": "通过对话机器人向指定渠道发送消息。", - "messageTemplate": "通过对话机器人$0 向指定渠道发送消息 $3", - "baseType": "DataService_ChatBot", - "functionName": "DataService.ChatBot", - "functionCalls": [ - { - "function": "DataService.ChatBot", - "args": [ - "chatbot", - "botChannel", - "toUser", - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "chatbot", - "对话", - "机器人" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "chatbot", - "label": "对话机器人", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect1", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择在实在-chatbot平台中启用的对话机器人(如没有,可前往chatbot配置)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "botChannel", - "label": "渠道选择", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect1", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "对话机器人的会话渠道,例如:微信、钉钉等", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toUser", - "label": "发送用户配置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入接收消息用户ID", - "description": "接收消息用户的账号信息", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "text", - "label": "发送消息内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入消息内容", - "description": "请输入消息内容", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "DataService_KeyWord", - "name": "关键词抽取", - "kind": "vendor", - "group": "message", - "categories": [ - "WisdomText" - ], - "categorySignature": "WisdomText", - "description": "抽取文本关键词,并输出到指定变量。", - "messageTemplate": "根据文件类型: $3 ,对文件: $2 进行关键词 $4 抽取, 然后把结果保存到 $0", - "baseType": "DataService_KeyWord", - "functionName": "DataService.KeyWord", - "functionCalls": [ - { - "function": "DataService.KeyWord", - "args": [ - "showTable", - "filePath", - "keyWordTemplate", - "drowPoint" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "DataService" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "showTable", - "label": "将结果保存到数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将抽取的关键词信息显示在控制台“数据表”中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "支持word、PDF、常见图片格式和扫描件格式文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "keyWordTemplate", - "label": "抽取模板", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect1", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持采购、销售等20余种常用合同种类", - "advanced": false, - "valueTypes": [] - }, - { - "key": "drowPoint", - "label": "配置抽取点", - "widget": "text", - "type": "string", - "displayType": "setCheck", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "需要审核的特征点、风险点等", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "抽取结果", - "valueTypes": [ - "rpa_dict_keyword" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "抽取结果", - "valueTypes": [ - "rpa_dict_keyword" - ] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_ZBrain", - "name": "自定义AI模型", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_software_automation" - ], - "categorySignature": "ai_software_automation", - "description": "高效易用的AI训练平台。", - "messageTemplate": "调用Z-Brain云脑中定制的算法模型,对输入数据进行定制处理, 然后把结果保存到 $0", - "baseType": "DataService_ZBrain", - "functionName": "DataService.ZBrain", - "functionCalls": [ - { - "function": "DataService.ZBrain", - "args": [ - "z_barin", - "specialTemplate" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Z-Brain", - "云脑" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "z_barin", - "label": "Z-Brain模型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect1", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择在实在-云脑平台中发布的算法模型(如没有,可前往云脑配置)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "specialTemplate", - "label": "specialTemplate", - "widget": "text", - "type": "string", - "displayType": "brainTeamplate", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "模型对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "模型对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_AiScreenText", - "name": "提取屏幕数据(AI)", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_operation_screen" - ], - "categorySignature": "ai_operation_screen", - "description": "AI识别并提取屏幕中的数据,支持提取表格数据、语义数据、非结构化数据。", - "messageTemplate": "AI识别提取屏幕数据, 然后把结果保存到 $0", - "baseType": "DataService_AiScreenText", - "functionName": "DataService.AiScreenText", - "functionCalls": [ - { - "function": "DataService.AiScreenText", - "args": [ - "input_data", - "log_process" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "识别", - "智能", - "采集", - "处理", - "语义" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "input_data", - "label": "输入需求", - "widget": "text", - "type": "string", - "displayType": "aiVisualAnalysis", - "required": true, - "defaultValue": "", - "placeholder": "请输入待执行的操作,例如:获取屏幕中的数据", - "description": "最大支持输入500个字符。引用变量时,变量值也将算入字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "log_process", - "label": "打印模型处理过程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "识别结果", - "key": "var_name", - "suggestedName": "AI识别提取屏幕数据", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "识别结果", - "defaultValue": "AI识别提取屏幕数据", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "DataService_AiScreenDate", - "name": "选择日期时间(AI)", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_operation_screen" - ], - "categorySignature": "ai_operation_screen", - "description": "AI操作屏幕,按要求选择屏幕中的日期时间或其他选项。", - "messageTemplate": "AI操作屏幕中的选择器,完成 $0", - "baseType": "DataService_AiScreenDate", - "functionName": "DataService.AiScreenDate", - "functionCalls": [ - { - "function": "DataService.AiScreenDate", - "args": [ - "input_data", - "max_step", - "log_process" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "识别", - "智能", - "采集", - "处理", - "语义" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "input_data", - "label": "输入需求", - "widget": "text", - "type": "string", - "displayType": "aiVisualAnalysis", - "required": true, - "defaultValue": "", - "placeholder": "请描述关于日期选择的操作,例如:在屏幕中的日期选择器中选择2025年1月1日。", - "description": "最大支持输入500个字符。引用变量时,变量值也将算入字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "max_step", - "label": "最大执行步骤", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "20", - "placeholder": "请输入1-100之间的数字", - "description": "设置AI可执行的最大步骤数,防止陷入错误的循环导致过度消耗。输入范围1-100,空值默认20", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "log_process", - "label": "打印模型处理过程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "DataService_AiScreenOperate", - "name": "操作屏幕(AI)", - "kind": "vendor", - "group": "message", - "categories": [ - "ai_operation_screen" - ], - "categorySignature": "ai_operation_screen", - "description": "AI操作屏幕完成任务,支持意图识别、图像识别、数据处理等。", - "messageTemplate": "AI操作屏幕完成任务, 然后把结果保存到 $0", - "baseType": "DataService_AiScreenOperate", - "functionName": "DataService.AiScreenOperate", - "functionCalls": [ - { - "function": "DataService.AiScreenOperate", - "args": [ - "input_data", - "max_step", - "log_process" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "识别", - "智能", - "操作", - "屏幕", - "提取数据", - "自定义" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "input_data", - "label": "输入需求", - "widget": "text", - "type": "string", - "displayType": "aiVisualAnalysis", - "required": true, - "defaultValue": "", - "placeholder": "请输入待执行的操作,例如:关闭弹窗、获取屏幕中的数据", - "description": "最大支持输入500个字符。引用变量时,变量值也将算入字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "max_step", - "label": "最大执行步骤", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "请输入1-100之间的数字", - "description": "设置AI可执行的最大步骤数,防止陷入错误的循环导致过度消耗。输入范围1-100,空值默认10", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "log_process", - "label": "打印模型处理过程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "操作结果", - "key": "var_name", - "suggestedName": "AI操作屏幕返回内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "操作结果", - "defaultValue": "AI操作屏幕返回内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_SaveFile", - "name": "保存文件对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出系统文件保存对话框,可在弹出对话框中选择文件保存路径。", - "messageTemplate": "弹出保存文件对话框, 然后把结果保存到 $0", - "baseType": "Dialog_SaveFile", - "functionName": "Dialog.SaveFile", - "functionCalls": [ - { - "function": "Dialog.SaveFile", - "args": [ - "title", - "wildcard" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件保存", - "保存对话框" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "保存文件", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "wildcard", - "label": "通配符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "*.*", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_InputBox", - "name": "输入对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出输入对话框,需用户进行信息输入并确定提交,返回用户在对话框中输入的内容。", - "messageTemplate": "弹出输入对话框,标题为$1,内容描述为$2,默认内容为$3, 然后把结果保存到 $0", - "baseType": "Dialog_InputBox", - "functionName": "Dialog.InputBox", - "functionCalls": [ - { - "function": "Dialog.InputBox", - "args": [ - "title", - "description", - "text" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "输入对话框", - "对话框" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "输入对话框", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "description", - "label": "内容描述", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "text", - "label": "消息内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfig", - "name": "输入输出对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "自定义流程中的对话框,可用户节点中用户接入,进行信息参数输入,或者输出流程结果的自定义配置。", - "messageTemplate": "自定义配置, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfig", - "functionCalls": [ - { - "function": "Dialog.GetConfig", - "args": [ - "jsonlist", - "configName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "jsonlist", - "label": "配置信息", - "widget": "textarea", - "type": "string", - "displayType": "multiInput", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "configName", - "label": "配置名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_CsInputBox", - "name": "输入对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出输入对话框,需用户进行信息输入并确定提交,返回用户在对话框中输入的内容。", - "messageTemplate": "弹出输入对话框,标题为$1,内容描述为$3,默认内容为$4, 然后把结果保存到 $0", - "baseType": "Dialog_CsInputBox", - "functionName": "Dialog.CsInputBox", - "functionCalls": [ - { - "function": "Dialog.CsInputBox", - "args": [ - "title", - "dialog_type", - "input_title", - "txt_content", - "pwd_content", - "isInput", - "autoClose", - "time", - "clickType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "输入对话框", - "对话框", - "输入", - "录入", - "键入", - "输入进", - "填写" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "dialog_type", - "label": "对话框类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "TextBox", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "输入框", - "value": "TextBox" - }, - { - "label": "密码", - "value": "Password" - } - ] - }, - { - "key": "input_title", - "label": "输入框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "填写输入框标题", - "description": "对话框中输入框内容的标题,可不设置", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "txt_content", - "label": "输入框内容默认值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "填写输入框默认值", - "description": "输入框内默认显示的文本内容,可不填写;指定内容后用户可对指定内容进行修改,若不修改将使用默认值", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pwd_content", - "label": "输入框内容默认值", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "填写输入框默认值", - "description": "输入框内默认显示的文本内容,可不填写;指定内容后用户可对指定内容进行修改,若不修改将使用默认值。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "isInput", - "label": "输入框设为必填项", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "设置输入框内容是否为必填,开启为必填。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "autoClose", - "label": "自动关闭对话框", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当对话框执行中无人操作时自动操作对话框", - "advanced": true, - "valueTypes": [] - }, - { - "key": "time", - "label": "无操作等待(秒)", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "在无用户操作时对话框显示时间", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "3", - "value": "3" - }, - { - "label": "5", - "value": "5" - }, - { - "label": "10", - "value": "10" - }, - { - "label": "15", - "value": "15" - }, - { - "label": "20", - "value": "20" - }, - { - "label": "30", - "value": "30" - }, - { - "label": "60", - "value": "60" - } - ] - }, - { - "key": "clickType", - "label": "自动执行点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当倒计时为0时,自动点击选择的按钮", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "确定", - "value": "0" - }, - { - "label": "取消", - "value": "1" - } - ] - } - ], - "output": { - "label": "保存消息内容至", - "key": "var_name", - "suggestedName": "输入内容", - "valueTypes": [ - "rpa_dict_input" - ], - "fields": [ - { - "key": "var_name", - "label": "保存消息内容至", - "defaultValue": "输入内容", - "valueTypes": [ - "rpa_dict_input" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV7", - "name": "人机交互表单", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "使用在线人机交互表单填写数据,然后将数据传给机器人。", - "messageTemplate": "发起人机交互表单 $1, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfigV5", - "functionName": "Dialog.GetConfigV7", - "functionCalls": [ - { - "function": "Dialog.GetConfigV7", - "args": [ - "form_type", - "title", - "jsonlist", - "id_task", - "wait_time", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": 1, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "form_type", - "label": "form_type", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地表单", - "value": "0" - }, - { - "label": "在线表单", - "value": "1" - } - ] - }, - { - "key": "title", - "label": "表单名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "人机表单名称。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "jsonlist", - "label": "配置表单", - "widget": "text", - "type": "string", - "displayType": "customModalLocal", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "配置人机交互表单。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id_task", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "wait_time", - "label": "等待填写时间(分钟)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "30", - "placeholder": "", - "description": "用户填写表单最长等待时间。", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - }, - { - "key": "action", - "label": "等待超时后", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "等待用户输入超时后的处理机制。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "抛出错误,结束流程", - "value": "1" - }, - { - "label": "使用默认值,继续流程", - "value": "2" - } - ] - } - ], - "output": { - "label": "表单数据存储至", - "key": "var_name", - "suggestedName": "人机交互表单结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "表单数据存储至", - "defaultValue": "人机交互表单结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_Notice", - "name": "消息通知", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出系统消息提示框,无需用户确认,自动消失。可设定提示标题和提示内容。", - "messageTemplate": "显示消息通知 $0", - "baseType": "Dialog_Notice", - "functionName": "Dialog.Notice", - "functionCalls": [ - { - "function": "Dialog.Notice", - "args": [ - "text", - "title", - "timeout" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "系统提示", - "消息提示", - "自动消失的提醒" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "消息内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入消息内容", - "description": "输入消息内容,文本长度不能超过80个字符并且行数不能超过4行。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "提醒", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "timeout", - "label": "超时(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2000", - "placeholder": "请输入超时时间", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dialog_OpenFile", - "name": "打开文件对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出系统文件打开对话框,可选择单个文件,并将文件输出到指定变量。", - "messageTemplate": "弹出打开文件对话框, 然后把结果保存到 $0", - "baseType": "Dialog_OpenFile", - "functionName": "Dialog.OpenFile", - "functionCalls": [ - { - "function": "Dialog.OpenFile", - "args": [ - "title", - "wildcard" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开文件", - "文档打开对话框", - "用户打开文件", - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "打开文件", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "wildcard", - "label": "通配符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "*.*", - "placeholder": "输入通配的文件类型,例如:*.xlsx", - "description": "输入通配的文件类型,例如:*.xlsx", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件地址", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件地址", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_Notice_V2", - "name": "消息通知", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出系统消息提示框,无需用户确认,自动消失。可设定提示标题和提示内容。", - "messageTemplate": "显示消息通知 $0", - "baseType": "Dialog_Notice", - "functionName": "Dialog.Notice_V2", - "functionCalls": [ - { - "function": "Dialog.Notice_V2", - "args": [ - "text", - "title", - "time_out" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "系统提示", - "消息提示", - "自动消失的提醒" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "消息内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入消息内容", - "description": "输入消息内容,文本长度不能超过80个字符并且行数不能超过4行。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "提醒", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "time_out", - "label": "超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "请输入超时时间", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV8", - "name": "自定义对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。", - "messageTemplate": "自定义配置对话框界面, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfigV8", - "functionCalls": [ - { - "function": "Dialog.GetConfigV8", - "args": [ - "configName", - "jsonlist", - "id", - "autoClose", - "time", - "clickType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义", - "自定义配置" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "configName", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "jsonlist", - "label": "配置对话框界面", - "widget": "text", - "type": "string", - "displayType": "customModalV4", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "点击小笔头在弹框中配置对话框界面。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "autoClose", - "label": "自动关闭对话框", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当对话框执行中无人操作时自动操作对话框", - "advanced": true, - "valueTypes": [] - }, - { - "key": "time", - "label": "无操作等待(秒)", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "在无用户操作时对话框显示时间", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "3", - "value": "3" - }, - { - "label": "5", - "value": "5" - }, - { - "label": "10", - "value": "10" - }, - { - "label": "15", - "value": "15" - }, - { - "label": "20", - "value": "20" - }, - { - "label": "30", - "value": "30" - }, - { - "label": "60", - "value": "60" - } - ] - }, - { - "key": "clickType", - "label": "自动执行点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当倒计时为0时,自动点击选择的按钮", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "确定", - "value": "0" - }, - { - "label": "取消", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "自定义对话框结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "自定义对话框结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV6", - "name": "自定义对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。", - "messageTemplate": "自定义配置对话框界面, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfigV6", - "functionCalls": [ - { - "function": "Dialog.GetConfigV6", - "args": [ - "configName", - "jsonlist", - "id", - "autoClose", - "time", - "clickType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义", - "自定义配置" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "configName", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "jsonlist", - "label": "配置对话框界面", - "widget": "text", - "type": "string", - "displayType": "customModalV4", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "点击小笔头在弹框中配置对话框界面。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "autoClose", - "label": "自动关闭对话框", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当对话框执行中无人操作时自动操作对话框", - "advanced": true, - "valueTypes": [] - }, - { - "key": "time", - "label": "无操作等待(秒)", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "在无用户操作时对话框显示时间", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "3", - "value": "3" - }, - { - "label": "5", - "value": "5" - }, - { - "label": "10", - "value": "10" - }, - { - "label": "15", - "value": "15" - }, - { - "label": "20", - "value": "20" - }, - { - "label": "30", - "value": "30" - }, - { - "label": "60", - "value": "60" - } - ] - }, - { - "key": "clickType", - "label": "自动执行点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当倒计时为0时,自动点击选择的按钮", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "确定", - "value": "0" - }, - { - "label": "取消", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "自定义对话框结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "自定义对话框结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV1", - "name": "自定义对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "自定义流程中的对话框,可用户节点中用户接入,进行信息参数输入,或者输出流程结果的自定义配置。", - "messageTemplate": "自定义配置, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfigV1", - "functionCalls": [ - { - "function": "Dialog.GetConfigV1", - "args": [ - "jsonlist", - "configName", - "id" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义", - "自定义配置" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "jsonlist", - "label": "配置信息", - "widget": "text", - "type": "string", - "displayType": "customModal", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "configName", - "label": "配置名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_OpenFiles", - "name": "打开文件对话框(多选)", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出系统文件打开对话框,可选择多个文件,文件以数组的形式输出到指定变量。", - "messageTemplate": "弹出打开文件对话框(多选), 然后把结果保存到 $0", - "baseType": "Dialog_OpenFiles", - "functionName": "Dialog.OpenFiles", - "functionCalls": [ - { - "function": "Dialog.OpenFiles", - "args": [ - "title", - "wildcard" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开文件", - "文档打开对话框", - "用户打开文件", - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "打开文件", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "wildcard", - "label": "通配符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "*.*", - "placeholder": "输入通配的文件类型,例如:*.xlsx", - "description": "输入通配的文件类型,例如:*.xlsx", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件地址列表", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件地址列表", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV2", - "name": "自定义对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。", - "messageTemplate": "自定义配置对话框界面, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfigV2", - "functionCalls": [ - { - "function": "Dialog.GetConfigV2", - "args": [ - "configName", - "jsonlist", - "id" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义", - "自定义配置" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "configName", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "自定义对话框显示的标题名称,如果输入文字请在写英文双引号中。如:”实在智能”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "jsonlist", - "label": "配置对话框界面", - "widget": "text", - "type": "string", - "displayType": "customModal", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "点击小笔头在弹框中配置对话框界面。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Dialog_Config", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Dialog_Config", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_Notice_V1", - "name": "消息通知", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "弹出系统消息提示框,无需用户确认,自动消失。可设定提示标题和提示内容。", - "messageTemplate": "显示消息通知 $0", - "baseType": "Dialog_Notice", - "functionName": "Dialog.Notice_V1", - "functionCalls": [ - { - "function": "Dialog.Notice_V1", - "args": [ - "text", - "title", - "timeout" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "系统提示", - "消息提示", - "自动消失的提醒" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "消息内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入消息内容", - "description": "输入消息内容,文本长度不能超过80个字符并且行数不能超过4行。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "提醒", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "timeout", - "label": "超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "请输入超时时间", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dialog_CsMsgBox", - "name": "消息确认对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "消息提示对话框,需用户进行确认后关闭,可设定系统消息提示的内容和标题。", - "messageTemplate": "弹出消息对话框,标题为$1, 内容为$3, 然后把结果保存到 $0", - "baseType": "Dialog_CsMsgBox", - "functionName": "Dialog.CsMsgBox", - "functionCalls": [ - { - "function": "Dialog.CsMsgBox", - "args": [ - "title", - "msg_type", - "text", - "msg_button", - "autoClose", - "time", - "clickType", - "retryTime" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "消息提醒", - "用户确认", - "提示", - "弹出框" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "msg_type", - "label": "消息类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "和消息内容一起显示的图标。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "信息", - "value": "1" - }, - { - "label": "问题", - "value": "2" - }, - { - "label": "警告", - "value": "3" - }, - { - "label": "错误", - "value": "4" - } - ] - }, - { - "key": "text", - "label": "消息内容", - "widget": "textarea", - "type": "string", - "displayType": "multipleTextArea", - "required": true, - "defaultValue": "", - "placeholder": "请输入消息内容", - "description": "输入消息对话框中要显示的内容。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "msg_button", - "label": "消息框按钮", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "消息确认框显示按钮。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "确认", - "value": "1" - }, - { - "label": "确认-取消", - "value": "3" - }, - { - "label": "重试-取消", - "value": "6" - }, - { - "label": "重试-终止-取消", - "value": "14" - } - ] - }, - { - "key": "autoClose", - "label": "超时自动关闭", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当对话框执行中,指定超时时间(秒)内无人操作,则自动点击按钮并关闭弹窗", - "advanced": true, - "valueTypes": [] - }, - { - "key": "time", - "label": "超时时间(秒)", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "对话框等待操作的超时时长", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "3", - "value": "3" - }, - { - "label": "5", - "value": "5" - }, - { - "label": "10", - "value": "10" - }, - { - "label": "15", - "value": "15" - }, - { - "label": "20", - "value": "20" - }, - { - "label": "30", - "value": "30" - }, - { - "label": "60", - "value": "60" - } - ] - }, - { - "key": "clickType", - "label": "超时自动点击按钮", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "无人操作对话框并到达超时时间后,自动点击按钮关闭弹窗", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "确认", - "value": "0" - } - ] - }, - { - "key": "retryTime", - "label": "重试次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "保存按钮变量", - "key": "var_name", - "suggestedName": "点击结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "保存按钮变量", - "defaultValue": "点击结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV3", - "name": "自定义对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。", - "messageTemplate": "自定义配置对话框界面, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfigV3", - "functionCalls": [ - { - "function": "Dialog.GetConfigV3", - "args": [ - "configName", - "jsonlist", - "id" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义", - "自定义配置" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "configName", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "自定义对话框显示的标题名称,如果输入文字请在写英文双引号中。如:”实在智能”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "jsonlist", - "label": "配置对话框界面", - "widget": "text", - "type": "string", - "displayType": "customModal", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "点击小笔头在弹框中配置对话框界面。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Dialog_Config", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Dialog_Config", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV5", - "name": "人机交互表单", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "使用在线人机交互表单填写数据,然后将数据传给机器人。", - "messageTemplate": "发起人机交互表单 $1, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfigV5", - "functionName": "Dialog.GetConfigV5", - "functionCalls": [ - { - "function": "Dialog.GetConfigV5", - "args": [ - "form_type", - "title", - "jsonlist", - "id_task", - "wait_time", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": 1, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "form_type", - "label": "form_type", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地表单", - "value": "0" - }, - { - "label": "在线表单", - "value": "1" - } - ] - }, - { - "key": "title", - "label": "表单名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "人机表单名称。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "jsonlist", - "label": "配置表单", - "widget": "text", - "type": "string", - "displayType": "customModalLocal", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "配置人机交互表单。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id_task", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "wait_time", - "label": "等待填写时间(分钟)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "30", - "placeholder": "", - "description": "用户填写表单最长等待时间。", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - }, - { - "key": "action", - "label": "等待超时后", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "等待用户输入超时后的处理机制。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "抛出错误,结束流程", - "value": "1" - }, - { - "label": "使用默认值,继续流程", - "value": "2" - } - ] - } - ], - "output": { - "label": "表单数据存储至", - "key": "var_name", - "suggestedName": "Dialog_Config", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "表单数据存储至", - "defaultValue": "Dialog_Config", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dialog_MsgBox", - "name": "消息确认对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "消息提示对话框,需用户进行确认后关闭,可设定系统消息提示的内容和标题。", - "messageTemplate": "弹出消息对话框,标题为$1, 内容为$0", - "baseType": "Dialog_MsgBox", - "functionName": "Dialog.MsgBox", - "functionCalls": [ - { - "function": "Dialog.MsgBox", - "args": [ - "text", - "title" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "消息提醒", - "用户确认", - "提示", - "弹出框" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "消息内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "title", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "消息对话框", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dialog_GetConfigV4", - "name": "自定义对话框", - "kind": "vendor", - "group": "desktop", - "categories": [ - "dialog" - ], - "categorySignature": "dialog", - "description": "在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。", - "messageTemplate": "自定义配置对话框界面, 然后把结果保存到 $0", - "baseType": "Dialog_GetConfig", - "functionName": "Dialog.GetConfigV4", - "functionCalls": [ - { - "function": "Dialog.GetConfigV4", - "args": [ - "configName", - "jsonlist", - "id", - "autoClose", - "time", - "clickType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户输入", - "信息输入", - "输入配置", - "输出配置", - "输入输出定义", - "用户自定义", - "自定义配置" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "configName", - "label": "对话框标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入对话框标题", - "description": "输入对话框标题,文本长度不能超过20个字符。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "jsonlist", - "label": "配置对话框界面", - "widget": "text", - "type": "string", - "displayType": "customModalV4", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "点击小笔头在弹框中配置对话框界面。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "id", - "label": "id", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "${randomString}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "autoClose", - "label": "自动关闭对话框", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当对话框执行中无人操作时自动操作对话框", - "advanced": true, - "valueTypes": [] - }, - { - "key": "time", - "label": "无操作等待(秒)", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "在无用户操作时对话框显示时间", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "3", - "value": "3" - }, - { - "label": "5", - "value": "5" - }, - { - "label": "10", - "value": "10" - }, - { - "label": "15", - "value": "15" - }, - { - "label": "20", - "value": "20" - }, - { - "label": "30", - "value": "30" - }, - { - "label": "60", - "value": "60" - } - ] - }, - { - "key": "clickType", - "label": "自动执行点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当倒计时为0时,自动点击选择的按钮", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "确定", - "value": "0" - }, - { - "label": "取消", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Dialog_Config", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Dialog_Config", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dict_Create", - "name": "创建字典", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "创建一个字典,并输出到执行的变量中。", - "messageTemplate": "创建字典, 然后把结果保存到 $0", - "baseType": "Dict_Create", - "functionName": "Dict.Create", - "functionCalls": [ - { - "function": "Dict.Create", - "args": [ - "value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "value", - "label": "value", - "widget": "text", - "type": "string", - "displayType": "dictConfig", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "字典对象", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "字典对象", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Dict_Delete", - "name": "删除键值对", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于删除字典中的特定键值对。", - "messageTemplate": "针对特定的字典 $0,删除单个键值对", - "baseType": "Dict_Delete", - "functionName": "Dict.Delete", - "functionCalls": [ - { - "function": "Dict.Delete", - "args": [ - "dictObj", - "key" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}", - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待删除键值对的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "key", - "label": "输入键", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入键名", - "description": "输入键名以删除对应的键值", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dict_Items", - "name": "获取字典所有键值", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于获取一个字典中的所有键名以及相应的值。", - "messageTemplate": "获取字典 $1 的所有键名以及相应的值, 然后把结果保存到 $0", - "baseType": "Dict_Items", - "functionName": "Dict.Items", - "functionCalls": [ - { - "function": "Dict.Items", - "args": [ - "dictObj" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待获取键值对的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "键值对列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "键值对列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Dict_Values", - "name": "获取字典所有值", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于获取一个字典中的所有值。", - "messageTemplate": "获取字典 $1 的所有值, 然后把结果保存到 $0", - "baseType": "Dict_Values", - "functionName": "Dict.Values", - "functionCalls": [ - { - "function": "Dict.Values", - "args": [ - "dictObj" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待获取键值的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "键值列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "键值列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Dict_Clear", - "name": "清空字典", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "针对特定的字典,删除其所有的键值对。", - "messageTemplate": "针对特定的字典,删除其所有键值对", - "baseType": "Dict_Clear", - "functionName": "Dict.Clear", - "functionCalls": [ - { - "function": "Dict.Clear", - "args": [ - "dictObj" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待清空的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dict_GetItem", - "name": "获取字典值", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于查询字典中特定键相对应的值。", - "messageTemplate": "针对特定的字典, 返回其对应的单个值, 然后把结果保存到 $0", - "baseType": "Dict_GetItem", - "functionName": "Dict.GetItem", - "functionCalls": [ - { - "function": "Dict.GetItem", - "args": [ - "dictObj", - "key", - "value_type", - "default_value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待获取值的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "key", - "label": "输入键", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入键名", - "description": "输入键名,以获取此键名对应的键值", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "value_type", - "label": "键不存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "报错", - "value": "0" - }, - { - "label": "返回默认值", - "value": "1" - } - ] - }, - { - "key": "default_value", - "label": "默认值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "键值对", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "键值对", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Dict_Keys", - "name": "获取字典所有键", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于获取一个字典中的所有键名。", - "messageTemplate": "获取字典 $1 的所有键名, 然后把结果保存到 $0", - "baseType": "Dict_Keys", - "functionName": "Dict.Keys", - "functionCalls": [ - { - "function": "Dict.Keys", - "args": [ - "dictObj" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待获取键名的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "键名列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "键名列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Dict_Update", - "name": "合并字典", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于将两个字典合并为一个字典。", - "messageTemplate": "将字典 $1 的全部键值对复制到另一个字典 $0", - "baseType": "Dict_Update", - "functionName": "Dict.Update", - "functionCalls": [ - { - "function": "Dict.Update", - "args": [ - "dictObj", - "targetDict" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "合并到", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待合并的字典,并使用此变量名为合并后的变量名", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "targetDict", - "label": "原字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入字典类型变量或字典", - "description": "输入需合并的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict", - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Dict_SetItem", - "name": "设置字典值", - "kind": "vendor", - "group": "data", - "categories": [ - "dict" - ], - "categorySignature": "dict", - "description": "用于添加或者修改一个字典中的一对键值。", - "messageTemplate": "设置 $0 的值为 $1", - "baseType": "Dict_SetItem", - "functionName": "Dict.SetItem", - "functionCalls": [ - { - "function": "Dict.SetItem", - "args": [ - "dictObj", - "value" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字典", - "{}", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "dictObj", - "label": "字典选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "字典对象", - "placeholder": "请输入字典类型变量或字典", - "description": "输入待设置值的字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "value", - "label": "value", - "widget": "text", - "type": "string", - "displayType": "dictConfig", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetValuePassword", - "name": "输入密码框", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "在指定的密码框中输入密码。", - "messageTemplate": "在目标密码框 $0 中输入密码 $1", - "baseType": "Element_SetValuePassword", - "functionName": "Element.SetValuePassword", - "functionCalls": [ - { - "function": "Element.SetValuePassword", - "args": [ - "uiSelector", - "text", - "isEnter", - "operation", - "interval", - "delaybeforEnter" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "密码", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择密码框元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "text", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "在大部分登录场景中,输入完密码后,可以通过点击回车键触发立即登录操作,默认不勾选。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Click", - "name": "元素点击", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "点击指定元素(模拟鼠标点击)。", - "messageTemplate": "模拟鼠标,点击指定元素 $0", - "baseType": "Element_Click", - "functionName": "Element.Click", - "functionCalls": [ - { - "function": "Element.Click", - "args": [ - "uiSelector", - "operation", - "clickway", - "clickfunc", - "AI_backup" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "clickway", - "label": "鼠标点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "AI_backup", - "label": "开启AI修复", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Region2_v2", - "name": "获取元素坐标", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data", - "get_soft_data" - ], - "categorySignature": "get_web_data|get_soft_data", - "description": "获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。", - "messageTemplate": "获取指定元素 $1 的区域坐标, 然后把结果保存到 $0", - "baseType": "Element_Region", - "functionName": "Element.Region2_v2", - "functionCalls": [ - { - "function": "Element.Region2_v2", - "args": [ - "uiSelector", - "browser_type", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "位置", - "区域位置", - "坐标", - "模块坐标", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "position", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口左上角", - "value": "2" - }, - { - "label": "屏幕左上角", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素坐标值", - "valueTypes": [ - "rpa_dict_region2" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素坐标值", - "valueTypes": [ - "rpa_dict_region2" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SelectOperation_v1", - "name": "下拉框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。", - "messageTemplate": "{$$3 == 1 && '设置下拉框'}{$$3 == 2 && '获取下拉框'} $1 {$$3 == 1 && '$6'}{$$3 == 1 && $$4 == 0 && '并选择第 $5 个选项'}{$$3 == 1 && $$4 != 0 && '并选择内容为 $5 的选项'}{$$3 == 2 && ',然后把结果保存到 $0'}", - "baseType": "Element_SelectOperation", - "functionName": "Element.SelectOperation_v1", - "functionCalls": [ - { - "function": "Element.SelectOperation_v1", - "args": [ - "uiSelector", - "browser_type", - "operation_type", - "choose", - "itemsToSelect", - "ret_type", - "ret_choose" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置选择项", - "选择项", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标下拉框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标下拉框元素", - "description": "拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设置下拉框选项", - "value": "1" - }, - { - "label": "获取下拉框的选项值", - "value": "2" - } - ] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "按选项内容:根据选项的文本内容进行匹配选择,可以填写完整的选项值,关键字模糊匹配;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项中对应的下拉框选项的Value值进行关键字模糊匹配", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按选项内容", - "value": "1" - }, - { - "label": "按选项顺序", - "value": "0" - }, - { - "label": "按选项值", - "value": "2" - } - ] - }, - { - "key": "itemsToSelect", - "label": "选项值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入要匹配的内容", - "description": "可选择根据选项的文本内容、选项的位置顺序、选项的value值进行精确匹配选择", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "ret_type", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部下拉选项", - "value": "1" - }, - { - "label": "当前选中项", - "value": "0" - } - ] - }, - { - "key": "ret_choose", - "label": "获取内容", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选项内容", - "value": "1" - }, - { - "label": "顺序位置", - "value": "0" - } - ] - } - ], - "output": { - "label": "保存获取内容", - "key": "var_name", - "suggestedName": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "保存获取内容", - "defaultValue": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Sibling_V2", - "name": "获取兄弟元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的兄弟元素(可选获取上一个兄弟元素或下一个兄弟元素)。", - "messageTemplate": "获取 $1 元素的 {$$6 == 0 && '$4'} {$$6 == 1 && '$7'}, 然后把结果保存到 $0", - "baseType": "Element_Sibling", - "functionName": "Element.Sibling_V2", - "functionCalls": [ - { - "function": "Element.Sibling_V2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "position", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择目标元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "position", - "label": "兄弟元素位置", - "widget": "select", - "type": "string", - "displayType": "defeasibleDropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "相对于目标元素的位置。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "兄弟元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "兄弟元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Children_V1", - "name": "获取子元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的子元素(可选指定获取第几个)。", - "messageTemplate": "获取 $1 元素的{$$5 == 0 && '第$3个子元素'} {$$5 == 0 && '所有子元素'} {$$5 == 1 && '$6'}, 然后把结果保存到 $0", - "baseType": "Element_Children", - "functionName": "Element.Children_V1", - "functionCalls": [ - { - "function": "Element.Children_V1", - "args": [ - "uiSelector", - "browser_type", - "num", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "num", - "label": "获取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "子元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "子元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ElementCaptureSimilar", - "name": "获取相似元素数组", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取相似元素数组。", - "messageTemplate": "获取相似元素数组", - "baseType": "Element_ElementCaptureSimilar", - "functionName": "Element.ElementCaptureSimilar", - "functionCalls": [ - { - "function": "Element.ElementCaptureSimilar", - "args": [ - "uiSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Exists", - "name": "元素判断", - "kind": "vendor", - "group": "web", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "判断指定元素是否存在,是则返回Ture,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否存在, 然后把结果保存到 $0", - "baseType": "Element_Exists", - "functionName": "Element.Exists", - "functionCalls": [ - { - "function": "Element.Exists", - "args": [ - "uiSelector", - "browser_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素存在", - "存在", - "判断元素存在", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SelectOperation_v2", - "name": "下拉框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。", - "messageTemplate": "{$$4 == 1 && '设置下拉框'}{$$4 == 2 && '获取下拉框'} $1 {$$4 == 1 && '$7'}{$$4 == 1 && $$5 == 0 && '并选择第 $6 个选项'}{$$4 == 1 && $$5 != 0 && '并选择内容为 $6 的选项'}, 然后把结果保存到 $0", - "baseType": "Element_SetSelect", - "functionName": "Element.SelectOperation_v2", - "functionCalls": [ - { - "function": "Element.SelectOperation_v2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "operation_type", - "choose", - "itemsToSelect", - "ret_type", - "ret_choose" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置选择项", - "选择项", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标下拉框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标下拉框元素", - "description": "拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设置下拉框选项", - "value": "1" - }, - { - "label": "获取下拉框的选项值", - "value": "2" - } - ] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "按选项内容:根据选项的文本内容进行精准匹配选择;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项的Value值进行精准匹配", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按选项内容", - "value": "1" - }, - { - "label": "按选项顺序", - "value": "0" - }, - { - "label": "按选项值", - "value": "2" - } - ] - }, - { - "key": "itemsToSelect", - "label": "选项值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入要匹配的内容", - "description": "可选择根据选项的文本内容、选项的位置顺序、选项的value值进行精确匹配选择", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "ret_type", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部下拉选项", - "value": "1" - }, - { - "label": "当前选中项", - "value": "0" - } - ] - }, - { - "key": "ret_choose", - "label": "获取内容", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选项内容", - "value": "1" - }, - { - "label": "顺序位置", - "value": "0" - } - ] - } - ], - "output": { - "label": "保存获取内容", - "key": "var_name", - "suggestedName": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "保存获取内容", - "defaultValue": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetCheckGround", - "name": "获取勾选框状态值", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "获取指定元素的勾选状态,并将勾选状态赋值给指定变量,若勾选返回True,未勾选返回False。", - "messageTemplate": "获取 $1 的勾选状态, 然后把结果保存到 $0", - "baseType": "Element_GetCheckGround", - "functionName": "Element.GetCheckGround", - "functionCalls": [ - { - "function": "Element.GetCheckGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "获取勾选值" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "勾选框状态结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "勾选框状态结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetAttribute_v2", - "name": "设置网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "设置指定元素的属性,并且设置保存属性的变量名称和值(仅对浏览器网页元素有效)。", - "messageTemplate": "设置指定元素 $0 的属性", - "baseType": "Element_SetAttribute", - "functionName": "Element.SetAttribute_v2", - "functionCalls": [ - { - "function": "Element.SetAttribute_v2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "attrName", - "attrValue" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "设置属性", - "元素属性", - "元素", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或者选择网页元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attrValue", - "label": "属性值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请设置网页元素的属性值", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Children", - "name": "获取子元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "获取设定元素下的所有子元素,以数组形式输出。", - "messageTemplate": "获取指定元素 $1 下的所有子元素, 然后把结果保存到 $0", - "baseType": "Element_Children", - "functionName": "Element.Children", - "functionCalls": [ - { - "function": "Element.Children", - "args": [ - "uiSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "子元素列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "子元素列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_WaitElement", - "name": "等待元素", - "kind": "vendor", - "group": "web", - "categories": [ - "waite", - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "waite|web_element_operation|soft_element_operation", - "description": "判断某个元素是否存在或者消失,根据结果来执行后续的流程。", - "messageTemplate": "等待 $1 $2 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElement", - "functionName": "Element.WaitElement", - "functionCalls": [ - { - "function": "Element.WaitElement", - "args": [ - "uiSelector", - "choose", - "timeout", - "time_gap" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或者选择元素", - "description": "输入目标变量或者选择元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置等待类型,元素图像出现和元素结构出现为元素显示后结束,元素完全消失为元素消失后结束", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素图像出现", - "value": "0" - }, - { - "label": "元素结构出现", - "value": "1" - }, - { - "label": "元素完全消失", - "value": "2" - } - ] - }, - { - "key": "timeout", - "label": "等待超时时间设置(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "10000", - "placeholder": "请输入等待超时的时间(毫秒)", - "description": "输入超时等待的时间,单位:毫秒,默认10000毫秒,非必填", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "time_gap", - "label": "元素检测间隔(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "200", - "placeholder": "请输入每次检测的时间间隔(毫秒)", - "description": "输入每次检测的时间间隔,单位:毫秒,默认200毫秒,非必填", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_WaitElementGround", - "name": "等待元素", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "判断设定元素是否存在,存在则返回True,否则返回False。", - "messageTemplate": "等待元素 $1 $2 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElementGround", - "functionName": "Element.WaitElementGround", - "functionCalls": [ - { - "function": "Element.WaitElementGround", - "args": [ - "uiSelector", - "choose", - "timeout", - "time_gap", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "等待元素出现", - "value": "1" - }, - { - "label": "等待元素消失", - "value": "2" - } - ] - }, - { - "key": "timeout", - "label": "等待超时时间设置(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1000", - "placeholder": "", - "description": "非必填,默认1000毫秒", - "advanced": false, - "valueTypes": [] - }, - { - "key": "time_gap", - "label": "元素检测间隔(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "200", - "placeholder": "", - "description": "(设置每次检测的时间间隔)非必填,默认200毫秒", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素出现结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素出现结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ScrollIntoView_v2", - "name": "滚动页面", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "将页面滚动到指定元素位置。", - "messageTemplate": "将页面滚动至元素 $0 所在位置", - "baseType": "Element_ScrollIntoView", - "functionName": "Element.ScrollIntoView_v2", - "functionCalls": [ - { - "function": "Element.ScrollIntoView_v2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Element", - "处理", - "操作" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择需将页面滚动至哪个元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetValue_V1", - "name": "文本输入", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "对指定元素(如输入框)进行文本输入。", - "messageTemplate": "将 $1 输入到指定元素 $0 中", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue_V1", - "functionCalls": [ - { - "function": "Element.SetValue_V1", - "args": [ - "uiSelector", - "value", - "input", - "operation" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "写入文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "input", - "label": "追加输入", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "operation", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台输入", - "value": "0" - }, - { - "label": "剪贴板输入", - "value": "2" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_MouseTo_V3", - "name": "鼠标移动到元素上", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "peripheral_device", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|peripheral_device|soft_element_operation", - "description": "鼠标移动到元素上。", - "messageTemplate": "将鼠标移动到指定元素 $0 上", - "baseType": "Element_MouseTo", - "functionName": "Element.MouseTo_V3", - "functionCalls": [ - { - "function": "Element.MouseTo_V3", - "args": [ - "uiSelector", - "browser_type", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择目标元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Click_V5", - "name": "点击界面元素", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。", - "messageTemplate": "模拟鼠标 $2 $3 界面的 $0", - "baseType": "Element_Click", - "functionName": "Element.Click_V5", - "functionCalls": [ - { - "function": "Element.Click_V5", - "args": [ - "uiSelector", - "browser_type", - "clickway", - "clickfunc", - "operation", - "show_track", - "click_data", - "is_verify" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "clickway", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "中键", - "value": "2" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "operation", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPosition", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "is_verify", - "label": "校验运行结果", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetCheckGround", - "name": "设置勾选框状态", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "设置指定元素是否被勾选,返回是和否(某些单选框或复选框不是标准的标签元素,需要模拟鼠标进行点击操作)。", - "messageTemplate": "设置目标元素 $0 的勾选", - "baseType": "Element_SetCheckGround", - "functionName": "Element.SetCheckGround", - "functionCalls": [ - { - "function": "Element.SetCheckGround", - "args": [ - "uiSelector", - "isChecked", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "设置勾选项" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isChecked", - "label": "是否勾选", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Parent_V1", - "name": "获取父元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的父元素(可选获取层级)。", - "messageTemplate": "获取 $1 元素 {$$5 == 0 && '第$3层的父元素'} {$$5 == 1 && '$6'}, 然后把结果保存到 $0", - "baseType": "Element_Parent", - "functionName": "Element.Parent_V1", - "functionCalls": [ - { - "function": "Element.Parent_V1", - "args": [ - "uiSelector", - "browser_type", - "level", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择目标子元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "level", - "label": "获取层级", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "相对于目标子元素第几层级的父元素,仅支持大于0的整数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "父元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "父元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_RegionGround", - "name": "获取元素坐标", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。", - "messageTemplate": "获取指定元素 $1 的区域坐标, 然后把结果保存到 $0", - "baseType": "Element_RegionGround", - "functionName": "Element.RegionGround", - "functionCalls": [ - { - "function": "Element.RegionGround", - "args": [ - "uiSelector", - "position", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "位置", - "区域位置", - "坐标", - "模块坐标", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口左上角", - "value": "2" - }, - { - "label": "屏幕左上角", - "value": "3" - } - ] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素坐标值", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素坐标值", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValue_V2", - "name": "输入文本框", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。", - "messageTemplate": "输入文本 $2 到指定输入框 $0", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue_V2", - "functionCalls": [ - { - "function": "Element.SetValue_V2", - "args": [ - "uiSelector", - "input_type", - "text", - "operation", - "interval" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_StopAutoClosePopup", - "name": "停止智能弹窗侦测", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "停止在网页操作时智能侦测弹窗。", - "messageTemplate": "停止智能侦测弹窗", - "baseType": "Element_StopAutoClosePopup", - "functionName": "Element.StopAutoClosePopup", - "functionCalls": [ - { - "function": "Element.StopAutoClosePopup", - "args": [], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "弹窗监测", - "检测弹窗", - "停止弹窗检测", - "停止弹窗侦测" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetButtonEnable", - "name": "判断元素是否可点击", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "judgment", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|judgment|soft_element_operation", - "description": "判断指定元素是否可点击,可点击则返回True,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否可点击, 然后把结果保存到 $0", - "baseType": "Element_GetButtonEnable", - "functionName": "Element.GetButtonEnable", - "functionCalls": [ - { - "function": "Element.GetButtonEnable", - "args": [ - "uiSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "判断", - "点击" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或选择元素", - "description": "输入目标变量或选择界面元素作为输入", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValue_V5", - "name": "输入文本", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。", - "messageTemplate": "输入文本 $3 到指定输入框 $1{$$10 == 1 && ',然后把结果保存到 $0'}", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue_V5", - "functionCalls": [ - { - "function": "Element.SetValue_V5", - "args": [ - "uiSelector", - "browser_type", - "text", - "input_type", - "isEnter", - "operation", - "input_method", - "interval", - "delaybeforEnter", - "verifying_input", - "focus_timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "input_method", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "500", - "placeholder": "", - "description": "勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "verifying_input", - "label": "校验输入内容", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - }, - { - "key": "focus_timeout", - "label": "焦点等待时间(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "校验结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "校验结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_MouseTo", - "name": "鼠标移动到元素上", - "kind": "vendor", - "group": "web", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "鼠标移动到元素上。", - "messageTemplate": "将鼠标移动到指定元素 $0 上", - "baseType": "Element_MouseTo", - "functionName": "Element.MouseTo", - "functionCalls": [ - { - "function": "Element.MouseTo", - "args": [ - "uiSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "指定元素", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetText_V5", - "name": "获取界面元素文本", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。", - "messageTemplate": "{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $3 '}, 然后把结果保存到 $0", - "baseType": "Element_GetValue", - "functionName": "Element.GetText_V5", - "functionCalls": [ - { - "function": "Element.GetText_V5", - "args": [ - "choose", - "uiSelector", - "cvSelector", - "designated_info", - "designated_obj", - "attr_type", - "attr_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本", - "元素", - "获取区域文字", - "获取元素文本", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "choose", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "界面元素中的文本", - "value": "0" - }, - { - "label": "截屏区域的文本", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "cvSelector", - "label": "目标选择", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "attr_type", - "label": "文本信息类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "选择文本信息类型", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "默认", - "value": "default" - }, - { - "label": "元素值", - "value": "value" - }, - { - "label": "元素名称", - "value": "name" - }, - { - "label": "元素文本", - "value": "text" - }, - { - "label": "自定义属性名称", - "value": "custom_name" - } - ] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": true, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "文本保存到", - "key": "var_name", - "suggestedName": "元素文本值", - "valueTypes": [ - "rpa_str", - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "文本保存到", - "defaultValue": "元素文本值", - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetValue", - "name": "获取元素文本", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取指定元素的文本内容,并输出到指定变量。", - "messageTemplate": "获取指定元素 $1 的文本内容, 然后把结果保存到 $0", - "baseType": "Element_GetValue", - "functionName": "Element.GetValue", - "functionCalls": [ - { - "function": "Element.GetValue", - "args": [ - "uiSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_WaitElement_v5", - "name": "等待元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "waite", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|waite|soft_element_operation", - "description": "等待某个窗口打开、关闭或激活,根据结果进行选择性操作。", - "messageTemplate": "等待 $1 $4 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElement", - "functionName": "Element.WaitElement_v5", - "functionCalls": [ - { - "function": "Element.WaitElement_v5", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "choose", - "time_out", - "appear", - "disappear", - "time_gap" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在", - "等待", - "延时", - "延迟", - "等候", - "暂停" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择等待元素类型时,可以选择元素出现或消失,其中“元素结构消失”表示当图像和结构都消失时返回true。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素图像出现", - "value": "0" - }, - { - "label": "元素结构出现", - "value": "1" - }, - { - "label": "元素图像消失", - "value": "3" - }, - { - "label": "元素结构消失", - "value": "2" - } - ] - }, - { - "key": "time_out", - "label": "等待时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "设置等待元素的时间。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "appear", - "label": "元素未出现时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "disappear", - "label": "元素未消失时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "time_gap", - "label": "元素检测间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置等待过程中检测元素的时间间隔,建议1s 。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Region2_v3", - "name": "获取元素坐标", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data", - "get_soft_data" - ], - "categorySignature": "get_web_data|get_soft_data", - "description": "获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。", - "messageTemplate": "获取指定元素 $1 的区域坐标, 然后把结果保存到 $0", - "baseType": "Element_Region", - "functionName": "Element.Region2_v3", - "functionCalls": [ - { - "function": "Element.Region2_v3", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "位置", - "区域位置", - "坐标", - "模块坐标", - "元素", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "position", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口左上角", - "value": "2" - }, - { - "label": "屏幕左上角", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素坐标值", - "valueTypes": [ - "rpa_dict_region2" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素坐标值", - "valueTypes": [ - "rpa_dict_region2" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SimilarElementList", - "name": "获取相似元素列表", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "获取指定元素的相似元素列表并保存为变量,支持拾取、CSS、XPath等元素定位方式。", - "messageTemplate": "通过 $2 方式定位获取 $3 $5 $6 的相似元素,然后把结果保存到 $0", - "baseType": "Element_SimilarElementList", - "functionName": "Element.SimilarElementList", - "functionCalls": [ - { - "function": "Element.SimilarElementList", - "args": [ - "element_position", - "uiSelector", - "web", - "cssSelector", - "xpath", - "relate_parent", - "parent_selector", - "action", - "attr_complate", - "attr_name", - "reverse", - "start_index", - "end_index" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "相似元素", - "拾取元素", - "捕获元素", - "保存元素", - "xpath", - "css" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "uiSelector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择相似元素。", - "description": "拾取或选择相似元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "输入或选择目标浏览器变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入CSS选择器", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入XPath选择器", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "relate_parent", - "label": "关联父元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否在特定父元素下获取相似元素。获取win32相似元素,该属性将不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "parent_selector", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "action", - "label": "元素操作", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "selector", - "placeholder": "", - "description": "获取元素值,将获取元素value属性值,若没有该属性则返回None。获取元素链接地址,将获取元素href或src属性值,若没有该属性则返回None。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取元素对象", - "value": "selector" - }, - { - "label": "获取元素坐标", - "value": "bounding" - }, - { - "label": "获取元素文本内容", - "value": "gettext" - }, - { - "label": "获取元素值", - "value": "value" - }, - { - "label": "获取元素链接地址", - "value": "absoluteurl" - }, - { - "label": "获取元素代码", - "value": "code" - }, - { - "label": "获取元素属性", - "value": "attr" - } - ] - }, - { - "key": "attr_complate", - "label": "自动补充完整地址", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入元素属性名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "reverse", - "label": "获取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "正序", - "value": "0" - }, - { - "label": "逆序", - "value": "1" - } - ] - }, - { - "key": "start_index", - "label": "开始获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "默认为1表示从第1项开始获取。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_index", - "label": "结束获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "-1", - "placeholder": "", - "description": "默认为-1表示将获取至倒数第1项。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "元素列表保存至", - "key": "var0", - "suggestedName": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var0", - "label": "元素列表保存至", - "defaultValue": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - }, - { - "key": "var1", - "label": "元素个数保存至", - "defaultValue": "元素个数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SimilarElementList_V1", - "name": "获取相似元素列表", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "获取指定元素的相似元素列表并保存为变量,支持拾取、CSS、XPath等元素定位方式。", - "messageTemplate": "通过 $2 方式定位获取 $3 $5 $6 的相似元素,然后把结果保存到 $0", - "baseType": "Element_SimilarElementList", - "functionName": "Element.SimilarElementList_V1", - "functionCalls": [ - { - "function": "Element.SimilarElementList_V1", - "args": [ - "element_position", - "uiSelector", - "designated_info", - "designated_obj", - "web", - "cssSelector", - "xpath", - "relate_parent", - "parent_selector", - "action", - "attr_complate", - "attr_name", - "reverse", - "start_index", - "end_index" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "相似元素", - "拾取元素", - "捕获元素", - "保存元素", - "xpath", - "css" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "uiSelector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择相似元素。", - "description": "拾取或选择相似元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "输入或选择目标浏览器变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入CSS选择器", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入XPath选择器", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "relate_parent", - "label": "关联父元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否在特定父元素下获取相似元素。获取win32相似元素,该属性将不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "parent_selector", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "action", - "label": "元素操作", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "selector", - "placeholder": "", - "description": "获取元素值,将获取元素value属性值,若没有该属性则返回None。获取元素链接地址,将获取元素href或src属性值,若没有该属性则返回None。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取元素对象", - "value": "selector" - }, - { - "label": "获取元素坐标", - "value": "bounding" - }, - { - "label": "获取元素文本内容", - "value": "gettext" - }, - { - "label": "获取元素值", - "value": "value" - }, - { - "label": "获取元素链接地址", - "value": "absoluteurl" - }, - { - "label": "获取元素代码", - "value": "code" - }, - { - "label": "获取元素属性", - "value": "attr" - } - ] - }, - { - "key": "attr_complate", - "label": "自动补充完整地址", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入元素属性名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "reverse", - "label": "获取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "正序", - "value": "0" - }, - { - "label": "逆序", - "value": "1" - } - ] - }, - { - "key": "start_index", - "label": "开始获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "默认为1表示从第1项开始获取。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_index", - "label": "结束获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "-1", - "placeholder": "", - "description": "默认为-1表示将获取至倒数第1项。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "元素列表保存至", - "key": "var0", - "suggestedName": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var0", - "label": "元素列表保存至", - "defaultValue": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - }, - { - "key": "var1", - "label": "元素个数保存至", - "defaultValue": "元素个数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Shot", - "name": "元素截图", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对指定元素进行截图,然后保存图片。", - "messageTemplate": "对指定元素 $1 进行截图, 然后把结果保存到 $0", - "baseType": "Element_Shot", - "functionName": "Element.Shot", - "functionCalls": [ - { - "function": "Element.Shot", - "args": [ - "uiSelector", - "filePath", - "filename" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截图", - "目标截图", - "元素截图", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择进行截图的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "filePath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "res", - "placeholder": "请输入或选择文件夹路径", - "description": "输入或选择截图保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "截图_${randomString}.png", - "placeholder": "请输入截图名称,为空则随机生成", - "description": "输入截图的名称,当名称为空时将随机生成一个名称。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "截图保存路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "截图保存路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_CheckBoxOperation_v2", - "name": "勾选框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。", - "messageTemplate": "{$$3 == 1 && '设置勾选框'}{$$3 == 0 && '设置勾选框'}{$$3 == 2 && '获取勾选框'} $1 {$$3 == 1 && '并将其 $3'}{$$3 == 0 && '并将其 $3'}, 然后把结果保存到 $0", - "baseType": "Element_CheckBoxOperation", - "functionName": "Element.CheckBoxOperation_v2", - "functionCalls": [ - { - "function": "Element.CheckBoxOperation_v2", - "args": [ - "uiSelector", - "browser_type", - "operation_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "设置勾选项", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标勾选框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标勾选框元素", - "description": "拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态;仅获取勾选框状态:读取勾选框状态", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设为勾选", - "value": "1" - }, - { - "label": "取消勾选", - "value": "0" - }, - { - "label": "仅获取勾选框状态", - "value": "2" - } - ] - } - ], - "output": { - "label": "状态保存到", - "key": "var_name", - "suggestedName": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "状态保存到", - "defaultValue": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetLineBarChartData", - "name": "获取折线图/柱状图数据", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "通过模拟滑动获取网页中折线图/柱状图数据。", - "messageTemplate": "模拟鼠标在 $1 滑过来获取数据, 然后把结果保存到 $0", - "baseType": "Element_GetLineBarChartData", - "functionName": "Element.GetLineBarChartData", - "functionCalls": [ - { - "function": "Element.GetLineBarChartData", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "remove_whitespace", - "chart_top", - "dataSelector", - "direction", - "move_speed", - "move_track", - "offset" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "折线图", - "柱状图" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标图表元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "remove_whitespace", - "label": "去除空白符", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输出结果中去除所有空白符和换行符", - "advanced": false, - "valueTypes": [] - }, - { - "key": "chart_top", - "label": "图表元素置顶", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "若数据元素挡住了图表元素,勾选则可以解决", - "advanced": false, - "valueTypes": [] - }, - { - "key": "dataSelector", - "label": "数据元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "direction", - "label": "移动方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "从左到右", - "value": "0" - }, - { - "label": "从上到下", - "value": "1" - } - ] - }, - { - "key": "move_speed", - "label": "移动速度", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "快", - "value": "0" - }, - { - "label": "中", - "value": "1" - }, - { - "label": "慢", - "value": "2" - } - ] - }, - { - "key": "move_track", - "label": "移动模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "平滑", - "value": "0" - }, - { - "label": "抖动", - "value": "1" - } - ] - }, - { - "key": "offset", - "label": "偏移", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可通过偏移量设置上下/左右移动范围,输入-1到1,-1向上/左偏移,1向下/右偏移", - "advanced": true, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - } - ], - "output": { - "label": "保存数据列表至", - "key": "var_name", - "suggestedName": "图表数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "保存数据列表至", - "defaultValue": "图表数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetText_V4", - "name": "获取界面元素文本", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。", - "messageTemplate": "{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $3 '}, 然后把结果保存到 $0", - "baseType": "Element_GetValue", - "functionName": "Element.GetText_V4", - "functionCalls": [ - { - "function": "Element.GetText_V4", - "args": [ - "choose", - "uiSelector", - "cvSelector", - "designated_info", - "designated_obj", - "attr_type", - "attr_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本", - "元素", - "获取区域文字", - "获取元素文本" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "choose", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "界面元素中的文本", - "value": "0" - }, - { - "label": "截屏区域的文本", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "cvSelector", - "label": "目标选择", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "attr_type", - "label": "文本信息类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "选择文本信息类型", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "默认", - "value": "default" - }, - { - "label": "元素值", - "value": "value" - }, - { - "label": "元素名称", - "value": "name" - }, - { - "label": "元素文本", - "value": "text" - }, - { - "label": "自定义属性名称", - "value": "custom_name" - } - ] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": true, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "文本保存到", - "key": "var_name", - "suggestedName": "元素文本值", - "valueTypes": [ - "rpa_str", - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "文本保存到", - "defaultValue": "元素文本值", - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Region", - "name": "获取元素坐标", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。", - "messageTemplate": "获取指定元素 $1 的区域坐标, 然后把结果保存到 $0", - "baseType": "Element_Region", - "functionName": "Element.Region", - "functionCalls": [ - { - "function": "Element.Region", - "args": [ - "uiSelector", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "位置", - "区域位置", - "坐标", - "模块坐标", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口左上角", - "value": "2" - }, - { - "label": "屏幕左上角", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "dictRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "dictRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Children_V2", - "name": "获取子元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标网页元素的子元素(可选指定获取第几个)。", - "messageTemplate": "获取 $1 元素的{$$6 == 0 && '第$4个子元素'} {$$6 == 0 && '所有子元素'} {$$6 == 1 && '$7'}, 然后把结果保存到 $0", - "baseType": "Element_Children", - "functionName": "Element.Children_V2", - "functionCalls": [ - { - "function": "Element.Children_V2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "num", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "num", - "label": "获取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "子元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "子元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetText_V2", - "name": "获取界面元素文本", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。", - "messageTemplate": "{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $4 '}, 然后把结果保存到 $0", - "baseType": "Element_GetText", - "functionName": "Element.GetText_V2", - "functionCalls": [ - { - "function": "Element.GetText_V2", - "args": [ - "choose", - "uiSelector", - "browser_type", - "cvSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本", - "元素", - "获取区域文字", - "获取元素文本" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "choose", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "界面元素中的文本", - "value": "0" - }, - { - "label": "截屏区域的文本", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "cvSelector", - "label": "目标选择", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "文本保存到", - "key": "var_name", - "suggestedName": "元素文本值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "文本保存到", - "defaultValue": "元素文本值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetAttribute_v1", - "name": "获取网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。", - "messageTemplate": "获取指定元素 $1 的属性, 然后把结果保存到 $0", - "baseType": "Element_GetAttribute", - "functionName": "Element.GetAttribute_v1", - "functionCalls": [ - { - "function": "Element.GetAttribute_v1", - "args": [ - "uiSelector", - "browser_type", - "attrName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "获取属性", - "元素属性", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "拾取或选择网页元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素属性值", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素属性值", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetCheck", - "name": "设置勾选框状态", - "kind": "vendor", - "group": "web", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "设置指定勾选框元素是否被勾选(某些单选框或复选框不是标准的标签元素,需要模拟鼠标进行点击操作)。", - "messageTemplate": "设置指定元素 $0 的勾选", - "baseType": "Element_SetCheck", - "functionName": "Element.SetCheck", - "functionCalls": [ - { - "function": "Element.SetCheck", - "args": [ - "uiSelector", - "isChecked" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "设置勾选项", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isChecked", - "label": "是否勾选", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetValueGround", - "name": "获取元素文本", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "获取指定目标元素的文本内容,并输出到指定变量。", - "messageTemplate": "获取目标元素 $1 的文本内容, 然后把结果保存到 $0", - "baseType": "Element_GetValueGround", - "functionName": "Element.GetValueGround", - "functionCalls": [ - { - "function": "Element.GetValueGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素文本值", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素文本值", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetAttribute_v1", - "name": "设置网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "设置指定元素的属性,并且设置保存属性的变量名称和值(仅对浏览器网页元素有效)。", - "messageTemplate": "设置指定元素 $0 的属性", - "baseType": "Element_SetAttribute", - "functionName": "Element.SetAttribute_v1", - "functionCalls": [ - { - "function": "Element.SetAttribute_v1", - "args": [ - "uiSelector", - "browser_type", - "attrName", - "attrValue" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "设置属性", - "元素属性", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或者选择网页元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attrValue", - "label": "属性值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请设置网页元素的属性值", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetSelect", - "name": "获取下拉框选项值", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取指定下拉列表元素的选择项,并将选择的值保存到指定变量。", - "messageTemplate": "获取指定下拉框 $1 的选项值, 然后把结果保存到 $0", - "baseType": "Element_GetSelect", - "functionName": "Element.GetSelect", - "functionCalls": [ - { - "function": "Element.GetSelect", - "args": [ - "uiSelector", - "choose" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "选项", - "选择项", - "获取选择值", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按文本获取", - "value": "1" - }, - { - "label": "按值获取", - "value": "2" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Click_V1", - "name": "元素点击", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "点击指定元素(模拟鼠标点击)。", - "messageTemplate": "模拟鼠标,点击指定元素 $0", - "baseType": "Element_Click", - "functionName": "Element.Click_V1", - "functionCalls": [ - { - "function": "Element.Click_V1", - "args": [ - "uiSelector", - "operation", - "clickway", - "clickfunc", - "AI_backup" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟操作", - "value": "1" - }, - { - "label": "后台操作", - "value": "0" - } - ] - }, - { - "key": "clickway", - "label": "鼠标点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - }, - { - "label": "中键", - "value": "2" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "AI_backup", - "label": "开启AI修复", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_MouseTo_V2", - "name": "鼠标移动到元素上", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "鼠标移动到元素上。", - "messageTemplate": "将鼠标移动到指定元素 $0 上", - "baseType": "Element_MouseTo", - "functionName": "Element.MouseTo_V2", - "functionCalls": [ - { - "function": "Element.MouseTo_V2", - "args": [ - "uiSelector", - "browser_type", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择目标元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Region2", - "name": "获取元素坐标", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data", - "get_web_data" - ], - "categorySignature": "get_soft_data|get_web_data", - "description": "获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。", - "messageTemplate": "获取指定元素 $1 的区域坐标, 然后把结果保存到 $0", - "baseType": "Element_Region", - "functionName": "Element.Region2", - "functionCalls": [ - { - "function": "Element.Region2", - "args": [ - "uiSelector", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "位置", - "区域位置", - "坐标", - "模块坐标", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "position", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口左上角", - "value": "2" - }, - { - "label": "屏幕左上角", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素坐标值", - "valueTypes": [ - "rpa_dict_region" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素坐标值", - "valueTypes": [ - "rpa_dict_region" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValuePassword_V6", - "name": "输入密码", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "在指定的密码框中输入密码。", - "messageTemplate": "在目标密码框 $1 中输入密码 $3, 然后把结果保存到 $0", - "baseType": "Element_SetValuePassword", - "functionName": "Element.SetValuePassword_V6", - "functionCalls": [ - { - "function": "Element.SetValuePassword_V6", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "text", - "input_type", - "isEnter", - "operation", - "input_method", - "interval", - "click_data", - "delaybeforEnter", - "verifying_input", - "focus_timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入", - "密码", - "录入", - "键入", - "输入进", - "填写" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "text", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "input_method", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPositionV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "500", - "placeholder": "", - "description": "勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "verifying_input", - "label": "校验输入内容", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - }, - { - "key": "focus_timeout", - "label": "焦点等待时间(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "校验结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "校验结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetText_V1", - "name": "获取区域文字", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "采用智能拾取方式,获取选定区域的文字内容,并保存输出。", - "messageTemplate": "在目标截图范围内进行截图,在目标元素 $1 进行获取文本, 然后把结果保存到 $0", - "baseType": "Element_GetText", - "functionName": "Element.GetText_V1", - "functionCalls": [ - { - "function": "Element.GetText_V1", - "args": [ - "uiSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetText", - "name": "获取界面元素文本", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。", - "messageTemplate": "{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $3 '}, 然后把结果保存到 $0", - "baseType": "Element_GetText", - "functionName": "Element.GetText", - "functionCalls": [ - { - "function": "Element.GetText", - "args": [ - "choose", - "uiSelector", - "cvSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本", - "元素", - "获取区域文字", - "获取元素文本" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "choose", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "界面元素中的文本", - "value": "0" - }, - { - "label": "截屏区域的文本", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "cvSelector", - "label": "目标选择", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "文本保存到", - "key": "var_name", - "suggestedName": "元素文本值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "文本保存到", - "defaultValue": "元素文本值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetElementNew", - "name": "获取元素对象", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。", - "messageTemplate": "通过 $1 方式定位 $3$2 中的元素, 然后把结果保存到 $0", - "baseType": "Element_GetElement", - "functionName": "Element.GetElementNew", - "functionCalls": [ - { - "function": "Element.GetElementNew", - "args": [ - "element_position", - "web", - "default", - "cssSelector", - "xpath", - "verify", - "relate_parent", - "parent_selector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取元素对象", - "保存元素", - "捕获元素", - "拾取元素", - "xp", - "xpath", - "css" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "元素定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "通过元素拾取,CSS,XPath等方式定位网页中的元素", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择目标浏览器变量", - "description": "输入或选择目标浏览器变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "default", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "通过元素拾取定位元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "verify", - "label": "verify", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "relate_parent", - "label": "关联父元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否关联父级元素,若勾选则在父级元素范围内查找目标操作元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "parent_selector", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "元素对象", - "valueTypes": [ - "rpa_element" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "元素对象", - "valueTypes": [ - "rpa_element" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetSelectGround", - "name": "获取下拉框选项值", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "获取指定下拉元素的所有选择项,并将选择的值保存到指定变量。", - "messageTemplate": "获取目标元素 $1 的选择, 然后把结果保存到 $0", - "baseType": "Element_GetSelectGround", - "functionName": "Element.GetSelectGround", - "functionCalls": [ - { - "function": "Element.GetSelectGround", - "args": [ - "uiSelector", - "choose", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "选项", - "选择项", - "获取选择值", - "下拉列表" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按文本获取", - "value": "1" - }, - { - "label": "按值获取", - "value": "2" - } - ] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "下拉框选项值", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "下拉框选项值", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Shot_V1", - "name": "元素截图", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对指定元素进行截图,然后保存图片。", - "messageTemplate": "对指定元素 $1 进行截图, 然后把结果保存到 $0", - "baseType": "Element_Shot", - "functionName": "Element.Shot_V1", - "functionCalls": [ - { - "function": "Element.Shot_V1", - "args": [ - "uiSelector", - "browser_type", - "filePath", - "filename" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截图", - "目标截图", - "元素截图", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择进行截图的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "filePath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择文件夹路径", - "description": "输入或选择截图保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "截图_${randomString}.png", - "placeholder": "请输入截图名称,为空则随机生成", - "description": "输入截图的名称,当名称为空时将随机生成一个名称。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "截图保存路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "截图保存路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SelectOperation", - "name": "下拉框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。", - "messageTemplate": "{$$2 == 1 && '设置下拉框'}{$$2 == 2 && '获取下拉框'} $1 {$$2 == 1 && '$5'}{$$2 == 1 && $$3 == 0 && '并选择第 $4 个选项'}{$$2 == 1 && $$3 != 0 && '并选择内容为 $4 的选项'}{$$2 == 2 && ',然后把结果保存到 $0'}", - "baseType": "Element_SelectOperation", - "functionName": "Element.SelectOperation", - "functionCalls": [ - { - "function": "Element.SelectOperation", - "args": [ - "uiSelector", - "operation_type", - "choose", - "itemsToSelect", - "ret_type", - "ret_choose" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置选择项", - "选择项", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标下拉框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标下拉框元素", - "description": "拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设置下拉框选项", - "value": "1" - }, - { - "label": "获取下拉框的选项值", - "value": "2" - } - ] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "按选项内容:根据选项的文本内容进行匹配选择,可以填写完整的选项值,关键字模糊匹配;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项中对应的下拉框选项的Value值进行关键字模糊匹配", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按选项内容", - "value": "1" - }, - { - "label": "按选项顺序", - "value": "0" - }, - { - "label": "按选项值", - "value": "2" - } - ] - }, - { - "key": "itemsToSelect", - "label": "选项值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入要匹配的内容", - "description": "选项值关键字为数组格式,每个关键词写在 \"\" 中,当有多个关键字时,以英文逗号分隔。如[\"杭州\"]或[\"上海\",\"北京\"]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "ret_type", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部下拉选项", - "value": "1" - }, - { - "label": "当前选中项", - "value": "0" - } - ] - }, - { - "key": "ret_choose", - "label": "获取内容", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选项内容", - "value": "1" - }, - { - "label": "顺序位置", - "value": "0" - } - ] - } - ], - "output": { - "label": "保存获取内容", - "key": "var_name", - "suggestedName": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "保存获取内容", - "defaultValue": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetCheck", - "name": "获取勾选框状态值", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取指定勾选框元素的勾选状态,然后把勾选状态保存到指定变量,若勾选则保存为True,未勾选则保存为False。", - "messageTemplate": "获取 $1 的勾选状态, 然后把结果保存到 $0", - "baseType": "Element_GetCheck", - "functionName": "Element.GetCheck", - "functionCalls": [ - { - "function": "Element.GetCheck", - "args": [ - "uiSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "获取勾选值", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_MouseToGround", - "name": "鼠标移动到元素上", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "鼠标定位至元素上。", - "messageTemplate": "将鼠标定位至目标元素 $0 上", - "baseType": "Element_MouseToGround", - "functionName": "Element.MouseToGround", - "functionCalls": [ - { - "function": "Element.MouseToGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetAttribute", - "name": "设置网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "设置指定元素的属性,并且设置保存属性的变量名称和值(仅对浏览器网页元素有效)。", - "messageTemplate": "设置指定元素 $0 的属性", - "baseType": "Element_SetAttribute", - "functionName": "Element.SetAttribute", - "functionCalls": [ - { - "function": "Element.SetAttribute", - "args": [ - "uiSelector", - "attrName", - "attrValue" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "设置属性", - "元素属性", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "拾取或选择网页元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "attrValue", - "label": "属性值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请设置网页元素的属性值", - "description": "设置网页元素的属性值", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetButtonEnable_v2", - "name": "判断元素是否可点击", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "judgment", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|judgment|soft_element_operation", - "description": "判断指定元素是否可点击,可点击则返回True,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否可点击, 然后把结果保存到 $0", - "baseType": "Element_GetButtonEnable", - "functionName": "Element.GetButtonEnable_v2", - "functionCalls": [ - { - "function": "Element.GetButtonEnable_v2", - "args": [ - "uiSelector", - "browser_type", - "identify_hidden_element" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "判断", - "点击" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或选择元素", - "description": "输入目标变量或选择界面元素作为输入", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "identify_hidden_element", - "label": "识别隐藏元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选时,如果隐藏元素的结构存在则返回true,否则返回false;未勾选时,只有在元素结构和图像均存在的情况下才返回true,否则返回false。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetElementInfo", - "name": "获取元素信息", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "获取指定元素的文本内容、属性值、元素位置、链接地址、代码等信息并输出。", - "messageTemplate": "根据指定界面元素 $1,$4, 然后把结果保存到 $0", - "baseType": "Element_GetElementInfo", - "functionName": "Element.GetElementInfo", - "functionCalls": [ - { - "function": "Element.GetElementInfo", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "action", - "attr_complate", - "attr_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "获取", - "信息", - "获取元素信息" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "拾取或选择需要获取信息的目标元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "action", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "gettext", - "placeholder": "", - "description": "选择需要获取元素的信息类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取元素值", - "value": "value" - }, - { - "label": "获取元素文本内容", - "value": "gettext" - }, - { - "label": "获取元素链接地址", - "value": "absoluteurl" - }, - { - "label": "获取元素属性", - "value": "attr" - }, - { - "label": "获取元素代码", - "value": "code" - }, - { - "label": "获取元素坐标", - "value": "bounding" - } - ] - }, - { - "key": "attr_complate", - "label": "自动补充完整地址", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入元素属性名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "获取信息保存至", - "key": "var_name", - "suggestedName": "元素信息", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "获取信息保存至", - "defaultValue": "元素信息", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValueGround", - "name": "文本输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "设置指定元素的文本内容,并支持 Chrome浏览器最小化运行。", - "messageTemplate": "设置指定元素 $0 的文本内容为 $1", - "baseType": "Element_SetValueGround", - "functionName": "Element.SetValueGround", - "functionCalls": [ - { - "function": "Element.SetValueGround", - "args": [ - "uiSelector", - "value", - "input", - "operation", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "写入文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "input", - "label": "追加输入", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "operation", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "后台输入", - "value": "0" - } - ] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetAttributeGround", - "name": "设置网页元素属性", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "设置指定元素的属性,赋值给属性名称和属性值(仅对浏览器网页元素有效)。", - "messageTemplate": "设置目标元素 $0 的属性", - "baseType": "Element_SetAttributeGround", - "functionName": "Element.SetAttributeGround", - "functionCalls": [ - { - "function": "Element.SetAttributeGround", - "args": [ - "uiSelector", - "attrName", - "attrValue", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "设置属性", - "元素属性" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attrValue", - "label": "属性值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Region2_v1", - "name": "获取元素坐标", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data", - "get_web_data" - ], - "categorySignature": "get_soft_data|get_web_data", - "description": "获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。", - "messageTemplate": "获取指定元素 $1 的区域坐标, 然后把结果保存到 $0", - "baseType": "Element_Region", - "functionName": "Element.Region2_v1", - "functionCalls": [ - { - "function": "Element.Region2_v1", - "args": [ - "uiSelector", - "browser_type", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "位置", - "区域位置", - "坐标", - "模块坐标", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "position", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口左上角", - "value": "2" - }, - { - "label": "屏幕左上角", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素坐标值", - "valueTypes": [ - "rpa_dict_region" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素坐标值", - "valueTypes": [ - "rpa_dict_region" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_DoubleClickSap", - "name": "双击SAP表格单元格", - "kind": "vendor", - "group": "web", - "categories": [ - "SAP" - ], - "categorySignature": "SAP", - "description": "双击SAP表格单元格。", - "messageTemplate": "双击目标元素 $0 ", - "baseType": "Element_DoubleClickSap", - "functionName": "Element.DoubleClickSap", - "functionCalls": [ - { - "function": "Element.DoubleClickSap", - "args": [ - "uiSelector", - "rowNo", - "columnNo" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "rowNo", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "columnNo", - "label": "列号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_ChildrenGround", - "name": "获取子元素", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "获取设定元素下的所有子元素,以数组形式输出。", - "messageTemplate": "获取目标元素 $1 下的所有子元素, 然后把结果保存到 $0", - "baseType": "Element_ChildrenGround", - "functionName": "Element.ChildrenGround", - "functionCalls": [ - { - "function": "Element.ChildrenGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请选择目标元素的子元素范围。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "子元素列表", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "子元素列表", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetElementV1", - "name": "获取元素对象", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。", - "messageTemplate": "通过 $1 方式定位 {$$1 == 'default' && '$2'} {$$1 != 'default' && '$4'} 中的元素, 然后把结果保存到 $0", - "baseType": "Element_GetElement", - "functionName": "Element.GetElementV1", - "functionCalls": [ - { - "function": "Element.GetElementV1", - "args": [ - "element_position", - "default", - "designated_info", - "designated_obj", - "cssSelector", - "xpath", - "verify", - "relate_parent", - "parent_selector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取元素对象", - "保存元素", - "捕获元素", - "拾取元素", - "xp", - "xpath", - "css", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "元素定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "通过元素拾取,CSS,XPath等方式定位网页中的元素", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "default", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "通过元素拾取定位元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "verify", - "label": "verify", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "relate_parent", - "label": "关联父元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否关联父级元素,若勾选则在父级元素范围内查找目标操作元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "parent_selector", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "元素对象", - "valueTypes": [ - "rpa_element" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "元素对象", - "valueTypes": [ - "rpa_element" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ExistsV1", - "name": "判断元素存在", - "kind": "vendor", - "group": "web", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "判断指定元素是否存在,是则返回Ture,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否存在, 然后把结果保存到 $0", - "baseType": "Element_Exists", - "functionName": "Element.ExistsV1", - "functionCalls": [ - { - "function": "Element.ExistsV1", - "args": [ - "uiSelector", - "browser_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素存在", - "存在", - "判断元素存在", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValue_V4", - "name": "输入文本", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。", - "messageTemplate": "输入文本 $3 到指定输入框 $1{$$9 == 1 && ',然后把结果保存到 $0'}", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue_V4", - "functionCalls": [ - { - "function": "Element.SetValue_V4", - "args": [ - "uiSelector", - "browser_type", - "text", - "input_type", - "isEnter", - "operation", - "input_method", - "delaybeforEnter", - "verifying_input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "input_method", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "500", - "placeholder": "", - "description": "勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "verifying_input", - "label": "校验输入内容", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "校验结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "校验结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ScrollIntoView", - "name": "滚动页面", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "将页面滚动到指定元素位置。", - "messageTemplate": "将页面滚动至元素 $0 所在位置", - "baseType": "Element_ScrollIntoView", - "functionName": "Element.ScrollIntoView", - "functionCalls": [ - { - "function": "Element.ScrollIntoView", - "args": [ - "uiSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择需将页面滚动至哪个元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Shot_V2", - "name": "元素截图", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对指定元素进行截图,然后保存图片。", - "messageTemplate": "对指定元素 $1 进行截图, 然后把结果保存到 $0", - "baseType": "Element_Shot", - "functionName": "Element.Shot_V2", - "functionCalls": [ - { - "function": "Element.Shot_V2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "filePath", - "filename", - "isUseVerifyCode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截图", - "目标截图", - "元素截图", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择进行截图的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "filePath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择文件夹路径", - "description": "输入或选择截图保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "截图_${randomString}.png", - "placeholder": "请输入截图名称,为空则随机生成", - "description": "输入截图的名称,当名称为空时将随机生成一个名称。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isUseVerifyCode", - "label": "仅截取屏幕范围内", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "取消勾选后,将同时截取元素在当前屏幕范围外的部分", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "截图保存路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "截图保存路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_CheckBoxOperation_v1", - "name": "勾选框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。", - "messageTemplate": "{$$3 == 1 && '设置勾选框'}{$$3 == 2 && '获取勾选框'} $1 {$$3 == 1 && '并将其 $4'}, 然后把结果保存到 $0", - "baseType": "Element_CheckBoxOperation", - "functionName": "Element.CheckBoxOperation_v1", - "functionCalls": [ - { - "function": "Element.CheckBoxOperation_v1", - "args": [ - "uiSelector", - "browser_type", - "operation_type", - "isChecked" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "设置勾选项", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标勾选框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标勾选框元素", - "description": "拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设置勾选框", - "value": "1" - }, - { - "label": "获取勾选框状态", - "value": "2" - } - ] - }, - { - "key": "isChecked", - "label": "勾选框状态", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设为勾选", - "value": "1" - }, - { - "label": "取消勾选", - "value": "0" - } - ] - } - ], - "output": { - "label": "状态保存到", - "key": "var_name", - "suggestedName": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "状态保存到", - "defaultValue": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetPieChartData", - "name": "获取饼状图数据", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "通过模拟滑动获取网页中饼状图数据。", - "messageTemplate": "模拟鼠标在 $1 滑过来获取数据, 然后把结果保存到 $0", - "baseType": "Element_GetPieChartData", - "functionName": "Element.GetPieChartData", - "functionCalls": [ - { - "function": "Element.GetPieChartData", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "radius_ratio", - "remove_whitespace", - "chart_top", - "h_offset", - "v_offset", - "move_speed" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "饼图" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标图表元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "radius_ratio", - "label": "半径比", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0.5", - "placeholder": "", - "description": "鼠标以画布宽度/高度作为标注,在画布上画圈圈,范围0-1", - "advanced": false, - "valueTypes": [ - "rpa_float", - "rpa_int" - ] - }, - { - "key": "remove_whitespace", - "label": "去除空白符", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输出结果中去除所有空白符和换行符", - "advanced": false, - "valueTypes": [] - }, - { - "key": "chart_top", - "label": "图表元素置顶", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "若数据元素挡住了图表元素,勾选则可以解决", - "advanced": false, - "valueTypes": [] - }, - { - "key": "h_offset", - "label": "圆心横向偏移", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可通过偏移量设置左右偏移范围,输入-1到1,-1向左偏移,1向右偏移", - "advanced": true, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - }, - { - "key": "v_offset", - "label": "圆心纵向偏移", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可通过偏移量设置上下/左右移动范围,输入-1到1,-1向上/左偏移,1向下/右偏移", - "advanced": true, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - }, - { - "key": "move_speed", - "label": "移动方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "快", - "value": "0" - }, - { - "label": "中", - "value": "1" - }, - { - "label": "慢", - "value": "2" - } - ] - } - ], - "output": { - "label": "保存数据列表至", - "key": "var_name", - "suggestedName": "图表数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "保存数据列表至", - "defaultValue": "图表数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValue_V6", - "name": "输入文本", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。", - "messageTemplate": "输入文本 $3 到指定输入框 $1, 然后把结果保存到 $0", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue_V6", - "functionCalls": [ - { - "function": "Element.SetValue_V6", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "text", - "input_type", - "isEnter", - "operation", - "input_method", - "interval", - "click_data", - "delaybeforEnter", - "verifying_input", - "focus_timeout", - "force_switch_eng" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入", - "录入", - "键入", - "输入进", - "填写", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "input_method", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "force_switch_eng", - "label": "强制加载美式键盘(ENG)", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "存在需要指定强制加载美式键盘(ENG),确保模拟输入不受中文输入法影响", - "advanced": true, - "valueTypes": [] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPositionV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "500", - "placeholder": "", - "description": "勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "verifying_input", - "label": "校验输入内容", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - }, - { - "key": "focus_timeout", - "label": "焦点等待时间(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "校验结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "校验结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetButtonEnable_v3", - "name": "判断元素是否可点击", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "judgment", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|judgment|soft_element_operation", - "description": "判断指定元素是否可点击,可点击则返回True,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否可点击, 然后把结果保存到 $0", - "baseType": "Element_GetButtonEnable", - "functionName": "Element.GetButtonEnable_v3", - "functionCalls": [ - { - "function": "Element.GetButtonEnable_v3", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "identify_hidden_element" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "判断", - "点击" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或选择元素", - "description": "输入目标变量或选择界面元素作为输入", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "identify_hidden_element", - "label": "识别隐藏元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选时,如果隐藏元素的结构存在则返回true,否则返回false;未勾选时,只有在元素结构和图像均存在的情况下才返回true,否则返回false。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetAttributeGround", - "name": "获取网页元素属性", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "获取指定元素的属性值,赋值给指定变量(仅对浏览器网页元素有效)。", - "messageTemplate": "获取目标元素 $1 的属性, 然后把结果保存到 $0", - "baseType": "Element_GetAttributeGround", - "functionName": "Element.GetAttributeGround", - "functionCalls": [ - { - "function": "Element.GetAttributeGround", - "args": [ - "uiSelector", - "attrName", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "获取属性", - "元素属性" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素属性值", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素属性值", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ExistsGround", - "name": "元素判断", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "判断设定元素是否存在,存在则返回True,否则返回False。", - "messageTemplate": "判断目标元素 $1 是否存在, 然后把结果保存到 $0", - "baseType": "Element_ExistsGround", - "functionName": "Element.ExistsGround", - "functionCalls": [ - { - "function": "Element.ExistsGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素存在", - "存在", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValuePassword_V5", - "name": "输入密码", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "在指定的密码框中输入密码。", - "messageTemplate": "在目标密码框 $1 中输入密码 $3{$$10 == 1 && ',然后把结果保存到 $0'}", - "baseType": "Element_SetValuePassword", - "functionName": "Element.SetValuePassword_V5", - "functionCalls": [ - { - "function": "Element.SetValuePassword_V5", - "args": [ - "uiSelector", - "browser_type", - "text", - "input_type", - "isEnter", - "operation", - "input_method", - "interval", - "delaybeforEnter", - "verifying_input", - "focus_timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入", - "密码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "text", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "input_method", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "500", - "placeholder": "", - "description": "勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "verifying_input", - "label": "校验输入内容", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - }, - { - "key": "focus_timeout", - "label": "焦点等待时间(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "校验结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "校验结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Sibling", - "name": "获取兄弟元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的兄弟元素(可选获取上一个兄弟元素或下一个兄弟元素)。", - "messageTemplate": "获取 $1 元素的 {$$4 == 0 && '$2'} {$$4 == 1 && '$5'}, 然后把结果保存到 $0", - "baseType": "Element_Sibling", - "functionName": "Element.Sibling", - "functionCalls": [ - { - "function": "Element.Sibling", - "args": [ - "uiSelector", - "position", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择目标元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "position", - "label": "兄弟元素位置", - "widget": "select", - "type": "string", - "displayType": "defeasibleDropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "相对于目标元素的位置。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "兄弟元素列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "兄弟元素列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_MouseTo_V1", - "name": "鼠标移动到元素上", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "鼠标移动到元素上。", - "messageTemplate": "将鼠标移动到指定元素 $0 上", - "baseType": "Element_MouseTo", - "functionName": "Element.MouseTo_V1", - "functionCalls": [ - { - "function": "Element.MouseTo_V1", - "args": [ - "uiSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择目标元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetTableData", - "name": "获取SAP表格数据", - "kind": "vendor", - "group": "web", - "categories": [ - "SAP" - ], - "categorySignature": "SAP", - "description": "获取SAP系统的表格元素的数据,根据设置的范围,以二维数组的形式保存输出到变量。 注:使用该组件需要先关闭SAP软件中的SAP脚本通知弹框选项。", - "messageTemplate": "获取指定元素 $1 表格内的数据, 然后把结果保存到 $0", - "baseType": "Element_GetTableData", - "functionName": "Element.GetTableData", - "functionCalls": [ - { - "function": "Element.GetTableData", - "args": [ - "uiSelector", - "tabelRange", - "rowNo", - "columnNo", - "operation" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "tabelRange", - "label": "范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请选择目标元素的范围", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取全表", - "value": "0" - }, - { - "label": "获取行", - "value": "1" - }, - { - "label": "获取列", - "value": "2" - }, - { - "label": "获取范围", - "value": "3" - } - ] - }, - { - "key": "rowNo", - "label": "行号", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "columnNo", - "label": "列号", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "是否获取表头", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "SAP表格数据", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "SAP表格数据", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SelectOperation_v3", - "name": "下拉框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。", - "messageTemplate": "{$$4 == 1 && '设置下拉框'}{$$4 == 2 && '获取下拉框'} $1 {$$4 == 1 && '$10'}{$$4 == 1 && $$5 == 0 && '并选择第 $7 个选项'}{$$4 == 1 && $$5 == 1 && '并选择内容为 $6 的选项'}{$$4 == 1 && $$5 == 2 && '并按选项值为 $7 的选项'}{$$4 == 1 && ''}{$$4 == 2 && ',然后把结果保存到 $0'}", - "baseType": "Element_SetSelect", - "functionName": "Element.SelectOperation_v3", - "functionCalls": [ - { - "function": "Element.SelectOperation_v3", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "operation_type", - "choose", - "select_value_str", - "select_value_list", - "match_type", - "ret_type", - "ret_choose", - "get_all_selected" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置选择项", - "选择项", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标下拉框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标下拉框元素", - "description": "拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设置下拉框选项", - "value": "1" - }, - { - "label": "获取下拉框的选项值", - "value": "2" - } - ] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "按选项内容:根据选项的文本内容进行精准、模糊或正则匹配;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项的Value值进行精准匹配", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按选项内容", - "value": "1" - }, - { - "label": "按选项顺序", - "value": "0" - }, - { - "label": "按选项值", - "value": "2" - } - ] - }, - { - "key": "select_value_str", - "label": "选项值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入要匹配的内容", - "description": "文本模式下输入值即可,如值1;代码模式下输入文本类型的值即可,如 \"值1\";若需多选,可在代码模式下输入字符串列表进行匹配,如[\"值1\",\"值2\"]", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "select_value_list", - "label": "选项值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "请输入要匹配的内容", - "description": "输入文本类型的值即可,如:[\"值1\"]。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "match_type", - "label": "匹配模式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选项值的匹配方式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "精准匹配", - "value": "0" - }, - { - "label": "模糊匹配", - "value": "1" - }, - { - "label": "正则表达式匹配", - "value": "2" - } - ] - }, - { - "key": "ret_type", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部下拉选项", - "value": "1" - }, - { - "label": "当前选中项", - "value": "0" - } - ] - }, - { - "key": "ret_choose", - "label": "获取内容", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选项内容", - "value": "1" - }, - { - "label": "顺序位置", - "value": "0" - } - ] - }, - { - "key": "get_all_selected", - "label": "获取多个选中项", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,如果下拉框有多个选中项,返回选中项的列表;不选择,返回第一个选中项", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "保存获取内容", - "key": "var_name", - "suggestedName": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "保存获取内容", - "defaultValue": "下拉框选项值", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Click_V3", - "name": "点击界面元素", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。", - "messageTemplate": "模拟鼠标 $2 $3 界面的 $0", - "baseType": "Element_Click", - "functionName": "Element.Click_V3", - "functionCalls": [ - { - "function": "Element.Click_V3", - "args": [ - "uiSelector", - "browser_type", - "clickway", - "clickfunc", - "operation", - "click_data", - "is_verify" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "clickway", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "operation", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPosition", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "is_verify", - "label": "校验运行结果", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetElementV2", - "name": "获取元素对象", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。", - "messageTemplate": "通过 $1 方式定位 {$$1 == 'default' && '$2'} {$$1 != 'default' && '$4'} 中的元素, 然后把结果保存到 $0", - "baseType": "Element_GetElement", - "functionName": "Element.GetElementV2", - "functionCalls": [ - { - "function": "Element.GetElementV2", - "args": [ - "element_position", - "default", - "designated_info", - "designated_obj", - "cssSelector", - "xpath", - "verify", - "relate_parent", - "parent_selector", - "relate_mode", - "relate_element_parent", - "relate_element_iframe" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取元素对象", - "保存元素", - "捕获元素", - "拾取元素", - "xp", - "xpath", - "css" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "元素定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "通过元素拾取,CSS,XPath等方式定位网页中的元素", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "default", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "通过元素拾取定位元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "verify", - "label": "verify", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "relate_parent", - "label": "关联父元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否关联父级元素,若勾选则在父级元素范围内查找目标操作元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "parent_selector", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "relate_mode", - "label": "关联元素", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "父元素", - "value": "1" - }, - { - "label": "同iframe元素", - "value": "2" - } - ] - }, - { - "key": "relate_element_parent", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "在父级元素范围内查找目标操作元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "relate_element_iframe", - "label": "同iframe元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "在关联元素所在的iframe内查找目标操作元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "元素对象", - "valueTypes": [ - "rpa_element" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "元素对象", - "valueTypes": [ - "rpa_element" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ScrollIntoViewGround", - "name": "滚动页面", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "将页面滚动到指定元素位置。", - "messageTemplate": "将页面滚动至元素 $0 所在位置", - "baseType": "Element_ScrollIntoViewGround", - "functionName": "Element.ScrollIntoViewGround", - "functionCalls": [ - { - "function": "Element.ScrollIntoViewGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_StartAutoClosePopup", - "name": "启动智能弹窗侦测", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "在网页操作时启动智能弹窗侦测,实时屏蔽遮挡待操作元素的弹窗。", - "messageTemplate": "开启全程智能侦测并屏蔽弹窗。", - "baseType": "Element_StartAutoClosePopup", - "functionName": "Element.StartAutoClosePopup", - "functionCalls": [ - { - "function": "Element.StartAutoClosePopup", - "args": [], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "弹窗监测", - "检测弹窗", - "开启弹窗检测", - "开启弹窗侦测", - "启动", - "开启", - "运行", - "打开", - "启用" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SimilarElementList_V2", - "name": "获取相似元素列表", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "获取指定元素的相似元素列表并保存为变量,支持拾取、CSS、XPath等元素定位方式。", - "messageTemplate": "通过 $2 方式定位获取 $3 $5 $6 的相似元素,然后把结果保存到 $0", - "baseType": "Element_SimilarElementList", - "functionName": "Element.SimilarElementList_V2", - "functionCalls": [ - { - "function": "Element.SimilarElementList_V2", - "args": [ - "element_position", - "uiSelector", - "designated_info", - "designated_obj", - "web", - "cssSelector", - "xpath", - "relate_parent", - "parent_selector", - "action", - "attr_complate", - "attr_name", - "reverse", - "start_index", - "end_index" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "相似元素", - "拾取元素", - "捕获元素", - "保存元素", - "xpath", - "css", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "uiSelector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择相似元素。", - "description": "拾取或选择相似元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择网页对象", - "description": "输入或选择目标浏览器变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入CSS选择器", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入XPath选择器", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "relate_parent", - "label": "关联父元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否在特定父元素下获取相似元素。获取win32相似元素,该属性将不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "parent_selector", - "label": "父元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "action", - "label": "元素操作", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "selector", - "placeholder": "", - "description": "获取元素值,将获取元素value属性值,若没有该属性则返回None。获取元素链接地址,将获取元素href或src属性值,若没有该属性则返回None。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取元素对象", - "value": "selector" - }, - { - "label": "获取元素坐标", - "value": "bounding" - }, - { - "label": "获取元素文本内容", - "value": "gettext" - }, - { - "label": "获取元素值", - "value": "value" - }, - { - "label": "获取元素链接地址", - "value": "absoluteurl" - }, - { - "label": "获取元素代码", - "value": "code" - }, - { - "label": "获取元素属性", - "value": "attr" - } - ] - }, - { - "key": "attr_complate", - "label": "自动补充完整地址", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入元素属性名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "reverse", - "label": "获取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "正序", - "value": "0" - }, - { - "label": "逆序", - "value": "1" - } - ] - }, - { - "key": "start_index", - "label": "开始获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "默认为1表示从第1项开始获取。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_index", - "label": "结束获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "-1", - "placeholder": "", - "description": "默认为-1表示将获取至倒数第1项。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "元素列表保存至", - "key": "var0", - "suggestedName": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var0", - "label": "元素列表保存至", - "defaultValue": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - }, - { - "key": "var1", - "label": "元素个数保存至", - "defaultValue": "元素个数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_CheckBoxOperation", - "name": "勾选框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。", - "messageTemplate": "{$$2 == 1 && '设置勾选框'}{$$2 == 2 && '获取勾选框'} $1 {$$2 == 1 && '并将其 $3'}, 然后把结果保存到 $0", - "baseType": "Element_CheckBoxOperation", - "functionName": "Element.CheckBoxOperation", - "functionCalls": [ - { - "function": "Element.CheckBoxOperation", - "args": [ - "uiSelector", - "operation_type", - "isChecked" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "设置勾选项", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标勾选框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标勾选框元素", - "description": "拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设置勾选框", - "value": "1" - }, - { - "label": "获取勾选框状态", - "value": "2" - } - ] - }, - { - "key": "isChecked", - "label": "勾选框状态", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设为勾选", - "value": "1" - }, - { - "label": "取消勾选", - "value": "0" - } - ] - } - ], - "output": { - "label": "状态保存到", - "key": "var_name", - "suggestedName": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "状态保存到", - "defaultValue": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Sibling_V1", - "name": "获取兄弟元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的兄弟元素(可选获取上一个兄弟元素或下一个兄弟元素)。", - "messageTemplate": "获取 $1 元素的 {$$5 == 0 && '$3'} {$$5 == 1 && '$6'}, 然后把结果保存到 $0", - "baseType": "Element_Sibling", - "functionName": "Element.Sibling_V1", - "functionCalls": [ - { - "function": "Element.Sibling_V1", - "args": [ - "uiSelector", - "browser_type", - "position", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择目标元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "position", - "label": "兄弟元素位置", - "widget": "select", - "type": "string", - "displayType": "defeasibleDropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "相对于目标元素的位置。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "兄弟元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "兄弟元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ScrollIntoView_v1", - "name": "滚动页面", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "将页面滚动到指定元素位置。", - "messageTemplate": "将页面滚动至元素 $0 所在位置", - "baseType": "Element_ScrollIntoView", - "functionName": "Element.ScrollIntoView_v1", - "functionCalls": [ - { - "function": "Element.ScrollIntoView_v1", - "args": [ - "uiSelector", - "browser_type" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择需将页面滚动至哪个元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetButtonEnable_v1", - "name": "判断元素是否可点击", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "judgment", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|judgment|soft_element_operation", - "description": "判断指定元素是否可点击,可点击则返回True,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否可点击, 然后把结果保存到 $0", - "baseType": "Element_GetButtonEnable", - "functionName": "Element.GetButtonEnable_v1", - "functionCalls": [ - { - "function": "Element.GetButtonEnable_v1", - "args": [ - "uiSelector", - "browser_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "判断", - "点击" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或选择元素", - "description": "输入目标变量或选择界面元素作为输入", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Parent_V2", - "name": "获取父元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的父元素(可选获取层级)。", - "messageTemplate": "获取 $1 元素 {$$6 == 0 && '第$4层的父元素'} {$$6 == 1 && '$7'}, 然后把结果保存到 $0", - "baseType": "Element_Parent", - "functionName": "Element.Parent_V2", - "functionCalls": [ - { - "function": "Element.Parent_V2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "level", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "拾取或选择目标子元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "level", - "label": "获取层级", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "相对于目标子元素第几层级的父元素,仅支持大于0的整数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "父元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "父元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_WaitElement_v3", - "name": "等待元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "waite", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|waite|soft_element_operation", - "description": "判断某个元素是否存在或者消失,根据结果来执行后续的流程。", - "messageTemplate": "等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElement", - "functionName": "Element.WaitElement_v3", - "functionCalls": [ - { - "function": "Element.WaitElement_v3", - "args": [ - "uiSelector", - "browser_type", - "choose", - "timeout", - "appear", - "disappear", - "time_gap" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置元素图像出现、元素结构出现为元素显示后结束,或元素完全消失后结束。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素图像出现", - "value": "0" - }, - { - "label": "元素结构出现", - "value": "1" - }, - { - "label": "元素完全消失", - "value": "2" - } - ] - }, - { - "key": "timeout", - "label": "等待时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "设置等待元素的最大时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "appear", - "label": "元素未出现时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "disappear", - "label": "元素未消失时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "time_gap", - "label": "元素检测间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置等待过程中检测元素的时间间隔,建议1s 。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_WaitElement_v1", - "name": "等待元素", - "kind": "vendor", - "group": "web", - "categories": [ - "waite", - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "waite|web_element_operation|soft_element_operation", - "description": "判断某个元素是否存在或者消失,根据结果来执行后续的流程。", - "messageTemplate": "等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElement", - "functionName": "Element.WaitElement_v1", - "functionCalls": [ - { - "function": "Element.WaitElement_v1", - "args": [ - "uiSelector", - "browser_type", - "choose", - "timeout", - "time_gap" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或者选择元素", - "description": "输入目标变量或者选择元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置等待类型,元素图像出现和元素结构出现为元素显示后结束,元素完全消失为元素消失后结束", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素图像出现", - "value": "0" - }, - { - "label": "元素结构出现", - "value": "1" - }, - { - "label": "元素完全消失", - "value": "2" - } - ] - }, - { - "key": "timeout", - "label": "等待时间(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10000", - "placeholder": "请输入等待超时的时间(毫秒)", - "description": "设置等待元素的最大时间", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "time_gap", - "label": "元素检测间隔(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "200", - "placeholder": "请输入每次检测的时间间隔(毫秒)", - "description": "设置等待过程中检测元素的时间间隔,建议200ms", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Parent", - "name": "获取父元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的父元素(可选获取层级)。", - "messageTemplate": "获取 $1 元素 {$$4 == 0 && '第$2层的父元素'} {$$4 == 1 && '$5'}, 然后把结果保存到 $0", - "baseType": "Element_Parent", - "functionName": "Element.Parent", - "functionCalls": [ - { - "function": "Element.Parent", - "args": [ - "uiSelector", - "level", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择目标子元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "level", - "label": "获取层级", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "相对于目标子元素第几层级的父元素,仅支持大于0的整数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "父元素列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "父元素列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetSelectGround", - "name": "设置下拉框选择项", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "设置指定元素的选择项,包括选择方式,以及可选的值,可操作下拉列表等类型。", - "messageTemplate": "设置指定下拉框 $0 的选项", - "baseType": "Element_SetSelectGround", - "functionName": "Element.SetSelectGround", - "functionCalls": [ - { - "function": "Element.SetSelectGround", - "args": [ - "uiSelector", - "itemsToSelect", - "choose", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置选择项", - "选择项", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "itemsToSelect", - "label": "包含元素", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "包含元素可以设置多个,以英文逗号隔开, 可以设置多个分组元素,在一个分组元素内用英文逗号隔开元素,格式为数组", - "advanced": false, - "valueTypes": [] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按索引选择", - "value": "0" - }, - { - "label": "按文本选择", - "value": "1" - }, - { - "label": "按值选择", - "value": "2" - } - ] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_ElementAarray", - "name": "获取相似元素数组", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取相似元素数组。", - "messageTemplate": "获取相似元素数组", - "baseType": "Element_ElementAarray", - "functionName": "Element.ElementAarray", - "functionCalls": [ - { - "function": "Element.ElementAarray", - "args": [ - "uiSelector", - "browser_type" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetButtonEnable_v4", - "name": "判断元素是否可点击", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "judgment", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|judgment|soft_element_operation", - "description": "判断指定元素是否可点击,可点击则返回True,否则返回False。", - "messageTemplate": "判断指定元素 $1 是否可点击, 然后把结果保存到 $0", - "baseType": "Element_GetButtonEnable", - "functionName": "Element.GetButtonEnable_v4", - "functionCalls": [ - { - "function": "Element.GetButtonEnable_v4", - "args": [ - "uiSelector", - "designated_info", - "designated_obj" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "判断", - "点击", - "判定", - "判别", - "判断出", - "识别" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标变量或选择元素", - "description": "输入目标变量或选择界面元素作为输入", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Click_V6", - "name": "点击界面元素", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。", - "messageTemplate": "模拟鼠标 $3 $4 界面的 $0", - "baseType": "Element_Click", - "functionName": "Element.Click_V6", - "functionCalls": [ - { - "function": "Element.Click_V6", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "clickway", - "clickfunc", - "operation", - "show_track", - "click_data", - "aided_key", - "is_verify" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "clickway", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "中键", - "value": "2" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "operation", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPositionV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "aided_key", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "Alt", - "value": "1" - }, - { - "label": "Ctrl", - "value": "2" - }, - { - "label": "Shift", - "value": "3" - }, - { - "label": "Win", - "value": "4" - } - ] - }, - { - "key": "is_verify", - "label": "校验运行结果", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_WaitElement_v4", - "name": "等待元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "waite", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|waite|soft_element_operation", - "description": "判断某个元素是否存在或者消失,根据结果来执行后续的流程。", - "messageTemplate": "等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElement", - "functionName": "Element.WaitElement_v4", - "functionCalls": [ - { - "function": "Element.WaitElement_v4", - "args": [ - "uiSelector", - "browser_type", - "choose", - "time_out", - "appear", - "disappear", - "time_gap" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置元素图像出现、元素结构出现为元素显示后结束,或元素完全消失后结束。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素图像出现", - "value": "0" - }, - { - "label": "元素结构出现", - "value": "1" - }, - { - "label": "元素完全消失", - "value": "2" - } - ] - }, - { - "key": "time_out", - "label": "等待时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "设置等待元素的最大时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "appear", - "label": "元素未出现时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "disappear", - "label": "元素未消失时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "time_gap", - "label": "元素检测间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置等待过程中检测元素的时间间隔,建议1s 。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_CheckBoxOperation_v3", - "name": "勾选框操作", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。", - "messageTemplate": "{$$4 == 1 && '设置勾选框'}{$$4 == 0 && '设置勾选框'}{$$4 == 2 && '获取勾选框'} $1 {$$4 == 1 && '并将其 $4'}{$$4 == 0 && '并将其 $4'}, 然后把结果保存到 $0", - "baseType": "Element_SetCheck", - "functionName": "Element.CheckBoxOperation_v3", - "functionCalls": [ - { - "function": "Element.CheckBoxOperation_v3", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "operation_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "勾选值", - "单选框", - "复选框", - "设置勾选项", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标勾选框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标勾选框元素", - "description": "拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "operation_type", - "label": "操作类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态;仅获取勾选框状态:读取勾选框状态", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "设为勾选", - "value": "1" - }, - { - "label": "取消勾选", - "value": "0" - }, - { - "label": "仅获取勾选框状态", - "value": "2" - } - ] - } - ], - "output": { - "label": "状态保存到", - "key": "var_name", - "suggestedName": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "状态保存到", - "defaultValue": "勾选框状态结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_MouseTo_V4", - "name": "鼠标移动到元素上", - "kind": "vendor", - "group": "web", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "鼠标移动到元素上。", - "messageTemplate": "将鼠标移动到指定元素 $0 上", - "baseType": "Element_MouseTo", - "functionName": "Element.MouseTo_V4", - "functionCalls": [ - { - "function": "Element.MouseTo_V4", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择目标元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetAttribute", - "name": "获取网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。", - "messageTemplate": "获取指定元素 $1 的属性, 然后把结果保存到 $0", - "baseType": "Element_GetAttribute", - "functionName": "Element.GetAttribute", - "functionCalls": [ - { - "function": "Element.GetAttribute", - "args": [ - "uiSelector", - "attrName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "获取属性", - "元素属性", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "拾取或选择网页元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素属性值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素属性值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetElementInfo_V1", - "name": "获取元素信息", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "web_element_operation|soft_element_operation", - "description": "获取指定元素的文本内容、属性值、元素位置、链接地址、代码等信息并输出。", - "messageTemplate": "根据指定界面元素 $1,$4, 然后把结果保存到 $0", - "baseType": "Element_GetElementInfo", - "functionName": "Element.GetElementInfo_V1", - "functionCalls": [ - { - "function": "Element.GetElementInfo_V1", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "action", - "attr_complate", - "attr_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "获取", - "信息", - "获取元素信息", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "拾取或选择需要获取信息的目标元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "action", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "gettext", - "placeholder": "", - "description": "选择需要获取元素的信息类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取元素值", - "value": "value" - }, - { - "label": "获取元素文本内容", - "value": "gettext" - }, - { - "label": "获取元素链接地址", - "value": "absoluteurl" - }, - { - "label": "获取元素属性", - "value": "attr" - }, - { - "label": "获取元素代码", - "value": "code" - }, - { - "label": "获取元素坐标", - "value": "bounding" - } - ] - }, - { - "key": "attr_complate", - "label": "自动补充完整地址", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入元素属性名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "获取信息保存至", - "key": "var_name", - "suggestedName": "元素文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "获取信息保存至", - "defaultValue": "元素文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ShotGround", - "name": "元素截图", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "截取指定目标元素的图像,保存到文件系统。", - "messageTemplate": "对目标元素 $1 进行截图返回图片绝对路径, 然后把结果保存到 $0", - "baseType": "Element_ShotGround", - "functionName": "Element.ShotGround", - "functionCalls": [ - { - "function": "Element.ShotGround", - "args": [ - "uiSelector", - "filePath", - "filename", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截图", - "目标截图", - "元素截图", - "截取" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "截图_${randomString}.png", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图片地址", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图片地址", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetText_V3", - "name": "获取界面元素文本", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser", - "interface_element" - ], - "categorySignature": "webBrowser|interface_element", - "description": "获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。", - "messageTemplate": "{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $4 '}, 然后把结果保存到 $0", - "baseType": "Element_GetText", - "functionName": "Element.GetText_V3", - "functionCalls": [ - { - "function": "Element.GetText_V3", - "args": [ - "choose", - "uiSelector", - "browser_type", - "cvSelector", - "attr_type", - "attr_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "获取文本", - "元素", - "获取区域文字", - "获取元素文本" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "choose", - "label": "获取类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "界面元素中的文本", - "value": "0" - }, - { - "label": "截屏区域的文本", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "cvSelector", - "label": "目标选择", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择需获取文本的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "attr_type", - "label": "文本信息类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "选择文本信息类型", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "默认", - "value": "default" - }, - { - "label": "元素值", - "value": "value" - }, - { - "label": "元素名称", - "value": "name" - }, - { - "label": "元素文本", - "value": "text" - }, - { - "label": "自定义属性名称", - "value": "custom_name" - } - ] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": true, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "文本保存到", - "key": "var_name", - "suggestedName": "元素文本值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "文本保存到", - "defaultValue": "元素文本值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_WaitElement_v2", - "name": "等待元素", - "kind": "vendor", - "group": "web", - "categories": [ - "waite", - "web_element_operation", - "soft_element_operation" - ], - "categorySignature": "waite|web_element_operation|soft_element_operation", - "description": "判断某个元素是否存在或者消失,根据结果来执行后续的流程。", - "messageTemplate": "等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Element_WaitElement", - "functionName": "Element.WaitElement_v2", - "functionCalls": [ - { - "function": "Element.WaitElement_v2", - "args": [ - "uiSelector", - "browser_type", - "choose", - "timeout", - "appear", - "disappear", - "time_gap" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待元素", - "等待加载", - "判断元素存在" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "choose", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置元素图像出现、元素结构出现为元素显示后结束,或元素完全消失后结束。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素图像出现", - "value": "0" - }, - { - "label": "元素结构出现", - "value": "1" - }, - { - "label": "元素完全消失", - "value": "2" - } - ] - }, - { - "key": "timeout", - "label": "等待时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "设置等待元素的最大时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "appear", - "label": "元素未出现时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "disappear", - "label": "元素未消失时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "time_gap", - "label": "元素检测间隔(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "200", - "placeholder": "", - "description": "设置等待过程中检测元素的时间间隔,建议200ms 。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetSelect", - "name": "设置下拉框选择项", - "kind": "vendor", - "group": "web", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "设置指定元素的选择项,包括选择方式,以及可选的值,可操作下拉列表等类型。", - "messageTemplate": "设置指定下拉框 $0 的选项", - "baseType": "Element_SetSelect", - "functionName": "Element.SetSelect", - "functionCalls": [ - { - "function": "Element.SetSelect", - "args": [ - "uiSelector", - "itemsToSelect", - "choose" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置选择项", - "选择项", - "下拉列表", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "itemsToSelect", - "label": "包含元素", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "包含元素可以设置多个,以英文逗号隔开, 可以设置多个分组元素,在一个分组元素内用英文逗号隔开元素,格式为数组", - "advanced": false, - "valueTypes": [] - }, - { - "key": "choose", - "label": "选择方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按索引选择", - "value": "0" - }, - { - "label": "按文本选择", - "value": "1" - }, - { - "label": "按值选择", - "value": "2" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_Click_V4", - "name": "点击界面元素", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。", - "messageTemplate": "模拟鼠标 $2 $3 界面的 $0", - "baseType": "Element_Click", - "functionName": "Element.Click_V4", - "functionCalls": [ - { - "function": "Element.Click_V4", - "args": [ - "uiSelector", - "browser_type", - "clickway", - "clickfunc", - "operation", - "show_track", - "click_data", - "is_verify" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "clickway", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "operation", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPosition", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "is_verify", - "label": "校验运行结果", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetValue", - "name": "文本输入", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element" - ], - "categorySignature": "interface_element", - "description": "对指定元素(如输入框)进行文本输入。", - "messageTemplate": "将 $1 输入到指定元素 $0 中", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue", - "functionCalls": [ - { - "function": "Element.SetValue", - "args": [ - "uiSelector", - "value", - "input", - "operation" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "写入文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "input", - "label": "追加输入", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetHtml", - "name": "获取网页元素源码", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取网页元素源码。", - "messageTemplate": "获取网页元素源码", - "baseType": "Element_GetHtml", - "functionName": "Element.GetHtml", - "functionCalls": [ - { - "function": "Element.GetHtml", - "args": [ - "selector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "selector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetElement", - "name": "获取元素对象", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。", - "messageTemplate": "通过 $1 方式定位 $4$2 中的元素, 然后把结果保存到 $0", - "baseType": "Element_GetElement", - "functionName": "Element.GetElement", - "functionCalls": [ - { - "function": "Element.GetElement", - "args": [ - "element_position", - "web", - "browser_type", - "default", - "cssSelector", - "xpath", - "verify" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取元素对象", - "保存元素", - "捕获元素", - "拾取元素", - "xp", - "xpath", - "css" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "element_position", - "label": "元素定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "通过元素拾取,CSS,XPath等方式定位网页中的元素", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "CSS选择器", - "value": "cssSelector" - }, - { - "label": "XPath选择器", - "value": "xpath" - } - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择目标浏览器变量", - "description": "输入或选择目标浏览器变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "default", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "通过元素拾取定位元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "cssSelector", - "label": "CSS选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过CSS选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入变量/数字/表达式", - "description": "通过XPath选择器定位界面元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "verify", - "label": "verify", - "widget": "element", - "type": "object", - "displayType": "newVerifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "元素对象", - "valueTypes": [ - "rpa_element" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "元素对象", - "valueTypes": [ - "rpa_element" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_ClickGround", - "name": "元素点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "点击指定的目标元素,模拟鼠标点击。", - "messageTemplate": "点击目标元素 $0", - "baseType": "Element_ClickGround", - "functionName": "Element.ClickGround", - "functionCalls": [ - { - "function": "Element.ClickGround", - "args": [ - "uiSelector", - "operation", - "clickway", - "clickfunc", - "AI_backup", - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "后台操作", - "value": "0" - } - ] - }, - { - "key": "clickway", - "label": "鼠标点击", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - }, - { - "label": "中键", - "value": "2" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "AI_backup", - "label": "开启AI修复", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_SetValuePassword_V1", - "name": "输入密码框", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "在指定的密码框中输入密码。", - "messageTemplate": "在目标密码框 $0 中输入密码 $2", - "baseType": "Element_SetValuePassword", - "functionName": "Element.SetValuePassword_V1", - "functionCalls": [ - { - "function": "Element.SetValuePassword_V1", - "args": [ - "uiSelector", - "browser_type", - "text", - "isEnter", - "operation", - "delaybeforEnter" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "密码", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择密码框元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "text", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "在大部分登录场景中,输入完密码后,可以通过点击回车键触发立即登录操作,默认不勾选。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetButtonEnableGround", - "name": "元素是否可点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "判断指定目标元素是否可点击,可点击则返回True,否则返回False。", - "messageTemplate": "判断目标元素 $1 是否可点击, 然后把结果保存到 $0", - "baseType": "Element_GetButtonEnableGround", - "functionName": "Element.GetButtonEnableGround", - "functionCalls": [ - { - "function": "Element.GetButtonEnableGround", - "args": [ - "uiSelector", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "选择通过“启动新浏览器”组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Element_Click_V2", - "name": "点击界面元素", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。", - "messageTemplate": "模拟鼠标 $1 $2 界面的 $0", - "baseType": "Element_Click", - "functionName": "Element.Click_V2", - "functionCalls": [ - { - "function": "Element.Click_V2", - "args": [ - "uiSelector", - "clickway", - "clickfunc", - "operation", - "click_data", - "is_verify" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "点击", - "目标点击", - "元素点击", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "clickway", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "clickfunc", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - } - ] - }, - { - "key": "operation", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPosition", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "is_verify", - "label": "校验运行结果", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "关闭", - "value": "0" - }, - { - "label": "开启", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_ChildrenV1", - "name": "获取子元素", - "kind": "vendor", - "group": "web", - "categories": [ - "web_element_operation" - ], - "categorySignature": "web_element_operation", - "description": "获取指定目标元素的子元素(可选指定获取第几个)。", - "messageTemplate": "获取 $1 元素的{$$4 == 0 && '第$2个子元素'} {$$4 == 0 && '所有子元素'} {$$4 == 1 && '$5'}, 然后把结果保存到 $0", - "baseType": "Element_Children", - "functionName": "Element.ChildrenV1", - "functionCalls": [ - { - "function": "Element.ChildrenV1", - "args": [ - "uiSelector", - "num", - "validate", - "use", - "filter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "拾取或选择目标子元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "num", - "label": "获取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "validate", - "label": " ", - "widget": "element", - "type": "object", - "displayType": "verifyElement", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use", - "label": "使用高级选择器", - "widget": "boolean", - "type": "boolean", - "displayType": "introViewCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "子元素列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "子元素列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_FileUploader", - "name": "上传文件", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "自动点击上传按钮,然后在打开的本地文件管理器中选择文件或文件夹完成上传。", - "messageTemplate": "通过点击 $0 打开本地的文件管理器,选择 $3 $4 $5", - "baseType": "Element_FileUploader", - "functionName": "Element.FileUploader", - "functionCalls": [ - { - "function": "Element.FileUploader", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "file_type", - "file_path", - "folder_path", - "upload_time", - "operation", - "input_method", - "interval", - "wait_dialog_time" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "文件", - "文件上传", - "上传文件", - "上传", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "file_type", - "label": "上传类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择上传文件或文件夹", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文件", - "value": "0" - }, - { - "label": "文件夹", - "value": "1" - } - ] - }, - { - "key": "file_path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "输入或选择文件路径", - "description": "待上传文件或文件夹的路径。可通过选择文件(夹)选择一个或多个文件(夹)。文本模式下:当需要上传多个文件(夹)时,文件路径用英文分号分隔,例如:文件1路径;文件2路径。python模式下:当需要上传多个文件(夹)时,输入文件路径列表,例如:[文件1路径, 文件2路径];或输入字符串类型的多个文件路径的地址拼接,文件路径用英文分号分隔,例如:“文件1路径;文件2路径”。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "folder_path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "输入或选择文件夹路径", - "description": "待上传文件或文件夹的路径。可通过选择文件(夹)选择一个或多个文件(夹)。文本模式下:当需要上传多个文件(夹)时,文件路径用英文逗号分隔,例如:文件1路径,文件2路径。python模式下:当需要上传多个文件(夹)时,输入文件路径列表,例如:[文件1路径, 文件2路径];或输入字符串类型的多个文件路径的地址拼接,文件路径用英文逗号分隔,例如:“文件1路径,文件2路径”。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "upload_time", - "label": "上传超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60", - "placeholder": "", - "description": "文件上传超时时间,如果在此时间内未上传完成,将返回执行失败。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "input_method", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "wait_dialog_time", - "label": "等待对话框出现(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "10", - "placeholder": "", - "description": "点击上传按钮后,等待上传对话框出现的时间,超过该时间将报异常报错,单位(秒)。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_GetAttribute_v2", - "name": "获取网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。", - "messageTemplate": "获取指定元素 $1 的属性, 然后把结果保存到 $0", - "baseType": "Element_GetAttribute", - "functionName": "Element.GetAttribute_v2", - "functionCalls": [ - { - "function": "Element.GetAttribute_v2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "attrName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "获取属性", - "元素属性", - "元素" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "拾取或选择网页元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素属性值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素属性值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_GetAttribute_v3", - "name": "获取网页元素属性", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。", - "messageTemplate": "获取指定元素 $1 的属性, 然后把结果保存到 $0", - "baseType": "Element_GetAttribute", - "functionName": "Element.GetAttribute_v3", - "functionCalls": [ - { - "function": "Element.GetAttribute_v3", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "attrName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "属性", - "获取属性", - "元素属性", - "元素", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "拾取或选择网页元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "attrName", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网页元素的属性名", - "description": "输入网页元素的属性名", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "元素属性值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "元素属性值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Element_SetValue_V3", - "name": "输入文本框", - "kind": "vendor", - "group": "web", - "categories": [ - "interface_element", - "webBrowser" - ], - "categorySignature": "interface_element|webBrowser", - "description": "在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。", - "messageTemplate": "输入文本 $1 到指定输入框 $0", - "baseType": "Element_SetValue", - "functionName": "Element.SetValue_V3", - "functionCalls": [ - { - "function": "Element.SetValue_V3", - "args": [ - "uiSelector", - "text", - "input_type", - "isEnter", - "operation", - "interval", - "delaybeforEnter" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本内容", - "元素文本", - "设置文本", - "元素", - "输入" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_num" - ] - }, - { - "key": "input_type", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "delaybeforEnter", - "label": "回车前延时(毫秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Element_DesktopChildren", - "name": "获取子元素", - "kind": "vendor", - "group": "web", - "categories": [ - "soft_element_operation" - ], - "categorySignature": "soft_element_operation", - "description": "获取指定目标桌面软件元素的子元素(可选指定获取第几个)。", - "messageTemplate": "获取 $1 元素的{'$$4' ? '第$4个子元素': '所有子元素'}, 然后把结果保存到 $0", - "baseType": "Element_DesktopChildren", - "functionName": "Element.DesktopChildren", - "functionCalls": [ - { - "function": "Element.DesktopChildren", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素拾取", - "子元素", - "全选元素", - "元素", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择元素", - "description": "选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择窗口对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "num", - "label": "获取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "元素保存到", - "key": "var_name", - "suggestedName": "子元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "元素保存到", - "defaultValue": "子元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_WriteColumn", - "name": "写入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将数据写入到目标excel指定的单元格所在列,支持数值/公式等形式,可设置写入后是否保存。", - "messageTemplate": "在索引或工作表为 $1 中,从 $2 开始写入一列数据", - "baseType": "Excel_WriteColumn", - "functionName": "Excel.WriteColumn", - "functionCalls": [ - { - "function": "Excel.WriteColumn", - "args": [ - "objExcel", - "sheet", - "cellPos", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入列", - "输入列", - "写入sheet" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetCellFormat_V3", - "name": "设置单元格格式", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置Excel单元格的字体、背景、对齐、数字格式等。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中指定区域的单元格格式", - "baseType": "Excel_Cs_SetCellFormat", - "functionName": "Excel.Cs_SetCellFormat_V3", - "functionCalls": [ - { - "function": "Excel.Cs_SetCellFormat_V3", - "args": [ - "workbook", - "sheet", - "excelRng", - "format" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "format", - "label": "单元格格式", - "widget": "region", - "type": "object", - "displayType": "cellRuleControlConfig", - "required": false, - "defaultValue": "{\"FontFormat\": \"宋体\", \"FontSize\": 11, \"BoldAndItalic\": 0, \"FontColor\": \"#000000\", \"BackgroundColor\": \"#FFFFFF,100%\", \"HorizontalAlignment\": 0, \"VerticalAlignment\": 0, \"DigitalFormat\": {\"enumDigitalFormat\": 0, \"formatstring\": \"\"},\"TextControl\":0}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadContentV2", - "name": "读取Excel内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在目标Excel文件读取指定区域内容。", - "messageTemplate": "在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadContent", - "functionName": "Excel.Cs_ReadContentV2", - "functionCalls": [ - { - "function": "Excel.Cs_ReadContentV2", - "args": [ - "workbook", - "sheet", - "excelRng", - "decimal", - "visible" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "decimal", - "label": "读取显示的值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢", - "advanced": true, - "valueTypes": [] - }, - { - "key": "visible", - "label": "去掉隐藏单元格", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的内容将不包含隐藏的单元格", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_AutoFill", - "name": "自动填充", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将目标Excel的指定源区域按Excel规则自动填充到目标区域。", - "messageTemplate": "将 Excel $1 源区域自动填充到目标区域", - "baseType": "Excel_Cs_AutoFill", - "functionName": "Excel.Cs_AutoFill", - "functionCalls": [ - { - "function": "Excel.Cs_AutoFill", - "args": [ - "workbook", - "sheet", - "sourceRange", - "destination", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sourceRange", - "label": "源区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "执行填充前选择的源数据区域,列名支持A或1,-n表示倒数第n列;行号支持1或-1,-n表示倒数第n行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "destination", - "label": "填充区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "待填充数据的目标单元格区域。1、填充固定区域时,起始和结束的列名必须与源区域一致,如起始列都是A列,结束列都是D列;2、填充固定数量时,数量=源区域数量+自动填充的数量。如源区域数量为2,自动填充50行,则数量应填写52。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_NewExcel", - "name": "新建excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在指定路径下新创建一个excel文件,并赋值给指定变量。", - "messageTemplate": "在路径 $1 上新建excel, 名称为 $2 , 然后把结果保存到 $0", - "baseType": "Excel_NewExcel", - "functionName": "Excel.NewExcel", - "functionCalls": [ - { - "function": "Excel.NewExcel", - "args": [ - "filePath", - "name", - "isMakedirs", - "openType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isMakedirs", - "label": "是否创建该路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "openType", - "label": "excel驱动", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "如果本地未安装任何Excel软件,可以选择openpyxl驱动方式(仅支持xlsx格式文件),该方式将采用后台静默的方式读写Excel。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "openpyxl", - "value": "0" - }, - { - "label": "自动检测", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objExcelWorkBook", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objExcelWorkBook", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_CopyV2", - "name": "复制Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "将目标Excel文件指定Sheet内容复制到一个新Sheet。", - "messageTemplate": "复制Sheet表 $1 到 { $$2=='0' && '当前文件'}{$$2=='1' && '$3'} 并命名为 $4", - "baseType": "Excel_Cs_Copy", - "functionName": "Excel.Cs_CopyV2", - "functionCalls": [ - { - "function": "Excel.Cs_CopyV2", - "args": [ - "workbook", - "sheet", - "option", - "target", - "newSheet", - "override", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制", - "拷贝", - "复件", - "仿制" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_sheetName", - "rpa_str" - ] - }, - { - "key": "option", - "label": "目标", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可以选择复制到当前文件还是其他文件, 复制到其他文件时,两个文件必须是相同的打开模式(使用软件或不使用软件)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前文件", - "value": "0" - }, - { - "label": "其他文件", - "value": "1" - } - ] - }, - { - "key": "target", - "label": "目标文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "newSheet", - "label": "新Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "newSheet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_sheetName", - "rpa_str" - ] - }, - { - "key": "override", - "label": "覆盖同名Sheet", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_WriteRange", - "name": "写入区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将二维数组写入到目标excel中的指定区域,可设定左上开始的第一个单元格位置,自动按数组数量进行填充。", - "messageTemplate": "将 $3 写入 $2 开始的区域 ", - "baseType": "Excel_WriteRange", - "functionName": "Excel.WriteRange", - "functionCalls": [ - { - "function": "Excel.WriteRange", - "args": [ - "objExcel", - "sheet", - "cellPos", - "data", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入范围", - "写入区域", - "写入excel区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "data", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[[1,'壹'],[2,'贰'],[3,'叁']]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeleteColumn", - "name": "删除列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel指定列。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中 { $$2 == '连续多列' && '第 $4 列至第 $5列' } { $$2 == '单独一列' && '列名为 $3 ' } { $$2 == '分散多列' && '列名为 $6 ' }", - "baseType": "Excel_Cs_DeleteColumn", - "functionName": "Excel.Cs_DeleteColumn", - "functionCalls": [ - { - "function": "Excel.Cs_DeleteColumn", - "args": [ - "workbook", - "sheet", - "mode", - "column", - "startColumn", - "lastColumn", - "columns", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "mode", - "label": "删除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "单独一列", - "placeholder": "", - "description": "1、单独一列,输入列名;2、连续多列,输入起始和结束列名;3、分散多列,输入列名列表,例如:[\"A\",\"C\",\"E\"]", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单独一列", - "value": "单独一列" - }, - { - "label": "连续多列", - "value": "连续多列" - }, - { - "label": "分散多列", - "value": "分散多列" - } - ] - }, - { - "key": "column", - "label": "删除列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "如果仅删除一列,请将起始列和结束列都设置为一样。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "B", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "columns", - "label": "删除列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "[\"A\",\"C\",\"E\"]", - "placeholder": "", - "description": "选择分散多列时,请输入一个列表形式的值,例如[\"A\",\"C\",\"E\"]。选择单独一列时,请输入一个列名,支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_OpenV3", - "name": "打开Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Open", - "functionName": "Excel.Cs_OpenV3", - "functionCalls": [ - { - "function": "Excel.Cs_OpenV3", - "args": [ - "file", - "visible", - "software", - "show", - "maximize", - "password1", - "password2", - "share", - "autoUpdateLink" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件路径", - "description": "选择或输入Excel文件路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "visible", - "label": "使用软件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择Microsoft Office或WPS Office时,计算机上必须安装对应软件。如果不勾选该属性,则有部分组件无法使用,详情查看“使用说明”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "使用指定软件打开文件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - } - ] - }, - { - "key": "show", - "label": "可视化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否显示打开的软件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": true, - "valueTypes": [] - }, - { - "key": "password1", - "label": "打开密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入打开密码", - "description": "用于打开加密Excel文件的密码", - "advanced": true, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "password2", - "label": "编辑密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入编辑密码", - "description": "用于编辑加密Excel文件的密码", - "advanced": true, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - }, - { - "key": "autoUpdateLink", - "label": "自动更新外部链接", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否自动更新 Excel 文件中的外部链接", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_PasteRange", - "name": "粘贴区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "粘贴目标excel文档中的指定区域。", - "messageTemplate": "粘贴至 $2 ", - "baseType": "Excel_PasteRange", - "functionName": "Excel.PasteRange", - "functionCalls": [ - { - "function": "Excel.PasteRange", - "args": [ - "objExcel", - "sheet", - "Start" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "粘贴至excel指定区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Start", - "label": "开始单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_OpenExcel", - "name": "打开excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "打开指定路径下的excel文件,并赋值到指定变量,可设定前端是否可见。", - "messageTemplate": "打开excel,路径为 $1, 然后把结果保存到 $0", - "baseType": "Excel_OpenExcel", - "functionName": "Excel.OpenExcel", - "functionCalls": [ - { - "function": "Excel.OpenExcel", - "args": [ - "filePath", - "isVisible" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "isVisible", - "label": "是否可见", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objExcelWorkBook", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objExcelWorkBook", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_CopyRange", - "name": "复制区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "复制目标excel文档中的指定区域。", - "messageTemplate": "复制区域 $2 ", - "baseType": "Excel_CopyRange", - "functionName": "Excel.CopyRange", - "functionCalls": [ - { - "function": "Excel.CopyRange", - "args": [ - "objExcel", - "sheet", - "cellPosRange" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制excel的区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPosRange", - "label": "单元格区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ClearRangeV4", - "name": "清除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "清除目标Excel指定区域。", - "messageTemplate": "清除Excel $0 Sheet表 $1 中选择区域的内容", - "baseType": "Excel_Cs_ClearRange", - "functionName": "Excel.Cs_ClearRangeV4", - "functionCalls": [ - { - "function": "Excel.Cs_ClearRangeV4", - "args": [ - "workbook", - "sheet", - "excelRng", - "clearType", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "clearType", - "label": "清除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "删除单元格中的所有内容,或者仅删除格式、内容、背景填充、批注或超链接", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部清除", - "value": "0" - }, - { - "label": "清除格式", - "value": "1" - }, - { - "label": "清除内容", - "value": "2" - }, - { - "label": "清除背景", - "value": "3" - }, - { - "label": "清除批注", - "value": "4" - }, - { - "label": "清除超链接(不含格式)", - "value": "5" - }, - { - "label": "删除超链接(含格式)", - "value": "6" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_InsertColumn", - "name": "插入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标excel指定的单元格所在行的左面,插入一列数据,可设定插入后是否保存。", - "messageTemplate": "在索引或工作表为 $1 中的 $2 之前插入一列数据", - "baseType": "Excel_InsertColumn", - "functionName": "Excel.InsertColumn", - "functionCalls": [ - { - "function": "Excel.InsertColumn", - "args": [ - "objExcel", - "sheet", - "cellPos", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "插入列", - "工作簿插入列", - "excel插入列", - "表格插入列" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[1,'壹',2]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Copy", - "name": "复制Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "将目标Excel文件指定Sheet内容复制到一个新Sheet。", - "messageTemplate": "复制Sheet表 $1 并命名为 $2", - "baseType": "Excel_Cs_Copy", - "functionName": "Excel.Cs_Copy", - "functionCalls": [ - { - "function": "Excel.Cs_Copy", - "args": [ - "workbook", - "sheet", - "newSheet", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "newSheet", - "label": "新Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "newSheet", - "placeholder": "请输入新工作表名称,例如:newSheet", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_GetRowsCount", - "name": "读取行数", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标excel文档的总行数,并输出给指定变量。", - "messageTemplate": "获取有数据行的总数, 然后把结果保存到 $0", - "baseType": "Excel_GetRowsCount", - "functionName": "Excel.GetRowsCount", - "functionCalls": [ - { - "function": "Excel.GetRowsCount", - "args": [ - "objExcel", - "sheet" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "行数", - "excel行数", - "表格行数", - "工作簿行数" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ClearRangeV3", - "name": "清除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "清除目标Excel指定区域。", - "messageTemplate": "清除Excel $0 Sheet表 $1 中选择区域的内容", - "baseType": "Excel_Cs_ClearRange", - "functionName": "Excel.Cs_ClearRangeV3", - "functionCalls": [ - { - "function": "Excel.Cs_ClearRangeV3", - "args": [ - "workbook", - "sheet", - "range", - "clearType", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "clearType", - "label": "清除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "删除单元格中的所有内容,或者仅删除格式、内容、背景填充、批注或超链接", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部清除", - "value": "0" - }, - { - "label": "清除格式", - "value": "1" - }, - { - "label": "清除内容", - "value": "2" - }, - { - "label": "清除背景", - "value": "3" - }, - { - "label": "清除批注", - "value": "4" - }, - { - "label": "清除超链接(不含格式)", - "value": "5" - }, - { - "label": "删除超链接(含格式)", - "value": "6" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadContentV3", - "name": "读取Excel内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在目标Excel文件读取指定区域内容。", - "messageTemplate": "在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadContent", - "functionName": "Excel.Cs_ReadContentV3", - "functionCalls": [ - { - "function": "Excel.Cs_ReadContentV3", - "args": [ - "workbook", - "sheet", - "excelRng", - "valueType", - "replaceNone" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "valueType", - "label": "读取格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "原始值:Excel中日期类型数据会读取为浮点数。显示值:Excel中日期类型数据将读取为用户所见的字符串类型,读取速度较慢。保留类型:Excel中日期类型数据将读取为日期对象。推荐使用读取原始值,读取速度最快。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "原始值(Value2)", - "value": "0" - }, - { - "label": "显示值(Text)", - "value": "1" - }, - { - "label": "保留类型(Value)", - "value": "2" - } - ] - }, - { - "key": "replaceNone", - "label": "替换None值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换None值为空字符串", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_GetColumnsCount", - "name": "读取列数", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标excel文档的总列数,并输出给指定变量。", - "messageTemplate": "获取有数据列的总数, 然后把结果保存到 $0", - "baseType": "Excel_GetColumnsCount", - "functionName": "Excel.GetColumnsCount", - "functionCalls": [ - { - "function": "Excel.GetColumnsCount", - "args": [ - "objExcel", - "sheet" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列数", - "excel列数", - "表格列数", - "工作簿列数" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Group", - "name": "组合行列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定行、列进行组合。", - "messageTemplate": "将Excel $0 Sheet表 $1 中 { $$3 == '0' && '行 $4 到 $5 设置为' } { $$3 == '1' && '列 $6 到 $7 设置为' }{ $$2 == '0' && '组合' } { $$2 == '1' && '取消组合' }", - "baseType": "Excel_Cs_Group", - "functionName": "Excel.Cs_Group", - "functionCalls": [ - { - "function": "Excel.Cs_Group", - "args": [ - "workbook", - "sheet", - "group", - "groupType", - "startRow", - "endRow", - "startColumn", - "endColumn", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "group", - "label": "组合/取消组合", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择组合或取消组合指定的行或列", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "组合", - "value": "0" - }, - { - "label": "取消组合", - "value": "1" - } - ] - }, - { - "key": "groupType", - "label": "组合方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择组合行或组合列", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行", - "value": "0" - }, - { - "label": "列", - "value": "1" - } - ] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "支持 1 或 -1,-n 表示倒数第 n 行", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "endRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "支持 1 或 -1,-n 表示倒数第 n 行", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "支持 A 或 1,-n 表示倒数第 n 列", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "endColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "支持 A 或 1,-n 表示倒数第 n 列", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadCell", - "name": "读取单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件指定单元格的内容。", - "messageTemplate": "读取Excel $1 中Sheet表 $2,第 $4 行,第 $3 列的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadCell", - "functionName": "Excel.Cs_ReadCell", - "functionCalls": [ - { - "function": "Excel.Cs_ReadCell", - "args": [ - "workbook", - "sheet", - "column", - "row", - "decimal" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str_col", - "rpa_int", - "rpa_str" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "decimal", - "label": "读取显示的值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel单元格数据", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel单元格数据", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_WriteCell", - "name": "写入单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将数据写入到目标excel指定的单元格中,支持数值/公式等形式,可设置写入后是否保存。", - "messageTemplate": "将 $3 写入单元格 $2", - "baseType": "Excel_WriteCell", - "functionName": "Excel.WriteCell", - "functionCalls": [ - { - "function": "Excel.WriteCell", - "args": [ - "objExcel", - "sheet", - "cellPos", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入单元格", - "输入单元格", - "写入sheet" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetRangeFontV2", - "name": "设置区域字体颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定区域的字体颜色。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中选择区域的字体颜色为 $3", - "baseType": "Excel_Cs_SetRangeFont", - "functionName": "Excel.Cs_SetRangeFontV2", - "functionCalls": [ - { - "function": "Excel.Cs_SetRangeFontV2", - "args": [ - "workbook", - "sheet", - "range", - "color", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,分别输入起始和结束的列名和行号。高级模式,支持表达式,如区域为A列第一行到C列第三行,则输入A1:C3", - "advanced": false, - "valueTypes": [] - }, - { - "key": "color", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "", - "description": "支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_color" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeletePicture", - "name": "删除图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel文件已插入的图片。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中图片 $2", - "baseType": "Excel_Cs_DeletePicture", - "functionName": "Excel.Cs_DeletePicture", - "functionCalls": [ - { - "function": "Excel.Cs_DeletePicture", - "args": [ - "workbook", - "sheet", - "name", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "name", - "label": "图片名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "图片 1", - "placeholder": "输入图片的名称", - "description": "通过点击Excel、WPS图片,可以在“名称框”查看图片的名称,如“图片1”、“picture1”", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_NewV4", - "name": "新建Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0", - "baseType": "Excel_Cs_New", - "functionName": "Excel.Cs_NewV4", - "functionCalls": [ - { - "function": "Excel.Cs_NewV4", - "args": [ - "path", - "name", - "software", - "show", - "maximize", - "share" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入新建Excel保存文件夹路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入新建的Excel文件名称", - "description": "输入新建的Excel文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "选择新建Excel的软件,若未安装相应软件可选择不使用软件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - }, - { - "label": "不使用软件", - "value": "None" - } - ] - }, - { - "key": "show", - "label": "是否可视化操作", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "用于控制 Excel的操作是否界面可见", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": true, - "valueTypes": [] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_GetColDataNew", - "name": "读取列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中,指定单元格所在列的数据,以数组的形式输出到指定变量。", - "messageTemplate": "读取表格 $1 中,$2 中,第 $3 列内容, 然后把结果保存到 $0", - "baseType": "Excel_GetColData", - "functionName": "Excel.GetColDataNew", - "functionCalls": [ - { - "function": "Excel.GetColDataNew", - "args": [ - "objExcel", - "sheet", - "column" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取表格列", - "读取excel列", - "读取工作簿列" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_GetSheetsName", - "name": "获取sheet名", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "获取目标excel文档中所有工作表sheet的名称,以数组的形式输出到指定变量。", - "messageTemplate": "获取所有工作表的名称,以数组的形式, 然后把结果保存到 $0", - "baseType": "Excel_GetSheetsName", - "functionName": "Excel.GetSheetsName", - "functionCalls": [ - { - "function": "Excel.GetSheetsName", - "args": [ - "objExcel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "sheet名称", - "工作表名", - "工作簿名称" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_GetEmptyCell", - "name": "获取第一个空白单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标Excel文件指定行或列中第一个空白的单元格。", - "messageTemplate": "获取 $3 { $$3=='指定一列' && '$4'}{$$3=='指定一行' && '$5'} 中第一个可用单元格, 然后把结果保存到 $0", - "baseType": "Excel_Cs_GetEmptyCell", - "functionName": "Excel.Cs_GetEmptyCell", - "functionCalls": [ - { - "function": "Excel.Cs_GetEmptyCell", - "args": [ - "workbook", - "sheet", - "range", - "column", - "row" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "获取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "指定一列", - "placeholder": "", - "description": "读取整个Sheet,将读取当前指定Sheet表已编辑区域的总行数;指定一列,将读取指定列中的第一个空白单元格位置;指定一行,将读取指定行中的第一个空白单元格位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定一列", - "value": "指定一列" - }, - { - "label": "指定一行", - "value": "指定一行" - } - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel空白单元格位置", - "valueTypes": [ - "rpa_int_row", - "rpa_str_col", - "rpa_int_row" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel空白单元格位置", - "valueTypes": [ - "rpa_int_row", - "rpa_str_col", - "rpa_int_row" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_GetEditRange", - "name": "获取已编辑区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标Excel文件指定Sheet已编辑区域(起始行、起始列、结束行、结束列)。", - "messageTemplate": "获取Excel $4 中Sheet表 $5 已编辑区域,然后把结果保存到 $0", - "baseType": "Excel_Cs_GetEditRange", - "functionName": "Excel.Cs_GetEditRange", - "functionCalls": [ - { - "function": "Excel.Cs_GetEditRange", - "args": [ - "workbook", - "sheet" - ], - "assignTo": "var0,var1,var2,var3" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - } - ], - "output": { - "label": "起始行输出至", - "key": "var0", - "suggestedName": "起始行位置", - "valueTypes": [], - "fields": [ - { - "key": "var0", - "label": "起始行输出至", - "defaultValue": "起始行位置", - "valueTypes": [] - }, - { - "key": "var1", - "label": "起始列输出至", - "defaultValue": "起始列位置", - "valueTypes": [] - }, - { - "key": "var2", - "label": "结束行输出至", - "defaultValue": "结束行位置", - "valueTypes": [] - }, - { - "key": "var3", - "label": "结束列输出至", - "defaultValue": "结束列位置", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertRow", - "name": "插入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置之前插入行,并可以同时写入数据。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $2 行向上插入数据 $4", - "baseType": "Excel_Cs_InsertRow", - "functionName": "Excel.Cs_InsertRow", - "functionCalls": [ - { - "function": "Excel.Cs_InsertRow", - "args": [ - "workbook", - "sheet", - "index", - "count", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "index", - "label": "在第几行前", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入在哪一行之前插入。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "count", - "label": "插入几行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入需要插入多少行。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "", - "description": "写入内容为列表,例如:[123,\"abc\",\"一二三\"]、[[123,456],[\"abc\",\"edf\"]]。如果写入内容超出插入的行数,将自动截掉多余数据。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteRange", - "name": "写入区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定起始位置写入数据,并按数据量依次填充到单元格中。(注:二维列表数据长度得保持一致,示例:[[1,'壹'],[2,'贰'],[3,'叁']]。)。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $2 行,第 $3 列开始写入内容 $4", - "baseType": "Excel_Cs_WriteRange", - "functionName": "Excel.Cs_WriteRange", - "functionCalls": [ - { - "function": "Excel.Cs_WriteRange", - "args": [ - "workbook", - "sheet", - "row", - "column", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "row", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "column", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_RefreshPivotTable", - "name": "刷新Excel数据透视表", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "刷新Excel文件中数据透视表的数据。", - "messageTemplate": "刷新Excel $0 中 $1 $2 的数据", - "baseType": "Excel_Cs_RefreshPivotTable", - "functionName": "Excel.Cs_RefreshPivotTable", - "functionCalls": [ - { - "function": "Excel.Cs_RefreshPivotTable", - "args": [ - "workbook", - "sheet", - "pivotTable", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pivotTable", - "label": "透视表名称", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入数据透视表名称,或选择新建Excel数据透视表返回的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_NewV2", - "name": "新建Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0", - "baseType": "Excel_Cs_New", - "functionName": "Excel.Cs_NewV2", - "functionCalls": [ - { - "function": "Excel.Cs_NewV2", - "args": [ - "path", - "name", - "visible", - "software", - "maximize" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "文件的存储路径,默认为流程包文件夹", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "如果不写后缀则默认新建“.xlsx”文件,如果想新建其他格式的Excel文件,请指定后缀名。支持相对路径:a\\b.xlsx 等价 a\\b", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "visible", - "label": "使用软件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择使用,则计算机上必须安装 Microsoft Office 或者 WPS;不选择,则计算机上不需要安装任何软件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "可以使用指定软件打开文件。请确保该软件已正确安装并可以正常使用", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - } - ] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetHeight", - "name": "设置行高", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定行的行高。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中行号为 $2 的行高为 $3", - "baseType": "Excel_Cs_SetHeight", - "functionName": "Excel.Cs_SetHeight", - "functionCalls": [ - { - "function": "Excel.Cs_SetHeight", - "args": [ - "workbook", - "sheet", - "rows", - "height", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "rows", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "可输入多行,例如:[1,2,3],不填设置所有行,行号支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_list", - "rpa_str" - ] - }, - { - "key": "height", - "label": "行高", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "14.5", - "placeholder": "仅支持输入正数", - "description": "Excel默认值为14.25,WPS为13.5,可自定义设置,单位:磅", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeletePictureV2", - "name": "删除图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel文件已插入的图片。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中图片 $2", - "baseType": "Excel_Cs_DeletePicture", - "functionName": "Excel.Cs_DeletePictureV2", - "functionCalls": [ - { - "function": "Excel.Cs_DeletePictureV2", - "args": [ - "workbook", - "sheet", - "condition", - "name", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去", - "图片", - "图像", - "图形" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "condition", - "label": "删除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定删除图片的方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定图片", - "value": "0" - }, - { - "label": "全部", - "value": "1" - } - ] - }, - { - "key": "name", - "label": "图片名称", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "图片 1", - "placeholder": "输入图片的名称", - "description": "通过点击Excel、WPS图片,可以在“名称框”查看图片的名称,如“图片1”、“picture1”", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Encrypt", - "name": "加密Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_operator" - ], - "categorySignature": "excel_operator", - "description": "将目标Excel文件进行加密处理。", - "messageTemplate": "对Excel进行加密", - "baseType": "Excel_Cs_Encrypt", - "functionName": "Excel.Cs_Encrypt", - "functionCalls": [ - { - "function": "Excel.Cs_Encrypt", - "args": [ - "workbook", - "password1", - "password2", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件", - "加密", - "数据加密", - "加密处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "输入或选择新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "password1", - "label": "打开密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入用于打开的密码", - "description": "输入用于打开的密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "password2", - "label": "编辑密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入用于编辑的密码", - "description": "输入用于编辑的密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_DeleteColumn", - "name": "删除列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标excel指定的单元格所在列,可设置删除后是否保存。", - "messageTemplate": "删除列 $2", - "baseType": "Excel_DeleteColumn", - "functionName": "Excel.DeleteColumn", - "functionCalls": [ - { - "function": "Excel.DeleteColumn", - "args": [ - "objExcel", - "sheet", - "cellPos", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除列", - "删除工作簿列", - "删除excel列", - "删除表格列" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadColumn", - "name": "读取列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件的指定列,并将内容以列表的形式输出到指定变量(示例:[123,\"abc\"])。", - "messageTemplate": "读取Excel $1 中Sheet表 $2,第 $3 列的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadColumn", - "functionName": "Excel.Cs_ReadColumn", - "functionCalls": [ - { - "function": "Excel.Cs_ReadColumn", - "args": [ - "workbook", - "sheet", - "columnName", - "decimal" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "columnName", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "decimal", - "label": "读取显示的值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel列数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel列数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Move", - "name": "移动Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "移动目标Excel文件指定Sheet的位置。", - "messageTemplate": "移动Sheet表 $1", - "baseType": "Excel_Cs_Move", - "functionName": "Excel.Cs_Move", - "functionCalls": [ - { - "function": "Excel.Cs_Move", - "args": [ - "workbook", - "sheet", - "mode", - "index", - "name", - "option", - "position", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "mode", - "label": "移动方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "按序号", - "placeholder": "", - "description": "按序号移动可以移动到特定的第几位;按名称是可以移动到特定Sheet的之前或之后;按位置可以移动到特定的第几位", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按序号", - "value": "按序号" - }, - { - "label": "按名称", - "value": "按名称" - }, - { - "label": "按位置", - "value": "按位置" - } - ] - }, - { - "key": "index", - "label": "移动到", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "请输入移动到位置", - "description": "按序号输入数字,表示移动到第几位。按名称输入Sheet名,表示移动到此Sheet前或后。按位置可以选择移动位置。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "name", - "label": "移动到", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "", - "placeholder": "请输入移动到位置", - "description": "按序号输入数字,表示移动到第几位。按名称输入Sheet名,表示移动到此Sheet前或后。按位置可以选择移动位置。", - "advanced": false, - "valueTypes": [ - "rpa_str_sheetName", - "rpa_str" - ] - }, - { - "key": "option", - "label": "移动位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "之前", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "之前", - "value": "之前" - }, - { - "label": "之后", - "value": "之后" - } - ] - }, - { - "key": "position", - "label": "移动到", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "第一位", - "placeholder": "请输入移动到位置", - "description": "按序号输入数字,表示移动到第几位。按名称输入Sheet名,表示移动到此Sheet前或后。按位置可以选择移动位置。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "第一位", - "value": "第一位" - }, - { - "label": "向前移一位", - "value": "向前移一位" - }, - { - "label": "向后移一位", - "value": "向后移一位" - }, - { - "label": "最后一位", - "value": "最后一位" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeleteDuplicates", - "name": "删除重复", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "以扩展选定区域的方式删除目标Excel文件指定列的重复数据(重复数据所在行其他数据也会删除)。", - "messageTemplate": "删除Excel $1 Sheet表 $2 中列名为 $3 重复的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_DeleteDuplicates", - "functionName": "Excel.Cs_DeleteDuplicates", - "functionCalls": [ - { - "function": "Excel.Cs_DeleteDuplicates", - "args": [ - "workbook", - "sheet", - "columns", - "header", - "save" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "columns", - "label": "待删除列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "输入需要删除重复项的列名,可输入单列、多列(多列数据相同时删除),示例:单列输入“A”,多列输入[\"A\",\"B\",\"C\"]。列名支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col", - "rpa_list" - ] - }, - { - "key": "header", - "label": "数据包含标题", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "否", - "placeholder": "", - "description": "选择是,则同步删除标题;否则,仅删除数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "是" - }, - { - "label": "否", - "value": "否" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "删除个数", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "删除个数", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeleteRangeV2", - "name": "删除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel文件指定区域。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中选择区域", - "baseType": "Excel_Cs_DeleteRange", - "functionName": "Excel.Cs_DeleteRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_DeleteRangeV2", - "args": [ - "workbook", - "sheet", - "range", - "mode", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mode", - "label": "删除模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "右侧单元格左移", - "placeholder": "", - "description": "删除模式与Excel一致,模式有4种:右侧单元格左移、下侧单元格上移、整行、整列。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "右侧单元格左移", - "value": "右侧单元格左移" - }, - { - "label": "下方单元格上移", - "value": "下方单元格上移" - }, - { - "label": "整行", - "value": "整行" - }, - { - "label": "整列", - "value": "整列" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ExcelFilter", - "name": "Excel数据筛选", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "根据条件在Excel软件中进行数据筛选。", - "messageTemplate": "筛选 Excel $0 Sheet表中数据", - "baseType": "Excel_Cs_ExcelFilter", - "functionName": "Excel.Cs_ExcelFilter", - "functionCalls": [ - { - "function": "Excel.Cs_ExcelFilter", - "args": [ - "workbook", - "sheet", - "rule", - "startRow", - "endRow", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "rule", - "label": "筛选规则", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "筛选起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "endRow", - "label": "筛选结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "-1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertColumnV2", - "name": "插入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置之前插入列,并可以同时写入数据。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $3 列 { $$2 == 0 && '向左' } { $$2 == 1 && '向右' } 插入数据 $5", - "baseType": "Excel_Cs_InsertColumn", - "functionName": "Excel.Cs_InsertColumnV2", - "functionCalls": [ - { - "function": "Excel.Cs_InsertColumnV2", - "args": [ - "workbook", - "sheet", - "direction", - "index", - "count", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "direction", - "label": "插入方向", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "列插入的方向", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向左", - "value": "0" - }, - { - "label": "向右", - "value": "1" - } - ] - }, - { - "key": "index", - "label": "插入列位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "需要在哪一列开始插入", - "advanced": false, - "valueTypes": [] - }, - { - "key": "count", - "label": "插入几列", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "输入插入列的数量", - "description": "插入列的数量", - "advanced": false, - "valueTypes": [] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_GetPath", - "name": "获取Excel路径", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_operator" - ], - "categorySignature": "excel_operator", - "description": "获取目标Excel文件路径,并输出至指定变量。", - "messageTemplate": "获取文件 $1 的文件路径, 然后把结果保存到 $0", - "baseType": "Excel_Cs_GetPath", - "functionName": "Excel.Cs_GetPath", - "functionCalls": [ - { - "function": "Excel.Cs_GetPath", - "args": [ - "workbook" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_str_filepath" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_str_filepath" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_NewV5", - "name": "新建Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0", - "baseType": "Excel_Cs_New", - "functionName": "Excel.Cs_NewV5", - "functionCalls": [ - { - "function": "Excel.Cs_NewV5", - "args": [ - "path", - "name", - "override", - "software", - "show", - "maximize", - "share" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入新建Excel保存文件夹路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入新建的Excel文件名称", - "description": "输入新建的Excel文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "override", - "label": "覆盖同名文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "旧文件将移入回收站,避免丢失", - "advanced": false, - "valueTypes": [] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "选择新建Excel的软件,若未安装相应软件可选择不使用软件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - }, - { - "label": "不使用软件", - "value": "None" - } - ] - }, - { - "key": "show", - "label": "显示Excel界面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "关闭此选项可后台静默运行,速度更快", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": true, - "valueTypes": [] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeleteRow", - "name": "删除行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel指定行。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中 { $$2 == '连续多行' && '第 $4 行至第 $5 行' } { $$2 == '单独一行' && '行号为 $3' } { $$2 == '分散多行' && '行号为 $6 ' }", - "baseType": "Excel_Cs_DeleteRow", - "functionName": "Excel.Cs_DeleteRow", - "functionCalls": [ - { - "function": "Excel.Cs_DeleteRow", - "args": [ - "workbook", - "sheet", - "mode", - "row", - "startRow", - "lastRow", - "rows", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "mode", - "label": "删除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "单独一行", - "placeholder": "", - "description": "1、单独一行,输入行号;2、连续多行,输入起始和结束行号;3、分散多行,输入行号列表,例如:[1,3,5]", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单独一行", - "value": "单独一行" - }, - { - "label": "连续多行", - "value": "连续多行" - }, - { - "label": "分散多行", - "value": "分散多行" - } - ] - }, - { - "key": "row", - "label": "删除行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "rows", - "label": "删除行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "[1,3,5]", - "placeholder": "", - "description": "选择分散多行时,请输入一个列表形式的值,例如[1,3,5]。选择单独一行时,请输入一个数字。支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Active", - "name": "激活Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "激活目标Excel文件指定Sheet。", - "messageTemplate": "激活Sheet表 $1", - "baseType": "Excel_Cs_Active", - "functionName": "Excel.Cs_Active", - "functionCalls": [ - { - "function": "Excel.Cs_Active", - "args": [ - "workbook", - "mode", - "sheet", - "index", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "mode", - "label": "激活方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "按名称", - "placeholder": "", - "description": "按名称,激活Sheet需输入对应的名称,例如:\"Sheet1\";按序号,激活Sheet需输入对应序号,例如:1", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按名称", - "value": "按名称" - }, - { - "label": "按序号", - "value": "按序号" - } - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Sheet名称", - "advanced": false, - "valueTypes": [ - "rpa_str_sheetName", - "rpa_str" - ] - }, - { - "key": "index", - "label": "Sheet序号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "Sheet序号格式为:1", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertColumnV3", - "name": "插入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置之前插入列,并可以同时写入数据。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $2 插入数据 $4", - "baseType": "Excel_Cs_InsertColumn", - "functionName": "Excel.Cs_InsertColumnV3", - "functionCalls": [ - { - "function": "Excel.Cs_InsertColumnV3", - "args": [ - "workbook", - "sheet", - "direction", - "count", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "direction", - "label": "插入列位置", - "widget": "text", - "type": "string", - "displayType": "unitInput", - "required": true, - "defaultValue": "[\"A\",0]", - "placeholder": "", - "description": "需要在哪一列开始插入", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "count", - "label": "插入几列", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "输入插入列的数量", - "description": "插入列的数量", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_ReadRangeNew", - "name": "读取区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中的指定区域,并将内容以数组形式输出到指定变量,可设定区域起始格。", - "messageTemplate": "读取表格 $1 中,$2 中,从第 $3 行,第 $4 列开始,到第 $5 行,第 $6 列结束的内容, 然后把结果保存到 $0", - "baseType": "Excel_ReadRange", - "functionName": "Excel.ReadRangeNew", - "functionCalls": [ - { - "function": "Excel.ReadRangeNew", - "args": [ - "objExcel", - "sheet", - "start_row", - "start_column", - "end_row", - "end_column" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取范围", - "读取表格范围", - "读取excel区域", - "读取工作簿区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "start_row", - "label": "起始单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "start_column", - "label": "起始单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "end_row", - "label": "结束单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "end_column", - "label": "结束单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ConvertColumn", - "name": "列名转换", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "将列名转换成对应的数字或将数字转换成对应的列名。", - "messageTemplate": "将 $1 转成 { $$2=='0' && '列名'}{$$2=='1' && '数字'}, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ConvertColumn", - "functionName": "Excel.Cs_ConvertColumn", - "functionCalls": [ - { - "function": "Excel.Cs_ConvertColumn", - "args": [ - "convertInput", - "convertType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转换", - "转变", - "转换格式", - "转换类型", - "变换" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "convertInput", - "label": "转换内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入正确的列名字母或 1-16384 之前的数字", - "advanced": false, - "valueTypes": [] - }, - { - "key": "convertType", - "label": "转换方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择转换方式,将输入转成列名或转成数字", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "转成列名", - "value": "0" - }, - { - "label": "转成数字", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "转换结果", - "valueTypes": [ - "rpa_str_col", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "转换结果", - "valueTypes": [ - "rpa_str_col", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Open", - "name": "打开Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Open", - "functionName": "Excel.Cs_Open", - "functionCalls": [ - { - "function": "Excel.Cs_Open", - "args": [ - "file", - "software", - "visible", - "maximize", - "password1", - "password2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "文件的存储路径,默认为流程包文件夹;支持相对路径:a\\b.xlsx 等价 a\\b", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "software", - "label": "使用软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "可以用指定软件打开文件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - }, - { - "label": "不使用软件", - "value": "None" - } - ] - }, - { - "key": "visible", - "label": "是否可视化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置后台不可见的方式运行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "是否最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件最大化,设置为不可见时,当前选项不生效", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password1", - "label": "打开密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用于打开权限的密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "password2", - "label": "编辑密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用于编辑权限的密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objExcelWorkBook", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objExcelWorkBook", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertPicture", - "name": "插入图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置插入图片,并可以设置图片大小和位置。", - "messageTemplate": "在Excel $0 Sheet表 $1 中插入图片 $2", - "baseType": "Excel_Cs_InsertPicture", - "functionName": "Excel.Cs_InsertPicture", - "functionCalls": [ - { - "function": "Excel.Cs_InsertPicture", - "args": [ - "workbook", - "sheet", - "path", - "row", - "column", - "left", - "top", - "width", - "height", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "path", - "label": "图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "输入或选择图片所在路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "row", - "label": "插入单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入需要相对哪个单元格左上角插入", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "column", - "label": "插入单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "输入需要相对哪个单元格左上角插入", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "left", - "label": "向右移动距离", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "支持输入整数", - "description": "图片距离单元格左侧边缘,向右移动的距离,单位为像素", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "top", - "label": "向下移动距离", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "支持输入整数", - "description": "图片距离单元格上侧边缘,向下移动的距离,单位为像素", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "width", - "label": "图片宽度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "100", - "placeholder": "自定义设置数值,支持正数", - "description": "设置插入图片的宽度", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "height", - "label": "图片高度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "100", - "placeholder": "自定义设置数值,支持正数", - "description": "设置插入图片的高度", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Insert", - "name": "插入Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "在目标Excel文件中新建一个Sheet,并激活作为后续流程操作对象。", - "messageTemplate": "创建 $1 Sheet表", - "baseType": "Excel_Cs_Insert", - "functionName": "Excel.Cs_Insert", - "functionCalls": [ - { - "function": "Excel.Cs_Insert", - "args": [ - "workbook", - "name", - "position", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "name", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Sheet1", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入工作表名称,如Sheet1", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "position", - "label": "当前Sheet位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "之前", - "placeholder": "", - "description": "将插入的Sheet放在当前Sheet位置之前或之后", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "之前", - "value": "之前" - }, - { - "label": "之后", - "value": "之后" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertRowV3", - "name": "插入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置之前插入行,并可以同时写入数据。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $2 插入数据 $4", - "baseType": "Excel_Cs_InsertRow", - "functionName": "Excel.Cs_InsertRowV3", - "functionCalls": [ - { - "function": "Excel.Cs_InsertRowV3", - "args": [ - "workbook", - "sheet", - "direction", - "count", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "direction", - "label": "插入行位置", - "widget": "text", - "type": "string", - "displayType": "unitInput", - "required": true, - "defaultValue": "[1,0]", - "placeholder": "", - "description": "需要在哪一行开始插入", - "advanced": false, - "valueTypes": [ - "rpa_int_row", - "rpa_int", - "rpa_str" - ] - }, - { - "key": "count", - "label": "插入几行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "输入插入行的数量", - "description": "插入行的数量", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetCellFormat_V2", - "name": "设置单元格格式", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置Excel单元格的字体、背景、对齐、数字格式等。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中指定区域的单元格格式", - "baseType": "Excel_Cs_SetCellFormat", - "functionName": "Excel.Cs_SetCellFormat_V2", - "functionCalls": [ - { - "function": "Excel.Cs_SetCellFormat_V2", - "args": [ - "workbook", - "sheet", - "range", - "format" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "format", - "label": "单元格格式", - "widget": "region", - "type": "object", - "displayType": "cellRuleControlConfig", - "required": false, - "defaultValue": "{\"FontFormat\": \"宋体\", \"FontSize\": 11, \"BoldAndItalic\": 0, \"FontColor\": \"#000000\", \"BackgroundColor\": \"#FFFFFF\", \"HorizontalAlignment\": 0, \"VerticalAlignment\": 0, \"DigitalFormat\": {\"enumDigitalFormat\": 0, \"formatstring\": \"\"}}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadRowCount", - "name": "读取行数", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件已编辑区域的总行数,并输出至指定变量。", - "messageTemplate": "获取Excel $1 中Sheet表 $2 已编辑区域的总行数, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadRowCount", - "functionName": "Excel.Cs_ReadRowCount", - "functionCalls": [ - { - "function": "Excel.Cs_ReadRowCount", - "args": [ - "workbook", - "sheet", - "range", - "column", - "ignoreHidden" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "读取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "整个Sheet", - "placeholder": "", - "description": "读取整个Sheet,将读取当前指定Sheet表已编辑区域的总行数;指定一列,将读取指定列的已编辑行数。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个Sheet", - "value": "整个Sheet" - }, - { - "label": "指定一列", - "value": "指定一列" - } - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "ignoreHidden", - "label": "仅读取显示的行数", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "适用于读取范围中有筛选或者隐藏等操作,勾选后仅计算显示的行数", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel行数", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel行数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Merge", - "name": "合并Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "将一个文件的指定Sheet合并到另一个文件指定Sheet。", - "messageTemplate": "将文件 $0 中 Sheet表 $1 { $$2=='0' && '纵向'}{$$2=='1' && '横向'} 合并到 文件 $3 中 Sheet表 $4", - "baseType": "Excel_Cs_Merge", - "functionName": "Excel.Cs_Merge", - "functionCalls": [ - { - "function": "Excel.Cs_Merge", - "args": [ - "workbook", - "sheet", - "option", - "destWorkbook", - "destSheet", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_sheetName", - "rpa_str" - ] - }, - { - "key": "option", - "label": "合并方向", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可以选择合并方向,要合并的两个文件必须使用同一种打开模式(使用软件或不使用软件)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "纵向", - "value": "0" - }, - { - "label": "横向", - "value": "1" - } - ] - }, - { - "key": "destWorkbook", - "label": "合并至文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "destSheet", - "label": "合并至Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_sheetName", - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertRowV2", - "name": "插入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置之前插入行,并可以同时写入数据。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $3 行 { $$2 == 0 && '向上' } { $$2 == 1 && '向下' } 插入数据 $5", - "baseType": "Excel_Cs_InsertRow", - "functionName": "Excel.Cs_InsertRowV2", - "functionCalls": [ - { - "function": "Excel.Cs_InsertRowV2", - "args": [ - "workbook", - "sheet", - "direction", - "index", - "count", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "direction", - "label": "插入方向", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "行插入的方向", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向上", - "value": "0" - }, - { - "label": "向下", - "value": "1" - } - ] - }, - { - "key": "index", - "label": "插入行位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "需要在哪一行开始插入", - "advanced": false, - "valueTypes": [] - }, - { - "key": "count", - "label": "插入几行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "输入插入行的数量", - "description": "插入行的数量", - "advanced": false, - "valueTypes": [] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadCellFormula", - "name": "获取单元格公式", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标Excel文件指定单元格的公式。", - "messageTemplate": "获取Excel $1 中Sheet表 $2,第 $4 行,第 $3 列的公式, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadCellFormula", - "functionName": "Excel.Cs_ReadCellFormula", - "functionCalls": [ - { - "function": "Excel.Cs_ReadCellFormula", - "args": [ - "workbook", - "sheet", - "column", - "row" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str_col", - "rpa_int", - "rpa_str" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel单元格公式", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel单元格公式", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Save", - "name": "保存excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "保存目标excel文档,按当前文件的文件名和文件路径进行保存,覆盖之前的内容。", - "messageTemplate": "保存excel", - "baseType": "Excel_Save", - "functionName": "Excel.Save", - "functionCalls": [ - { - "function": "Excel.Save", - "args": [ - "objExcel" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "保存excel", - "保存工作簿", - "保存表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_InsertImage", - "name": "插入图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标excel中插入指定图片,可设定图片的大小和位置。", - "messageTemplate": "在索引或工作表为 $1 中插入图片 $2", - "baseType": "Excel_InsertImage", - "functionName": "Excel.InsertImage", - "functionCalls": [ - { - "function": "Excel.InsertImage", - "args": [ - "objExcel", - "sheet", - "pictureName", - "Left", - "Top", - "Width", - "Height" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "插入图片", - "插入图像", - "表格插入图片", - "excel插入图片", - "工作簿插入图片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pictureName", - "label": "图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "Left", - "label": "左边距", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Top", - "label": "上边距", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Width", - "label": "图片宽度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Height", - "label": "图片高度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_ReadCellNew", - "name": "读取单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中的单元格,并将内容以字符串形式输出到指定变量。", - "messageTemplate": "读取表格 $1 中,$2 中,第 $3 行,第 $4 列的内容, 然后把结果保存到 $0", - "baseType": "Excel_ReadCell", - "functionName": "Excel.ReadCellNew", - "functionCalls": [ - { - "function": "Excel.ReadCellNew", - "args": [ - "objExcel", - "sheet", - "row", - "column" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取单元格", - "单元格内容" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_ClearRange", - "name": "清除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "清除目标excel中指定区域的数据和格式,可设定起始单元格位置。", - "messageTemplate": "清除 $2 区域的数据与格式", - "baseType": "Excel_ClearRange", - "functionName": "Excel.ClearRange", - "functionCalls": [ - { - "function": "Excel.ClearRange", - "args": [ - "objExcel", - "sheet", - "cellPos", - "isFormat", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "清除范围", - "清除区域", - "清除表格区域", - "清除excel区域", - "清除工作簿区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isFormat", - "label": "是否清除格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertPivotView", - "name": "新建透视图", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "根据目标Excel文件数据指定数据源新建数据透视图。", - "messageTemplate": "在Excel $0 中新建透视图", - "baseType": "Excel_Cs_InsertPivotView", - "functionName": "Excel.Cs_InsertPivotView", - "functionCalls": [ - { - "function": "Excel.Cs_InsertPivotView", - "args": [ - "workbook", - "rule", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "rule", - "label": "透视图规则", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_WriteRangeNew", - "name": "写入区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将二维数组写入到目标excel中的指定区域,可设定左上开始的第一个单元格位置,自动按数组数量进行填充。", - "messageTemplate": "在Excel对象 $0 中,$1 中,从第 $2 行,第 $3 列开始写入内容 $4", - "baseType": "Excel_WriteRange", - "functionName": "Excel.WriteRangeNew", - "functionCalls": [ - { - "function": "Excel.WriteRangeNew", - "args": [ - "objExcel", - "sheet", - "start_row", - "start_column", - "data", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入范围", - "写入区域", - "写入excel区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "start_row", - "label": "起始单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "start_column", - "label": "起始单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "data", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[[1,'壹'],[2,'贰'],[3,'叁']]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Filter", - "name": "数据筛选", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取Excel指定列中数据,然后根据条件筛选,并返回筛选后的数据。", - "messageTemplate": "筛选 Excel $2 Sheet表 $3 $4列中数据,然后把结果保存到 $0", - "baseType": "Excel_Cs_Filter", - "functionName": "Excel.Cs_Filter", - "functionCalls": [ - { - "function": "Excel.Cs_Filter", - "args": [ - "workbook", - "sheet", - "column", - "condition", - "criteria", - "onHeader", - "isMultiFilter", - "pre_filterData", - "pre_lineNum" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "condition", - "label": "筛选条件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定筛选条件关系,筛选的值为读取内容组件读取的保留类型(Value) 选项的值", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "满足全部条件", - "value": "0" - }, - { - "label": "满足任一条件", - "value": "1" - } - ] - }, - { - "key": "criteria", - "label": "筛选条件", - "widget": "text", - "type": "string", - "displayType": "itemGroup", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "onHeader", - "label": "筛选首行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "从表格首行(表头)开始进行筛选,不勾选表示剔除第一行开始筛选", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isMultiFilter", - "label": "多列筛选", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "连续使用该组件时,支持在原筛选结果的基础上再次筛选数据。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pre_filterData", - "label": "原筛选结果", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择Excel筛选数据组件的筛选结果变量", - "description": "使用“筛选数据”组件返回的筛选结果。数据类型为列表。", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - }, - { - "key": "pre_lineNum", - "label": "原所在行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择Excel筛选数据组件的所在行号变量", - "description": "使用“筛选数据”组件返回的所在行号。数据类型为列表。", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - } - ], - "output": { - "label": "筛选结果", - "key": "var0", - "suggestedName": "filterData", - "valueTypes": [], - "fields": [ - { - "key": "var0", - "label": "筛选结果", - "defaultValue": "filterData", - "valueTypes": [] - }, - { - "key": "var1", - "label": "所在行号", - "defaultValue": "lineNum", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_SetCellFontColor", - "name": "单元格字体颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标excel中指定单元格的字体颜色,可选设置后是否保存。", - "messageTemplate": "设置单元格字体 $2 的颜色为 $3", - "baseType": "Excel_SetCellFontColor", - "functionName": "Excel.SetCellFontColor", - "functionCalls": [ - { - "function": "Excel.SetCellFontColor", - "args": [ - "objExcel", - "sheet", - "cellPos", - "cellColor", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字体颜色", - "单元格字体颜色" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellColor", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[255,255,255]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_OpenExcelNew", - "name": "打开excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "打开指定路径下的excel文件,并赋值到指定变量,可设定前端是否可见。", - "messageTemplate": "打开excel,路径为 $1, 然后把结果保存到 $0", - "baseType": "Excel_OpenExcel", - "functionName": "Excel.OpenExcelNew", - "functionCalls": [ - { - "function": "Excel.OpenExcelNew", - "args": [ - "filePath", - "openType", - "isVisible" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "openType", - "label": "excel驱动", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "如果本地未安装任何Excel软件,可以选择openpyxl驱动方式(仅支持xlsx格式文件),该方式将采用后台静默的方式读写Excel。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "openpyxl", - "value": "0" - }, - { - "label": "自动检测", - "value": "1" - } - ] - }, - { - "key": "isVisible", - "label": "是否可见", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objExcelWorkBook", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objExcelWorkBook", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_CopyRange", - "name": "复制表格内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "复制目标Excel文件指定区域的内容。", - "messageTemplate": "复制Excel $1 Sheet表 $2 中选取的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_CopyRange", - "functionName": "Excel.Cs_CopyRange", - "functionCalls": [ - { - "function": "Excel.Cs_CopyRange", - "args": [ - "workbook", - "sheet", - "mode", - "column", - "row", - "startRow", - "lastRow", - "startColumn", - "lastColumn", - "startColumn2", - "startRow2", - "lastColumn2", - "lastRow2", - "save" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "mode", - "label": "复制模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "复制单元格", - "placeholder": "", - "description": "通过下拉的选项,选择复制的区域", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "单元格列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "单元格行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "startColumn2", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "startRow2", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "lastColumn2", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "lastRow2", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "复制内容", - "valueTypes": [ - "rpa_any", - "rpa_list", - "rpa_list", - "rpa_list", - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "复制内容", - "valueTypes": [ - "rpa_any", - "rpa_list", - "rpa_list", - "rpa_list", - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_WriteColumnNew", - "name": "写入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将数据写入到目标excel指定的单元格所在列,支持数值/公式等形式,可设置写入后是否保存。", - "messageTemplate": "在Excel对象 $0 中的第 $2 列插入一列内容,$4", - "baseType": "Excel_WriteColumn", - "functionName": "Excel.WriteColumnNew", - "functionCalls": [ - { - "function": "Excel.WriteColumnNew", - "args": [ - "objExcel", - "sheet", - "column", - "row", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入列", - "输入列", - "写入sheet" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "起始行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadContentV4", - "name": "读取Excel内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在目标Excel文件读取指定区域内容。", - "messageTemplate": "在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0", - "baseType": "Cs_ReadContent", - "functionName": "Excel.Cs_ReadContentV4", - "functionCalls": [ - { - "function": "Excel.Cs_ReadContentV4", - "args": [ - "workbook", - "sheet", - "excelRng", - "ignoreHidden", - "valueType", - "replaceNone" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ignoreHidden", - "label": "仅读取可见的内容", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "适用于读取范围中有筛选或者隐藏等操作,勾选后仅读取可见的内容", - "advanced": false, - "valueTypes": [] - }, - { - "key": "valueType", - "label": "读取格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "原始值:Excel中日期类型数据会读取为浮点数。显示值:Excel中日期类型数据将读取为用户所见的字符串类型,读取速度较慢。保留类型:Excel中日期类型数据将读取为日期对象。推荐使用读取原始值,读取速度最快。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "原始值(Value2)", - "value": "0" - }, - { - "label": "显示值(Text)", - "value": "1" - }, - { - "label": "保留类型(Value)", - "value": "2" - } - ] - }, - { - "key": "replaceNone", - "label": "替换None值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换None值为空字符串", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_OpenV2", - "name": "打开Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Open", - "functionName": "Excel.Cs_OpenV2", - "functionCalls": [ - { - "function": "Excel.Cs_OpenV2", - "args": [ - "file", - "visible", - "software", - "maximize", - "password1", - "password2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "文件的存储路径,默认为流程包文件夹; 支持相对路径:a\\b.xlsx 等价 a\\b", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "visible", - "label": "使用软件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择使用软件,则计算机上必须安装 Microsoft Office 或者 WPS;不选择,则计算机上不需要安装任何软件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "可以使用指定软件打开文件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - } - ] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password1", - "label": "打开密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "用于打开权限的密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "password2", - "label": "编辑密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用于编辑权限的密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetWidthV1", - "name": "设置列宽", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定列的列宽。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中列名为 $2 的列宽为 $3", - "baseType": "Excel_Cs_SetWidth", - "functionName": "Excel.Cs_SetWidthV1", - "functionCalls": [ - { - "function": "Excel.Cs_SetWidthV1", - "args": [ - "workbook", - "sheet", - "columns", - "setWidthType", - "width", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "columns", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "可输入多列,例如:[\"A\",\"B\",\"C\"],不填设置所有列,列名支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "setWidthType", - "label": "设置方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "指定列宽", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定列宽", - "value": "指定列宽" - }, - { - "label": "自适应列宽", - "value": "自适应列宽" - } - ] - }, - { - "key": "width", - "label": "列宽", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "8.38", - "placeholder": "仅支持输入正数", - "description": "Excel默认值为8.38,可自定义设置,单位:字符", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetCellFormat", - "name": "设置单元格格式", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件单元格格式。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中指定区域的单元格格式为 $3", - "baseType": "Excel_Cs_SetCellFormat", - "functionName": "Excel.Cs_SetCellFormat", - "functionCalls": [ - { - "function": "Excel.Cs_SetCellFormat", - "args": [ - "workbook", - "sheet", - "range", - "format", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "format", - "label": "格式代码", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": true, - "defaultValue": "G/通用格式", - "placeholder": "", - "description": "输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SetRangeColor", - "name": "区域颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标excel中指定区域的背景颜色,设定区域的起始单元格,可选设置后是否保存。", - "messageTemplate": "设置区域 $2 的颜色为 $3", - "baseType": "Excel_SetRangeColor", - "functionName": "Excel.SetRangeColor", - "functionCalls": [ - { - "function": "Excel.SetRangeColor", - "args": [ - "objExcel", - "sheet", - "cellPos", - "cellColor", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "区域背景颜色", - "范围背景颜色" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellColor", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[255,255,255]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Interop", - "name": "Excel动态调用", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "动态调用Excel对象的属性或方法,并获取返回的值。", - "messageTemplate": "调用对象 $1 的 $5, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Interop", - "functionName": "Excel.Cs_Interop", - "functionCalls": [ - { - "function": "Excel.Cs_Interop", - "args": [ - "obj", - "workbook", - "sheet", - "range", - "property", - "value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "obj", - "label": "调用对象", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect1", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择调用的对象", - "advanced": false, - "valueTypes": [] - }, - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入区域地址,例如:A1,A1:B2", - "description": "输入Excel支持的区域地址,例如:A1,A1:B2", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "property", - "label": "属性或方法名", - "widget": "select", - "type": "string", - "displayType": "autoComplete", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel对象的属性或方法名称,可以参考微软Excel对象相关文档", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "value", - "label": "属性值或方法参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置属性,输入对象的属性支持的值(字符串),设置缺省值输入null,如果为空则获取该属性值;调用方法输入参数列表,例:[参数1,参数2]", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list", - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "调用结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "调用结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertPivotTable", - "name": "新建Excel数据透视表", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "根据目标Excel文件数据指定数据源新建数据透视表。", - "messageTemplate": "在Excel $1 中新建数据透视表, 然后把结果保存到 $0", - "baseType": "Excel_Cs_InsertPivotTable", - "functionName": "Excel.Cs_InsertPivotTable", - "functionCalls": [ - { - "function": "Excel.Cs_InsertPivotTable", - "args": [ - "workbook", - "rule", - "sourceData", - "save" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "rule", - "label": "透视表规则", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "在Excel中配置好数据透视表后,点击“在Excel中拾取”按钮可拾取数据透视表的配置规则。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sourceData", - "label": "数据源", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入数据源", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "透视表名称", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "透视表名称", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_CopyRangeV2", - "name": "复制表格内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "复制目标Excel文件指定区域的内容。", - "messageTemplate": "复制Excel $0 Sheet表 $1 中选取的内容", - "baseType": "Excel_Cs_CopyRange", - "functionName": "Excel.Cs_CopyRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_CopyRangeV2", - "args": [ - "workbook", - "sheet", - "mode", - "column", - "row", - "startRow", - "lastRow", - "startColumn", - "lastColumn", - "startColumn2", - "startRow2", - "lastColumn2", - "lastRow2" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "mode", - "label": "复制模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "复制单元格", - "placeholder": "", - "description": "通过下拉的选项,选择复制的区域", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "复制单元格", - "value": "复制单元格" - }, - { - "label": "复制行", - "value": "复制行" - }, - { - "label": "复制列", - "value": "复制列" - }, - { - "label": "复制区域", - "value": "复制区域" - }, - { - "label": "复制已编辑区域", - "value": "复制已编辑区域" - } - ] - }, - { - "key": "column", - "label": "单元格列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "单元格行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "startColumn2", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "startRow2", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "lastColumn2", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "lastRow2", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_RunMacro", - "name": "执行宏", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "执行在目标Excel已录制的宏。使用组件前请确保已在Excel中录制宏,本次将要执行哪个宏。", - "messageTemplate": "执行宏 $1", - "baseType": "Excel_Cs_RunMacro", - "functionName": "Excel.Cs_RunMacro", - "functionCalls": [ - { - "function": "Excel.Cs_RunMacro", - "args": [ - "workbook", - "script", - "args", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "script", - "label": "宏名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "宏1", - "placeholder": "", - "description": "输入在Excel文件中已录制的宏名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "args", - "label": "宏参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "宏参数格式:[arg1,arg2]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetHeightV1", - "name": "设置行高", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定行的行高。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中行号为 $2 的行高为 $3", - "baseType": "Excel_Cs_SetHeight", - "functionName": "Excel.Cs_SetHeightV1", - "functionCalls": [ - { - "function": "Excel.Cs_SetHeightV1", - "args": [ - "workbook", - "sheet", - "rows", - "setHeightType", - "height", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "rows", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可输入多行,例如:[1,2,3],不填设置所有行,行号支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_list" - ] - }, - { - "key": "setHeightType", - "label": "设置方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "指定行高", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定行高", - "value": "指定行高" - }, - { - "label": "自适应行高", - "value": "自适应行高" - } - ] - }, - { - "key": "height", - "label": "行高", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "14.5", - "placeholder": "仅支持输入正数", - "description": "Excel默认值为14.25,WPS为13.5,可自定义设置,单位:磅", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Find", - "name": "Excel查找/替换", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "在Excel软件中指定区域进行数据查找或替换,并返回查找到的数据位置。", - "messageTemplate": "使用Excel软件查找/替换 $1 中 Sheet表 $2 指定区域的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Find", - "functionName": "Excel.Cs_Find", - "functionCalls": [ - { - "function": "Excel.Cs_Find", - "args": [ - "workbook", - "sheet", - "mode", - "option", - "range", - "row", - "column", - "what", - "lookAt", - "lookIn", - "searchOrder", - "searchDirection", - "matchCase", - "matchByte", - "matchFormat", - "replacement", - "replaceFormat", - "matchFirst", - "save", - "returnType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mode", - "label": "模式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "组件的功能模式, 选择查找,返回匹配的单元格;选择替换,返回是否替换成功(Bool)。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "查找", - "value": "0" - }, - { - "label": "替换", - "value": "1" - } - ] - }, - { - "key": "option", - "label": "查找区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "在指定区域内查找内容", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "区域", - "value": "2" - }, - { - "label": "行", - "value": "0" - }, - { - "label": "列", - "value": "1" - }, - { - "label": "已编辑区域", - "value": "3" - } - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "what", - "label": "查找内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要查找的内容,例如:实在智能", - "description": "输入需要查找的内容,如“实在智能”", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "lookAt", - "label": "精确匹配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则将查找内容与整个单元格内容完全一致才算匹配成功", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lookIn", - "label": "查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "-4163", - "placeholder": "", - "description": "查找内容的范围", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "值", - "value": "-4163" - }, - { - "label": "公式", - "value": "-4123" - }, - { - "label": "批注", - "value": "-4144" - } - ] - }, - { - "key": "searchOrder", - "label": "查找顺序", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择按行或列的顺序进行查找", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行", - "value": "1" - }, - { - "label": "按列", - "value": "2" - } - ] - }, - { - "key": "searchDirection", - "label": "查找方向", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择向前或向后查找", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向后", - "value": "1" - }, - { - "label": "向前", - "value": "2" - } - ] - }, - { - "key": "matchCase", - "label": "匹配大小写", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否区分单元格内容中英文字母的大小写", - "advanced": false, - "valueTypes": [] - }, - { - "key": "matchByte", - "label": "匹配字节", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "仅在已选择或安装双字节语言支持时才使用。 勾选则双字节字符仅匹配双字节字符,不勾选则双字节字符与其单字节等效项匹配。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "matchFormat", - "label": "查找格式", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "replacement", - "label": "替换为", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "1 输入需要将查找到的内容替换为,示例:“实在智能RPA”。2 可以为空,为空时,表示将查找到的内容替换为空字符。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "replaceFormat", - "label": "替换格式", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "matchFirst", - "label": "查找数量", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择所有项,查找指定区域中的所有匹配成功的单元格,返回列表;选择第一个,则第一个匹配成功后结束查找;", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "所有项", - "value": "0" - }, - { - "label": "第一个", - "value": "1" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "returnType", - "label": "输出格式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输出格式选择列名和行号,返回列表,第一项为列名,第二项为行号;选择单元格地址,返回字符串,值为单元格地址。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格(列名,行号)", - "value": "0" - }, - { - "label": "单元格地址", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "查找替换结果", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "查找替换结果", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SaveAs", - "name": "另存为Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_operator" - ], - "categorySignature": "excel_operator", - "description": "将目标Excel文件另存为。", - "messageTemplate": "将Excel文件另到 $2 文件名为 $3, 然后把结果保存到 $0", - "baseType": "Excel_Cs_SaveAs", - "functionName": "Excel.Cs_SaveAs", - "functionCalls": [ - { - "function": "Excel.Cs_SaveAs", - "args": [ - "workbook", - "path", - "name", - "close", - "cover", - "share" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "path", - "label": "另存为路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择Excel文件存储路径", - "description": "输入或选择Excel文件存储路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请填写另存的Excel文件名称", - "description": "填写另存的Excel文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_filename" - ] - }, - { - "key": "close", - "label": "保存后关闭", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则保存后将当前打开的Excel文件关闭;对于非可视化运行,该选项将会使“文件对象”释放", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cover", - "label": "覆盖相同文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选则直接覆盖原文件,不勾选则直接在文件名上加“副本”,如“实在智能(副本).xlsx”", - "advanced": false, - "valueTypes": [] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeleteRangeV3", - "name": "删除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel文件指定区域。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中选择区域", - "baseType": "Excel_Cs_DeleteRange", - "functionName": "Excel.Cs_DeleteRangeV3", - "functionCalls": [ - { - "function": "Excel.Cs_DeleteRangeV3", - "args": [ - "workbook", - "sheet", - "excelRng", - "mode", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,为空时表示当前激活Sheet", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mode", - "label": "删除模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "右侧单元格左移", - "placeholder": "", - "description": "删除模式与Excel一致,模式有4种:右侧单元格左移、下侧单元格上移、整行、整列。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "右侧单元格左移", - "value": "右侧单元格左移" - }, - { - "label": "下方单元格上移", - "value": "下方单元格上移" - }, - { - "label": "整行", - "value": "整行" - }, - { - "label": "整列", - "value": "整列" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Loop", - "name": "excel内容循环", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "excel内容循环,并输出给指定变量。", - "messageTemplate": "excel内容循环", - "baseType": "Excel_Loop", - "functionName": "Excel.Loop", - "functionCalls": [ - { - "function": "Excel.Loop", - "args": [ - "objExcel" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_GetLastEmptyCell", - "name": "获取尾部第一个空白单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标Excel文件指定行或列中最后一个空白的单元格。", - "messageTemplate": "获取 $3 { $$3=='指定一列' && '$4'}{$$3=='指定一行' && '$5'} 中获取尾部第一个空白单元格, 然后把结果保存到 $0", - "baseType": "Excel_Cs_GetLastEmptyCell", - "functionName": "Excel.Cs_GetLastEmptyCell", - "functionCalls": [ - { - "function": "Excel.Cs_GetLastEmptyCell", - "args": [ - "workbook", - "sheet", - "range", - "column", - "row" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "获取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "指定一列", - "placeholder": "", - "description": "读取整个Sheet,将读取当前指定Sheet表已编辑区域的总行数;指定一列,将读取指定列中的最后一个空白单元格位置;指定一行,将读取指定行中的最后一个空白单元格位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定一列", - "value": "指定一列" - }, - { - "label": "指定一行", - "value": "指定一行" - } - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel空白单元格位置", - "valueTypes": [ - "rpa_int_row", - "rpa_str_col", - "rpa_int_row" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel空白单元格位置", - "valueTypes": [ - "rpa_int_row", - "rpa_str_col", - "rpa_int_row" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_WriteRowNew", - "name": "写入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将数据写入到目标excel指定的单元格所在行,支持数值/公式等形式,可设置写入后是否保存。", - "messageTemplate": "在Excel对象 $0 中的第 $2 行插入一行内容,$4", - "baseType": "Excel_WriteRow", - "functionName": "Excel.WriteRowNew", - "functionCalls": [ - { - "function": "Excel.WriteRowNew", - "args": [ - "objExcel", - "sheet", - "row", - "column", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入行", - "输入行", - "写入sheet" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "起始列", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[1,'壹',2]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_GetRowData", - "name": "读取行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中,指定单元格所在行的数据,以数组的形式输出到指定变量。", - "messageTemplate": "读取单元格 $3 所在行的值, 然后把结果保存到 $0", - "baseType": "Excel_GetRowData", - "functionName": "Excel.GetRowData", - "functionCalls": [ - { - "function": "Excel.GetRowData", - "args": [ - "objExcel", - "sheet", - "cellPos" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取表格行", - "读取excel行", - "读取工作簿行" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetRangeFont", - "name": "设置区域字体颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定区域的字体颜色。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的字体颜色为 $6", - "baseType": "Excel_Cs_SetRangeFont", - "functionName": "Excel.Cs_SetRangeFont", - "functionCalls": [ - { - "function": "Excel.Cs_SetRangeFont", - "args": [ - "workbook", - "sheet", - "startColumn", - "startRow", - "lastColumn", - "lastRow", - "color", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "B", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "color", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "", - "description": "支持拾取器拾取输入,也支持手动输入,包括[255,255,255]和\"#FFFFFF\"两种格式", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SetRangeFontColor", - "name": "区域字体颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标excel中指定区域的字体颜色,设定区域的起始单元格,可选设置后是否保存。", - "messageTemplate": "设置区域字体 $2 的颜色为 $3", - "baseType": "Excel_SetRangeFontColor", - "functionName": "Excel.SetRangeFontColor", - "functionCalls": [ - { - "function": "Excel.SetRangeFontColor", - "args": [ - "objExcel", - "sheet", - "cellPos", - "cellColor", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "区域字体颜色", - "范围字体颜色" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellColor", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[255,255,255]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadContent", - "name": "读取Excel内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在目标Excel文件读取指定区域内容。", - "messageTemplate": "在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadContent", - "functionName": "Excel.Cs_ReadContent", - "functionCalls": [ - { - "function": "Excel.Cs_ReadContent", - "args": [ - "workbook", - "sheet", - "excelRng", - "decimal" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "decimal", - "label": "读取显示的值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_ReadRange", - "name": "读取区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中的指定区域,并将内容以数组形式输出到指定变量,可设定区域起始格。", - "messageTemplate": "读取区域 $3 的值, 然后把结果保存到 $0", - "baseType": "Excel_ReadRange", - "functionName": "Excel.ReadRange", - "functionCalls": [ - { - "function": "Excel.ReadRange", - "args": [ - "objExcel", - "sheet", - "cellPosRange" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取范围", - "读取表格范围", - "读取excel区域", - "读取工作簿区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPosRange", - "label": "单元格区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_GetColumnId", - "name": "获取Excel列标识", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标excel的列标识,并输出给指定变量。", - "messageTemplate": "获取Excel列标识, 然后把结果保存到 $0", - "baseType": "Excel_GetColumnId", - "functionName": "Excel.GetColumnId", - "functionCalls": [ - { - "function": "Excel.GetColumnId", - "args": [ - "num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "num", - "label": "列数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入列数,例如:1", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列名", - "valueTypes": [ - "rpa_str_col" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列名", - "valueTypes": [ - "rpa_str_col" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetCellFont", - "name": "设置单元格字体颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定单元格的字体颜色。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中单元格 $2$3 的字体颜色为 $4", - "baseType": "Excel_Cs_SetCellFont", - "functionName": "Excel.Cs_SetCellFont", - "functionCalls": [ - { - "function": "Excel.Cs_SetCellFont", - "args": [ - "workbook", - "sheet", - "column", - "row", - "color", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "color", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "请输入或选择颜色值", - "description": "支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_color" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_GetRowDataNew", - "name": "读取行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中,指定单元格所在行的数据,以数组的形式输出到指定变量。", - "messageTemplate": "读取表格 $1 中,$2 中,第 $3 行内容, 然后把结果保存到 $0", - "baseType": "Excel_GetRowData", - "functionName": "Excel.GetRowDataNew", - "functionCalls": [ - { - "function": "Excel.GetRowDataNew", - "args": [ - "objExcel", - "sheet", - "row" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取表格行", - "读取excel行", - "读取工作簿行" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteRowV2", - "name": "写入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将值或列表数据按行(可以设置行开始位置)写入到目标Excel文件指定位置。支持数值/公式。", - "messageTemplate": "在Excel $0 中Sheet表 $1 第 $2 行,第 $3 列, 写入内容 $4", - "baseType": "Excel_Cs_WriteRow", - "functionName": "Excel.Cs_WriteRowV2", - "functionCalls": [ - { - "function": "Excel.Cs_WriteRowV2", - "args": [ - "workbook", - "sheet", - "row", - "column", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "", - "description": "请输入一维列表数据,示例:[123,\"abc\",\"一二三\"]。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadColumnCount", - "name": "读取列数", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件已编辑区域的总列数,并输出至指定变量。", - "messageTemplate": "获取Excel $1 中Sheet表 $2 已编辑区域的总列数, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadColumnCount", - "functionName": "Excel.Cs_ReadColumnCount", - "functionCalls": [ - { - "function": "Excel.Cs_ReadColumnCount", - "args": [ - "workbook", - "sheet", - "range", - "row", - "ignoreHidden" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "读取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "整个Sheet", - "placeholder": "", - "description": "读取整个Sheet,将读取当前指定Sheet表已编辑区域的总列数;指定一行,将读取指定行的已编辑列数。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个Sheet", - "value": "整个Sheet" - }, - { - "label": "指定一行", - "value": "指定一行" - } - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "ignoreHidden", - "label": "仅读取显示的列数", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "适用于读取范围中有筛选或者隐藏等操作,勾选后仅计算显示的行数", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel列数", - "valueTypes": [ - "rpa_int_colNum" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel列数", - "valueTypes": [ - "rpa_int_colNum" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_DeleteRange", - "name": "删除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标excel中指定区域的数据,可设定起始单元格位置。", - "messageTemplate": "删除区域 $2", - "baseType": "Excel_DeleteRange", - "functionName": "Excel.DeleteRange", - "functionCalls": [ - { - "function": "Excel.DeleteRange", - "args": [ - "objExcel", - "sheet", - "cellPos", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除范围", - "删除区域", - "删除表格区域", - "删除excel区域", - "删除工作簿区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Delete", - "name": "删除Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "删除目标Excel文件指定Sheet。", - "messageTemplate": "删除Sheet表 $1", - "baseType": "Excel_Cs_Delete", - "functionName": "Excel.Cs_Delete", - "functionCalls": [ - { - "function": "Excel.Cs_Delete", - "args": [ - "workbook", - "sheet", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_OpenV4", - "name": "打开Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Open", - "functionName": "Excel.Cs_OpenV4", - "functionCalls": [ - { - "function": "Excel.Cs_OpenV4", - "args": [ - "file", - "software", - "show", - "maximize", - "password1", - "password2", - "share", - "autoUpdateLink" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件路径", - "description": "选择或输入Excel文件路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "选择打开Excel的软件,若未安装相应软件可选择不使用软件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - }, - { - "label": "不使用软件", - "value": "None" - } - ] - }, - { - "key": "show", - "label": "显示Excel界面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "关闭此选项可后台静默运行,速度更快", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": true, - "valueTypes": [] - }, - { - "key": "password1", - "label": "打开密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入打开密码", - "description": "用于打开加密Excel文件的密码", - "advanced": true, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "password2", - "label": "编辑密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入编辑密码", - "description": "用于编辑加密Excel文件的密码", - "advanced": true, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - }, - { - "key": "autoUpdateLink", - "label": "更新外部链接", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择如何更新 Excel 文件中的外部链接", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "不更新任何链接", - "value": "0" - }, - { - "label": "更新外部引用链接", - "value": "1" - }, - { - "label": "更新远程数据链接", - "value": "2" - }, - { - "label": "全部更新", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteColumn", - "name": "写入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将值或列表数据按列(可以设置列开始位置)写入到目标Excel文件指定位置。支持数值/公式。", - "messageTemplate": "在Excel $0 中Sheet表 $1 第 $2 列 第 $3行,写入内容 $4", - "baseType": "Excel_Cs_WriteColumn", - "functionName": "Excel.Cs_WriteColumn", - "functionCalls": [ - { - "function": "Excel.Cs_WriteColumn", - "args": [ - "workbook", - "sheet", - "column", - "row", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_ActiveSheet", - "name": "激活sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "激活目标excel中指定的sheet。", - "messageTemplate": "激活工作表 $1", - "baseType": "Excel_ActiveSheet", - "functionName": "Excel.ActiveSheet", - "functionCalls": [ - { - "function": "Excel.ActiveSheet", - "args": [ - "objExcel", - "sheet" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "激活sheet", - "激活工作簿", - "激活工作表" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Export", - "name": "导出Excel为PDF", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_operator" - ], - "categorySignature": "excel_operator", - "description": "将目标Excel文件导出为PDF。", - "messageTemplate": "将Excel导出为PDF并存储到 $2,并命名为 $3", - "baseType": "Excel_Cs_Export", - "functionName": "Excel.Cs_Export", - "functionCalls": [ - { - "function": "Excel.Cs_Export", - "args": [ - "workbook", - "option", - "path", - "name", - "cover" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "option", - "label": "Sheet名称", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "全部", - "placeholder": "", - "description": "输入包含文件后缀的文件名,示例:\"测试文档.xls”、”测试文档.xlsx”", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部", - "value": "全部" - }, - { - "label": "激活页", - "value": "激活页" - } - ] - }, - { - "key": "path", - "label": "导出路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或填写Excel文件导出路径", - "description": "选择或填写Excel文件导出路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文件名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_filename" - ] - }, - { - "key": "cover", - "label": "覆盖相同文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选则直接覆盖原文件,不勾选则直接在文件名上加“副本”,如“实在智能(副本).pdf”", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteCellV2", - "name": "写入单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将数据写入到目标Excel文件指定单元格。支持数值/公式。", - "messageTemplate": "在Excel $0 中Sheet表 $1 第 $2列,第 $3 行,写入内容 $4", - "baseType": "Excel_Cs_WriteCell", - "functionName": "Excel.Cs_WriteCellV2", - "functionCalls": [ - { - "function": "Excel.Cs_WriteCellV2", - "args": [ - "workbook", - "sheet", - "column", - "row", - "content", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "实在智能", - "placeholder": "", - "description": "请输入一段文本,示例:“实在智能”", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_WriteCellNew", - "name": "写入单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将数据写入到目标excel指定的单元格中,支持数值/公式等形式,可设置写入后是否保存。", - "messageTemplate": "在Excel对象 $0 中的单元格,第 $2 行,第 $3 列中写入内容 $4 ", - "baseType": "Excel_WriteCell", - "functionName": "Excel.WriteCellNew", - "functionCalls": [ - { - "function": "Excel.WriteCellNew", - "args": [ - "objExcel", - "sheet", - "row", - "column", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入单元格", - "输入单元格", - "写入sheet" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_MergeCellsV2", - "name": "合并单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将表格中指定区域合并单元格或取消合并单元格。", - "messageTemplate": "将Excel $0 Sheet表 $1 中指定区域 { $$2=='0' && '合并'} { $$2=='1' && '取消合并'}", - "baseType": "Excel_Cs_MergeCells", - "functionName": "Excel.Cs_MergeCellsV2", - "functionCalls": [ - { - "function": "Excel.Cs_MergeCellsV2", - "args": [ - "workbook", - "sheet", - "merge", - "excelRng", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "merge", - "label": "合并/取消合并", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择合并或取消合并指定的区域", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "合并", - "value": "0" - }, - { - "label": "取消合并", - "value": "1" - } - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ShowTableStyle", - "name": "设置Excel表格样式", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置表格样式选项(超级表、PQ)。", - "messageTemplate": "设置 Excel $0 Sheet $1中 表格 $3 的显示样式", - "baseType": "Excel_Cs_ShowTableStyle", - "functionName": "Excel.Cs_ShowTableStyle", - "functionCalls": [ - { - "function": "Excel.Cs_ShowTableStyle", - "args": [ - "workbook", - "sheet", - "table", - "headerRow", - "totalRow", - "firstColumn", - "lastColumn", - "filterButton", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置", - "配置", - "设定", - "调配", - "设置好", - "表格", - "数据表", - "表格数据" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "table", - "label": "表格名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "在Excel中创建表格(超级表、PQ)后显示的名称", - "advanced": false, - "valueTypes": [] - }, - { - "key": "headerRow", - "label": "标题行", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "取消或启用表格的标题行", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "取消", - "value": "0" - }, - { - "label": "启用", - "value": "1" - } - ] - }, - { - "key": "totalRow", - "label": "汇总行", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "取消或启用表格的汇总行", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "取消", - "value": "0" - }, - { - "label": "启用", - "value": "1" - } - ] - }, - { - "key": "firstColumn", - "label": "第一列", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "取消或启用表格第一列的特殊格式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "取消", - "value": "0" - }, - { - "label": "启用", - "value": "1" - } - ] - }, - { - "key": "lastColumn", - "label": "最后一列", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "取消或启用表格最后一列的特殊格式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "取消", - "value": "0" - }, - { - "label": "启用", - "value": "1" - } - ] - }, - { - "key": "filterButton", - "label": "筛选按钮", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "取消或启用表格的筛选状态", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "取消", - "value": "0" - }, - { - "label": "启用", - "value": "1" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_CopyRangeV3", - "name": "复制表格内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "复制目标Excel文件指定区域的内容。", - "messageTemplate": "复制Excel $0 Sheet表 $1 中选取的内容", - "baseType": "Excel_Cs_CopyRange", - "functionName": "Excel.Cs_CopyRangeV3", - "functionCalls": [ - { - "function": "Excel.Cs_CopyRangeV3", - "args": [ - "workbook", - "sheet", - "excelRng" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制", - "拷贝", - "复件", - "仿制", - "表格", - "数据表", - "表格数据", - "数据表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Close", - "name": "关闭Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "关闭目标Excel文件。", - "messageTemplate": "关闭 $0", - "baseType": "Excel_Cs_Close", - "functionName": "Excel.Cs_Close", - "functionCalls": [ - { - "function": "Excel.Cs_Close", - "args": [ - "workbook", - "save", - "close" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "close", - "label": "关闭软件", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择当前,只关闭当前的文件;选择全部,关闭所有已打开的文件", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ClearRangeV2", - "name": "清除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "清除目标Excel指定区域。", - "messageTemplate": "清除Excel $0 Sheet表 $1 中选择区域的内容", - "baseType": "Excel_Cs_ClearRange", - "functionName": "Excel.Cs_ClearRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_ClearRangeV2", - "args": [ - "workbook", - "sheet", - "range", - "mode", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mode", - "label": "是否清除格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "是", - "placeholder": "", - "description": "选择是,则清除区域数据的同时,字号大小颜色、单元格颜色等格式,将被还原成默认值;选择否,保留区域格式,只清除数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "是" - }, - { - "label": "否", - "value": "否" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SelectRangeV3", - "name": "选中区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "选中目标Excel文件指定区域。", - "messageTemplate": "在Excel $0 Sheet表 $1 中选择区域", - "baseType": "Excel_Cs_SelectRange", - "functionName": "Excel.Cs_SelectRangeV3", - "functionCalls": [ - { - "function": "Excel.Cs_SelectRangeV3", - "args": [ - "workbook", - "sheet", - "excelRng", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,为空时表示当前激活Sheet", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在 Excel 中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_AutoFillV2", - "name": "自动填充", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将目标Excel的指定源区域按Excel规则自动填充到目标区域。", - "messageTemplate": "将 Excel $1 源区域自动填充到目标区域", - "baseType": "Excel_Cs_AutoFill", - "functionName": "Excel.Cs_AutoFillV2", - "functionCalls": [ - { - "function": "Excel.Cs_AutoFillV2", - "args": [ - "workbook", - "sheet", - "excelRng", - "destination", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "excelRng", - "label": "源区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "destination", - "label": "填充区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "待填充数据的目标单元格区域。1、填充固定区域时,起始和结束的列名必须与源区域一致,如起始列都是A列,结束列都是D列;2、填充固定数量时,数量=源区域数量+自动填充的数量。如源区域数量为2,自动填充50行,则数量应填写52。向上下填充最大数量为1048576,向左右填充最大数量为16384。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_DeleteRow", - "name": "删除行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标excel指定的单元格所在行,可设置删除后是否保存。", - "messageTemplate": "删除行 $2", - "baseType": "Excel_DeleteRow", - "functionName": "Excel.DeleteRow", - "functionCalls": [ - { - "function": "Excel.DeleteRow", - "args": [ - "objExcel", - "sheet", - "cellPos", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除行", - "删除工作簿行", - "删除excel行", - "删除表格行" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteCell", - "name": "写入单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将数据写入到目标Excel文件指定单元格。支持数值/公式。", - "messageTemplate": "在Excel $0 中Sheet表 $1 第 $2行,第 $3 列,写入内容 $4", - "baseType": "Excel_Cs_WriteCell", - "functionName": "Excel.Cs_WriteCell", - "functionCalls": [ - { - "function": "Excel.Cs_WriteCell", - "args": [ - "workbook", - "sheet", - "row", - "column", - "content", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "content", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "实在智能", - "placeholder": "请输入单元格内容", - "description": "输入单元格内容", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ClearExcelFilter", - "name": "清除Excel数据筛选", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "清除Excel软件中数据筛选条件。", - "messageTemplate": "清除 Excel $0 Sheet表中数据筛选条件", - "baseType": "Excel_Cs_ClearExcelFilter", - "functionName": "Excel.Cs_ClearExcelFilter", - "functionCalls": [ - { - "function": "Excel.Cs_ClearExcelFilter", - "args": [ - "workbook", - "sheet", - "option", - "column", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "option", - "label": "清除方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "清除 Excel 中指定范围的筛选条件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定一列", - "value": "0" - }, - { - "label": "全部", - "value": "1" - } - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Close", - "name": "关闭excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "关闭目标excel文档,可选择是否保存再关闭。", - "messageTemplate": "关闭Excel", - "baseType": "Excel_Close", - "functionName": "Excel.Close", - "functionCalls": [ - { - "function": "Excel.Close", - "args": [ - "objExcel", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭excel", - "关闭工作簿", - "关闭表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_InsertRow", - "name": "插入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标excel指定的单元格所在行的上面,插入一行数据,可设定插入后是否保存。", - "messageTemplate": "在索引或工作表为 $1 中的 $2 之前插入一行数据", - "baseType": "Excel_InsertRow", - "functionName": "Excel.InsertRow", - "functionCalls": [ - { - "function": "Excel.InsertRow", - "args": [ - "objExcel", - "sheet", - "cellPos", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "插入行", - "工作簿插入行", - "excel插入行", - "表格插入行" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Rename", - "name": "重命名Sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "将目标Excel文件指定Sheet进行重命名。", - "messageTemplate": "将Sheet表 $1 重命名为 $2", - "baseType": "Excel_Cs_Rename", - "functionName": "Excel.Cs_Rename", - "functionCalls": [ - { - "function": "Excel.Cs_Rename", - "args": [ - "workbook", - "sheet", - "newSheet", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "原Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "newSheet", - "label": "新Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "newSheet", - "placeholder": "请输入新工作表名称,例如:newSheet", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetCellBackground", - "name": "设置单元格背景颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定单元格的背景颜色。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中单元格 $2$3 的背景颜色为 $4", - "baseType": "Excel_Cs_SetCellBackground", - "functionName": "Excel.Cs_SetCellBackground", - "functionCalls": [ - { - "function": "Excel.Cs_SetCellBackground", - "args": [ - "workbook", - "sheet", - "column", - "row", - "color", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "color", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "请输入或选择颜色值", - "description": "支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_color" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SetColumnWidth", - "name": "设置列宽", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标excel中指定单元格所在列的列宽,可设置设定宽度后是否保存。", - "messageTemplate": "设置工作表 $1 中单元格 $2 所在列宽为 $3", - "baseType": "Excel_SetColumnWidth", - "functionName": "Excel.SetColumnWidth", - "functionCalls": [ - { - "function": "Excel.SetColumnWidth", - "args": [ - "objExcel", - "sheet", - "cellPos", - "width", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "列宽", - "excel列宽", - "工作簿列宽", - "表格列宽" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "width", - "label": "列宽", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "8.38", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SetRowHeight", - "name": "设置行高", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标excel中指定单元格所在行的行高,可设置设定行高后是否保存。", - "messageTemplate": "设置工作表 $1 中单元格 $2 所在行高为 $3", - "baseType": "Excel_SetRowHeight", - "functionName": "Excel.SetRowHeight", - "functionCalls": [ - { - "function": "Excel.SetRowHeight", - "args": [ - "objExcel", - "sheet", - "cellPos", - "height", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "行高", - "excel行高", - "工作簿行高", - "表格行高" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "height", - "label": "行高", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "8.38", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_ReadCell", - "name": "读取单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中的单元格,并将内容以字符串形式输出到指定变量。", - "messageTemplate": "读取单元格 $3 的值, 然后把结果保存到 $0", - "baseType": "Excel_ReadCell", - "functionName": "Excel.ReadCell", - "functionCalls": [ - { - "function": "Excel.ReadCell", - "args": [ - "objExcel", - "sheet", - "cellPos" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取单元格", - "单元格内容" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Save", - "name": "保存Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "保存目标Excel文件,如果文件存在将会覆盖。", - "messageTemplate": "保存 $0", - "baseType": "Excel_Cs_Save", - "functionName": "Excel.Cs_Save", - "functionCalls": [ - { - "function": "Excel.Cs_Save", - "args": [ - "workbook", - "close" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "close", - "label": "保存后关闭", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则保存后将当前打开的Excel文件关闭;对于非可视化运行,该选项将会使“文件对象”释放", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SetCellColor", - "name": "单元格背景颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标excel中指定单元格的背景颜色,可选设置后是否保存。", - "messageTemplate": "设置单元格 $2 的颜色为 $3", - "baseType": "Excel_SetCellColor", - "functionName": "Excel.SetCellColor", - "functionCalls": [ - { - "function": "Excel.SetCellColor", - "args": [ - "objExcel", - "sheet", - "cellPos", - "cellColor", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "单元格颜色", - "单元格背景色" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellColor", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[255,255,255]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteRow", - "name": "写入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将值或列表数据按行(可以设置行开始位置)写入到目标Excel文件指定位置。支持数值/公式。", - "messageTemplate": "在Excel $0 中Sheet表 $1 第 $3 行,第 $2 列, 写入内容 $4", - "baseType": "Excel_Cs_WriteRow", - "functionName": "Excel.Cs_WriteRow", - "functionCalls": [ - { - "function": "Excel.Cs_WriteRow", - "args": [ - "workbook", - "sheet", - "column", - "row", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "请输入列表类型数据或变量", - "description": "输入列表类型数据或变量", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadRangeV2", - "name": "读取区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件的指定区域,并将内容以列表的形式输出到指定变量(示例:[[123,\"abc\"],[456,\"def\"]])。", - "messageTemplate": "读取Excel $1 Sheet表 $2 的选择区域, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadRange", - "functionName": "Excel.Cs_ReadRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_ReadRangeV2", - "args": [ - "workbook", - "sheet", - "range", - "decimal" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "decimal", - "label": "读取显示的值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel区域数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel区域数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ClearRange", - "name": "清除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "清除目标Excel指定区域。", - "messageTemplate": "清除Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的内容", - "baseType": "Excel_Cs_ClearRange", - "functionName": "Excel.Cs_ClearRange", - "functionCalls": [ - { - "function": "Excel.Cs_ClearRange", - "args": [ - "workbook", - "sheet", - "startRow", - "startColumn", - "lastRow", - "lastColumn", - "mode", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mode", - "label": "是否清除格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "是", - "placeholder": "", - "description": "若选择清除区域格式,则字号大小颜色、单元格填充颜色等样式将被还原默认值", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "是" - }, - { - "label": "否", - "value": "否" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_GetName", - "name": "获取Sheet名", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "获取目标Excel文件Sheet工作表名称。可以获取当前激活Sheet或全部Sheet,获取当前激活Sheet,将返回一个字符串,示例:\"Sheet1\"。获取全部Sheet,将返回一个列表,示例:[\"Sheet1\",\"Sheet2\",\"Sheet3\"]。", - "messageTemplate": "获取Sheet表名称, 然后把结果保存到 $0", - "baseType": "Excel_Cs_GetName", - "functionName": "Excel.Cs_GetName", - "functionCalls": [ - { - "function": "Excel.Cs_GetName", - "args": [ - "workbook", - "range" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "range", - "label": "获取范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "全部", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部", - "value": "全部" - }, - { - "label": "当前激活页", - "value": "当前激活页" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "sheet名称", - "valueTypes": [ - "rpa_list", - "rpa_str_sheetName" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "sheet名称", - "valueTypes": [ - "rpa_list", - "rpa_str_sheetName" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_PastRangeV2", - "name": "粘贴表格内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将内容粘贴至目标Excel文件指定区域。", - "messageTemplate": "粘贴至Excel $0 Sheet表 $1 中选取的区域", - "baseType": "Excel_Cs_PastRange", - "functionName": "Excel.Cs_PastRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_PastRangeV2", - "args": [ - "workbook", - "sheet", - "column", - "row", - "pasteType", - "pasteOperation", - "skipBlanks", - "transpose", - "save", - "visible" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "表格", - "数据表", - "表格数据", - "数据表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "pasteType", - "label": "选择性粘贴", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "-4104", - "placeholder": "", - "description": "选择粘贴类型,当打开文件时选择【不使用软件】选项,部分粘贴类型不支持,请参考说明文档", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部", - "value": "-4104" - }, - { - "label": "公式", - "value": "-4123" - }, - { - "label": "数值", - "value": "-4163" - }, - { - "label": "格式", - "value": "-4122" - }, - { - "label": "批注", - "value": "-4144" - }, - { - "label": "有效性验证", - "value": "6" - }, - { - "label": "所有使用源主题的单元", - "value": "13" - }, - { - "label": "边框除外", - "value": "7" - }, - { - "label": "列宽", - "value": "8" - }, - { - "label": "公式和数字格式", - "value": "11" - }, - { - "label": "值和数字格式", - "value": "12" - }, - { - "label": "所有合并条件格式", - "value": "14" - } - ] - }, - { - "key": "pasteOperation", - "label": "粘贴运算", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "-4142", - "placeholder": "", - "description": "选择粘贴运算方式,当打开文件时选择【不使用软件】选项,该选项暂不支持", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "-4142" - }, - { - "label": "加", - "value": "2" - }, - { - "label": "减", - "value": "3" - }, - { - "label": "乘", - "value": "4" - }, - { - "label": "除", - "value": "5" - } - ] - }, - { - "key": "skipBlanks", - "label": "跳过空单元格", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否跳过空单元格,当打开文件时选择【不使用软件】选项,该选项暂不支持", - "advanced": false, - "valueTypes": [] - }, - { - "key": "transpose", - "label": "转置", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否转置,当打开文件时选择【不使用软件】选项,该选项暂不支持", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "visible", - "label": "粘贴值到可见单元格", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择此项,则只粘贴值且目标区域的行号与源区域保持一致", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadRow", - "name": "读取行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件的指定行,并将内容以列表的形式输出到指定变量(示例:[123,\"abc\"])。", - "messageTemplate": "读取Excel $1 中Sheet表 $2,第 $3 行的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadRow", - "functionName": "Excel.Cs_ReadRow", - "functionCalls": [ - { - "function": "Excel.Cs_ReadRow", - "args": [ - "workbook", - "sheet", - "rowIndex", - "decimal" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "rowIndex", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "decimal", - "label": "读取显示的值", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel行数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel行数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ColumnSplit", - "name": "Excel分列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定列分列。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中列名为 $2 的列进行分列", - "baseType": "Excel_Cs_ColumnSplit", - "functionName": "Excel.Cs_ColumnSplit", - "functionCalls": [ - { - "function": "Excel.Cs_ColumnSplit", - "args": [ - "workbook", - "sheet", - "column", - "textFormat", - "width", - "tab", - "semicolon", - "comma", - "space", - "other", - "otherChar", - "consecutiveDelimiter" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "仅支持单列,支持输入A或1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "textFormat", - "label": "分列规则", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "分隔符号", - "placeholder": "", - "description": "分隔符号:通过指定符号分隔,勾选多个存在一个即分隔。固定宽度:根据字符长度分隔。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "width", - "label": "字符长度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "单元格内容长度,通常一个中文字为两个字符,一个数字、英文、字符为一个字符。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "tab", - "label": "Tab键", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "semicolon", - "label": "分号", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "comma", - "label": "逗号", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "space", - "label": "空格", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "other", - "label": "其他", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "otherChar", - "label": "otherChar", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "consecutiveDelimiter", - "label": "连续分隔符号视为单个处理", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Sort", - "name": "Excel数据排序", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "对目标Excel文件指定区域进行数据排序。", - "messageTemplate": "对Excel $0 Sheet表 $1 中数据进行排序", - "baseType": "Excel_Cs_Sort", - "functionName": "Excel.Cs_Sort", - "functionCalls": [ - { - "function": "Excel.Cs_Sort", - "args": [ - "workbook", - "sheet", - "sortRange", - "sortOrder", - "region", - "header", - "rule", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sortRange", - "label": "排序范围", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sortOrder", - "label": "排序方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择数据排序方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "升序", - "value": "1" - }, - { - "label": "降序", - "value": "2" - }, - { - "label": "自定义", - "value": "3" - } - ] - }, - { - "key": "region", - "label": "扩展选定区域", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "排序范围选择行或列时有效", - "advanced": false, - "valueTypes": [] - }, - { - "key": "header", - "label": "首行参与排序", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否对首行进行排序", - "advanced": false, - "valueTypes": [] - }, - { - "key": "rule", - "label": "排序规则", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ExcelAddin", - "name": "数据处理", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "执行在数据处理中录制的数据操作。", - "messageTemplate": "$1", - "baseType": "Excel_Cs_ExcelAddin", - "functionName": "Excel.Cs_ExcelAddin", - "functionCalls": [ - { - "function": "Excel.Cs_ExcelAddin", - "args": [ - "workbook", - "name", - "code", - "args", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "name", - "label": "名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "数据操作", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "code", - "label": "代码", - "widget": "textarea", - "type": "string", - "displayType": "multipleTextArea", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "args", - "label": "args", - "widget": "textarea", - "type": "string", - "displayType": "inputItemArray", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadCellBackground", - "name": "获取单元格背景色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标Excel文件指定单元格的背景颜色。", - "messageTemplate": "获取 Excel $1 中Sheet表 $2,第 $4 行,第 $3 列的背景颜色, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadCellBackground", - "functionName": "Excel.Cs_ReadCellBackground", - "functionCalls": [ - { - "function": "Excel.Cs_ReadCellBackground", - "args": [ - "workbook", - "sheet", - "column", - "row", - "colorType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str_col", - "rpa_int", - "rpa_str" - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "colorType", - "label": "颜色格式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回颜色的格式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "RGB", - "value": "0" - }, - { - "label": "十六进制", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel单元格背景色", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel单元格背景色", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_RenameSheet", - "name": "重命名sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "将目标excel文档中指定名称的sheet改为其他名称,可设定原名和新名。", - "messageTemplate": "将工作表 $1 重命名为 $2", - "baseType": "Excel_RenameSheet", - "functionName": "Excel.RenameSheet", - "functionCalls": [ - { - "function": "Excel.RenameSheet", - "args": [ - "objExcel", - "sheet", - "newSheet", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "sheet改名", - "改工作表名称", - "改工作簿名称" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "原表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "newSheet", - "label": "新表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "newName", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertPictureV2", - "name": "插入图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置插入图片,并可以设置图片大小和位置。", - "messageTemplate": "在Excel $0 Sheet表 $1 中插入图片 $2", - "baseType": "Excel_Cs_InsertPicture", - "functionName": "Excel.Cs_InsertPictureV2", - "functionCalls": [ - { - "function": "Excel.Cs_InsertPictureV2", - "args": [ - "workbook", - "sheet", - "path", - "column", - "row", - "left", - "top", - "width", - "height", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "path", - "label": "图片对象", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_file" - ] - }, - { - "key": "column", - "label": "插入单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "插入单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "left", - "label": "向右移动距离", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "插入图片距离插入单元格左边缘向右移动的距离,单位像素(常用分辨率为1920*1080像素)", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "top", - "label": "向下移动距离", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "插入图片距离插入单元格上边缘向下移动的距离,单位像素(常用分辨率为1920*1080像素)", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "width", - "label": "图片宽度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "100", - "placeholder": "", - "description": "默认读取插入图片的宽度,也可以设置以像素为单位的图片宽度", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "height", - "label": "图片高度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "100", - "placeholder": "", - "description": "默认读取插入图片的高度,也可以设置以像素为单位的图片高度", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_FilterPivotTable", - "name": "筛选Excel数据透视表", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "筛选Excel文件中数据透视表的数据。", - "messageTemplate": "筛选Excel $0 中 $1 $2 的数据", - "baseType": "Excel_Cs_FilterPivotTable", - "functionName": "Excel.Cs_FilterPivotTable", - "functionCalls": [ - { - "function": "Excel.Cs_FilterPivotTable", - "args": [ - "workbook", - "sheet", - "pivotTable", - "field", - "fieldValue", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pivotTable", - "label": "透视表名称", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入数据透视表名称,或选择新建Excel数据透视表返回的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "field", - "label": "筛选字段", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入筛选字段名称,支持选择字符串类型变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "fieldValue", - "label": "筛选内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "输入筛选内容,支持列表类型变量。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SelectRange", - "name": "选中区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "选中目标excel中指定区域,可设定起始单元格位置。", - "messageTemplate": "在索引或工作表为 $1 中选中区域 $2", - "baseType": "Excel_SelectRange", - "functionName": "Excel.SelectRange", - "functionCalls": [ - { - "function": "Excel.SelectRange", - "args": [ - "objExcel", - "sheet", - "cellPos" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "选中范围", - "选中表格区域", - "选中excel区域", - "选中工作簿区域" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "区域", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1:B2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_SaveAs", - "name": "另存excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将目标excel文档,按当前文件的文件名,保存到指定的路径。", - "messageTemplate": "excel另存为 $1", - "baseType": "Excel_SaveAs", - "functionName": "Excel.SaveAs", - "functionCalls": [ - { - "function": "Excel.SaveAs", - "args": [ - "objExcel", - "filename", - "isAbsolutePath" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "另存为excel", - "另存为工作簿", - "另存为表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "isAbsolutePath", - "label": "是否绝对路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_RunMacroV2", - "name": "执行宏", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "执行在目标Excel已录制的宏。使用组件前请确保已在Excel中录制宏,本次将要执行哪个宏。", - "messageTemplate": "$2", - "baseType": "Excel_Cs_RunMacro", - "functionName": "Excel.Cs_RunMacroV2", - "functionCalls": [ - { - "function": "Excel.Cs_RunMacroV2", - "args": [ - "workbook", - "mode", - "script", - "code", - "args", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "电子表格", - "Excel文件", - "表格处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mode", - "label": "执行方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择名称,则执行Excel文件对象中已录制的宏;选择代码,则执行输入的VBA代码", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "名称", - "value": "0" - }, - { - "label": "代码", - "value": "1" - } - ] - }, - { - "key": "script", - "label": "名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "宏1", - "placeholder": "", - "description": "输入在Excel文件中已存在的宏名称或流程所在文件夹Excel组件vb目录下存在的宏模块", - "advanced": false, - "valueTypes": [] - }, - { - "key": "code", - "label": "VBA代码", - "widget": "textarea", - "type": "string", - "displayType": "multipleTextArea", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入要执行的VBA代码", - "advanced": false, - "valueTypes": [] - }, - { - "key": "args", - "label": "宏参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "宏参数 格式:[参数1,参数2]", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Hide", - "name": "隐藏/显示行列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定行、列进行隐藏。", - "messageTemplate": "将Excel $0 Sheet表 $1 中 { $$3 == '行' && '行号 $4 设置为' } { $$3 == '列' && '列名 $5 设置为' }{ $$2 == '隐藏' && '隐藏' } { $$2 == '显示' && '显示' }", - "baseType": "Excel_Cs_Hide", - "functionName": "Excel.Cs_Hide", - "functionCalls": [ - { - "function": "Excel.Cs_Hide", - "args": [ - "workbook", - "sheet", - "mode", - "range", - "row", - "column", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "mode", - "label": "隐藏/显示", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "隐藏", - "placeholder": "", - "description": "选择隐藏或显示指定的行或列", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "隐藏", - "value": "隐藏" - }, - { - "label": "显示", - "value": "显示" - } - ] - }, - { - "key": "range", - "label": "隐藏区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "行", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行", - "value": "行" - }, - { - "label": "列", - "value": "列" - } - ] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "1", - "placeholder": "支持单行输入1,多行输入[1,3]", - "description": "(表)支持单行输入1,多行输入[1,3]", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_list", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "dependencyShow", - "required": true, - "defaultValue": "A", - "placeholder": "支持单列输入A,多列输入[A,C]", - "description": "(表)支持单列输入A,多列输入[A,C]", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col", - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_PastRange", - "name": "粘贴表格内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将内容粘贴至目标Excel文件指定区域。", - "messageTemplate": "粘贴至Excel $0 Sheet表 $1 中选取的区域", - "baseType": "Excel_Cs_PastRange", - "functionName": "Excel.Cs_PastRange", - "functionCalls": [ - { - "function": "Excel.Cs_PastRange", - "args": [ - "workbook", - "sheet", - "column", - "row", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "row", - "label": "单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetSlicer", - "name": "Excel切片器", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置Excel文件中切片器的选项。", - "messageTemplate": "设置 Excel $0 中切片器 $1 的选项为 $2", - "baseType": "Cs_SetSlicer", - "functionName": "Excel.Cs_SetSlicer", - "functionCalls": [ - { - "function": "Excel.Cs_SetSlicer", - "args": [ - "workbook", - "slicerName", - "slicerOptions", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "slicerName", - "label": "切片器名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择切片器,鼠标右键,然后设置切片器选项中查看名称字段", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "slicerOptions", - "label": "切片器选项", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入需要选中的切片器选项,需要选择多个,请输入选项列表,例:[选项1,选项2],为空表示选中所有项", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteContent", - "name": "写入Excel内容", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在目标Excel文件指定区域写入内容。", - "messageTemplate": "在 Excel $0 的Sheet表 $1 指定区域写入内容 $3", - "baseType": "Excel_Cs_WriteContent", - "functionName": "Excel.Cs_WriteContent", - "functionCalls": [ - { - "function": "Excel.Cs_WriteContent", - "args": [ - "workbook", - "sheet", - "excelRng", - "content", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入", - "写入到", - "写入数据", - "写进", - "录入", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "excelRng", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "写入单元格时输入文本,例:“实在智能”;写入行或列时输入一维列表数据,示例:[123,\"abc\",\"一二三\"];写入区域时输入二维列表数据,示例:[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_EnableExcelFilter", - "name": "取消Excel数据筛选", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "取消Excel软件中数据筛选。", - "messageTemplate": "取消 Excel $0 Sheet表中数据筛选", - "baseType": "Excel_Cs_EnableExcelFilter", - "functionName": "Excel.Cs_EnableExcelFilter", - "functionCalls": [ - { - "function": "Excel.Cs_EnableExcelFilter", - "args": [ - "workbook", - "sheet", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SelectRangeV2", - "name": "选中区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "选中目标Excel文件指定区域。", - "messageTemplate": "在Excel $0 Sheet表 $1 中选择区域", - "baseType": "Excel_Cs_SelectRange", - "functionName": "Excel.Cs_SelectRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_SelectRangeV2", - "args": [ - "workbook", - "sheet", - "range", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_FindV2", - "name": "Excel查找/替换", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "在Excel软件中指定区域进行数据查找或替换,并返回查找到的数据位置。", - "messageTemplate": "使用Excel软件查找/替换 $1 中 Sheet表 $2 指定区域的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Find", - "functionName": "Excel.Cs_FindV2", - "functionCalls": [ - { - "function": "Excel.Cs_FindV2", - "args": [ - "workbook", - "sheet", - "mode", - "option", - "range", - "row", - "column", - "what", - "lookAt", - "lookIn", - "searchOrder", - "searchDirection", - "matchCase", - "matchByte", - "matchFormat", - "replacement", - "replacementType", - "replaceFormat", - "matchFirst", - "save", - "returnType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mode", - "label": "模式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "组件的功能模式, 选择查找,返回匹配的单元格;选择替换,返回是否替换成功(Bool)。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "查找", - "value": "0" - }, - { - "label": "替换", - "value": "1" - } - ] - }, - { - "key": "option", - "label": "查找区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "在指定区域内查找内容, 已编辑区域:四个有内容的单元格围成的矩形区域", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "区域", - "value": "2" - }, - { - "label": "行", - "value": "0" - }, - { - "label": "列", - "value": "1" - }, - { - "label": "已编辑区域", - "value": "3" - } - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_int_row", - "rpa_str" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int_row" - ] - }, - { - "key": "what", - "label": "查找内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要查找的内容,例如:实在智能", - "description": "输入需要查找的内容,如“实在智能”", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "lookAt", - "label": "精确匹配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则将查找内容与整个单元格内容完全一致才算匹配成功", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lookIn", - "label": "查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "-4163", - "placeholder": "", - "description": "查找内容的范围", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "值", - "value": "-4163" - }, - { - "label": "公式", - "value": "-4123" - }, - { - "label": "批注", - "value": "-4144" - } - ] - }, - { - "key": "searchOrder", - "label": "查找顺序", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择按行或列的顺序进行查找", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "按行", - "value": "1" - }, - { - "label": "按列", - "value": "2" - } - ] - }, - { - "key": "searchDirection", - "label": "查找方向", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "向后:列由上到下,行由左到右;向前:列由下到上,行由右到左", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向后", - "value": "1" - }, - { - "label": "向前", - "value": "2" - } - ] - }, - { - "key": "matchCase", - "label": "匹配大小写", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否区分单元格内容中英文字母的大小写", - "advanced": false, - "valueTypes": [] - }, - { - "key": "matchByte", - "label": "匹配字节", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "仅在已选择或安装双字节语言支持时才使用。 勾选则双字节字符仅匹配双字节字符,不勾选则双字节字符与其单字节等效项匹配。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "matchFormat", - "label": "查找格式", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "replacement", - "label": "替换为", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入需要将查找到的单元格替换的内容,示例:“实在智能RPA”。2 可以为空,为空时,表示将查找到的内容替换为空字符。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "replacementType", - "label": "替换方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择仅替换查找的内容或替换整个单元格", - "advanced": false, - "valueTypes": [ - "rpa_int" - ], - "options": [ - { - "label": "查找的内容", - "value": "0" - }, - { - "label": "整个单元格", - "value": "1" - } - ] - }, - { - "key": "replaceFormat", - "label": "替换格式", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "matchFirst", - "label": "查找数量", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择所有项,查找指定区域中的所有匹配成功的单元格,返回列表;选择第一个,则第一个匹配成功后结束查找;", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "所有项", - "value": "0" - }, - { - "label": "第一个", - "value": "1" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "returnType", - "label": "输出格式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "单元格(列名,行号):返回列表,列表中的值为列表类型的单元格地址,例如:[[‘A’,1],[‘B’,2],[‘C’,3]];单元格地址,返回列表数据,列表中的值为字符串类型的单元格地址,例如:[‘A1’,’B2’,’C3’]", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单元格(列名,行号)", - "value": "0" - }, - { - "label": "单元格地址", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "查找替换结果", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "查找替换结果", - "valueTypes": [ - "rpa_list", - "rpa_str", - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_ExecuteMacro", - "name": "执行宏", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标excel的指定sheet中执行宏,可自定义宏,并设置宏的参数(仅支持启动宏的.xlsm格式文件)。", - "messageTemplate": "执行宏 $2 , 然后把结果保存到 $0", - "baseType": "Excel_ExecuteMacro", - "functionName": "Excel.ExecuteMacro", - "functionCalls": [ - { - "function": "Excel.ExecuteMacro", - "args": [ - "objExcel", - "macroName", - "macroArgs" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "宏", - "执行宏", - "宏定义" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "macroName", - "label": "宏定义", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "macroArgs", - "label": "宏参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SortV1", - "name": "Excel数据排序", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "对目标Excel文件指定区域进行数据排序。", - "messageTemplate": "对Excel $0 Sheet表 $1 中数据进行排序", - "baseType": "Excel_Cs_Sort", - "functionName": "Excel.Cs_SortV1", - "functionCalls": [ - { - "function": "Excel.Cs_SortV1", - "args": [ - "workbook", - "sheet", - "sortRange", - "sortOrder", - "region", - "header", - "rule", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sortRange", - "label": "排序范围", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sortOrder", - "label": "排序方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择数据排序方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "升序", - "value": "1" - }, - { - "label": "降序", - "value": "2" - }, - { - "label": "自定义", - "value": "3" - } - ] - }, - { - "key": "region", - "label": "扩展选定区域", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "排序范围选择行或列时有效", - "advanced": false, - "valueTypes": [] - }, - { - "key": "header", - "label": "首行参与排序", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否对首行进行排序", - "advanced": false, - "valueTypes": [] - }, - { - "key": "rule", - "label": "排序规则", - "widget": "text", - "type": "string", - "displayType": "excelRule", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetRangeBackground", - "name": "设置区域背景颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定区域的背景颜色。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的背景颜色为 $6", - "baseType": "Excel_Cs_SetRangeBackground", - "functionName": "Excel.Cs_SetRangeBackground", - "functionCalls": [ - { - "function": "Excel.Cs_SetRangeBackground", - "args": [ - "workbook", - "sheet", - "startColumn", - "startRow", - "lastColumn", - "lastRow", - "color", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "B", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "color", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "", - "description": "支持拾取器拾取输入,也支持手动输入,包括[255,255,255]和\"#FFFFFF\"两种格式", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_LoadV2", - "name": "获取已打开Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_operator" - ], - "categorySignature": "excel_operator", - "description": "获取当前已打开的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "获取 $1 的Excel文件, 然后把结果保存到 $0", - "baseType": "Cs_Load", - "functionName": "Excel.Cs_LoadV2", - "functionCalls": [ - { - "function": "Excel.Cs_LoadV2", - "args": [ - "option", - "file" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "option", - "label": "获取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当前激活Excel,获取当前激活的Excel文件;指定Excel ,获取指定文件名称的Excel文件,若文件未打开则组件执行失败", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前激活Excel", - "value": "0" - }, - { - "label": "指定Excel", - "value": "1" - } - ] - }, - { - "key": "file", - "label": "文件名称", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请填写已打开的Excel文件名称", - "description": "填写已打开的Excel文件名称,或选择已打开的Excel文件路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_InsertColumn", - "name": "插入列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定插入位置之前插入列,并可以同时写入数据。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $2 列前插入数据 $4", - "baseType": "Excel_Cs_InsertColumn", - "functionName": "Excel.Cs_InsertColumn", - "functionCalls": [ - { - "function": "Excel.Cs_InsertColumn", - "args": [ - "workbook", - "sheet", - "index", - "count", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "index", - "label": "在第几列前", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入在哪一列之前插入。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "count", - "label": "插入几列", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "输入需要插入多少列。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[123,\"abc\",\"一二三\"]", - "placeholder": "", - "description": "写入内容为列表,例如:[123,\"abc\",\"一二三\"]、[[123,456],[\"abc\",\"edf\"]]。如果写入内容超出插入的列数,将自动截掉多余数据。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_RefreshAll", - "name": "刷新Excel数据", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "刷新指定工作簿中的所有外部数据区域。", - "messageTemplate": "刷新 Excel $0 中数据", - "baseType": "Excel_Cs_RefreshAll", - "functionName": "Excel.Cs_RefreshAll", - "functionCalls": [ - { - "function": "Excel.Cs_RefreshAll", - "args": [ - "workbook", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集", - "Excel", - "Excel文件", - "电子表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_CopySheet", - "name": "复制sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "将目标excel中指定的sheet内容复制到一个并新建的sheet中。", - "messageTemplate": "复制工作表,将复制的工作表命名为 $2", - "baseType": "Excel_CopySheet", - "functionName": "Excel.CopySheet", - "functionCalls": [ - { - "function": "Excel.CopySheet", - "args": [ - "objExcel", - "sheet", - "newSheet", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "sheet复制", - "复制工作表", - "复制工作簿" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "复制工作表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "newSheet", - "label": "新表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "newName", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_NewV3", - "name": "新建Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0", - "baseType": "Excel_Cs_New", - "functionName": "Excel.Cs_NewV3", - "functionCalls": [ - { - "function": "Excel.Cs_NewV3", - "args": [ - "path", - "name", - "visible", - "software", - "show", - "maximize", - "share" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入新建Excel保存文件夹路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入新建的Excel文件名称", - "description": "输入新建的Excel文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "visible", - "label": "使用软件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择Microsoft Office或WPS Office时,计算机上必须安装对应软件。如果不勾选该属性,则有部分组件无法使用,详情查看“使用说明”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "使用指定软件新建文件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - } - ] - }, - { - "key": "show", - "label": "可视化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选则显示打开的软件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件窗口最大化", - "advanced": true, - "valueTypes": [] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_New", - "name": "新建Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0", - "baseType": "Excel_Cs_New", - "functionName": "Excel.Cs_New", - "functionCalls": [ - { - "function": "Excel.Cs_New", - "args": [ - "path", - "name", - "software", - "visible", - "maximize" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "文件的存储路径,默认为流程包文件夹", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "如果不写后缀则默认新建“.xlsx”文件,如果想新建其他格式的Excel文件,请指定后缀名;支持相对路径:a\\b.xlsx 等价 a\\b", - "advanced": false, - "valueTypes": [ - "rpa_str_filename", - "rpa_str" - ] - }, - { - "key": "software", - "label": "使用软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "默认", - "placeholder": "", - "description": "可以指定用哪种软件新建Excel文件,请确保该软件已正确安装并可以正常使用", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认软件", - "value": "默认" - }, - { - "label": "Microsoft Office", - "value": "MicrosoftExcel" - }, - { - "label": "WPS Office", - "value": "WPS" - } - ] - }, - { - "key": "visible", - "label": "是否可视化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置后台不可见的方式", - "advanced": false, - "valueTypes": [] - }, - { - "key": "maximize", - "label": "是否最大化", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置是否将软件最大化,设置为不可见时,当前选项不生效", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objExcelWorkBook", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objExcelWorkBook", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetWidth", - "name": "设置列宽", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定列的列宽。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中列名为 $2 的列宽为 $3", - "baseType": "Excel_Cs_SetWidth", - "functionName": "Excel.Cs_SetWidth", - "functionCalls": [ - { - "function": "Excel.Cs_SetWidth", - "args": [ - "workbook", - "sheet", - "columns", - "width", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "columns", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "可输入多列,例如:[\"A\",\"B\",\"C\"],不填设置所有列,列名支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col", - "rpa_list" - ] - }, - { - "key": "width", - "label": "列宽", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "8.38", - "placeholder": "仅支持输入正数", - "description": "Excel默认值为8.38,可自定义设置,单位:字符", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_DeleteImage", - "name": "删除图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标excel中插入指定图片。", - "messageTemplate": "删除图片", - "baseType": "Excel_DeleteImage", - "functionName": "Excel.DeleteImage", - "functionCalls": [ - { - "function": "Excel.DeleteImage", - "args": [ - "objExcel", - "sheet", - "pictureName" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除图片", - "删除图像", - "删除表格图片", - "删除excel图片", - "删除工作簿图片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pictureName", - "label": "图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_DeleteRange", - "name": "删除区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "删除目标Excel文件指定区域。", - "messageTemplate": "删除Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的单元格", - "baseType": "Excel_Cs_DeleteRange", - "functionName": "Excel.Cs_DeleteRange", - "functionCalls": [ - { - "function": "Excel.Cs_DeleteRange", - "args": [ - "workbook", - "sheet", - "startRow", - "startColumn", - "lastRow", - "lastColumn", - "mode", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mode", - "label": "删除模式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "右侧单元格左移", - "placeholder": "", - "description": "删除模式与Excel一致,模式有4种:右侧单元格左移、下侧单元格上移、整行、整列。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "右侧单元格左移", - "value": "右侧单元格左移" - }, - { - "label": "下方单元格上移", - "value": "下方单元格上移" - }, - { - "label": "整行", - "value": "整行" - }, - { - "label": "整列", - "value": "整列" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_GetPath", - "name": "获取Excel路径", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "获取目标excel文档的路径,并输出给指定变量。", - "messageTemplate": "获取文件路径 $1 , 然后把结果保存到 $0", - "baseType": "Excel_GetPath", - "functionName": "Excel.GetPath", - "functionCalls": [ - { - "function": "Excel.GetPath", - "args": [ - "objExcel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件路径", - "excel表格路径" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SelectRange", - "name": "选中区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "选中目标Excel文件指定区域。", - "messageTemplate": "在Excel $0 Sheet表 $1 中选取区域第 $2 行第 $3 列开始,到第 $4 行第 $5 列结束", - "baseType": "Excel_Cs_SelectRange", - "functionName": "Excel.Cs_SelectRange", - "functionCalls": [ - { - "function": "Excel.Cs_SelectRange", - "args": [ - "workbook", - "sheet", - "startRow", - "startColumn", - "lastRow", - "lastColumn", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startColumn", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastColumn", - "label": "结束列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_MergeCells", - "name": "合并单元格", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "将表格中指定区域合并单元格或取消合并单元格。", - "messageTemplate": "将Excel $0 Sheet表 $1 中指定区域 { $$2=='0' && '合并'} { $$2=='1' && '取消合并'}", - "baseType": "Excel_Cs_MergeCells", - "functionName": "Excel.Cs_MergeCells", - "functionCalls": [ - { - "function": "Excel.Cs_MergeCells", - "args": [ - "workbook", - "sheet", - "merge", - "range", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "merge", - "label": "合并/取消合并", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择合并或取消合并指定的区域", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "合并", - "value": "0" - }, - { - "label": "取消合并", - "value": "1" - } - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_SetRangeBackgroundV2", - "name": "设置区域背景颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定区域的背景颜色。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中选择区域的背景颜色为 $3", - "baseType": "Excel_Cs_SetRangeBackground", - "functionName": "Excel.Cs_SetRangeBackgroundV2", - "functionCalls": [ - { - "function": "Excel.Cs_SetRangeBackgroundV2", - "args": [ - "workbook", - "sheet", - "range", - "color", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,分别输入起始和结束的列名和行号。高级模式,支持表达式,如区域为A列第一行到C列第三行,则输入A1:C3", - "advanced": false, - "valueTypes": [] - }, - { - "key": "color", - "label": "颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "请输入或选择颜色值", - "description": "支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_color" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_GetColData", - "name": "读取列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标excel文档中,指定单元格所在列的数据,以数组的形式输出到指定变量。", - "messageTemplate": "读取单元格 $3 所在列的值, 然后把结果保存到 $0", - "baseType": "Excel_GetColData", - "functionName": "Excel.GetColData", - "functionCalls": [ - { - "function": "Excel.GetColData", - "args": [ - "objExcel", - "sheet", - "cellPos" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取表格列", - "读取excel列", - "读取工作簿列" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_CloseV2", - "name": "关闭Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "关闭目标Excel文件。", - "messageTemplate": "关闭{ $$0=='0' && '文件'}{ $$0=='1' && '软件'} { $$0==0 && '$1'} { $$0==1 && '$5'}", - "baseType": "Excel_Cs_Close", - "functionName": "Excel.Cs_CloseV2", - "functionCalls": [ - { - "function": "Excel.Cs_CloseV2", - "args": [ - "closeType", - "workbook", - "closeAction", - "filePath", - "cover", - "software", - "kill" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭", - "退出", - "终止", - "关停", - "Excel", - "Excel文件", - "电子表格", - "Excel表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "closeType", - "label": "关闭类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择关闭 Excel 文件或软件。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Excel文件", - "value": "0" - }, - { - "label": "Excel软件", - "value": "1" - } - ] - }, - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Excel文件", - "placeholder": "请选择或输入Excel 文件变量", - "description": "选择Excel对象类型的变量,关闭对应的Excel 文件", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "closeAction", - "label": "关闭之前", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择关闭 Excel时对其是否进行保存或另存为操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "保存文件", - "value": "0" - }, - { - "label": "不保存文件", - "value": "1" - }, - { - "label": "文件另存为", - "value": "2" - } - ] - }, - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "saveAsDialog", - "required": false, - "defaultValue": "", - "placeholder": "选择或输入文件保存路径", - "description": "选择或输入文件存储位置", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cover", - "label": "覆盖相同文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后若文件已存在会覆盖已有文件,不勾选若文件已存在会在名称上加“副本”保存", - "advanced": false, - "valueTypes": [] - }, - { - "key": "software", - "label": "选择软件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择要关闭的 Excel 软件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Microsoft Office", - "value": "0" - }, - { - "label": "WPS Office", - "value": "1" - } - ] - }, - { - "key": "kill", - "label": "关闭Excel进程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选此选项会强制关闭所选Excel软件的所有进程及其子进程", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_CreateSheet", - "name": "创建sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "在目标excel文档中新建一个sheet,并激活作为后续流程操作对象。", - "messageTemplate": "创建 $1 工作表", - "baseType": "Excel_CreateSheet", - "functionName": "Excel.CreateSheet", - "functionCalls": [ - { - "function": "Excel.CreateSheet", - "args": [ - "objExcel", - "sheet", - "location", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "sheet", - "新建sheet", - "新开sheet", - "新建表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "newSheet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "location", - "label": "插入参照表", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "after", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "之前", - "value": "before" - }, - { - "label": "之后", - "value": "after" - } - ] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ColumnSplitV2", - "name": "Excel分列", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "设置目标Excel文件指定列分列。", - "messageTemplate": "设置Excel $0 Sheet表 $1 中列名为 $2 的列进行分列", - "baseType": "Excel_Cs_ColumnSplit", - "functionName": "Excel.Cs_ColumnSplitV2", - "functionCalls": [ - { - "function": "Excel.Cs_ColumnSplitV2", - "args": [ - "workbook", - "sheet", - "column", - "dataType", - "width", - "tab", - "semicolon", - "comma", - "space", - "other", - "otherChar", - "consecutiveDelimiter", - "textQualifier", - "destination", - "startRow", - "endRow", - "splitDataType", - "fieldInfo", - "decimalSeparator", - "thousandsSeparator", - "trailingMinusNumbers", - "insertCount" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Excel", - "Excel文件", - "电子表格", - "Excel表格", - "表格文件" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "column", - "label": "列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "仅支持单列,支持输入A或1,-n表示倒数第n列", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_col" - ] - }, - { - "key": "dataType", - "label": "分列规则", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "分隔符号:通过指定符号分隔,勾选多个存在一个即分隔。固定宽度:根据字符长度分隔。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "分隔符号", - "value": "1" - }, - { - "label": "固定宽度", - "value": "2" - } - ] - }, - { - "key": "width", - "label": "字符长度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "单元格内容长度,通常一个中文字为两个字符,一个数字、英文、字符为一个字符。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "tab", - "label": "Tab键", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "semicolon", - "label": "分号", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "comma", - "label": "逗号", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "space", - "label": "空格", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "other", - "label": "其他", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "otherChar", - "label": "otherChar", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "consecutiveDelimiter", - "label": "连续分隔符号视为单个处理", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "textQualifier", - "label": "文本识别符号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "-4142", - "placeholder": "", - "description": "文本识别符号", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "'", - "value": "2" - }, - { - "label": "\"", - "value": "1" - }, - { - "label": "无", - "value": "-4142" - } - ] - }, - { - "key": "destination", - "label": "分列存放位置", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "分列后数据存放的起始单元格位置", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "开始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "从第几行开始分列数据", - "advanced": true, - "valueTypes": [ - "rpa_int", - "rpa_str_row" - ] - }, - { - "key": "endRow", - "label": "结束行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "分列到第几行结束", - "advanced": true, - "valueTypes": [ - "rpa_int", - "rpa_str_row" - ] - }, - { - "key": "splitDataType", - "label": "分列数据格式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可设置常规或自定义每列格式,列索引:若在基础属性中选择按符号分割,则列索引为 1,2,3....;若选择指定宽度,则列索引为0,宽度,宽度*2...;若选择不指定宽度,则按添加的自定义宽度分割", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "常规格式", - "value": "0" - }, - { - "label": "自定义格式", - "value": "1" - } - ] - }, - { - "key": "fieldInfo", - "label": "fieldInfo", - "widget": "text", - "type": "string", - "displayType": "itemGroup", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "decimalSeparator", - "label": "小数分隔符", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": ".", - "placeholder": "", - "description": "用于识别数值型数据的设置, 识别数字时,Excel 使用的小数分隔符。 默认设置为系统设置", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": ",", - "value": "," - }, - { - "label": ".", - "value": "." - } - ] - }, - { - "key": "thousandsSeparator", - "label": "千位分隔符", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": ",", - "placeholder": "", - "description": "用于识别数值型数据的设置,识别数字时,Excel 使用的千位分隔符。 默认设置为系统设置", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": ",", - "value": "," - }, - { - "label": ".", - "value": "." - }, - { - "label": "空", - "value": "" - }, - { - "label": "'", - "value": "'" - } - ] - }, - { - "key": "trailingMinusNumbers", - "label": "按负号跟踪负数", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "以减号字符开始的数字", - "advanced": true, - "valueTypes": [] - }, - { - "key": "insertCount", - "label": "插入列数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "在所选分列后插入的列数,用于存放拆分的数据,例:填写 1,表示在所要分列后插入 1 列用来存放拆分出的数据。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_ReadRange", - "name": "读取区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "读取目标Excel文件的指定区域,并将内容以列表的形式输出到指定变量(示例:[[123,\"abc\"],[456,\"def\"]])。", - "messageTemplate": "读取Excel $1 中Sheet表 $2,从第 $3 行,第 $4 列开始,到从第 $5 行,第 $6 列结束的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_ReadRange", - "functionName": "Excel.Cs_ReadRange", - "functionCalls": [ - { - "function": "Excel.Cs_ReadRange", - "args": [ - "workbook", - "sheet", - "startRow", - "startColumn", - "lastRow", - "lastColumn" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startRow", - "label": "起始单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startColumn", - "label": "起始单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastRow", - "label": "结束单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "lastColumn", - "label": "结束单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_WriteRangeV2", - "name": "写入区域", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_editor" - ], - "categorySignature": "excel_editor", - "description": "在目标Excel文件指定起始位置写入数据,并按数据量依次填充到单元格中。(注:二维列表数据长度得保持一致,示例:[[1,'壹'],[2,'贰'],[3,'叁']]。)。", - "messageTemplate": "在Excel $0 Sheet表 $1 中第 $2 列,第 $3 行开始写入内容 $4", - "baseType": "Excel_Cs_WriteRange", - "functionName": "Excel.Cs_WriteRangeV2", - "functionCalls": [ - { - "function": "Excel.Cs_WriteRangeV2", - "args": [ - "workbook", - "sheet", - "column", - "row", - "contents", - "save" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [] - }, - { - "key": "column", - "label": "起始列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "起始行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "contents", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]", - "placeholder": "", - "description": "请输入二维列表数据,示例:[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Load", - "name": "获取已打开Excel", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_operator" - ], - "categorySignature": "excel_operator", - "description": "获取当前已打开的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。", - "messageTemplate": "获取 $1 的Excel文件, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Load", - "functionName": "Excel.Cs_Load", - "functionCalls": [ - { - "function": "Excel.Cs_Load", - "args": [ - "file" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件名称", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请填写已打开的Excel文件名称", - "description": "填写已打开的Excel文件名称,或选择已打开的Excel文件路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Excel文件", - "valueTypes": [ - "rpa_excel" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Excel文件", - "valueTypes": [ - "rpa_excel" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_ExportRangeAsPicture", - "name": "导出区域为图片", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "将目标Excel文件中指定区域导出为图片(png)。", - "messageTemplate": "将Excel中指定区域导出为图片并存储到 $4,并命名为 $5, 然后把结果保存到 $0", - "baseType": "Excel_ExportRangeAsPicture", - "functionName": "Excel.ExportRangeAsPicture", - "functionCalls": [ - { - "function": "Excel.ExportRangeAsPicture", - "args": [ - "workbook", - "sheet", - "range", - "path", - "name", - "cover" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_excel", - "rpa_str" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_sheetName" - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "excelRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1", - "advanced": false, - "valueTypes": [] - }, - { - "key": "path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或填写图片保存路径", - "description": "选择或填写图片保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "图片名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入图片名称", - "description": "不填则随机生成图片名称", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_str_filename" - ] - }, - { - "key": "cover", - "label": "覆盖相同文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选则直接覆盖原文件,不勾选则直接在文件名上加“副本”,如“实在智能(副本).png”", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图片路径", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图片路径", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_Cs_Search", - "name": "查找/替换数据", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_fetch_data" - ], - "categorySignature": "excel_fetch_data", - "description": "读取目标Excel文件指定区域数据,然后查找或替换,并返回查找到的数据位置。", - "messageTemplate": "查找/替换 Excel $1 中Sheet表 $2 指定区域的内容, 然后把结果保存到 $0", - "baseType": "Excel_Cs_Search", - "functionName": "Excel.Cs_Search", - "functionCalls": [ - { - "function": "Excel.Cs_Search", - "args": [ - "workbook", - "sheet", - "mode", - "option", - "range", - "row", - "column", - "input", - "wholeWord", - "replace", - "matchRange", - "save", - "outType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "workbook", - "label": "文件对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "Excel文件", - "placeholder": "请输入或选择Excel文件变量", - "description": "使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_excel" - ] - }, - { - "key": "sheet", - "label": "Sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "选填,默认为当前激活 Sheet 页", - "description": "输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mode", - "label": "模式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "查找", - "placeholder": "", - "description": "选择组件的功能模式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "查找", - "value": "查找" - }, - { - "label": "查找并替换", - "value": "查找并替换" - } - ] - }, - { - "key": "option", - "label": "查找区域", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "已编辑区域", - "placeholder": "", - "description": "在指定区域内查找内容", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "区域", - "value": "区域" - }, - { - "label": "行", - "value": "行" - }, - { - "label": "列", - "value": "列" - }, - { - "label": "已编辑区域", - "value": "已编辑区域" - } - ] - }, - { - "key": "range", - "label": "选择区域", - "widget": "region", - "type": "object", - "displayType": "chooseRegion", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "row", - "label": "单元格行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "支持 1 或 -1,-n 表示倒数第 n 行", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "column", - "label": "单元格列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "支持 A 或 1,-n 表示倒数第 n 列", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "查找内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入需要查找的内容,例如:实在智能", - "description": "输入需要查找的内容,如“实在智能”", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "wholeWord", - "label": "精确匹配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则将查找内容与整个单元格内容完全一致才算匹配成功", - "advanced": false, - "valueTypes": [] - }, - { - "key": "replace", - "label": "替换为", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "1 输入需要将查找到的内容替换为,示例:“实在智能RPA”。2 可以为空,为空时,表示将查找到的内容替换为空字符。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "matchRange", - "label": "匹配范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "所有项", - "placeholder": "", - "description": "匹配所有项,从头开始匹配到所有后结束。匹配第一个人,从当前位置匹配到第一个后结束。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "所有项", - "value": "所有项" - }, - { - "label": "第一个", - "value": "第一个" - } - ] - }, - { - "key": "save", - "label": "保存文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "outType", - "label": "输出值类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "所在列名,行号", - "value": "0" - }, - { - "label": "所在单元格", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "单元格位置", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "单元格位置", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Excel_WriteRow", - "name": "写入行", - "kind": "vendor", - "group": "office", - "categories": [ - "excel" - ], - "categorySignature": "excel", - "description": "将数据写入到目标excel指定的单元格所在行,支持数值/公式等形式,可设置写入后是否保存。", - "messageTemplate": "在索引或工作表为 $1 中,从 $2 开 始写入一行数据", - "baseType": "Excel_WriteRow", - "functionName": "Excel.WriteRow", - "functionCalls": [ - { - "function": "Excel.WriteRow", - "args": [ - "objExcel", - "sheet", - "cellPos", - "value", - "isSave" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入表格", - "写入行", - "输入行", - "写入sheet" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellPos", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[1,'壹',2]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isSave", - "label": "是否保存", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Excel_DeleteSheet", - "name": "删除sheet", - "kind": "vendor", - "group": "office", - "categories": [ - "excel_sheet" - ], - "categorySignature": "excel_sheet", - "description": "删除目标excel中指定的sheet。", - "messageTemplate": "删除工作表 $1", - "baseType": "Excel_DeleteSheet", - "functionName": "Excel.DeleteSheet", - "functionCalls": [ - { - "function": "Excel.DeleteSheet", - "args": [ - "objExcel", - "sheet" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除sheet", - "删除工作簿", - "删除工作表" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objExcel", - "label": "工作簿对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objExcelWorkBook", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet", - "label": "工作表名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Sheet1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "ExceptionUtil_Throws", - "name": "抛出异常", - "kind": "vendor", - "group": "data", - "categories": [ - "exception" - ], - "categorySignature": "exception", - "description": "。", - "messageTemplate": "抛出异常, 然后把结果保存到 $0", - "baseType": "ExceptionUtil_Throws", - "functionName": "ExceptionUtil.Throws", - "functionCalls": [ - { - "function": "ExceptionUtil.Throws", - "args": [ - "msg" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "抛出异常", - "异常" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "msg", - "label": "消息实体", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "bRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "bRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_Rename", - "name": "重命名文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "将目标文件进行重新命名,可新建或覆盖文件。", - "messageTemplate": "重命名文件 $0 到 $1", - "baseType": "File_Rename", - "functionName": "File.Rename", - "functionCalls": [ - { - "function": "File.Rename", - "args": [ - "pathSrc", - "reName" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "重命名", - "文件重命名" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "pathSrc", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "reName", - "label": "重命名名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入重命名的新名称", - "description": "不修改后缀名", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "File_Delete", - "name": "删除文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "将目标文件进行删除。", - "messageTemplate": "删除文件 $1, 然后把结果保存到 $0", - "baseType": "File_Delete", - "functionName": "File.Delete", - "functionCalls": [ - { - "function": "File.Delete", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "删除文件" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_DecompressFile", - "name": "解压文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "将压缩文件解压至指定路径,支持zip、rar、7z、tar、gz、tar.bz2等格式。", - "messageTemplate": "将 $1 ,解压至 {$$2 == 1 && '当前目录'}{$$2 == 0 && '$3'}, 然后把结果保存到 $0", - "baseType": "File_DecompressFile", - "functionName": "File.DecompressFile", - "functionCalls": [ - { - "function": "File.DecompressFile", - "args": [ - "folder_path", - "direct_type", - "out_path", - "pass_word", - "is_delete", - "compress_tool" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "压缩包路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入 C:\\desktop\\archive.zip", - "description": "要解压的 .zip 文件完整路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "direct_type", - "label": "解压目标位置", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "「源文件路径」表示解压到压缩包所在目录;「其他路径」表示解压到下方指定的文件夹。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "源文件路径", - "value": "1" - }, - { - "label": "其他路径", - "value": "0" - } - ] - }, - { - "key": "out_path", - "label": "解压目标目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "选择或输入 C:\\desktop\\archive-output", - "description": "选择或输入解压结果保存的文件夹;仅在「解压目标位置=其他路径」时使用。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "pass_word", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入解压密码", - "description": "输入压缩包的解压密码。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "is_delete", - "label": "解压完成后删除压缩包", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "解压成功后,删除原压缩文件。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "compress_tool", - "label": "解压方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "选择解压使用的执行方式;不确定时保持默认。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "混合", - "value": "mix" - }, - { - "label": "7z", - "value": "7z" - }, - { - "label": "python", - "value": "default" - } - ] - } - ], - "output": { - "label": "已解压文件", - "key": "var_name", - "suggestedName": "解压后文件列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "已解压文件", - "defaultValue": "解压后文件列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_UploadBusinessResults_v1", - "name": "上报办理结果", - "kind": "vendor", - "group": "file", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "上传业务结果文件到门户,可在门户中查看。", - "messageTemplate": "将业务结果 $2,结果原因 $3,业务文件 $4 上传至门户, 然后把结果保存到 $0", - "baseType": "File_UploadBusinessResults", - "functionName": "File.UploadBusinessResults_v1", - "functionCalls": [ - { - "function": "File.UploadBusinessResults_v1", - "args": [ - "businessType", - "business", - "business_result", - "business_reason", - "uploadSrc" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "结果上传", - "业务", - "门户", - "业务结果" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "businessType", - "label": "业务类型", - "widget": "text", - "type": "string", - "displayType": "remotePortalBusinessType", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "设置需要关联业务,用来关联业务执行结果。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "business", - "label": "关联业务", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "业务变量", - "placeholder": "", - "description": "选择“执行业务上报(门户专用)”组件输出的上报业务变量,用来关联业务执行结果。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "business_result", - "label": "业务结果", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "business_reason", - "label": "结果原因", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uploadSrc", - "label": "业务文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "上报结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "上报结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_GetFileList", - "name": "获取文件列表", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "查找指定文件夹下的文件。", - "messageTemplate": "在 $1 下查找关键字 $2, 然后把结果保存到 $0", - "baseType": "File_GetFileList", - "functionName": "File.GetFileList", - "functionCalls": [ - { - "function": "File.GetFileList", - "args": [ - "folder_path", - "key_word", - "ignore", - "recursive", - "is_full_path", - "sort_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入需检索的文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "key_word", - "label": "检索关键字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件名或文件后缀关键字", - "description": "支持输入文件名或文件后缀关键字,为空将检索到所有文件,仅支持一个关键字。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "ignore", - "label": "忽略文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个关键字使用英文逗号分隔", - "description": "支持输入文件名或文件后缀关键字,如果多个使用英文逗号分隔。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "recursive", - "label": "查找子文件夹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "遍历所有子级文件夹。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_full_path", - "label": "获取完整路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回文件的完整路径。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sort_type", - "label": "文件排序", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "默认", - "value": "1" - }, - { - "label": "按文件名称升序", - "value": "2" - }, - { - "label": "按文件名称降序", - "value": "3" - }, - { - "label": "按修改日期升序", - "value": "4" - }, - { - "label": "按修改日期降序", - "value": "5" - }, - { - "label": "按创建日期升序", - "value": "6" - }, - { - "label": "按创建日期降序", - "value": "7" - }, - { - "label": "按文件大小升序", - "value": "8" - }, - { - "label": "按文件大小降序", - "value": "9" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件列表", - "valueTypes": [ - "rpa_list_file_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件列表", - "valueTypes": [ - "rpa_list_file_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_GetFileList_V1", - "name": "获取文件列表", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "查找指定文件夹下的文件。", - "messageTemplate": "在 $1 下查找关键字 $2, 然后把结果保存到 $0", - "baseType": "File_GetFileList_V1", - "functionName": "File.GetFileList_V1", - "functionCalls": [ - { - "function": "File.GetFileList_V1", - "args": [ - "folder_path", - "key_word", - "ignore", - "recursive", - "is_full_path", - "sort_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入需检索的文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "key_word", - "label": "检索关键字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件名或文件后缀关键字", - "description": "支持输入文件名或文件后缀关键字,为空将检索到所有文件,仅支持一个关键字。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "ignore", - "label": "忽略文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个关键字使用英文逗号分隔", - "description": "支持输入文件名或文件后缀关键字,如果多个使用英文逗号分隔。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "recursive", - "label": "查找子文件夹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "遍历所有子级文件夹。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_full_path", - "label": "获取完整路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回文件的完整路径。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sort_type", - "label": "文件排序", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "默认", - "value": "1" - }, - { - "label": "按文件名称升序", - "value": "2" - }, - { - "label": "按文件名称降序", - "value": "3" - }, - { - "label": "按修改日期升序", - "value": "4" - }, - { - "label": "按修改日期降序", - "value": "5" - }, - { - "label": "按创建日期升序", - "value": "6" - }, - { - "label": "按创建日期降序", - "value": "7" - }, - { - "label": "按文件大小升序", - "value": "8" - }, - { - "label": "按文件大小降序", - "value": "9" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件列表", - "valueTypes": [ - "rpa_list_file_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件列表", - "valueTypes": [ - "rpa_list_file_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_File_Move", - "name": "移动文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "移动目标文件到指定路径,原文件清除。", - "messageTemplate": "移动文件 $0 到 $1", - "baseType": "File_File_Move", - "functionName": "File.File_Move", - "functionCalls": [ - { - "function": "File.File_Move", - "args": [ - "pathSrc", - "pathDest", - "overwrite" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动文件", - "指定路径", - "移动" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "pathSrc", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "输入或选择待移动的文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pathDest", - "label": "目的地路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择移动到的目的地路径", - "description": "输入或选择移动到的目的地路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "overwrite", - "label": "是否覆盖", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "File_MoveFolder", - "name": "移动文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "移动目标文件夹到指定路径,原文件清除。", - "messageTemplate": "移动文件夹 $0 到 $1", - "baseType": "File_MoveFolder", - "functionName": "File.MoveFolder", - "functionCalls": [ - { - "function": "File.MoveFolder", - "args": [ - "pathSrc", - "pathDest", - "overwrite" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动文件", - "指定路径", - "移动" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "pathSrc", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件夹路径", - "description": "输入或选择待移动的文件夹", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "pathDest", - "label": "目的地路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择移动到的目的地路径", - "description": "输入或选择移动到的目的地路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "overwrite", - "label": "是否覆盖", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "File_Write_V1", - "name": "写入文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "将指定文本内容写入目标文件,目标文件不存在时将自动新建。", - "messageTemplate": "写入内容 $2 至 $1, 然后把结果保存到 $0", - "baseType": "File_Write", - "functionName": "File.Write_V1", - "functionCalls": [ - { - "function": "File.Write_V1", - "args": [ - "path", - "content", - "append", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入", - "写入到", - "写入数据", - "写进", - "录入", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "选择或输入需要写入内容的文件路径,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "content", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要写入的内容", - "description": "仅支持写入文本内容。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "append", - "label": "追加写入", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选则表示在原文件内容末尾追加写入内容。未勾选则表示替换原文件内容,写入新内容。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "encode", - "label": "编码格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "utf-8", - "placeholder": "", - "description": "选择合适编码格式,否则读写时可能出现乱码。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "UTF-8 BOM", - "value": "utf-8-sig" - }, - { - "label": "UTF-16 LE", - "value": "utf-16le" - }, - { - "label": "UTF-16 BE", - "value": "utf-16be" - }, - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "GB18030", - "value": "gb18030" - }, - { - "label": "GB2312", - "value": "gb2312" - }, - { - "label": "ANSI", - "value": "ansi" - }, - { - "label": "Shift_JIS", - "value": "shift_jis " - } - ] - } - ], - "output": { - "label": "文件路径", - "key": "var_name", - "suggestedName": "文件", - "valueTypes": [ - "rpa_str_file" - ], - "fields": [ - { - "key": "var_name", - "label": "文件路径", - "defaultValue": "文件", - "valueTypes": [ - "rpa_str_file" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_PathSize", - "name": "取文件大小", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "获取目标文件大小,也可以获取整个文件夹的大小(按字节计算),并输出到指定变量。", - "messageTemplate": "获取文件 $1 的大小, 然后把结果保存到 $0", - "baseType": "File_PathSize", - "functionName": "File.PathSize", - "functionCalls": [ - { - "function": "File.PathSize", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件大小", - "文件字节" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_MakeFolder", - "name": "创建文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "在指定目录下创建文件夹。", - "messageTemplate": "在指定目录 $1,创建文件夹 $2, 然后把结果保存到 $0", - "baseType": "File_MakeFolder", - "functionName": "File.MakeFolder", - "functionCalls": [ - { - "function": "File.MakeFolder", - "args": [ - "path", - "name", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "指定目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "路径不存在时自动创建", - "description": "选择或输入指定文件夹路径,例如 C:\\desktop\\实在智能,路径不存在时将自动创建", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文件夹名称", - "description": "文件夹名称不能包含以下特殊符号:\\/:*?”<>|。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件夹存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件夹名称后缀将增加“副本”,例如:a-副本。替换,将替换同名文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "文件夹路径", - "key": "var_name", - "suggestedName": "新文件夹路径", - "valueTypes": [ - "rpa_str_folder" - ], - "fields": [ - { - "key": "var_name", - "label": "文件夹路径", - "defaultValue": "新文件夹路径", - "valueTypes": [ - "rpa_str_folder" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_Copy_V1", - "name": "复制文件/文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "复制目标文件/文件夹到指定路径。", - "messageTemplate": "复制 $2 $3 到 $4, 然后把结果保存到 $0", - "baseType": "File_Copy", - "functionName": "File.Copy_V1", - "functionCalls": [ - { - "function": "File.Copy_V1", - "args": [ - "file_type", - "file_path", - "folder_path", - "target_path", - "rename", - "name", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制", - "拷贝", - "复件", - "仿制", - "文件", - "文档", - "文件档", - "档案" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_type", - "label": "file_type", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "复制文件", - "value": "file" - }, - { - "label": "复制文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待复制文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择文件路径", - "description": "选择或输入待复制文件,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "待复制文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择文件夹路径", - "description": "选择或输入待复制文件夹,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "target_path", - "label": "复制至", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择复制至文件夹路径", - "description": "选择或输入目标文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "rename", - "label": "重命名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对复制成功后的文件/文件夹进行重命名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "name", - "label": "新名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "无需输入文件扩展名", - "description": "仅需输入新文件/新文件夹名称,如果含有文件扩展名,复制后文件将改变文件格式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "文件路径", - "key": "var_name", - "suggestedName": "复制后路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "文件路径", - "defaultValue": "复制后路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_GetFileInfo", - "name": "获取文件信息", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "获取指定文件的文件信息(种类、大小、根目录、文件夹目录等)。", - "messageTemplate": "获取 $1 的文件信息, 然后把结果保存到 $0", - "baseType": "File_GetFileInfo", - "functionName": "File.GetFileInfo", - "functionCalls": [ - { - "function": "File.GetFileInfo", - "args": [ - "file_path", - "ret_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_path", - "label": "文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择或输入指定文件路径,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "ret_type", - "label": "信息类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "支持获取文件的全部信息或某一个文件信息。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部信息", - "value": "1" - }, - { - "label": "大小(字节)", - "value": "2" - }, - { - "label": "根目录", - "value": "3" - }, - { - "label": "文件夹目录", - "value": "4" - }, - { - "label": "名称与扩展名", - "value": "5" - }, - { - "label": "名称", - "value": "6" - }, - { - "label": "扩展名", - "value": "7" - }, - { - "label": "创建时间", - "value": "8" - }, - { - "label": "修改时间", - "value": "9" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件信息", - "valueTypes": [ - "rpa_dict_file_info", - "rpa_int", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件信息", - "valueTypes": [ - "rpa_dict_file_info", - "rpa_int", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_GetFolderList", - "name": "获取文件夹列表", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "获取指定文件夹下的子文件夹。可用于文件夹遍历。", - "messageTemplate": "获取 $1 下子文件夹, 然后把结果保存到 $0", - "baseType": "File_GetFolderList", - "functionName": "File.GetFolderList", - "functionCalls": [ - { - "function": "File.GetFolderList", - "args": [ - "folder_path", - "ignore", - "recursive" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "ignore", - "label": "忽略文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个关键字使用英文逗号分隔", - "description": "支持输入文件夹关键字,如果多个使用英文逗号分隔。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "recursive", - "label": "查找最子级文件夹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "递归查找到最子级的文件夹。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件夹列表", - "valueTypes": [ - "rpa_list_folder_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件夹列表", - "valueTypes": [ - "rpa_list_folder_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_ReadXml", - "name": "读取xml文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "读取指定xml文件的全部内容,并输出到指定变量,可设定字符采集编码方式。", - "messageTemplate": "读取xml文件 $1 , 然后把结果保存到 $0", - "baseType": "File_ReadXml", - "functionName": "File.ReadXml", - "functionCalls": [ - { - "function": "File.ReadXml", - "args": [ - "path", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "xml读取", - "xml内容读取", - "打开", - "读取", - "读取到", - "读取数据", - "读出", - "读取信息", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择xml文件路径", - "description": "选择或输入指定文件路径,例如 C:\\desktop\\实在智能.xml", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "utf-8", - "placeholder": "", - "description": "选择和原文件一致的编码规则,否则可能写入后会出现乱码", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "GB2312", - "value": "gb2312" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "XML文件内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "XML文件内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_OpenFile", - "name": "打开文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "桌面上弹开指定文件夹。", - "messageTemplate": "打开文件夹 $0 ", - "baseType": "File_OpenFile", - "functionName": "File.OpenFile", - "functionCalls": [ - { - "function": "File.OpenFile", - "args": [ - "path" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件夹路径", - "description": "选择或输入文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "File_StartBusiness", - "name": "上报办理业务", - "kind": "vendor", - "group": "file", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "上传需要办理的业务数据到门户,把数据存到变量给“业务结果上报(门户专用)”组件使用。", - "messageTemplate": "把要办理的业务 $1 上报, 然后把结果保存到 $0", - "baseType": "File_StartBusiness", - "functionName": "File.StartBusiness", - "functionCalls": [ - { - "function": "File.StartBusiness", - "args": [ - "business_id", - "business" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "执行", - "业务", - "门户" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "business_id", - "label": "业务主键", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "办理业务的唯一值。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "business", - "label": "业务信息", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "业务变量", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "业务变量", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_Read", - "name": "读取文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "读取指定文件的全部内容,并输出到指定变量,可设定字符采集编码方式。", - "messageTemplate": "读取文件 $1 , 然后把结果保存到 $0", - "baseType": "File_Read", - "functionName": "File.Read", - "functionCalls": [ - { - "function": "File.Read", - "args": [ - "path", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件读取", - "内容读取", - "打开", - "读取", - "读取到", - "读取数据", - "读出", - "读取信息", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "选择或输入文件路径,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "gbk", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "GB2312", - "value": "gb2312" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_MakeDir", - "name": "创建文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "在指定路径下创建文件夹。", - "messageTemplate": "创建文件夹 $1, 然后把结果保存到 $0", - "baseType": "File_MakeDir", - "functionName": "File.MakeDir", - "functionCalls": [ - { - "function": "File.MakeDir", - "args": [ - "path", - "name", - "overwrite" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "创建文件夹", - "增加文件夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件夹路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件夹名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "overwrite", - "label": "是否覆盖", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "新文件夹路径", - "valueTypes": [ - "rpa_str_folder" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "新文件夹路径", - "valueTypes": [ - "rpa_str_folder" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_UploadBusinessResults", - "name": "上报办理结果(门户专用)", - "kind": "vendor", - "group": "file", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "上传业务结果文件到门户,可在门户中查看。", - "messageTemplate": "将业务结果 $2,结果原因 $3,业务文件 $4 上传至门户, 然后把结果保存到 $0", - "baseType": "File_UploadBusinessResults", - "functionName": "File.UploadBusinessResults", - "functionCalls": [ - { - "function": "File.UploadBusinessResults", - "args": [ - "business", - "business_result", - "business_reason", - "uploadSrc" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "结果上传", - "业务", - "门户", - "业务结果" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "business", - "label": "关联业务", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "业务变量", - "placeholder": "", - "description": "选择“执行业务上报(门户专用)”组件输出的上报业务变量,用来关联业务执行结果。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "business_result", - "label": "业务结果", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "business_reason", - "label": "结果原因", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uploadSrc", - "label": "业务文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "上报结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "上报结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_Rename_V1", - "name": "重命名文件/文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "重命名目标文件/文件夹。", - "messageTemplate": "重命名 $2 $3 为 $4, 然后把结果保存到 $0", - "baseType": "File_Rename", - "functionName": "File.Rename_V1", - "functionCalls": [ - { - "function": "File.Rename_V1", - "args": [ - "file_type", - "file_path", - "folder_path", - "name", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_type", - "label": "file_type", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "重命名文件", - "value": "file" - }, - { - "label": "重命名文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待重命名文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择源文件路径", - "description": "选择或输入待重命名文件,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "待重命名文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入待重命名文件夹,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "新名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "无需输入文件扩展名", - "description": "无需文件扩展名,如果新名称包含文件扩展名将一同修改。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件夹名称后缀将增加“副本”,例如:a-副本。替换,将替换同名文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "文件路径", - "key": "var_name", - "suggestedName": "重命名后路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "文件路径", - "defaultValue": "重命名后路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_Write", - "name": "写入文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "将指定内容写入目标文件,并覆盖原有内容。", - "messageTemplate": "将内容 $1 覆盖写入到文件 $0", - "baseType": "File_Write", - "functionName": "File.Write", - "functionCalls": [ - { - "function": "File.Write", - "args": [ - "path", - "content", - "encode", - "append" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入内容", - "写入文件", - "覆盖内容" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "输入或选择文件路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "content", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要写入的内容", - "description": "输入要写入的内容", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "gbk", - "placeholder": "", - "description": "选择和原文件一致的编码规则,否则可能写入后会出现乱码", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "GB2312", - "value": "gb2312" - } - ] - }, - { - "key": "append", - "label": "是否追加写入", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "是,将原文结尾追加写入内容。否,将写入内容替换原文。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "File_CreateFile", - "name": "新建文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "在指定目录下新建文件(默认新建TXT文件)。", - "messageTemplate": "新建文件 $1, 然后把结果保存到 $0", - "baseType": "File_CreateFile", - "functionName": "File.CreateFile", - "functionCalls": [ - { - "function": "File.CreateFile", - "args": [ - "folder_path", - "name", - "action", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "指定目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件路径", - "description": "选择或输入指定文件夹目录,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "suffixNameInput", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件名称", - "description": "默认新建TXT文件,支持输入自定义扩展名,如果新建其他格式文件,可能因文件格式问题无法打开。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - }, - { - "key": "encode", - "label": "编码格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "utf-8", - "placeholder": "", - "description": "选择合适编码格式,否则读写时可能出现乱码。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "UTF-8 BOM", - "value": "utf-8-sig" - }, - { - "label": "UTF-16 LE", - "value": "utf-16le" - }, - { - "label": "UTF-16 BE", - "value": "utf-16be" - }, - { - "label": "GBK", - "value": "gbk" - }, - { - "label": "GB18030", - "value": "gb18030" - }, - { - "label": "GB2312", - "value": "gb2312" - }, - { - "label": "ANSI", - "value": "ansi" - }, - { - "label": "Shift_JIS", - "value": "shift_jis " - } - ] - } - ], - "output": { - "label": "文件路径", - "key": "var_name", - "suggestedName": "新文件路径", - "valueTypes": [ - "rpa_str_file" - ], - "fields": [ - { - "key": "var_name", - "label": "文件路径", - "defaultValue": "新文件路径", - "valueTypes": [ - "rpa_str_file" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_Collectupload", - "name": "上报采集数据", - "kind": "vendor", - "group": "file", - "categories": [ - "automation_portal" - ], - "categorySignature": "automation_portal", - "description": "上传业务数据到门户系统,可登录门户在待办中查看数据。", - "messageTemplate": "把业务信息 $1 上报, 然后把结果保存到 $0", - "baseType": "File_Collectupload", - "functionName": "File.Collectupload", - "functionCalls": [ - { - "function": "File.Collectupload", - "args": [ - "business" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "执行", - "业务", - "门户" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "business", - "label": "业务信息", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果变量", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果变量", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_GetFolderList_V1", - "name": "获取文件夹列表", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "获取指定文件夹下的子文件夹。可用于文件夹遍历。", - "messageTemplate": "获取 $1 下子文件夹, 然后把结果保存到 $0", - "baseType": "File_GetFolderList_V1", - "functionName": "File.GetFolderList_V1", - "functionCalls": [ - { - "function": "File.GetFolderList_V1", - "args": [ - "folder_path", - "ignore", - "recursive" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "ignore", - "label": "忽略文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个关键字使用英文逗号分隔", - "description": "支持输入文件夹关键字,如果多个使用英文逗号分隔。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "recursive", - "label": "查找最子级文件夹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "递归查找到最子级的文件夹。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件夹列表", - "valueTypes": [ - "rpa_list_folder_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件夹列表", - "valueTypes": [ - "rpa_list_folder_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_DeleteFile", - "name": "删除文件/文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "删除目标文件/文件夹。", - "messageTemplate": "删除 $2 $3, 然后把结果保存到 $0", - "baseType": "File_DeleteFile", - "functionName": "File.DeleteFile", - "functionCalls": [ - { - "function": "File.DeleteFile", - "args": [ - "file_type", - "file_path", - "folder_path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_type", - "label": "删除类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "删除文件", - "value": "file" - }, - { - "label": "删除文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待删除文件", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "支持选择多文件", - "description": "选择文件/文件夹时支持通过Ctrl或Shift多选文件/文件夹。支持传入文件列表/文件夹列表变量类型。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "folder_path", - "label": "待删除文件夹", - "widget": "folder", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "支持选择多文件夹", - "description": "选择文件/文件夹时支持通过Ctrl或Shift多选文件/文件夹。支持传入文件列表/文件夹列表变量类型。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "删除结果", - "valueTypes": [ - "rpa_list_file_del_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "删除结果", - "valueTypes": [ - "rpa_list_file_del_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_PathSizeNew", - "name": "获取文件大小", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "获取目标文件大小,也可以获取整个文件夹的大小(按字节计算),并输出到指定变量。", - "messageTemplate": "获取文件 $1 的大小, 然后把结果保存到 $0", - "baseType": "File_PathSize", - "functionName": "File.PathSizeNew", - "functionCalls": [ - { - "function": "File.PathSizeNew", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件大小", - "文件字节", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "选择或输入指定文件路径,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件大小", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件大小", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_CreateFolder", - "name": "生成上传路径", - "kind": "vendor", - "group": "file", - "categories": [ - "automation_portal", - "file" - ], - "categorySignature": "automation_portal|file", - "description": "自动生成一个文件路径,并将路径返回给指定变量。可与结果打包上传组件搭配使用。(注意:该组件一个流程中仅能使用一次)。", - "messageTemplate": "自动生成一个文件路径, 然后把结果保存到 $0", - "baseType": "File_CreateFolder", - "functionName": "File.CreateFolder", - "functionCalls": [ - { - "function": "File.CreateFolder", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "上传", - "路径", - "结果上传", - "门户", - "生成", - "产生", - "生成数据", - "创建", - "制作" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "uploadSrc", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "uploadSrc", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_Copy", - "name": "复制文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "将目标文件复制到指定路径下,可指定目标路径。", - "messageTemplate": "复制文件 $0 到 $1", - "baseType": "File_Copy", - "functionName": "File.Copy", - "functionCalls": [ - { - "function": "File.Copy", - "args": [ - "pathSrc", - "pathDest", - "cover" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制文件", - "指定路径", - "复制" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "pathSrc", - "label": "源文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择源文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pathDest", - "label": "目的地路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择目的地路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "cover", - "label": "是否覆盖", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "File_CompressFile", - "name": "压缩文件", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "压缩指定文件或文件夹(压缩后文件格式为zip格式)。", - "messageTemplate": "将 $2 $3 ,压缩至 {$$4 == 1 && '当前目录'}{$$4== 0 && '$5'}, 然后把结果保存到 $0", - "baseType": "File_CompressFile", - "functionName": "File.CompressFile", - "functionCalls": [ - { - "function": "File.CompressFile", - "args": [ - "file_type", - "file_path", - "folder_path", - "direct_type", - "out_path", - "pass_word", - "compress_type", - "is_delete" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_type", - "label": "待压缩内容", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "openFile", - "placeholder": "", - "description": "选择要压缩的对象类型:单个文件或文件夹。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文件", - "value": "openFile" - }, - { - "label": "文件夹", - "value": "openDirectory" - } - ] - }, - { - "key": "file_path", - "label": "待压缩文件", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入待压缩文件,例如 C:\\desktop\\report.docx", - "description": "待压缩的单个文件完整路径;仅在「待压缩内容=文件」时使用。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "待压缩文件夹", - "widget": "folder", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入待压缩文件夹,例如 C:\\desktop\\reports", - "description": "待压缩的文件夹完整路径;仅在「待压缩内容=文件夹」时使用。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "direct_type", - "label": "压缩包保存位置", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "「源文件路径」表示自动保存到待压缩对象所在目录;「其他路径」表示使用下方指定的输出位置。同名压缩包不会覆盖,会自动生成副本。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "源文件路径", - "value": "1" - }, - { - "label": "其他路径", - "value": "0" - } - ] - }, - { - "key": "out_path", - "label": "压缩包输出位置", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "选择输出目录,或输入 C:\\desktop\\result.zip", - "description": "选择输出文件夹,或填写以 .zip 结尾的完整压缩包路径;仅在「压缩包保存位置=其他路径」时使用。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "pass_word", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "设置压缩文件密码", - "description": "如果设置了密码,压缩方式将不生效,统一适用于普通压缩。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "compress_type", - "label": "压缩方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "普通压缩,压缩速度适中,压缩文件大小适中。压缩最快,压缩速度最快,压缩文件大小最大。压缩最小,压缩速度最慢,压缩文件大小最小。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "普通压缩", - "value": "1" - }, - { - "label": "压缩最快", - "value": "2" - }, - { - "label": "压缩最小", - "value": "3" - } - ] - }, - { - "key": "is_delete", - "label": "压缩完成后删除文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "压缩成功后,删除原待压缩文件。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "压缩包路径", - "key": "var_name", - "suggestedName": "压缩包路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "压缩包路径", - "defaultValue": "压缩包路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_FileExists", - "name": "判断文件存在", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "判断指定路径下的文件是否存在,存在返回true,不存在返回false。", - "messageTemplate": "判断文件 $1 是否存在, 然后把结果保存到 $0", - "baseType": "File_FileExists", - "functionName": "File.FileExists", - "functionCalls": [ - { - "function": "File.FileExists", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件存在", - "文件判断", - "有无文件" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入示例 : C:\\Users\\Administrator\\Desktop", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_PathExists", - "name": "判断路径", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "判断指定路径是否存在,存在返回true,不存在返回false。", - "messageTemplate": "判断路径 $1 是否存在, 然后把结果保存到 $0", - "baseType": "File_PathExists", - "functionName": "File.PathExists", - "functionCalls": [ - { - "function": "File.PathExists", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "路径存在", - "路径判断", - "路径合法" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "路径", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入示例 : C:\\Users\\Administrator\\Desktop", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "File_Move", - "name": "移动文件/文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file_parse" - ], - "categorySignature": "file_parse", - "description": "移动目标文件/文件夹到指定路径。", - "messageTemplate": "移动 $2 $3 到 $4, 然后把结果保存到 $0", - "baseType": "File_Move", - "functionName": "File.Move", - "functionCalls": [ - { - "function": "File.Move", - "args": [ - "file_type", - "file_path", - "folder_path", - "target_path", - "rename", - "name", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_type", - "label": "file_type", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "移动文件", - "value": "file" - }, - { - "label": "移动文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待移动文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择文件路径", - "description": "选择或输入待移动文件,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "待移动文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择文件夹路径", - "description": "选择或输入待移动文件夹,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "target_path", - "label": "移动至", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择移动至文件夹路径", - "description": "选择或输入目标文件夹路径,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "rename", - "label": "重命名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对移动成功后的文件/文件夹进行重命名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "name", - "label": "新名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "无需输入文件扩展名", - "description": "仅需输入新文件/新文件夹名称,如果含有文件扩展名,移动后文件将改变文件格式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "文件路径", - "key": "var_name", - "suggestedName": "移动后路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "文件路径", - "defaultValue": "移动后路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_EmptyFolder", - "name": "清空文件夹", - "kind": "vendor", - "group": "file", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "删除指定文件夹下所有文件和文件夹。", - "messageTemplate": "清空文件夹 $1, 然后把结果保存到 $0", - "baseType": "File_EmptyFolder", - "functionName": "File.EmptyFolder", - "functionCalls": [ - { - "function": "File.EmptyFolder", - "args": [ - "folder_path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "folder_path", - "label": "待清空文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入文件夹路径", - "description": "选择或输入指定文件夹目录,例如 C:\\desktop\\实在智能", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "清空结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "清空结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_WaitFile", - "name": "等待文件", - "kind": "vendor", - "group": "file", - "categories": [ - "waite", - "file" - ], - "categorySignature": "waite|file", - "description": "等待指定文件创建完成或删除完成。", - "messageTemplate": "等待文件 $1 $2, 然后把结果保存到 $0", - "baseType": "File_WaitFile", - "functionName": "File.WaitFile", - "functionCalls": [ - { - "function": "File.WaitFile", - "args": [ - "file_path", - "status", - "time_out" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "等待", - "延时", - "延迟", - "等候", - "暂停", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "file_path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择或输入指定文件路径,例如 C:\\desktop\\实在智能.txt", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "status", - "label": "文件状态", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "等待指定文件在特定时间是否创建完成或删除完成。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "创建完成", - "value": "1" - }, - { - "label": "删除完成", - "value": "2" - } - ] - }, - { - "key": "time_out", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "60", - "placeholder": "请输入超时时间", - "description": "在等待时间内,如果文件状态改变,则返回True,否则返回False。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "等待结果", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "等待结果", - "defaultValue": "等待结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "File_UploadFolder", - "name": "结果打包上传", - "kind": "vendor", - "group": "file", - "categories": [ - "automation_portal", - "controller", - "file" - ], - "categorySignature": "automation_portal|controller|file", - "description": "将需要交付的文件或文件夹打包上传至云端,可在后台供用户下载。(注意:使用该组件前请先使用“生成上传路径”组件)。", - "messageTemplate": "将 $0 路径下文件打包上传至云端", - "baseType": "File_UploadFolder", - "functionName": "File.UploadFolder", - "functionCalls": [ - { - "function": "File.UploadFolder", - "args": [ - "uploadSrc" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件夹", - "上传", - "打包", - "结果上传", - "门户" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "uploadSrc", - "label": "上传路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入“生成上传路径”组件输出的变量", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "FileTypeConversion_Office2pdf", - "name": "OFFICE文档转PDF", - "kind": "vendor", - "group": "office", - "categories": [ - "file" - ], - "categorySignature": "file", - "description": "将指定的office文档转化为pdf文件。", - "messageTemplate": "将OFFICE文档 $1 转为PDF $2 , 然后把结果保存到 $0", - "baseType": "FileTypeConversion_Office2pdf", - "functionName": "FileTypeConversion.Office2pdf", - "functionCalls": [ - { - "function": "FileTypeConversion.Office2pdf", - "args": [ - "fileInPath", - "fileOutPath", - "isMakedirs" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件转换", - "格式转换", - "office转pdf" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "文档地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文档路径", - "description": "选择或输入文档路径,例如 C:\\desktop\\实在智能.docx", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "fileOutPath", - "label": "PDF输出目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择转化后的PDF输出路径", - "description": "选择或输入输出路径,例如 C:\\desktop", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "isMakedirs", - "label": "是否创建该路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "PDF文件路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "PDF文件路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FileTypeConversion_Pdf2image2", - "name": "PDF转图片", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "将指定的pdf文档转化为图片格式。", - "messageTemplate": "将PDF $1 转为图片,输出目录在 $2 , 然后把结果保存到 $0", - "baseType": "FileTypeConversion_Pdf2image2", - "functionName": "FileTypeConversion.Pdf2image2", - "functionCalls": [ - { - "function": "FileTypeConversion.Pdf2image2", - "args": [ - "pdfPath", - "imageDir", - "isMakedirs" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件转换", - "格式转换", - "pdf转图片", - "图像" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "pdfPath", - "label": "PDF地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "imageDir", - "label": "图片输出目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "isMakedirs", - "label": "是否创建该路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_Download", - "name": "下载文件/文件夹(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "下载FTP服务器中文件、文件夹至本地。", - "messageTemplate": "下载 {$$2 == 'file' && '文件'}{$$2 == 'folder' && '文件夹'} $3 $4 存储至 $5, 然后把结果保存到 $0", - "baseType": "FTP_Download", - "functionName": "FTP.Download", - "functionCalls": [ - { - "function": "FTP.Download", - "args": [ - "ftp_obj", - "file_type", - "file_path", - "folder_path", - "target_path", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_type", - "label": "下载对象", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "下载文件", - "value": "file" - }, - { - "label": "下载文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待下载文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个文件用“;”分隔", - "description": "支持单个或多个文件下载,多个文件支持用“;”分隔的字符串或列表类型变量,示例:a.txt;b.txt", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "folder_path", - "label": "待下载文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件夹名称", - "description": "输入一个在当前工作目录下的文件夹名称", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "target_path", - "label": "下载至", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择本地存储路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "下载的文件为", - "key": "var_name", - "suggestedName": "下载文件列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "下载的文件为", - "defaultValue": "下载文件列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_Rename", - "name": "重命名文件/文件夹(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "重命名FTP服务器中指定文件、文件夹。", - "messageTemplate": "重命名FTP服务器 $1 中 {$$2 == 'file' && '文件 $3 '}{$$2 == 'folder' && '文件夹 $4 '} 到新名称 $5, 然后把结果保存到 $0", - "baseType": "FTP_Rename", - "functionName": "FTP.Rename", - "functionCalls": [ - { - "function": "FTP.Rename", - "args": [ - "ftp_obj", - "file_type", - "file_path", - "folder_path", - "toname" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_type", - "label": "重命名对象", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "重命名文件", - "value": "file" - }, - { - "label": "重命名文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待重命名文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入待重命名文件", - "description": "输入待重命名的文件名称,需包含文件扩展名。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "待重命名文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入待重命名文件夹", - "description": "输入待重命名的文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "toname", - "label": "新名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入新名称", - "description": "输入新名称,不需要文件扩展名。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "重命名后路径", - "key": "var_name", - "suggestedName": "文件夹ftp路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "重命名后路径", - "defaultValue": "文件夹ftp路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_Delete", - "name": "删除文件/文件夹(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "删除FTP服务器中指定文件、文件夹。", - "messageTemplate": "删除FTP服务器 $0 中 {$$1 == 'file' && '文件 $2 '}{$$1 == 'folder' && '文件夹 $3 '}", - "baseType": "FTP_Delete", - "functionName": "FTP.Delete", - "functionCalls": [ - { - "function": "FTP.Delete", - "args": [ - "ftp_obj", - "file_type", - "file_path", - "folder_path" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_type", - "label": "删除对象", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "删除文件", - "value": "file" - }, - { - "label": "删除文件夹", - "value": "folder" - } - ] - }, - { - "key": "file_path", - "label": "待删除文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个文件用“;”分隔", - "description": "支持单个或多个文件删除,多个文件支持用“;”分隔的字符串或列表类型变量,示例:a.txt;b.txt", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "folder_path", - "label": "待删除文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个文件夹用“;”分隔", - "description": "支持单个或多个文件夹删除,多个文件夹支持用“;”分隔的字符串或列表类型变量,示例:a;b", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "FTP_Disconnect", - "name": "断开FTP连接", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "断开FTP服务器连接。", - "messageTemplate": "断开当前FTP服务器 $0", - "baseType": "FTP_Disconnect", - "functionName": "FTP.Disconnect", - "functionCalls": [ - { - "function": "FTP.Disconnect", - "args": [ - "ftp_obj" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "FTP" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "FTP_Cwd", - "name": "切换工作目录", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "切换FTP服务器当前的工作目录。", - "messageTemplate": "切换FTP连接 $0 的工作目录为 $1", - "baseType": "FTP_Cwd", - "functionName": "FTP.Cwd", - "functionCalls": [ - { - "function": "FTP.Cwd", - "args": [ - "ftp_obj", - "dir" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "FTP" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "dir", - "label": "工作目录", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "FTP_GetFileList", - "name": "获取文件/文件夹(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "获取FTP服务器当前工作目录下所有文件、文件夹。", - "messageTemplate": "获取FTP服务器 $1 全部{$$2 == 'file' && '文件'}{$$2 == 'folder' && '文件夹'}, 然后把结果保存到 $0", - "baseType": "FTP_GetFileList", - "functionName": "FTP.GetFileList", - "functionCalls": [ - { - "function": "FTP.GetFileList", - "args": [ - "ftp_obj", - "file_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_type", - "label": "获取对象", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取文件", - "value": "file" - }, - { - "label": "获取文件夹", - "value": "folder" - } - ] - } - ], - "output": { - "label": "获取文件为", - "key": "var_name", - "suggestedName": "文件列表", - "valueTypes": [ - "rpa_list_file", - "rpa_list_folder" - ], - "fields": [ - { - "key": "var_name", - "label": "获取文件为", - "defaultValue": "文件列表", - "valueTypes": [ - "rpa_list_file", - "rpa_list_folder" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_CreateDir", - "name": "创建文件夹(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "在FTP服务器工作目录下创建一个文件夹。", - "messageTemplate": "在FTP服务器 $1 中创建文件夹 $2, 然后把结果保存到 $0", - "baseType": "FTP_CreateDir", - "functionName": "FTP.CreateDir", - "functionCalls": [ - { - "function": "FTP.CreateDir", - "args": [ - "ftp_obj", - "dirname", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "dirname", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件夹名称", - "description": "文件夹名称不能包含以下特殊符号:\\/:*?”<>|。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件夹存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "FTP路径输出至", - "key": "var_name", - "suggestedName": "文件夹ftp路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "FTP路径输出至", - "defaultValue": "文件夹ftp路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_Exist", - "name": "判断文件存在(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "判断文件在FTP服务器当前工作目录下是否存在。", - "messageTemplate": "在FTP服务器 $1 中判断文件 $2 是否存在, 然后把结果保存到 $0", - "baseType": "FTP_Exist", - "functionName": "FTP.Exist", - "functionCalls": [ - { - "function": "FTP.Exist", - "args": [ - "ftp_obj", - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "判断", - "判定", - "判别", - "判断出", - "识别", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "path", - "label": "待判断文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入待判断文件", - "description": "输入待判断文件名,需包含文件扩展名。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "判断结果输出至", - "key": "var_name", - "suggestedName": "文件存在与否", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "判断结果输出至", - "defaultValue": "文件存在与否", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_Upload", - "name": "上传文件/文件夹(FTP)", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "上传文件、文件夹至FTP服务器中指定目录。", - "messageTemplate": "上传 $4 $5 到FTP服务器目录 $3, 然后把结果保存到 $0", - "baseType": "FTP_Upload", - "functionName": "FTP.Upload", - "functionCalls": [ - { - "function": "FTP.Upload", - "args": [ - "ftp_obj", - "file_type", - "remote_path", - "file_path", - "folder_path", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料", - "文件夹", - "目录", - "目录夹" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_obj", - "label": "FTP对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "ftp对象", - "placeholder": "请选择FTP对象", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_type", - "label": "上传对象", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "file", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "上传文件", - "value": "file" - }, - { - "label": "上传文件夹", - "value": "folder" - } - ] - }, - { - "key": "remote_path", - "label": "FTP目录", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "相对于工作目录", - "description": "该目录相对于当前工作目录,默认为空,表示上传至当前工作目录。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_path", - "label": "待上传文件", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": false, - "defaultValue": "", - "placeholder": "请选择本地文件", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "folder_path", - "label": "待上传文件夹", - "widget": "folder", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": false, - "defaultValue": "", - "placeholder": "请选择本地文件夹", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "上传的文件为", - "key": "var_name", - "suggestedName": "上传文件列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "上传的文件为", - "defaultValue": "上传文件列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "FTP_Connect", - "name": "建立FTP连接", - "kind": "vendor", - "group": "file", - "categories": [ - "ftp" - ], - "categorySignature": "ftp", - "description": "连接FTP服务器,并返回FTP对象。", - "messageTemplate": "连接 $2:$3, 然后把结果保存到 $0", - "baseType": "FTP_Connect", - "functionName": "FTP.Connect", - "functionCalls": [ - { - "function": "FTP.Connect", - "args": [ - "ftp_type", - "address", - "port", - "active_conn", - "conn_type", - "user", - "pass_word", - "pass_word_file", - "encoding" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "FTP" - ], - "platformTag": null, - "icon": "file", - "risk": "low", - "fields": [ - { - "key": "ftp_type", - "label": "服务器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "ftp", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "FTP服务器", - "value": "ftp" - }, - { - "label": "SFTP服务器", - "value": "sftp" - } - ] - }, - { - "key": "address", - "label": "FTP服务器地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "FTP服务器端口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "21", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "active_conn", - "label": "启用主动连接", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当客户端和服务端之间存在连接安全问题,如存在防火墙导致服务端无法主动创建数据传输连接时,可以启用连接模式", - "advanced": false, - "valueTypes": [] - }, - { - "key": "conn_type", - "label": "连接方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "密码连接", - "value": "1" - }, - { - "label": "密钥连接", - "value": "0" - } - ] - }, - { - "key": "user", - "label": "用户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pass_word", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pass_word_file", - "label": "秘钥文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "encoding", - "label": "字符集编码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "utf-8", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "UTF-8", - "value": "utf-8" - }, - { - "label": "GBK", - "value": "gbk" - } - ] - } - ], - "output": { - "label": "FTP对象保存至", - "key": "var_name", - "suggestedName": "ftp对象", - "valueTypes": [ - "rpa_ftp" - ], - "fields": [ - { - "key": "var_name", - "label": "FTP对象保存至", - "defaultValue": "ftp对象", - "valueTypes": [ - "rpa_ftp" - ] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_GetAllData", - "name": "获取列信息(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "获取整个工作表的所有数据。", - "messageTemplate": "获取表格列信息, 然后把结果保存到 $0", - "baseType": "GoogleTable_GetAllData", - "functionName": "GoogleTable.GetAllData", - "functionCalls": [ - { - "function": "GoogleTable.GetAllData", - "args": [ - "url", - "startPosition", - "endPosition", - "sheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startPosition", - "label": "起始位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "endPosition", - "label": "结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_GetAllSheetsName", - "name": "获取Sheet名(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "获取电子表格中所有工作表的名称列表。", - "messageTemplate": "获取sheet页名称, 然后把结果保存到 $0", - "baseType": "GoogleTable_GetAllSheetsName", - "functionName": "GoogleTable.GetAllSheetsName", - "functionCalls": [ - { - "function": "GoogleTable.GetAllSheetsName", - "args": [ - "url" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_WriteToSheetRegionColumns", - "name": "写入列(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "向指定列区域写入数据(如A:A)。", - "messageTemplate": "写入一列数据, 然后把结果保存到 $0", - "baseType": "GoogleTable_WriteToSheetRegionColumns", - "functionName": "GoogleTable.WriteToSheetRegionColumns", - "functionCalls": [ - { - "function": "GoogleTable.WriteToSheetRegionColumns", - "args": [ - "url", - "startPosition", - "endPosition", - "Values", - "sheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startPosition", - "label": "列开始位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "endPosition", - "label": "列结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Values", - "label": "列数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入二维列表数据,示例: [[\"a\",\"b\"]],表示写入1 列数据", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_WriteToSheetRegionRows", - "name": "写入行(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "向指定行区域写入数据(如1:1)。", - "messageTemplate": "写入一行数据, 然后把结果保存到 $0", - "baseType": "GoogleTable_WriteToSheetRegionRows", - "functionName": "GoogleTable.WriteToSheetRegionRows", - "functionCalls": [ - { - "function": "GoogleTable.WriteToSheetRegionRows", - "args": [ - "url", - "startPosition", - "endPosition", - "Values", - "sheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startPosition", - "label": "行开始位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "endPosition", - "label": "行结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Values", - "label": "行数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入二维列表数据,示例:[[\"a\",\"b\"]],表示写入1 行数据", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_WriteToSheetCell", - "name": "写入单元格(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "向单个单元格写入数据。", - "messageTemplate": "写入单元格, 然后把结果保存到 $0", - "baseType": "GoogleTable_WriteToSheetCell", - "functionName": "GoogleTable.WriteToSheetCell", - "functionCalls": [ - { - "function": "GoogleTable.WriteToSheetCell", - "args": [ - "url", - "sheetName", - "cellName", - "value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellName", - "label": "单元格", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "写入的值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_WriteToSheetCellFormula", - "name": "写入单元格公式(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "向单元格写入公式(如=SUM(A1:A10))。", - "messageTemplate": "写入单元格公式, 然后把结果保存到 $0", - "baseType": "GoogleTable_WriteToSheetCellFormula", - "functionName": "GoogleTable.WriteToSheetCellFormula", - "functionCalls": [ - { - "function": "GoogleTable.WriteToSheetCellFormula", - "args": [ - "url", - "sheetName", - "cellName", - "value" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cellName", - "label": "单元格名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "value", - "label": "写入的公式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入单元格公式,示例:=SUM(B1:B5)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_GetSheetRowCount", - "name": "获取行数(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "获取工作表的行数统计。", - "messageTemplate": "获取sheet页表格行数, 然后把结果保存到 $0", - "baseType": "GoogleTable_GetSheetRowCount", - "functionName": "GoogleTable.GetSheetRowCount", - "functionCalls": [ - { - "function": "GoogleTable.GetSheetRowCount", - "args": [ - "url", - "sheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_DownloadSheets", - "name": "导出Sheet(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "下载整个电子表格为本地文件(支持CSV/Excel格式)。", - "messageTemplate": "导出sheets文件, 然后把结果保存到 $0", - "baseType": "GoogleTable_DownloadSheets", - "functionName": "GoogleTable.DownloadSheets", - "functionCalls": [ - { - "function": "GoogleTable.DownloadSheets", - "args": [ - "url", - "format", - "isOnlySheet" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "format", - "label": "导出格式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持xlsx、csv、pdf等", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isOnlySheet", - "label": "是否导出当前sheet", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "否", - "value": "0" - }, - { - "label": "是", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_CopyPasteSheet", - "name": "复制粘贴(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "复制工作表到当前或跨sheet复制到另一个电子表格。", - "messageTemplate": "复制粘贴, 然后把结果保存到 $0", - "baseType": "GoogleTable_CopyPasteSheet", - "functionName": "GoogleTable.CopyPasteSheet", - "functionCalls": [ - { - "function": "GoogleTable.CopyPasteSheet", - "args": [ - "url", - "sourceSheetName", - "destSheetName", - "sourceStart", - "sourceEnd", - "destStart", - "destEnd" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sourceSheetName", - "label": "源sheet", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "destSheetName", - "label": "目标sheet", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sourceStart", - "label": "源起始位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sourceEnd", - "label": "源结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "destStart", - "label": "目标起始位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "destEnd", - "label": "目标结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_GetColumnsByTableTitle", - "name": "按表头读取列(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "根据表标题获取列数据。", - "messageTemplate": "按表头读取列, 然后把结果保存到 $0", - "baseType": "GoogleTable_GetColumnsByTableTitle", - "functionName": "GoogleTable.GetColumnsByTableTitle", - "functionCalls": [ - { - "function": "GoogleTable.GetColumnsByTableTitle", - "args": [ - "url", - "sheetName", - "rowNum", - "tableTitles" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "rowNum", - "label": "行号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "tableTitles", - "label": "需要查询的表头列名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入列表数据,示例:[\"a\",\"b\"], 表示的是读取指定行中a和b作为表头的列数据", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_ChangeSheet", - "name": "激活Sheet(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "。", - "messageTemplate": "切换sheet页, 然后把结果保存到 $0", - "baseType": "GoogleTable_ChangeSheet", - "functionName": "GoogleTable.ChangeSheet", - "functionCalls": [ - { - "function": "GoogleTable.ChangeSheet", - "args": [ - "url", - "sheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_RenameSheet", - "name": "重命名Sheet(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "更改指定工作表的名称。", - "messageTemplate": "修改sheet页名称, 然后把结果保存到 $0", - "baseType": "GoogleTable_RenameSheet", - "functionName": "GoogleTable.RenameSheet", - "functionCalls": [ - { - "function": "GoogleTable.RenameSheet", - "args": [ - "url", - "originalSheetName", - "modifySheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "originalSheetName", - "label": "需修改的sheet", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "modifySheetName", - "label": "变更后的sheet名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "GoogleTable_WriteToSheetRegionregion", - "name": "写入区域(Google Sheets)", - "kind": "vendor", - "group": "office", - "categories": [ - "google_sheets" - ], - "categorySignature": "google_sheets", - "description": "向指定区域写入数据(支持多行多列)。", - "messageTemplate": "写入区域数据, 然后把结果保存到 $0", - "baseType": "GoogleTable_WriteToSheetRegionregion", - "functionName": "GoogleTable.WriteToSheetRegionregion", - "functionCalls": [ - { - "function": "GoogleTable.WriteToSheetRegionregion", - "args": [ - "url", - "startPosition", - "endPosition", - "Values", - "sheetName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "url", - "label": "url", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startPosition", - "label": "开始位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "endPosition", - "label": "结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Values", - "label": "区域数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入二维列表数据,示例: [[\"a\",\"b\"],[\"c\",\"d\"]] ,表示写入区域数据,内部的二元数组是行数据", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheetName", - "label": "sheet页名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Post_V2", - "name": "POST请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "使用http协议的post方法,将数据提交到指定网页的表单中,并输出到指定变量。", - "messageTemplate": "使用http协议的post方法请求 $1 , 然后把结果保存到 $0", - "baseType": "Http_Post", - "functionName": "Http.Post_V2", - "functionCalls": [ - { - "function": "Http.Post_V2", - "args": [ - "url", - "param", - "timeout", - "headers", - "cookies" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "post", - "表单填写", - "数据提交" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "链接地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入POST请求地址", - "description": "输入POST请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "timeout", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60", - "placeholder": "请输入请求超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求头,数据类型为字典", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入cookies,数据类型为字典", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_any" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_any" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Get", - "name": "GET请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "使用http协议的get方法,获取指定网页的表单数据,并输出到指定变量。", - "messageTemplate": "使用http协议的get方法请求 $1 , 然后把结果保存到 $0", - "baseType": "Http_Get", - "functionName": "Http.Get", - "functionCalls": [ - { - "function": "Http.Get", - "args": [ - "url", - "param", - "timeout", - "headers", - "cookies", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "get", - "表单数据", - "数据获取" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "链接地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入GET请求地址", - "description": "输入GET请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "timeout", - "label": "超时时间(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60000", - "placeholder": "请输入请求超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求头,数据类型为字典", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入cookies,数据类型为字典", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "utf-8", - "placeholder": "请输入编码类型", - "description": "输入编码类型,常用编码类型为utf-8、gbk、gb2312等", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Get_V1", - "name": "GET请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "使用http协议的get方法,获取指定网页的表单数据,并输出到指定变量。", - "messageTemplate": "使用http协议的get方法请求 $1 , 然后把结果保存到 $0", - "baseType": "Http_Get", - "functionName": "Http.Get_V1", - "functionCalls": [ - { - "function": "Http.Get_V1", - "args": [ - "url", - "param", - "timeout", - "headers", - "cookies", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "get", - "表单数据", - "数据获取" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "链接地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入GET请求地址", - "description": "输入GET请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "timeout", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60", - "placeholder": "请输入请求超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求头,数据类型为字典", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入cookies,数据类型为字典", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "utf-8", - "placeholder": "请输入编码类型", - "description": "输入编码类型,常用编码类型为utf-8、gbk、gb2312等", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Get_V2", - "name": "GET请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "使用http协议的get方法,获取指定网页的表单数据,并输出到指定变量。", - "messageTemplate": "使用http协议的get方法请求 $1 , 然后把结果保存到 $0", - "baseType": "Http_Get", - "functionName": "Http.Get_V2", - "functionCalls": [ - { - "function": "Http.Get_V2", - "args": [ - "url", - "param", - "time_out", - "headers", - "cookies", - "encode" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "get", - "表单数据", - "数据获取", - "请求", - "要求", - "请求信息", - "请求数据", - "请求指令", - "发送GET请求", - "GET数据获取", - "获取GET数据" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "链接地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入GET请求地址", - "description": "输入GET请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "time_out", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60", - "placeholder": "请输入请求超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求头,数据类型为字典", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入cookies,数据类型为字典", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "encode", - "label": "字符集编码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "utf-8", - "placeholder": "请输入编码类型", - "description": "输入编码类型,常用编码类型为utf-8、gbk、gb2312等", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Http_Request", - "name": "HTTP 请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "可以使用HTTP协议的方法,将数据发送到服务端,并保存响应结果。", - "messageTemplate": "使用 $2 方法请求, 然后把结果保存到 $0", - "baseType": "Http_Http_Request", - "functionName": "Http.Http_Request", - "functionCalls": [ - { - "function": "Http.Http_Request", - "args": [ - "auto_filling", - "method", - "url", - "headers", - "body", - "connect_timeout", - "save_response_to_file", - "file_path", - "http_use_webpage", - "web_page" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "http", - "http请求", - "请求", - "要求", - "请求信息", - "请求数据", - "请求指令", - "HTTP", - "超文本传输协议", - "HTTP协议" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "auto_filling", - "label": "智能识别填入", - "widget": "text", - "type": "string", - "displayType": "parseCurl", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请选择操作方法。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "method", - "label": "方法", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "GET", - "placeholder": "", - "description": "请选择操作方法。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "GET", - "value": "GET" - }, - { - "label": "POST", - "value": "POST" - }, - { - "label": "CONNECT", - "value": "CONNECT" - }, - { - "label": "HEAD", - "value": "HEAD" - }, - { - "label": "PUT", - "value": "PUT" - }, - { - "label": "DELETE", - "value": "DELETE" - }, - { - "label": "OPTIONS", - "value": "OPTIONS" - }, - { - "label": "TRACE", - "value": "TRACE" - }, - { - "label": "PATCH", - "value": "PATCH" - } - ] - }, - { - "key": "url", - "label": "URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入请求地址", - "description": "请输入请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "headers", - "label": "协议头", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": false, - "defaultValue": "", - "placeholder": "请输入请求头,如:\"header1:value\"", - "description": "协议头,多行,每行格式为: \"协议头名称:协议头内容\"", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_dict" - ] - }, - { - "key": "body", - "label": "协议体", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": false, - "defaultValue": "", - "placeholder": "请输入请求体,如:\"header1:value\"", - "description": "协议体,填写待发送到服务器的内容", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_dict" - ] - }, - { - "key": "connect_timeout", - "label": "连接超时秒数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "30", - "placeholder": "", - "description": "输入连接超时秒数", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "save_response_to_file", - "label": "响应结果保存到文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将响应结果保存到文件", - "advanced": true, - "valueTypes": [] - }, - { - "key": "file_path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "saveAsDialog", - "required": true, - "defaultValue": "", - "placeholder": "选择或输入文件保存路径", - "description": "保存响应结果的文件路径", - "advanced": true, - "valueTypes": [] - }, - { - "key": "http_use_webpage", - "label": "通过网页发送Http请求", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请求需要认证信息才可以发送成功,需要选择已完成认证的网页对象,默认不勾选。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "web_page", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": true, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_dict_http_response" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_dict_http_response" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Post", - "name": "POST请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "使用http协议的post方法,将数据提交到指定网页的表单中,并输出到指定变量。", - "messageTemplate": "使用http协议的post方法请求 $1 , 然后把结果保存到 $0", - "baseType": "Http_Post", - "functionName": "Http.Post", - "functionCalls": [ - { - "function": "Http.Post", - "args": [ - "url", - "param", - "timeout", - "headers", - "cookies" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "post", - "表单填写", - "数据提交" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "链接地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入POST请求地址", - "description": "输入POST请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "timeout", - "label": "超时时间(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60000", - "placeholder": "请输入请求超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求头,数据类型为字典", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入cookies,数据类型为字典", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_any" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_any" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Http_Post_V3", - "name": "POST请求", - "kind": "vendor", - "group": "message", - "categories": [ - "network" - ], - "categorySignature": "network", - "description": "使用http协议的post方法,将数据提交到指定网页的表单中,并输出到指定变量。", - "messageTemplate": "使用http协议的post方法请求 $1 , 然后把结果保存到 $0", - "baseType": "Http_Post", - "functionName": "Http.Post_V3", - "functionCalls": [ - { - "function": "Http.Post_V3", - "args": [ - "url", - "param", - "time_out", - "headers", - "cookies" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "post", - "表单填写", - "数据提交", - "请求", - "要求", - "请求信息", - "请求数据", - "请求指令", - "发送POST请求", - "POST数据提交", - "提交POST数据" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "链接地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入POST请求地址", - "description": "输入POST请求地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "time_out", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60", - "placeholder": "请输入请求超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入请求头,数据类型为字典", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入cookies,数据类型为字典", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "返回数据", - "valueTypes": [ - "rpa_any" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "返回数据", - "valueTypes": [ - "rpa_any" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Click", - "name": "点击图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并单击该图片。", - "messageTemplate": "查找图像 $0 并点击图像的 $1 位置", - "baseType": "Image_Click", - "functionName": "Image.Click", - "functionCalls": [ - { - "function": "Image.Click", - "args": [ - "image", - "position", - "accuracy", - "accuracy2", - "isAbsolutePath", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片查找点击", - "图像点击" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "输入或选择图片路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "相对目标的点击位置(中心、左上角等)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "中心", - "value": "center" - }, - { - "label": "左上", - "value": "leftTop" - }, - { - "label": "上", - "value": "top" - }, - { - "label": "右上", - "value": "rightTop" - }, - { - "label": "左", - "value": "left" - }, - { - "label": "右", - "value": "right" - }, - { - "label": "左下", - "value": "leftBottom" - }, - { - "label": "下", - "value": "bottom" - }, - { - "label": "右下", - "value": "rightBottom" - } - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "hidden", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "【暂未启用】当前实现为纯像素模板匹配,无特征匹配层;字段保留以兼容旧流程", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "isAbsolutePath", - "label": "isAbsolutePath", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Image_Move_V2", - "name": "鼠标移动到图像上", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并将鼠标移到该图片的中心位置。", - "messageTemplate": "查找图像 $4 并移动至图片的 $5 位置", - "baseType": "Image_Move", - "functionName": "Image.Move_V2", - "functionCalls": [ - { - "function": "Image.Move_V2", - "args": [ - "image", - "position", - "accuracy", - "show_track", - "find_range", - "window_obj", - "action", - "shot_position" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片位置", - "移到图像上", - "移到图片上", - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "find_range", - "label": "图像查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择模板图片的查找范围:整个屏幕、指定窗口,或先框选一块屏幕区域后只在该区域内查找。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "指定窗口", - "value": "2" - }, - { - "label": "指定屏幕范围", - "value": "3" - } - ] - }, - { - "key": "window_obj", - "label": "窗口标题/对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择窗口或填写标题/进程名", - "description": "查找范围为「指定窗口」时必填:可填窗口完整标题、标题关键字或进程名;点「选窗口」从可见窗口列表中选择。", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "action", - "label": "查找区域", - "widget": "region", - "type": "object", - "displayType": "getScreenShot", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "shot_position", - "label": "查找区域", - "widget": "region", - "type": "object", - "displayType": "screenShotValue", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "要查找的小图模板路径;建议只框选按钮、图标或文字块等目标图案,不要框整屏大图。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "命中目标图像后,鼠标移动到目标区域的哪个位置。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左上", - "value": "leftTop" - }, - { - "label": "右上", - "value": "rightTop" - }, - { - "label": "左下", - "value": "leftBottom" - }, - { - "label": "右下", - "value": "rightBottom" - }, - { - "label": "中心", - "value": "center" - } - ] - }, - { - "key": "accuracy", - "label": "相似度", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": true, - "defaultValue": "0.95", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开启后鼠标按轨迹移动到目标位置;关闭后直接跳到目标位置。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Image_Screenshot", - "name": "屏幕截图", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "根据选择的坐标区域截取图像,并将截图保存到指定路径。", - "messageTemplate": "截取 $1 $5 $6 区域为图像, 然后把结果保存到 $0", - "baseType": "Image_Screenshot", - "functionName": "Image.Screenshot", - "functionCalls": [ - { - "function": "Image.Screenshot", - "args": [ - "pictureSource", - "shotRange", - "image_path", - "action", - "position", - "position_img", - "outImagePath", - "outImageName" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图像截取", - "图片截图", - "截图" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像来源", - "widget": "hidden", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "【界面已隐藏】实现默认截取当前屏幕;历史流程如存有 2(指定图片文件) 仍按原逻辑生效", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前屏幕", - "value": "1" - }, - { - "label": "指定图片文件", - "value": "2" - } - ] - }, - { - "key": "shotRange", - "label": "截图范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择要截图的范围,可以使截取整个屏幕,或手动选择截图区域", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "框选区域", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "截图保存路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "如 D:\\files\\demo.png", - "description": "截图保存的完整文件路径(含文件名),点右侧按钮可直接选保存位置;留空时保存到流程资源目录并自动生成文件名", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "position", - "label": "截图区域", - "widget": "region", - "type": "object", - "displayType": "screenShotValue", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", - "advanced": false, - "valueTypes": [] - }, - { - "key": "outImageName", - "label": "截图文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "留空则自动生成,如 screenshot_1730000000.png", - "description": "「截图保存路径」只填了目录或留空时使用的文件名;已含文件名时无需填写", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "保存图像位置", - "key": "var_name", - "suggestedName": "图像路径", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "保存图像位置", - "defaultValue": "图像路径", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Base64Decode", - "name": "图片base64编码转二进制", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "将图片base64编码转二进制。", - "messageTemplate": "将图片base64编码转二进制 , 然后把结果保存到 $0", - "baseType": "Image_Base64Decode", - "functionName": "Image.Base64Decode", - "functionCalls": [ - { - "function": "Image.Base64Decode", - "args": [ - "val" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "val", - "label": "图片base64编码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入编码", - "description": "填写参数值,支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图片二进制值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图片二进制值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Find", - "name": "查找图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在目标界面中查找指定图像,并返回是否存在指定图片。可截图或上传图片,设定相似度。", - "messageTemplate": "查找图片 $1, 然后把结果保存到 $0", - "baseType": "Image_Find", - "functionName": "Image.Find", - "functionCalls": [ - { - "function": "Image.Find", - "args": [ - "image", - "accuracy", - "accuracy2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查找图片", - "查找图像位置", - "图像检索" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "已所选源图为样板,查找当前页面中和样板相似或一致的图片并返回查找结果。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "查找结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "查找结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Base64Encode", - "name": "图片Base64编解码", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "将图片文件转为 base64 编码,或将 base64 编码还原保存为图片文件。", - "messageTemplate": "对图片执行 base64 $1 , 然后把结果保存到 $0", - "baseType": "Image_Base64Encode", - "functionName": "Image.Base64Encode", - "functionCalls": [ - { - "function": "Image.Base64Encode", - "args": [ - "mode", - "path", - "val", - "output" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "mode", - "label": "转换方向", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "encode", - "placeholder": "", - "description": "编码:图片文件转为 base64 字符串;解码:base64 字符串还原保存为图片文件", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "图片 → Base64", - "value": "encode" - }, - { - "label": "Base64 → 图片", - "value": "decode" - } - ] - }, - { - "key": "path", - "label": "图片对象", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "编码方向的源图片路径,支持 ${变量} 引用上游输出(如上游截图的保存路径)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "val", - "label": "Base64编码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "如 ${图片编码值}", - "description": "解码方向的 base64 字符串,支持 ${变量} 引用上游输出;自动忽略 data:image/...;base64, 前缀", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "output", - "label": "图片保存路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "如 D:\\files\\restored.png", - "description": "解码方向的保存位置(含文件名);留空自动生成临时图片文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Wait_V1", - "name": "等待图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "waite" - ], - "categorySignature": "waite", - "description": "等待指定的图像显示,加载等待。", - "messageTemplate": "等待图像 $5, 然后把结果保存到 $0", - "baseType": "Image_Wait", - "functionName": "Image.Wait_V1", - "functionCalls": [ - { - "function": "Image.Wait_V1", - "args": [ - "image", - "accuracy", - "time_out", - "find_range", - "window_obj", - "action", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片等待", - "图像等待", - "图像加载", - "等待", - "延时", - "延迟", - "等候", - "暂停" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "find_range", - "label": "图像查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择模板图片的查找范围:整个屏幕、指定窗口,或先框选一块屏幕区域后只在该区域内查找。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "指定窗口", - "value": "2" - }, - { - "label": "指定屏幕范围", - "value": "3" - } - ] - }, - { - "key": "window_obj", - "label": "窗口标题/对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "选择窗口或填写标题/进程名", - "description": "查找范围为「指定窗口」时必填:可填窗口完整标题、标题关键字或进程名;点「选窗口」从可见窗口列表中选择。", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "action", - "label": "查找区域", - "widget": "region", - "type": "object", - "displayType": "getScreenShot", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "查找区域", - "widget": "region", - "type": "object", - "displayType": "screenShotValue", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "要查找的小图模板路径;建议只框选按钮、图标或文字块等目标图案,不要框整屏大图。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "accuracy", - "label": "相似度", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": true, - "defaultValue": "0.95", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "time_out", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "20", - "placeholder": "20", - "description": "等待目标图像出现的秒数;默认 20 秒。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果及坐标", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果及坐标", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Exists", - "name": "判断图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内查找图片,判断是否存在,存在返回true,失败返回false。", - "messageTemplate": "判断是否存在图片 $1, 然后把结果保存到 $0", - "baseType": "Image_Exists", - "functionName": "Image.Exists", - "functionCalls": [ - { - "function": "Image.Exists", - "args": [ - "image", - "accuracy", - "accuracy2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片查找", - "图像存在", - "图像判断" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0.8", - "placeholder": "输入内容或 ${变量}", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0.2", - "placeholder": "输入内容或 ${变量}", - "description": "填写参数值,支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Location", - "name": "图像位置", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并返回图片在屏幕中的坐标位置。", - "messageTemplate": "查找图片 $1 并返回位置坐标, 然后把结果保存到 $0", - "baseType": "Image_Location", - "functionName": "Image.Location", - "functionCalls": [ - { - "function": "Image.Location", - "args": [ - "image", - "accuracy", - "accuracy2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片位置", - "图像位置", - "图像坐标" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "以所选源图为样板,查找当前页面中和样板相似或一致的图片并返回坐标。 ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图像坐标值", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图像坐标值", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Location_V1", - "name": "获取图像位置", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并返回图片在屏幕中的坐标位置。", - "messageTemplate": "查找图像 $5 并返回位置坐标, 然后把结果保存到 $0", - "baseType": "Image_Location", - "functionName": "Image.Location_V1", - "functionCalls": [ - { - "function": "Image.Location_V1", - "args": [ - "image", - "accuracy", - "find_range", - "window_obj", - "action", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片位置", - "图像位置", - "图像坐标", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "find_range", - "label": "图像查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "请选择查找目标图像的范围", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "当前激活窗口", - "value": "2" - }, - { - "label": "指定窗口对象", - "value": "3" - }, - { - "label": "指定屏幕范围", - "value": "4" - } - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "目标窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "action", - "label": "action", - "widget": "region", - "type": "object", - "displayType": "getScreenShot", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "position", - "widget": "region", - "type": "object", - "displayType": "screenShotValue", - "required": false, - "defaultValue": "", - "placeholder": "{\"x\":0,\"y\":0,\"width\":100,\"height\":50}", - "description": "区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "accuracy", - "label": "相似度", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": true, - "defaultValue": "0.95", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图像坐标值", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图像坐标值", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Find_V1", - "name": "查找图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在目标界面中查找指定图像,并返回是否存在指定图片。可截图或上传图片,设定相似度。", - "messageTemplate": "查找图像 $5, 然后把结果保存到 $0", - "baseType": "Image_Find", - "functionName": "Image.Find_V1", - "functionCalls": [ - { - "function": "Image.Find_V1", - "args": [ - "image", - "accuracy", - "find_range", - "window_obj", - "action", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查找图片", - "查找图像位置", - "图像检索" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "find_range", - "label": "图像查找范围", - "widget": "select", - "displayType": "dropDownSelect", - "defaultValue": "1", - "required": false, - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "指定窗口", - "value": "2" - } - ], - "description": "在整个虚拟桌面(含副屏)中查找,或仅在指定窗口范围内查找", - "valueTypes": [ - "string" - ], - "type": "string" - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "displayType": "text-expression", - "defaultValue": "", - "required": false, - "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择", - "type": "string" - }, - { - "key": "image", - "label": "目标图像", - "widget": "text", - "displayType": "imageSelector", - "defaultValue": "", - "required": true, - "description": "模板图片文件的完整路径,用于匹配识别;点右侧「屏幕截取」可框选屏幕上的目标图案", - "type": "string" - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "displayType": "similaritySlider", - "defaultValue": "0.9", - "required": true, - "description": "相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。建议 0.8~0.9。", - "type": "string" - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "查找结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "查找结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Exists_V1", - "name": "判断图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "judgment" - ], - "categorySignature": "judgment", - "description": "在指定范围内查找图片,判断是否存在,存在返回true,失败返回false。", - "messageTemplate": "判断是否存在图片 $1, 然后把结果保存到 $0", - "baseType": "Image_Exists", - "functionName": "Image.Exists_V1", - "functionCalls": [ - { - "function": "Image.Exists_V1", - "args": [ - "image", - "accuracy" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片查找", - "图像存在", - "图像判断" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "find_range", - "label": "图像查找范围", - "widget": "select", - "displayType": "dropDownSelect", - "defaultValue": "1", - "required": false, - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "指定窗口", - "value": "2" - } - ], - "description": "在整个虚拟桌面(含副屏)中查找,或仅在指定窗口范围内查找", - "type": "string" - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "displayType": "text-expression", - "defaultValue": "", - "required": false, - "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择", - "type": "string" - }, - { - "key": "image", - "label": "目标图像", - "widget": "text", - "displayType": "imageSelector", - "defaultValue": "", - "required": true, - "description": "模板图片文件的完整路径,用于匹配识别;点右侧「屏幕截取」可框选屏幕上的目标图案", - "type": "string" - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "displayType": "similaritySlider", - "defaultValue": "0.9", - "required": true, - "description": "相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。建议 0.8~0.9。", - "type": "string" - }, - { - "key": "timeout", - "label": "等待超时(秒)", - "widget": "number", - "displayType": "text-expression", - "defaultValue": "0", - "required": false, - "description": "大于 0 时在该时间内每隔 0.3 秒重试查找,超时仍未找到才返回 false", - "type": "string" - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Image_CropImg", - "name": "截取图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "按设定的大小和位置截取指定图片,并将截取的图片保存到指定路径,可设定截取的起始坐标点。", - "messageTemplate": "返回图片按照给定坐标截图, 然后把结果保存到 $0", - "baseType": "Image_CropImg", - "functionName": "Image.CropImg", - "functionCalls": [ - { - "function": "Image.CropImg", - "args": [ - "file_path", - "imagePath", - "xstart", - "xend", - "ystart", - "yend" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图像截取", - "图片截图", - "截图" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "file_path", - "label": "源图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "要被裁剪的源图片完整路径——本组件从已有图片文件中裁出区域,不是截屏;截屏请用「截图图像」组件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "imagePath", - "label": "截图输出目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件夹路径", - "description": "文件夹的完整路径;点右侧按钮浏览选择,支持 ${变量} 引用", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "xstart", - "label": "x坐标起点", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入坐标点", - "description": "裁剪区域左上角的 x 坐标(图片上的像素)", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "xend", - "label": "x坐标终点", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入坐标点", - "description": "裁剪区域右下角的 x 坐标,需大于起点 x", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "ystart", - "label": "y坐标起点", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入坐标点", - "description": "裁剪区域左上角的 y 坐标(图片上的像素)", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "yend", - "label": "y坐标终点", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入坐标点", - "description": "裁剪区域右下角的 y 坐标,需大于起点 y", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图像路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图像路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Click_V1", - "name": "点击图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并单击该图片。", - "messageTemplate": "查找图像 $0 并点击图像的 $1 位置", - "baseType": "Image_Click", - "functionName": "Image.Click_V1", - "functionCalls": [ - { - "function": "Image.Click_V1", - "args": [ - "image", - "position", - "accuracy", - "accuracy2", - "isAbsolutePath", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片查找点击", - "图像点击" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "输入或选择图片路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "相对目标的点击位置(中心、左上角等)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左上", - "value": "left-top" - }, - { - "label": "右上", - "value": "right-top" - }, - { - "label": "左下", - "value": "left-bottom" - }, - { - "label": "右下", - "value": "right-bottom" - }, - { - "label": "中间", - "value": "center" - } - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "isAbsolutePath", - "label": "isAbsolutePath", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Image_Click_V3", - "name": "点击图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image", - "peripheral_device" - ], - "categorySignature": "image|peripheral_device", - "description": "在指定范围内检索图片,并单击该图片。", - "messageTemplate": "查找图像 $4 并点击图像的 $5 位置", - "baseType": "Image_Click", - "functionName": "Image.Click_V3", - "functionCalls": [ - { - "function": "Image.Click_V3", - "args": [ - "image", - "click_key", - "position", - "accuracy", - "show_track", - "find_range", - "window_obj", - "action", - "shot_position" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片查找点击", - "图像点击", - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "find_range", - "label": "图像查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "请选择查找目标图像的范围", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整个屏幕", - "value": "1" - }, - { - "label": "指定窗口", - "value": "2" - } - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "image", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "click_key", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "从选项中选择一项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "left" - }, - { - "label": "右键", - "value": "right" - } - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "相对目标的点击位置(中心、左上角等)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "中心", - "value": "center" - }, - { - "label": "左上", - "value": "leftTop" - }, - { - "label": "上", - "value": "top" - }, - { - "label": "右上", - "value": "rightTop" - }, - { - "label": "左", - "value": "left" - }, - { - "label": "右", - "value": "right" - }, - { - "label": "左下", - "value": "leftBottom" - }, - { - "label": "下", - "value": "bottom" - }, - { - "label": "右下", - "value": "rightBottom" - } - ] - }, - { - "key": "accuracy", - "label": "相似度", - "widget": "text", - "type": "string", - "displayType": "similaritySlider", - "required": true, - "defaultValue": "0.9", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。建议 0.8~0.9。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Image_RelativePosition", - "name": "对比图像相对位置", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在一张较大的图(如整屏/整窗截图)中查找指定小图,返回其相对位置坐标。", - "messageTemplate": "获取图像 $1 中,$2 的相对位置坐标, 然后把结果保存到 $0", - "baseType": "Image_RelativePosition", - "functionName": "Image.RelativePosition", - "functionCalls": [ - { - "function": "Image.RelativePosition", - "args": [ - "source", - "template" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "source", - "label": "被搜索图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "被搜索的较大图片路径(如整屏截图),支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "template", - "label": "查找目标(小图)", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "要寻找的小图案完整路径(按钮/图标/文字块),可点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "相对坐标值", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "相对坐标值", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Click_V2", - "name": "点击图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并单击该图片。", - "messageTemplate": "查找图像 $0 并点击图像的 $1 位置", - "baseType": "Image_Click", - "functionName": "Image.Click_V2", - "functionCalls": [ - { - "function": "Image.Click_V2", - "args": [ - "image", - "position", - "accuracy", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片查找点击", - "图像点击" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "输入或选择图片路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "相对目标的点击位置(中心、左上角等)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左上", - "value": "left-top" - }, - { - "label": "右上", - "value": "right-top" - }, - { - "label": "左下", - "value": "left-bottom" - }, - { - "label": "右下", - "value": "right-bottom" - }, - { - "label": "中间", - "value": "center" - } - ] - }, - { - "key": "accuracy", - "label": "相似度", - "widget": "text", - "type": "string", - "displayType": "similaritySlider", - "required": true, - "defaultValue": "0.95", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Image_Wait", - "name": "等待图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "waite", - "image" - ], - "categorySignature": "waite|image", - "description": "等待指定的图像显示,加载等待。", - "messageTemplate": "等待图片 $1 , 然后把结果保存到 $0", - "baseType": "Image_Wait", - "functionName": "Image.Wait", - "functionCalls": [ - { - "function": "Image.Wait", - "args": [ - "image", - "accuracy", - "accuracy2", - "timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片等待", - "图像等待", - "图像加载" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图像路径", - "description": "输入或选择图像路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "timeout", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "20", - "placeholder": "请输入超时等待的时间(秒)", - "description": "输入超时等待的时间,单位:毫秒,默认20秒,非必填", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "结果及坐标", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "结果及坐标", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Image_Move", - "name": "移动到图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并将鼠标移到该图片的中心位置。", - "messageTemplate": "查找图片 $0 并移动至图片的 $1 位置", - "baseType": "Image_Move", - "functionName": "Image.Move", - "functionCalls": [ - { - "function": "Image.Move", - "args": [ - "image", - "position", - "accuracy", - "accuracy2", - "isAbsolutePath", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片位置", - "移到图像上", - "移到图片上" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "已所选源图为样板,查找当前页面中和样板相似或一致的图片并将鼠标移动到图片的指定位置", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "相对目标的点击位置(中心、左上角等)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左上", - "value": "left-top" - }, - { - "label": "右上", - "value": "right-top" - }, - { - "label": "左下", - "value": "left-bottom" - }, - { - "label": "右下", - "value": "right-bottom" - }, - { - "label": "中间", - "value": "center" - } - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "isAbsolutePath", - "label": "isAbsolutePath", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Image_Move_V1", - "name": "移动到图像", - "kind": "vendor", - "group": "vision", - "categories": [ - "image" - ], - "categorySignature": "image", - "description": "在指定范围内检索图片,并将鼠标移到该图片的中心位置。", - "messageTemplate": "查找图片 $0 并移动至图片的 $1 位置", - "baseType": "Image_Move", - "functionName": "Image.Move_V1", - "functionCalls": [ - { - "function": "Image.Move_V1", - "args": [ - "image", - "position", - "accuracy", - "accuracy2", - "isAbsolutePath", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片位置", - "移到图像上", - "移到图片上" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "已所选源图为样板,查找当前页面中和样板相似或一致的图片并将鼠标移动到图片的指定位置", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "position", - "label": "点击位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "center", - "placeholder": "", - "description": "相对目标的点击位置(中心、左上角等)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左上", - "value": "left-top" - }, - { - "label": "右上", - "value": "right-top" - }, - { - "label": "左下", - "value": "left-bottom" - }, - { - "label": "右下", - "value": "right-bottom" - }, - { - "label": "中间", - "value": "center" - } - ] - }, - { - "key": "accuracy", - "label": "模板相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.8", - "placeholder": "请输入相似度阈值", - "description": "模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "accuracy2", - "label": "特征相似度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.2", - "placeholder": "请输入相似度阈值", - "description": "即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "isAbsolutePath", - "label": "isAbsolutePath", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Ini_DeleteKey", - "name": "删除INI文件键", - "kind": "vendor", - "group": "data", - "categories": [ - "INI" - ], - "categorySignature": "INI", - "description": "删除INI配置文件下的指定小节的键值。", - "messageTemplate": "删除配置文件 $0 的 $1 小节 $2 键", - "baseType": "Ini_DeleteKey", - "functionName": "Ini.DeleteKey", - "functionCalls": [ - { - "function": "Ini.DeleteKey", - "args": [ - "file", - "section", - "key" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除键值", - "INI", - "删除INI小节的键值", - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择INI文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "section", - "label": "小节名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要删除键所在的小节名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "key", - "label": "键名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要删除的键名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Ini_Write", - "name": "写入INI文件键值", - "kind": "vendor", - "group": "data", - "categories": [ - "INI" - ], - "categorySignature": "INI", - "description": "写入INI文件指定小节下的键值。", - "messageTemplate": "写入配置文件 $0 键值 $2 为 $3", - "baseType": "Ini_Write", - "functionName": "Ini.Write", - "functionCalls": [ - { - "function": "Ini.Write", - "args": [ - "file", - "section", - "key", - "value" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写键值", - "INI", - "INI键值", - "写入", - "写入到", - "写入数据", - "写进", - "录入" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择INI文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "section", - "label": "小节名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入INI文件指定的小节名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "key", - "label": "键名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要写入键值的键名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "value", - "label": "键值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要写入的键值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Ini_ListSection", - "name": "枚举INI文件小节", - "kind": "vendor", - "group": "data", - "categories": [ - "INI" - ], - "categorySignature": "INI", - "description": "枚举INI配置文件中的所有小节。", - "messageTemplate": "枚举配置文件 $1 的所有小节, 然后把结果保存到 $0", - "baseType": "Ini_ListSection", - "functionName": "Ini.ListSection", - "functionCalls": [ - { - "function": "Ini.ListSection", - "args": [ - "file" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "枚举", - "INI", - "INI小节" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择INI文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "所有小节名", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "所有小节名", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Ini_DeleteSection", - "name": "删除INI文件小节", - "kind": "vendor", - "group": "data", - "categories": [ - "INI" - ], - "categorySignature": "INI", - "description": "删除INI配置文件下的指定小节。", - "messageTemplate": "删除配置文件 $0 的 $1 小节", - "baseType": "Ini_DeleteSection", - "functionName": "Ini.DeleteSection", - "functionCalls": [ - { - "function": "Ini.DeleteSection", - "args": [ - "file", - "section" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除小节", - "INI", - "删除INI小节", - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择INI文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "section", - "label": "小节名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要删除的小节名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Ini_ListKey", - "name": "枚举INI文件键", - "kind": "vendor", - "group": "data", - "categories": [ - "INI" - ], - "categorySignature": "INI", - "description": "枚举INI配置文件中的所有键。", - "messageTemplate": "枚举配置文件 $1 的所有键, 然后把结果保存到 $0", - "baseType": "Ini_ListKey", - "functionName": "Ini.ListKey", - "functionCalls": [ - { - "function": "Ini.ListKey", - "args": [ - "file", - "section" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "枚举键", - "INI", - "INI键值" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择INI文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "section", - "label": "小节名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要枚举键的小节名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "小节下的所有键名", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "小节下的所有键名", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Ini_Read", - "name": "读取INI文件键值", - "kind": "vendor", - "group": "data", - "categories": [ - "INI" - ], - "categorySignature": "INI", - "description": "读取INI文件指定小节下的键值。", - "messageTemplate": "读取配置文件 $1 , 然后把结果保存到 $0", - "baseType": "Ini_Read", - "functionName": "Ini.Read", - "functionCalls": [ - { - "function": "Ini.Read", - "args": [ - "file", - "section", - "key", - "defaultValue" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读键值", - "INI", - "INI小节", - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "file", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择INI文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "section", - "label": "小节名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入INI文件指定的小节名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "key", - "label": "键名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要读取键值的键名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "defaultValue", - "label": "默认值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "若未找到指定键值时返回的默认值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "读取的键值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "读取的键值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "JSON_Stringify", - "name": "将JSON转换为文本", - "kind": "vendor", - "group": "data", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将指定的JSON对象转换为文本,并输出到指定变量。", - "messageTemplate": "将 $1 JSON对象转为字符串, 然后把结果保存到 $0", - "baseType": "JSON_Stringify", - "functionName": "JSON.Stringify", - "functionCalls": [ - { - "function": "JSON.Stringify", - "args": [ - "string", - "fuctype" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "json", - "json转换", - "字符串", - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "待转换JSON对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入JSON对象,例如:{\"name\":\"张三\",\"age\":24}", - "description": "{\"a\":1,\"b\":2}", - "advanced": false, - "valueTypes": [] - }, - { - "key": "fuctype", - "label": "是否转ASCII码", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "是否对中文进行编码", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "转换结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "转换结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "JSON_Parse", - "name": "将文本转换为JSON", - "kind": "vendor", - "group": "data", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将指定的文本转换为JSON对象,并输出到指定变量。", - "messageTemplate": "将字符串 $1 转为JSON, 然后把结果保存到 $0", - "baseType": "JSON_Parse", - "functionName": "JSON.Parse", - "functionCalls": [ - { - "function": "JSON.Parse", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "类型转换", - "json", - "json转换", - "字符串", - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "待转换文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入待转换文本,例如:{\"a\":1,\"b\":2}", - "description": "输入待转换为JSON的文本,例如:{\"a\":1,\"b\":2}", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "转换结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "转换结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Keyboard_PressNew", - "name": "键盘模拟按键", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟按下键盘上指定的按键,可以是组合键也可以是单独按键。", - "messageTemplate": "键盘 $0 键 执行 $1 操作, 同时按住 $2 辅助", - "baseType": "Keyboard_Press", - "functionName": "Keyboard.PressNew", - "functionCalls": [ - { - "function": "Keyboard.PressNew", - "args": [ - "key", - "type", - "auxiliary_key", - "input_us" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "Keyboard" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "key", - "label": "模拟按键", - "widget": "text", - "type": "string", - "displayType": "keyboardInput", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "type", - "label": "按键类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "press", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "press" - }, - { - "label": "按下", - "value": "down" - }, - { - "label": "弹起", - "value": "up" - } - ] - }, - { - "key": "auxiliary_key", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "multipleDropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Alt", - "value": "18" - }, - { - "label": "Ctrl", - "value": "17" - }, - { - "label": "Shift", - "value": "16" - }, - { - "label": "Win", - "value": "91" - } - ] - }, - { - "key": "input_us", - "label": "自动切换系统输入法", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "按键前自动切换系统英文输入法,避免第三方输入法导致按键异常。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_DriveSend_V2", - "name": "键盘驱动输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "调起键盘驱动时系统键盘输入内容设置(调起键盘驱动后系统键盘输入内容到系统光标所在位置。)注意:使用此组件需要管理员权限,管理员权限下无法使用 word 和 Excel 类组件。", - "messageTemplate": "系统键盘型号 $0,键盘输入内容 $2", - "baseType": "Keyboard_DriveSend", - "functionName": "Keyboard.DriveSend_V2", - "functionCalls": [ - { - "function": "Keyboard.DriveSend_V2", - "args": [ - "keyboard_type", - "drive_name", - "words", - "interval" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本输入", - "键盘输入", - "输入内容", - "输入", - "录入", - "键入", - "输入进", - "填写" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "keyboard_type", - "label": "系统键盘型号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "系统硬件键盘型号,查看路径:控制面板(小图标)->键盘->硬件 (注: 对当前光标位置进行输入)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认键盘", - "value": "1" - }, - { - "label": "HID Keyboard Device", - "value": "2" - } - ] - }, - { - "key": "drive_name", - "label": "驱动名称", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "AiKeyboard", - "placeholder": "", - "description": "按名称选择输入设备驱动程序", - "advanced": false, - "valueTypes": [] - }, - { - "key": "words", - "label": "键盘输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "不支持中文输入", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "500", - "placeholder": "请设置输入字符的间隔时间", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_Press", - "name": "键盘按键", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟按下键盘上指定的按键,可以是组合键也可以是单独按键。", - "messageTemplate": "键盘 $0 键 执行 $1", - "baseType": "Keyboard_Press", - "functionName": "Keyboard.Press", - "functionCalls": [ - { - "function": "Keyboard.Press", - "args": [ - "key", - "type", - "sameTime" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "key", - "label": "模拟按键", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "enter", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "alt", - "value": "alt" - }, - { - "label": "ctrl", - "value": "ctrl" - }, - { - "label": "shift", - "value": "shift" - }, - { - "label": "win", - "value": "win" - }, - { - "label": "backspace", - "value": "backspace" - }, - { - "label": "capslock", - "value": "capslock" - }, - { - "label": "delete", - "value": "delete" - }, - { - "label": "end", - "value": "end" - }, - { - "label": "enter", - "value": "enter" - }, - { - "label": "esc", - "value": "esc" - }, - { - "label": "!", - "value": "!" - }, - { - "label": "'", - "value": "'" - }, - { - "label": "#", - "value": "#" - }, - { - "label": "$", - "value": "$" - }, - { - "label": "%", - "value": "%" - }, - { - "label": "&", - "value": "&" - }, - { - "label": "(", - "value": "(" - }, - { - "label": ")", - "value": ")" - }, - { - "label": "*", - "value": "*" - }, - { - "label": "+", - "value": "+" - }, - { - "label": ",", - "value": "," - }, - { - "label": "-", - "value": "-" - }, - { - "label": ".", - "value": "." - }, - { - "label": "/", - "value": "/" - }, - { - "label": "0", - "value": "0" - }, - { - "label": "1", - "value": "1" - }, - { - "label": "2", - "value": "2" - }, - { - "label": "3", - "value": "3" - }, - { - "label": "4", - "value": "4" - }, - { - "label": "5", - "value": "5" - }, - { - "label": "6", - "value": "6" - }, - { - "label": "7", - "value": "7" - }, - { - "label": "8", - "value": "8" - }, - { - "label": "9", - "value": "9" - }, - { - "label": ":", - "value": ":" - }, - { - "label": ";", - "value": ";" - }, - { - "label": "<", - "value": "<" - }, - { - "label": "=", - "value": "=" - }, - { - "label": ">", - "value": ">" - }, - { - "label": "?", - "value": "?" - }, - { - "label": "@", - "value": "@" - }, - { - "label": "[", - "value": "[" - }, - { - "label": "]", - "value": "]" - }, - { - "label": "^", - "value": "^" - }, - { - "label": "_", - "value": "_" - }, - { - "label": "`", - "value": "`" - }, - { - "label": "a", - "value": "a" - }, - { - "label": "b", - "value": "b" - }, - { - "label": "c", - "value": "c" - }, - { - "label": "d", - "value": "d" - }, - { - "label": "e", - "value": "e" - }, - { - "label": "f", - "value": "f" - }, - { - "label": "g", - "value": "g" - }, - { - "label": "h", - "value": "h" - }, - { - "label": "i", - "value": "i" - }, - { - "label": "j", - "value": "j" - }, - { - "label": "k", - "value": "k" - }, - { - "label": "l", - "value": "l" - }, - { - "label": "m", - "value": "m" - }, - { - "label": "n", - "value": "n" - }, - { - "label": "o", - "value": "o" - }, - { - "label": "p", - "value": "p" - }, - { - "label": "q", - "value": "q" - }, - { - "label": "r", - "value": "r" - }, - { - "label": "s", - "value": "s" - }, - { - "label": "t", - "value": "t" - }, - { - "label": "u", - "value": "u" - }, - { - "label": "v", - "value": "v" - }, - { - "label": "w", - "value": "w" - }, - { - "label": "x", - "value": "x" - }, - { - "label": "y", - "value": "y" - }, - { - "label": "z", - "value": "z" - }, - { - "label": "{", - "value": "{" - }, - { - "label": "|", - "value": "|" - }, - { - "label": "\\", - "value": "\\" - }, - { - "label": "}", - "value": "}" - }, - { - "label": "~", - "value": "~" - }, - { - "label": "f1", - "value": "f1" - }, - { - "label": "f2", - "value": "f2" - }, - { - "label": "f3", - "value": "f3" - }, - { - "label": "f4", - "value": "f4" - }, - { - "label": "f5", - "value": "f5" - }, - { - "label": "f6", - "value": "f6" - }, - { - "label": "f7", - "value": "f7" - }, - { - "label": "f8", - "value": "f8" - }, - { - "label": "f9", - "value": "f9" - }, - { - "label": "f10", - "value": "f10" - }, - { - "label": "f11", - "value": "f11" - }, - { - "label": "f12", - "value": "f12" - }, - { - "label": "PrtSc", - "value": "PrtSc" - }, - { - "label": "home", - "value": "home" - }, - { - "label": "insert", - "value": "insert" - }, - { - "label": "left", - "value": "left" - }, - { - "label": "right", - "value": "right" - }, - { - "label": "up", - "value": "up" - }, - { - "label": "down", - "value": "down" - }, - { - "label": "num0", - "value": "num0" - }, - { - "label": "num1", - "value": "num1" - }, - { - "label": "num2", - "value": "num2" - }, - { - "label": "num3", - "value": "num3" - }, - { - "label": "num4", - "value": "num4" - }, - { - "label": "num5", - "value": "num5" - }, - { - "label": "num6", - "value": "num6" - }, - { - "label": "num7", - "value": "num7" - }, - { - "label": "num8", - "value": "num8" - }, - { - "label": "num9", - "value": "num9" - }, - { - "label": "numlock", - "value": "numlock" - }, - { - "label": "pagedown", - "value": "pagedown" - }, - { - "label": "pageup", - "value": "pageup" - }, - { - "label": "scrolllock", - "value": "scrolllock" - }, - { - "label": "space", - "value": "space" - }, - { - "label": "stop", - "value": "stop" - }, - { - "label": "subtract", - "value": "subtract" - }, - { - "label": "tab", - "value": "tab" - }, - { - "label": "volumedown", - "value": "volumedown" - }, - { - "label": "volumemute", - "value": "volumemute" - }, - { - "label": "volumeup", - "value": "volumeup" - } - ] - }, - { - "key": "type", - "label": "按键类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "press", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "press" - }, - { - "label": "按下", - "value": "down" - }, - { - "label": "弹起", - "value": "up" - } - ] - }, - { - "key": "sameTime", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "multipleDropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Alt", - "value": "Alt" - }, - { - "label": "Ctrl", - "value": "Ctrl" - }, - { - "label": "Shift", - "value": "Shift" - }, - { - "label": "Win", - "value": "Win" - }, - { - "label": "无", - "value": "None" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_Send_V1", - "name": "键盘输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "在目标区域模拟键盘输入设定的文本内容。", - "messageTemplate": "键盘输入$0", - "baseType": "Keyboard_Send", - "functionName": "Keyboard.Send_V1", - "functionCalls": [ - { - "function": "Keyboard.Send_V1", - "args": [ - "words", - "interval", - "fuctype" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本输入", - "键盘输入", - "输入内容", - "输入", - "录入", - "键入", - "输入进", - "填写" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "words", - "label": "输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "fuctype", - "label": "输入方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": " 后台接口输入:不占用键盘按键,调用后台接口实现输入 。 人工模拟输入:模拟人工操作键盘按键逐个字符输入。 剪切板粘贴输入:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "后台接口输入", - "value": "0" - }, - { - "label": "人工模拟输入", - "value": "1" - }, - { - "label": "剪切板粘贴输入", - "value": "2" - } - ] - }, - { - "key": "window_title", - "label": "输入目标窗口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "留空则输入到当前焦点窗口", - "description": "选择目标窗口后,运行时会先把该窗口带到前台再输入内容", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_Send", - "name": "键盘输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "在目标区域模拟键盘输入设定的文本内容。", - "messageTemplate": "键盘输入$0", - "baseType": "Keyboard_Send", - "functionName": "Keyboard.Send", - "functionCalls": [ - { - "function": "Keyboard.Send", - "args": [ - "words", - "interval", - "fuctype" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本输入", - "键盘输入", - "输入内容" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "words", - "label": "输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "interval", - "label": "输入间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.01", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "fuctype", - "label": "输入方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": " 后台接口输入:不占用键盘按键,调用后台接口实现输入 。 人工模拟输入:模拟人工操作键盘按键逐个字符输入。 剪切板粘贴输入:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "后台接口输入", - "value": "0" - }, - { - "label": "人工模拟输入", - "value": "1" - }, - { - "label": "剪切板粘贴输入", - "value": "2" - } - ] - }, - { - "key": "window_title", - "label": "输入目标窗口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "留空则输入到当前焦点窗口", - "description": "选择目标窗口后,运行时会先把该窗口带到前台再输入内容", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_EnableManualOperation", - "name": "开启模拟人工操作", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "对区间内涉及鼠标操作的指令,自动设置为模拟人工操作。", - "messageTemplate": "开启模拟人工操作", - "baseType": "Keyboard_EnableManualOperation", - "functionName": "Keyboard.EnableManualOperation", - "functionCalls": [ - { - "function": "Keyboard.EnableManualOperation", - "args": [ - "random_move", - "random_click", - "random_sleep", - "min_time", - "max_time" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "开启模拟人工操作", - "拟人操作", - "真人操作", - "开启", - "人工操作", - "模拟" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "random_move", - "label": "随机移动鼠标", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "按照随机路线和速度移动鼠标", - "advanced": false, - "valueTypes": [] - }, - { - "key": "random_click", - "label": "随机位置点击元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作、随机位置点击元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "random_sleep", - "label": "操作随机停顿", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工,在操作之间随机停顿", - "advanced": false, - "valueTypes": [] - }, - { - "key": "min_time", - "label": "最短停顿时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "max_time", - "label": "最长停顿时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "3", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_DriveSend_V1", - "name": "键盘驱动输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "调起键盘驱动时系统键盘输入内容设置(调起键盘驱动后系统键盘输入内容到系统光标所在位置。)注意:使用此组件需要管理员权限,管理员权限下无法使用 word 和 Excel 类组件。", - "messageTemplate": "系统键盘型号 $0,键盘输入内容 $2", - "baseType": "Keyboard_DriveSend", - "functionName": "Keyboard.DriveSend_V1", - "functionCalls": [ - { - "function": "Keyboard.DriveSend_V1", - "args": [ - "keyboard_type", - "drive_name", - "words", - "interval" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本输入", - "键盘输入", - "输入内容" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "keyboard_type", - "label": "系统键盘型号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "系统硬件键盘型号,查看路径:控制面板(小图标)->键盘->硬件 (注: 对当前光标位置进行输入)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认键盘", - "value": "1" - }, - { - "label": "HID Keyboard Device", - "value": "2" - } - ] - }, - { - "key": "drive_name", - "label": "驱动名称", - "widget": "text", - "type": "string", - "displayType": "keyboardDriverSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "按名称选择输入设备驱动程序", - "advanced": false, - "valueTypes": [] - }, - { - "key": "words", - "label": "键盘输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "不支持中文输入", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "interval", - "label": "输入间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.5", - "placeholder": "请设置输入字符的间隔时间", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_DisableManualOperation", - "name": "关闭模拟人工操作", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "对区间内涉及鼠标操作的指令,关闭模拟人工操作。", - "messageTemplate": "关闭已开启的模拟人工操作", - "baseType": "Keyboard_DisableManualOperation", - "functionName": "Keyboard.DisableManualOperation", - "functionCalls": [ - { - "function": "Keyboard.DisableManualOperation", - "args": [], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭模拟人工操作", - "拟人操作", - "真人操作", - "关闭", - "人工操作", - "模拟", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Keyboard_DriveSend", - "name": "键盘驱动输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "调起键盘驱动时系统键盘输入内容设置(调起键盘驱动后系统键盘输入内容到系统光标所在位置。)注意:使用此组件需要管理员权限,管理员权限下无法使用 word 和 Excel 类组件。", - "messageTemplate": "系统键盘型号 $0,键盘输入内容 $1", - "baseType": "Keyboard_DriveSend", - "functionName": "Keyboard.DriveSend", - "functionCalls": [ - { - "function": "Keyboard.DriveSend", - "args": [ - "keyboard_type", - "words", - "interval" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本输入", - "键盘输入", - "输入内容" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "keyboard_type", - "label": "系统键盘型号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "系统硬件键盘型号,查看路径:控制面板(小图标)->键盘->硬件 (注: 对当前光标位置进行输入)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认键盘", - "value": "1" - }, - { - "label": "HID Keyboard Device", - "value": "2" - } - ] - }, - { - "key": "words", - "label": "键盘输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入内容", - "description": "不支持中文输入", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "interval", - "label": "输入间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0.5", - "placeholder": "请设置输入字符的间隔时间", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "List_DeleteList", - "name": "删除列表项", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "删除列表中的指定数据,并输出该列表。", - "messageTemplate": "删除 $1 中 $2 为 $3 $4 的项, 然后把结果保存到 $0", - "baseType": "List_DeleteList", - "functionName": "List.DeleteList", - "functionCalls": [ - { - "function": "List.DeleteList", - "args": [ - "arrayRet", - "deleteType", - "position", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入需要删除列表项的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "deleteType", - "label": "删除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "支持删除指定位置或指定数据", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定位置", - "value": "1" - }, - { - "label": "指定数据", - "value": "2" - } - ] - }, - { - "key": "position", - "label": "删除位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "0表示第一位,-n表示倒数第n位", - "description": "需删除数据的位置,输入整数,0表示第一位,-n表示倒数第n位", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "data", - "label": "删除数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "请输入列表中待删除项数据", - "description": "输入列表中待删除项数据", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_GetIndex", - "name": "获取列表项的位置", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "获取指定数据在列表中的位置序号,存在则返回序号,不存在则返回-1。", - "messageTemplate": "查询 $2 在 $1 中位置序号, 然后把结果保存到 $0", - "baseType": "List_GetIndex", - "functionName": "List.GetIndex", - "functionCalls": [ - { - "function": "List.GetIndex", - "args": [ - "arrayRet", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "索引", - "位置", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表", - "placeholder": "", - "description": "输入或选择列表类型数据或变量", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "data", - "label": "查询列表项", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入需要查询的数据,如果存在多个仅返回第一个所在位置", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "列表项位置", - "key": "var_name", - "suggestedName": "列表项位置", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "列表项位置", - "defaultValue": "列表项位置", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_ListMerge", - "name": "列表合并", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "将选定的两个列表合并为一个新列表,并输出该列表。", - "messageTemplate": "合并 $1 和 $2 中的所有项, 然后把结果保存到 $0", - "baseType": "List_ListMerge", - "functionName": "List.ListMerge", - "functionCalls": [ - { - "function": "List.ListMerge", - "args": [ - "arrayRet1", - "arrayRet2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "合并" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet1", - "label": "列表1选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待合并的列表1", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "arrayRet2", - "label": "列表2选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据列表2", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待合并的列表2", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_ClearList", - "name": "清空列表", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "将选定的列表中所有数据清空。", - "messageTemplate": "将 $0 清空", - "baseType": "List_ClearList", - "functionName": "List.ClearList", - "functionCalls": [ - { - "function": "List.ClearList", - "args": [ - "arrayRet" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待清空的列表类型变量", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "List_ListLength", - "name": "获取列表长度", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "获取选定列表的长度,并输出该长度数据。", - "messageTemplate": "获取 $1 的长度, 然后把结果保存到 $0", - "baseType": "List_ListLength", - "functionName": "List.ListLength", - "functionCalls": [ - { - "function": "List.ListLength", - "args": [ - "arrayRet" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "长度", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入需要获取的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表长度", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表长度", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_ListSorted", - "name": "列表排序", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "将选定的列表中的项进行排序,并输出该表。", - "messageTemplate": "重新排序 $1 的项, 然后把结果保存到 $0", - "baseType": "List_ListSorted", - "functionName": "List.ListSorted", - "functionCalls": [ - { - "function": "List.ListSorted", - "args": [ - "arrayRet", - "sortedType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "排序" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待排序的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "sortedType", - "label": "排序方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "设置列表项排序规则", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "升序", - "value": "1" - }, - { - "label": "降序", - "value": "2" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_ListDuplication", - "name": "列表去重", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "去除选定列表中的重复项,并输出去重后的列表。", - "messageTemplate": "去除 $1 中的重复项之间的重复值, 然后把结果保存到 $0", - "baseType": "List_ListDuplication", - "functionName": "List.ListDuplication", - "functionCalls": [ - { - "function": "List.ListDuplication", - "args": [ - "arrayRet" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "去重" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待去重的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_InsertList", - "name": "新增列表项", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "在列表中选定的位置增加一项数据,并输出该列表。", - "messageTemplate": "在 $1 的 $2 新增一项数据为 $4, 然后把结果保存到 $0", - "baseType": "List_InsertList", - "functionName": "List.InsertList", - "functionCalls": [ - { - "function": "List.InsertList", - "args": [ - "arrayRet", - "insertType", - "position", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入需要新增列表项的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "insertType", - "label": "添加方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "支持将新增列表项插入到指定位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "头部", - "value": "1" - }, - { - "label": "尾部", - "value": "2" - }, - { - "label": "中间位置", - "value": "3" - } - ] - }, - { - "key": "position", - "label": "添加位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入正整数", - "description": "如果索引位置超出列表,则默认添加在列表末尾", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "data", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入新增列表项数据", - "description": "输入新增列表项数据,可以支持任意Python数据类型", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_ListIntersection", - "name": "获取两列表的重复项", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "获取选定的两个列表之间的重复项,并输出重复的数据。", - "messageTemplate": "获取 $1 和 $2 之间的重复值, 然后把结果保存到 $0", - "baseType": "List_ListIntersection", - "functionName": "List.ListIntersection", - "functionCalls": [ - { - "function": "List.ListIntersection", - "args": [ - "arrayRet1", - "arrayRet2" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet1", - "label": "列表1选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待获取重复项的列表1", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "arrayRet2", - "label": "列表2选取", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "数据列表2", - "placeholder": "请输入列表类型变量或列表", - "description": "输入待获取重复项的列表2", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "重复项列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "重复项列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_CreateList", - "name": "创建列表", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "将指定的数据保存于创建的列表中,并输出该列表。", - "messageTemplate": "创建列表,列表数据为 $1, 然后把结果保存到 $0", - "baseType": "List_CreateList", - "functionName": "List.CreateList", - "functionCalls": [ - { - "function": "List.CreateList", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "请输入列表,例如:[1,2,3]", - "description": "输入列表数据,例如:[1,2,3]", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "List_GetListItem", - "name": "获取指定位置项的数据", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "获取选定列表中指定位置项的数据,并输出该数据。", - "messageTemplate": "获取 $1 中位置为 $2 的项, 然后把结果保存到 $0", - "baseType": "List_GetListItem", - "functionName": "List.GetListItem", - "functionCalls": [ - { - "function": "List.GetListItem", - "args": [ - "arrayRet", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "获取", - "得到", - "取得", - "提取", - "获取到", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入需要获取位置项的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "position", - "label": "数据位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "0表示第一位,-n表示倒数第n位", - "description": "需获取数据的位置,输入整数,0表示第一位,-n表示倒数第n位", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "某项数据", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "某项数据", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "List_SetListItem", - "name": "修改指定位置项的数据", - "kind": "vendor", - "group": "data", - "categories": [ - "List" - ], - "categorySignature": "List", - "description": "获取选定列表中指定位置项的数据,并输出该数据。", - "messageTemplate": "将 $1 中处于位置 $2 的数据修改为 $3, 然后把结果保存到 $0", - "baseType": "List_SetListItem", - "functionName": "List.SetListItem", - "functionCalls": [ - { - "function": "List.SetListItem", - "args": [ - "arrayRet", - "position", - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "修改", - "编辑", - "更改", - "改动", - "修正", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "arrayRet", - "label": "列表数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "列表1", - "placeholder": "请输入列表类型变量或列表", - "description": "输入需要获取位置项的列表", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "position", - "label": "修改位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "0表示第一位,-n表示倒数第n位", - "description": "需修改数据的位置,输入整数,0表示第一位,-n表示倒数第n位", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "data", - "label": "修改为", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "A", - "placeholder": "请输入修改后的数据", - "description": "输入修改后的数据", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Log_Error", - "name": "打印错误日志", - "kind": "vendor", - "group": "data", - "categories": [ - "log", - "base_command" - ], - "categorySignature": "log|base_command", - "description": "打印流程中错误或异常的日志信息到输出区域。", - "messageTemplate": "把 $0 在输出区域打印出来", - "baseType": "Log_Error", - "functionName": "Log.Error", - "functionCalls": [ - { - "function": "Log.Error", - "args": [ - "msg" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "日志", - "错误", - "log", - "error", - "日志记录", - "日志信息", - "日志数据", - "记录日志" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "msg", - "label": "输出信息", - "widget": "textarea", - "type": "string", - "displayType": "logInput", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择需要打印信息的变量", - "description": "输入或选择需要打印信息的变量", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Log_Info", - "name": "打印普通日志", - "kind": "vendor", - "group": "data", - "categories": [ - "log", - "base_command" - ], - "categorySignature": "log|base_command", - "description": "打印流程中的日志信息到输出区域。", - "messageTemplate": "把 $0 在输出区域打印出来", - "baseType": "Log_Info", - "functionName": "Log.Info", - "functionCalls": [ - { - "function": "Log.Info", - "args": [ - "msg" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "日志", - "日志记录", - "日志信息", - "日志数据", - "记录日志" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "msg", - "label": "输出信息", - "widget": "textarea", - "type": "string", - "displayType": "logInput", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择需要打印信息的变量", - "description": "输入或选择需要打印信息的变量", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mail_UnmarkSeen", - "name": "标为未读", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "登录目标邮箱,并将指定邮件设为未读状态,需设定邮箱账户信息、邮件服务器信息。", - "messageTemplate": "登录邮箱并设置第 $0 封邮件未读", - "baseType": "Mail_UnmarkSeen", - "functionName": "Mail.UnmarkSeen", - "functionCalls": [ - { - "function": "Mail.UnmarkSeen", - "args": [ - "index", - "hostname", - "username", - "password", - "ssl", - "port" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "标为未读", - "邮件状态", - "登录邮件", - "未读" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "index", - "label": "第几封邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "hostname", - "label": "imap地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "username", - "label": "用户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ssl", - "label": "是否使用ssl", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "port", - "label": "端口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "25", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mail_DoReplyMail_v1", - "name": "回复邮件(Outlook)", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "使用Outlook客户端回复邮件。", - "messageTemplate": "回复 $2,主题为 $4, 然后把结果保存到 $0", - "baseType": "Mail_DoReplyMail", - "functionName": "Mail.DoReplyMail_v1", - "functionCalls": [ - { - "function": "Mail.DoReplyMail_v1", - "args": [ - "account_obj", - "emails", - "reply_type", - "subject", - "content", - "attachment" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "select", - "type": "string", - "displayType": "dynamicSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择Outlook客户端里的邮箱账户", - "advanced": false, - "valueTypes": [] - }, - { - "key": "emails", - "label": "待回复邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入待回复邮件", - "description": "输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。", - "advanced": false, - "valueTypes": [ - "rpa_list_email_v1", - "rpa_str" - ] - }, - { - "key": "reply_type", - "label": "回复模式", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "回复发件人,指仅回复原发件人。回复所有人,指将回复给原邮件发件人和其他收件人,抄送原邮件抄送人。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "回复发件人", - "value": "0" - }, - { - "label": "回复所有人", - "value": "1" - } - ] - }, - { - "key": "subject", - "label": "回复主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入回复主题", - "description": "邮件标题。为空时,默认主题为“回复:{原主题}”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "回复正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInputV3", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifileSwitch", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "回复成功与否", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "回复成功与否", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_RecvConnect", - "name": "连接邮箱", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "连接配置目标邮箱,实现后续流程对邮箱进行控制或操作,可设定邮箱账号和邮件服务器信息。", - "messageTemplate": "连接指定邮箱,返回邮箱控制对象, 然后把结果保存到 $0", - "baseType": "Mail_RecvConnect", - "functionName": "Mail.RecvConnect", - "functionCalls": [ - { - "function": "Mail.RecvConnect", - "args": [ - "protocol", - "host", - "account", - "password", - "port", - "is_ssl" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "连接", - "连接邮箱", - "配置邮箱", - "mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "protocol", - "label": "使用协议", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "pop3", - "placeholder": "", - "description": "如为163邮箱,请尽量使用pop3协议,部分邮箱不支持pop3协议,请使用IMAP协议", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "pop3", - "value": "pop3" - }, - { - "label": "imap", - "value": "imap" - } - ] - }, - { - "key": "host", - "label": "服务器地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "account", - "label": "邮箱账号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如协议为imap,请采用授权码进行登录", - "advanced": false, - "valueTypes": [] - }, - { - "key": "port", - "label": "端口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "25", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_ssl", - "label": "SSL加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "邮箱对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "邮箱对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_RecvMailGet", - "name": "取第几封邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "收集目标邮箱中的指定序号邮件,并输出到指定变量。", - "messageTemplate": "从 $1 中获取第 $2 封邮件, 然后把结果保存到 $0", - "baseType": "Mail_RecvMailGet", - "functionName": "Mail.RecvMailGet", - "functionCalls": [ - { - "function": "Mail.RecvMailGet", - "args": [ - "recvObject", - "limit", - "attach_path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "指定邮件", - "某封邮件", - "收取指定邮件" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "recvObject", - "label": "操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objMail", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "limit", - "label": "第几封邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "最新的邮件为第一封", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attach_path", - "label": "附件存放目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "邮件内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "邮件内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ExOperateMail", - "name": "操作邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Exchange" - ], - "categorySignature": "Exchange", - "description": "对Exchange邮箱中指定的邮件进行标记已/未读、删除等操作。", - "messageTemplate": "以 {$$0 == 'exchange' && '$1'} {$$0 == 'custom' && '$0'} 连接将满足条件的邮件 $5", - "baseType": "Mail_ExOperateMail", - "functionName": "Mail.ExOperateMail", - "functionCalls": [ - { - "function": "Mail.ExOperateMail", - "args": [ - "connect_type", - "target_obj", - "server_address", - "username", - "password", - "operate_type", - "inbox_type", - "subject_key", - "recipient_key" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件操作", - "mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "connect_type", - "label": "连接类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "exchange", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Exchange连接", - "value": "exchange" - }, - { - "label": "自定义账号", - "value": "custom" - } - ] - }, - { - "key": "target_obj", - "label": "选择操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "server_address", - "label": "服务器地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "username", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operate_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "read", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "标记目标为已读邮件", - "value": "read" - }, - { - "label": "标记目标为未读邮件", - "value": "unread" - }, - { - "label": "删除目标邮件", - "value": "delete" - } - ] - }, - { - "key": "inbox_type", - "label": "邮件类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "inbox", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "收件箱", - "value": "inbox" - }, - { - "label": "草稿箱", - "value": "drafts" - }, - { - "label": "发件箱", - "value": "sent" - } - ] - }, - { - "key": "subject_key", - "label": "目标邮件标题包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "recipient_key", - "label": "收件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mail_RecvGetList", - "name": "邮件筛选", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "从邮箱中过滤筛选出指定条件的邮件,支持主题筛选、发件人筛选,并将筛选结果输出到指定变量。", - "messageTemplate": "根据主题和发件人,从 $1 中筛选出符合条件的邮件列表, 然后把结果保存到 $0", - "baseType": "Mail_RecvGetList", - "functionName": "Mail.RecvGetList", - "functionCalls": [ - { - "function": "Mail.RecvGetList", - "args": [ - "recvObject", - "From", - "Subject", - "attach_path", - "Day" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件过滤", - "邮件筛选", - "主题过滤", - "发件人过滤" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "recvObject", - "label": "操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objMail", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "From", - "label": "发件人", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject", - "label": "标题包含内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attach_path", - "label": "附件存放目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "Day", - "label": "查询最近天数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "无法查询超过30天的邮件", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "邮件列表", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ReplyMail_v1", - "name": "回复邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "回复指定电子邮件,使用该组件前可以先使用“查找邮件”组件。", - "messageTemplate": "回复 $2,主题为 $4, 然后把结果保存到 $0", - "baseType": "Mail_ReplyMail", - "functionName": "Mail.ReplyMail_v1", - "functionCalls": [ - { - "function": "Mail.ReplyMail_v1", - "args": [ - "account_obj", - "emails", - "reply_type", - "subject", - "content", - "attachment" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "emails", - "label": "待回复邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "reply_type", - "label": "回复模式", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "发送给原邮件发件人和其他收件人,抄送原邮件抄送人。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "回复发件人", - "value": "0" - }, - { - "label": "回复所有人", - "value": "1" - } - ] - }, - { - "key": "subject", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "邮件标题。为空时,默认主题为“回复:{原主题}”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认文本域输入框支持文本正文,点击富文本编辑图标可以输入富文本正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "上传回复邮件的附件。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "回复结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "回复结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_UnionSend", - "name": "发送邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "发送电子邮件。", - "messageTemplate": "将主题为 $3 的邮件发送至 $2 , 然后把结果保存到 $0", - "baseType": "Mail_UnionSend", - "functionName": "Mail.UnionSend", - "functionCalls": [ - { - "function": "Mail.UnionSend", - "args": [ - "account_obj", - "receiver", - "subject", - "content", - "attachment", - "Cc", - "Bcc" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "可选择历史添加的邮箱账户或通过账户管理新增账户。邮箱账户一般为邮箱地址,例如:name@example.com", - "advanced": false, - "valueTypes": [] - }, - { - "key": "receiver", - "label": "收件人", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮箱地址,多个收件人用\";\"分隔", - "description": "单个收件人,输入一个字符串,示例:\"a@example.com\"。多个收件人,输入一个分号分割的字符串,示例:\"a@example.com;b@example.com;c@example.com\"。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "subject", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮件标题", - "description": "邮件标题。为空时,默认主题为“(无主题)”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInput", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮件内容", - "description": "默认文本域输入框支持文本正文,点击富文本编辑图标可以输入富文本正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifile", - "required": false, - "defaultValue": "", - "placeholder": "请选择附件", - "description": "上传邮件的附件。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Cc", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "单个抄送人,输入一个字符串,示例:“a@example.com”。多个抄送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "Bcc", - "label": "密送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "单个密送人,输入一个字符串,示例:“a@example.com”。多个密送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "发送结果保存到", - "key": "var_name", - "suggestedName": "发送结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "发送结果保存到", - "defaultValue": "发送结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_FindMail_v1", - "name": "查找邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "根据条件查找电子邮件。查找到的邮件结果可用于回复邮件等操作。", - "messageTemplate": "查找邮箱 $1 的电子邮件, 然后把结果保存到 $0", - "baseType": "Mail_FindMail", - "functionName": "Mail.FindMail_v1", - "functionCalls": [ - { - "function": "Mail.FindMail_v1", - "args": [ - "account_obj", - "is_data", - "folder_name", - "is_to_send_data", - "To_data", - "From_data", - "is_Subject_Body_data", - "Subject_data", - "Body_data", - "is_Date_data", - "Date_data", - "is_attachment_data", - "attachment", - "email_num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_data", - "label": "查找范围", - "widget": "region", - "type": "object", - "displayType": "searchRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_to_send_data", - "label": "筛选收发件人", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配收发件人邮箱地址", - "advanced": false, - "valueTypes": [] - }, - { - "key": "To_data", - "label": "收件人包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配收件人邮箱地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "From_data", - "label": "发件人包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配收件人邮箱地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_Subject_Body_data", - "label": "筛选主题和正文", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配邮件主题和正文", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject_data", - "label": "主题包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件主题。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Body_data", - "label": "正文包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_Date_data", - "label": "筛选日期", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配邮件日期", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Date_data", - "label": "开始时间", - "widget": "region", - "type": "object", - "displayType": "dateRangeFilter", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件日期。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_attachment_data", - "label": "限制附件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否限制附件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "attachment", - "widget": "radio", - "type": "string", - "displayType": "coloredRadio", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "指定查找是否含有附件的邮件。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "包含附件", - "value": "1" - }, - { - "label": "不包含附件", - "value": "0" - } - ] - }, - { - "key": "email_num", - "label": "返回查找结果", - "widget": "radio", - "type": "string", - "displayType": "radioInputNumber", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "获取查询到的第几封邮件。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "查找结果保存到", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "查找结果保存到", - "defaultValue": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_DoMoveMail", - "name": "移动邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "将邮件从A邮箱移动到B邮箱,可设定过滤条件,账号,和目标邮箱等。", - "messageTemplate": "移动 $5 文件夹邮件到 $7 文件夹,$7文件夹得提前创建好, 然后把结果保存到 $0", - "baseType": "Mail_DoMoveMail", - "functionName": "Mail.DoMoveMail", - "functionCalls": [ - { - "function": "Mail.DoMoveMail", - "args": [ - "Account", - "BCC", - "CC", - "Filter", - "SrcFolder", - "SendByEmail", - "DstFile" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件移动", - "邮件转移", - "邮件搬家" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "Account", - "label": "账户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "BCC", - "label": "加密抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "CC", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Filter", - "label": "标题包含内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SrcFolder", - "label": "文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "SendByEmail", - "label": "发送人email", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "DstFile", - "label": "目标文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "移动结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "移动结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_UnionConnect", - "name": "连接邮箱", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "设置邮箱账户信息,连接邮箱。可用于后续邮件组件的操作。", - "messageTemplate": "连接邮箱账户 $1, 然后把结果保存到 $0", - "baseType": "Mail_UnionConnect", - "functionName": "Mail.UnionConnect", - "functionCalls": [ - { - "function": "Mail.UnionConnect", - "args": [ - "account_obj" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "连接", - "连接邮箱", - "配置邮箱", - "mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入邮箱账户", - "description": "可选择历史添加的邮箱账户或通过账户管理新增账户。邮箱账户一般为邮箱地址,例如:name@example.com", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "邮箱连接对象", - "key": "var_name", - "suggestedName": "邮箱对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "邮箱连接对象", - "defaultValue": "邮箱对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ExConnect", - "name": "连接Exchange邮箱", - "kind": "vendor", - "group": "message", - "categories": [ - "Exchange" - ], - "categorySignature": "Exchange", - "description": "创建新的Exchange邮箱账户连接,并将该链接保存为对象变量,便于后续流程对该链接邮箱的控制或操作。", - "messageTemplate": "创建一个新的Exchange连接,连接并控制邮箱, 然后把结果保存到 $0", - "baseType": "Mail_ExConnect", - "functionName": "Mail.ExConnect", - "functionCalls": [ - { - "function": "Mail.ExConnect", - "args": [ - "server_address", - "username", - "password" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "连接", - "连接邮箱", - "配置邮箱", - "mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "server_address", - "label": "服务器地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "username", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Exchange邮箱对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Exchange邮箱对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_RecvClose", - "name": "关闭连接", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "关闭控制邮箱,不再进行控制。", - "messageTemplate": "关闭邮箱 $0", - "baseType": "Mail_RecvClose", - "functionName": "Mail.RecvClose", - "functionCalls": [ - { - "function": "Mail.RecvClose", - "args": [ - "recvObject" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "断开邮箱" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "recvObject", - "label": "操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objMail", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mail_DoSendMail", - "name": "发送邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "模拟发送邮件到指定接收邮箱,可设定邮件的内容。", - "messageTemplate": "发送邮件, 然后把结果保存到 $0", - "baseType": "Mail_DoSendMail", - "functionName": "Mail.DoSendMail", - "functionCalls": [ - { - "function": "Mail.DoSendMail", - "args": [ - "Account", - "RecvByEmail", - "BCC", - "CC", - "Subject", - "Body", - "filePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "Account", - "label": "发件人账户", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "RecvByEmail", - "label": "收件人账户", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "BCC", - "label": "加密抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "CC", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject", - "label": "邮件标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Body", - "label": "正文", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "附件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "发送结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "发送结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_RecvCount", - "name": "取收件箱邮件数", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "统计目标邮箱的邮件数(根据目标邮箱设置),并输出到指定变量。", - "messageTemplate": "从 $1 中统计邮件数, 然后把结果保存到 $0", - "baseType": "Mail_RecvCount", - "functionName": "Mail.RecvCount", - "functionCalls": [ - { - "function": "Mail.RecvCount", - "args": [ - "recvObject" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件数", - "邮件统计", - "数量统计" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "recvObject", - "label": "操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "objMail", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "收件箱数量", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "收件箱数量", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_DoGetMailMessage_v2", - "name": "获取邮件(Outlook)", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "查找Outlook客户端中的邮件。", - "messageTemplate": "查找邮箱 $1 的电子邮件, 然后把结果保存到 $0", - "baseType": "Mail_DoGetMailMessage", - "functionName": "Mail.DoGetMailMessage_v2", - "functionCalls": [ - { - "function": "Mail.DoGetMailMessage_v2", - "args": [ - "account_obj", - "is_data", - "folder_name", - "is_to_send_data", - "To_data", - "From_data", - "is_Subject_Body_data", - "Subject_data", - "Body_data", - "is_Date_data", - "Date_data", - "is_attachment_data", - "attachment", - "email_num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查找邮件", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "select", - "type": "string", - "displayType": "dynamicSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择Outlook客户端里的邮箱账户。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_data", - "label": "查找范围", - "widget": "region", - "type": "object", - "displayType": "searchRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_to_send_data", - "label": "筛选收发件人", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配收发件人邮箱地址", - "advanced": false, - "valueTypes": [] - }, - { - "key": "To_data", - "label": "收件人包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "请输入收件人关键字", - "description": "支持模糊匹配收件人邮箱地址和收件人用户名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "From_data", - "label": "发件人包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "请输入发件人关键字", - "description": "支持模糊匹配发件人邮箱地址和收件人用户名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_Subject_Body_data", - "label": "筛选主题和正文", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配主题和正文", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject_data", - "label": "主题包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "请输入主题关键字", - "description": "支持模糊匹配邮件主题。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Body_data", - "label": "正文包含", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "请输入正文关键字", - "description": "支持模糊匹配邮件正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_Date_data", - "label": "筛选日期", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配邮件日期", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Date_data", - "label": "开始时间", - "widget": "region", - "type": "object", - "displayType": "dateRangeFilter", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "支持模糊匹配邮件日期。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_attachment_data", - "label": "限制附件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否限制附件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "attachment", - "widget": "radio", - "type": "string", - "displayType": "coloredRadio", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "指定查找是否含有附件的邮件。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "包含附件", - "value": "1" - }, - { - "label": "不包含附件", - "value": "2" - } - ] - }, - { - "key": "email_num", - "label": "返回查找结果", - "widget": "radio", - "type": "string", - "displayType": "radioInputNumber", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将返回查询到的邮件列表,数据类型为列表,可以通过邮件对象访问到收件人、发件人、主题、正文等内容。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "查找结果保存到", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "查找结果保存到", - "defaultValue": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_DoGetMailMessage_v1", - "name": "查找邮件(Outlook)", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "查找Outlook客户端中的邮件。", - "messageTemplate": "查找邮箱 $1 的电子邮件, 然后把结果保存到 $0", - "baseType": "Mail_DoGetMailMessage", - "functionName": "Mail.DoGetMailMessage_v1", - "functionCalls": [ - { - "function": "Mail.DoGetMailMessage_v1", - "args": [ - "account_obj", - "email_folder", - "folder_name", - "search_range", - "To_data", - "From_data", - "Subject_data", - "Body_data", - "attachment", - "email_num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "select", - "type": "string", - "displayType": "dynamicSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择Outlook客户端里的邮箱账户。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "email_folder", - "label": "邮箱文件夹", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "0", - "placeholder": "请输入邮箱文件夹名称", - "description": "选择邮箱的文件夹。其他文件夹仅支持用户手动创建的文件夹。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "收件箱", - "value": "0" - }, - { - "label": "已发送", - "value": "1" - }, - { - "label": "其他文件夹", - "value": "2" - } - ] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "search_range", - "label": "查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "所有邮件", - "value": "0" - }, - { - "label": "已读邮件", - "value": "1" - }, - { - "label": "未读邮件", - "value": "2" - } - ] - }, - { - "key": "To_data", - "label": "收件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入收件人关键字", - "description": "支持模糊匹配收件人邮箱地址和收件人用户名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "From_data", - "label": "发件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入发件人关键字", - "description": "支持模糊匹配发件人邮箱地址和收件人用户名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject_data", - "label": "主题包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入主题关键字", - "description": "支持模糊匹配邮件主题。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Body_data", - "label": "正文包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入正文关键字", - "description": "支持模糊匹配邮件正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "附件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定查找是否含有附件的邮件。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "不限", - "value": "0" - }, - { - "label": "有附件", - "value": "1" - }, - { - "label": "无附件", - "value": "2" - } - ] - }, - { - "key": "email_num", - "label": "返回查找结果", - "widget": "radio", - "type": "string", - "displayType": "radioInputNumber", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将返回查询到的邮件列表,数据类型为列表,可以通过邮件对象访问到收件人、发件人、主题、正文等内容。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "查找结果保存到", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "查找结果保存到", - "defaultValue": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_UnionSend_v1", - "name": "发送邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "发送电子邮件。", - "messageTemplate": "将主题为 $3 的邮件发送至 $2 , 然后把结果保存到 $0", - "baseType": "Mail_UnionSend", - "functionName": "Mail.UnionSend_v1", - "functionCalls": [ - { - "function": "Mail.UnionSend_v1", - "args": [ - "account_obj", - "receiver", - "subject", - "content", - "attachment", - "Cc", - "Bcc" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "可选择历史添加的邮箱账户或通过账户管理新增账户。邮箱账户一般为邮箱地址,例如:name@example.com", - "advanced": false, - "valueTypes": [] - }, - { - "key": "receiver", - "label": "收件人", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入邮箱地址,多个收件人用\";\"分隔", - "description": "单个收件人,输入一个字符串,示例:\"a@example.com\"。多个收件人,输入一个分号分割的字符串,示例:\"a@example.com;b@example.com;c@example.com\"。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "subject", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮件标题", - "description": "邮件标题。为空时,默认主题为“(无主题)”。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content", - "label": "正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInputV3", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮件内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifileSwitch", - "required": false, - "defaultValue": "", - "placeholder": "请选择附件", - "description": "添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Cc", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "单个抄送人,输入一个字符串,示例:“a@example.com”。多个抄送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "Bcc", - "label": "密送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "单个密送人,输入一个字符串,示例:“a@example.com”。多个密送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "发送结果保存到", - "key": "var_name", - "suggestedName": "发送结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "发送结果保存到", - "defaultValue": "发送结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ReplyMail", - "name": "回复邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "回复指定电子邮件,使用该组件前可以先使用“查找邮件”组件。", - "messageTemplate": "回复 $2,主题为 $4, 然后把结果保存到 $0", - "baseType": "Mail_ReplyMail", - "functionName": "Mail.ReplyMail", - "functionCalls": [ - { - "function": "Mail.ReplyMail", - "args": [ - "account_obj", - "emails", - "reply_type", - "subject", - "content", - "attachment" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "emails", - "label": "待回复邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "reply_type", - "label": "回复模式", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "发送给原邮件发件人和其他收件人,抄送原邮件抄送人。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "回复发件人", - "value": "0" - }, - { - "label": "回复所有人", - "value": "1" - } - ] - }, - { - "key": "subject", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "邮件标题。为空时,默认主题为“回复:{原主题}”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认文本域输入框支持文本正文,点击富文本编辑图标可以输入富文本正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "上传回复邮件的附件。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "回复结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "回复结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_Send_V1", - "name": "发送邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "将邮件内容和附件发送到指定邮箱,可设定发送邮件的账号信息、邮件服务器信息、邮件内容信息等。", - "messageTemplate": "发送邮件, 标题为 $8 , 然后把结果保存到 $0", - "baseType": "Mail_Send", - "functionName": "Mail.Send_V1", - "functionCalls": [ - { - "function": "Mail.Send_V1", - "args": [ - "host", - "port", - "account", - "password", - "to", - "Cc", - "Bcc", - "subject", - "content", - "attachment", - "is_ssl" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "host", - "label": "邮件服务器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "例:imap.163.com, pop3.163.com", - "advanced": false, - "valueTypes": [] - }, - { - "key": "port", - "label": "端口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "25", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "account", - "label": "发件人账号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "to", - "label": "收信邮箱", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如需发送多人,请用分号隔开", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Cc", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如需抄送多人,请用分号隔开", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Bcc", - "label": "加密抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如需加密抄送多人,请用分号隔开", - "advanced": false, - "valueTypes": [] - }, - { - "key": "subject", - "label": "邮件标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "邮件正文", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "is_ssl", - "label": "SSL加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "发送结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "发送结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_FindMail_v2", - "name": "获取邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "根据条件查找电子邮件。查找到的邮件结果可用于回复邮件等操作。", - "messageTemplate": "查找邮箱 $1 的电子邮件, 然后把结果保存到 $0", - "baseType": "Mail_FindMail", - "functionName": "Mail.FindMail_v2", - "functionCalls": [ - { - "function": "Mail.FindMail_v2", - "args": [ - "account_obj", - "is_data", - "folder_name", - "is_Date_data", - "Date_data", - "is_to_send_data", - "To_data", - "From_data", - "is_Subject_Body_data", - "Subject_data", - "Body_data", - "is_attachment_data", - "attachment", - "email_num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查找邮件", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_data", - "label": "查找范围", - "widget": "region", - "type": "object", - "displayType": "searchRange", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_Date_data", - "label": "筛选日期", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配邮件日期", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Date_data", - "label": "开始时间", - "widget": "region", - "type": "object", - "displayType": "dateRangeFilter", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件日期。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_to_send_data", - "label": "筛选收发件人", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配收发件人邮箱地址", - "advanced": false, - "valueTypes": [] - }, - { - "key": "To_data", - "label": "收件人", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配收件人邮箱地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "From_data", - "label": "发件人", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配收件人邮箱地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_Subject_Body_data", - "label": "筛选主题和正文", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否模糊匹配邮件主题和正文", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject_data", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件主题。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Body_data", - "label": "正文", - "widget": "text", - "type": "string", - "displayType": "coloredText", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_attachment_data", - "label": "限制附件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否限制附件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "attachment", - "widget": "radio", - "type": "string", - "displayType": "coloredRadio", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "指定查找是否含有附件的邮件。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "包含附件", - "value": "1" - }, - { - "label": "不包含附件", - "value": "0" - }, - { - "label": "不限", - "value": "2" - } - ] - }, - { - "key": "email_num", - "label": "返回查找结果", - "widget": "radio", - "type": "string", - "displayType": "radioInputNumberV2", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "获取查询到的第几封邮件。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "查找结果保存到", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "查找结果保存到", - "defaultValue": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ExSearchMail", - "name": "查找邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Exchange" - ], - "categorySignature": "Exchange", - "description": "根据选定的条件,检索查找Exchange邮箱中的邮件,并将结果保存到指定变量。", - "messageTemplate": "根据指定条件查找 {$$1 == 'exchange' && '$2'} {$$1 == 'custom' && '$1'} 连接 $6 中的邮件, 然后把结果保存到 $0", - "baseType": "Mail_ExSearchMail", - "functionName": "Mail.ExSearchMail", - "functionCalls": [ - { - "function": "Mail.ExSearchMail", - "args": [ - "connect_type", - "target_obj", - "server_address", - "username", - "password", - "inbox_type", - "search_scope", - "recipient_key", - "sender_key", - "subject_key", - "body_key" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件查找" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "connect_type", - "label": "连接类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "exchange", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Exchange连接", - "value": "exchange" - }, - { - "label": "自定义账号", - "value": "custom" - } - ] - }, - { - "key": "target_obj", - "label": "选择操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "server_address", - "label": "服务器地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "username", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "inbox_type", - "label": "邮件类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "inbox", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "收件箱", - "value": "inbox" - }, - { - "label": "草稿箱", - "value": "drafts" - }, - { - "label": "发件箱", - "value": "sent" - } - ] - }, - { - "key": "search_scope", - "label": "查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "unread", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "仅查找未读", - "value": "unread" - }, - { - "label": "仅查找已读", - "value": "read" - }, - { - "label": "查找全部", - "value": "all" - } - ] - }, - { - "key": "recipient_key", - "label": "收件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sender_key", - "label": "发件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "subject_key", - "label": "邮件标题包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "body_key", - "label": "邮件内容包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "邮件内容", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "邮件内容", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_DoGetMailMessage", - "name": "查看邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "查看指定的邮件并赋值到邮件变量,可设定邮件过滤条件。", - "messageTemplate": "查看 邮箱账户 $1 文件夹 $2 标题内容包含 $3 邮件, 然后把结果保存到 $0", - "baseType": "Mail_DoGetMailMessage", - "functionName": "Mail.DoGetMailMessage", - "functionCalls": [ - { - "function": "Mail.DoGetMailMessage", - "args": [ - "account", - "folder", - "filter", - "unRead", - "markRead", - "sortByTime", - "num", - "attach_path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查看邮件", - "查看指定邮件" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account", - "label": "账户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "folder", - "label": "文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filter", - "label": "标题包含内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "unRead", - "label": "是否未读", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "未读", - "value": "1" - }, - { - "label": "已读", - "value": "2" - }, - { - "label": "全部", - "value": "0" - } - ] - }, - { - "key": "markRead", - "label": "标记是否已读", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "sortByTime", - "label": "是否按时间排序", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "num", - "label": "读取多少封邮件,0为所有", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attach_path", - "label": "附件存放目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "邮件列表", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ExSendMail", - "name": "发送邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Exchange" - ], - "categorySignature": "Exchange", - "description": "将指定的邮件内容通过Exchange邮箱发送给指定的收件人,并将发送结果保存为变量。", - "messageTemplate": "以 {$$1 == 'exchange' && '$2'} {$$1 == 'custom' && '$1'} 连接向指定收件人发送邮件, 然后把结果保存到 $0", - "baseType": "Mail_ExSendMail", - "functionName": "Mail.ExSendMail", - "functionCalls": [ - { - "function": "Mail.ExSendMail", - "args": [ - "connect_type", - "target_obj", - "server_address", - "username", - "password", - "target_email", - "cc", - "subject", - "body", - "filePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "connect_type", - "label": "连接类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "exchange", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Exchange连接", - "value": "exchange" - }, - { - "label": "自定义账号", - "value": "custom" - } - ] - }, - { - "key": "target_obj", - "label": "选择操作对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "server_address", - "label": "服务器地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "username", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "target_email", - "label": "收件人邮箱", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如需发送多人,请使用数组或用分号隔开", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cc", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如需发送多人,请使用数组或用分号隔开", - "advanced": false, - "valueTypes": [] - }, - { - "key": "subject", - "label": "邮件标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "body", - "label": "邮件内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "邮件附件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "发送结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "发送结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_OperateMail", - "name": "操作邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "操作指定电子邮件,使用该组件前请先使用“查找邮件”。", - "messageTemplate": "{$$3 == 0 && '将 $2 标记为已读'}{$$3 == 1 && '将 $2 标记为未读'}{$$3 == 2 && '将 $2 的附件保存至 $4'}{$$3 == 3 && '将 $2 删除'}{$$3 == 4 && '将 $2 移动到文件夹 $5'}, 然后把结果保存到 $0", - "baseType": "Mail_OperateMail", - "functionName": "Mail.OperateMail", - "functionCalls": [ - { - "function": "Mail.OperateMail", - "args": [ - "account_obj", - "emails", - "operation", - "attech_path", - "email_folder", - "folder_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Mail", - "处理", - "操作" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "emails", - "label": "待操作邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入“查找邮件”组件返回的变量。", - "advanced": false, - "valueTypes": [ - "rpa_list_email_v1" - ] - }, - { - "key": "operation", - "label": "操作", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "收件协议为POP协议时,仅支持下载附件操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "标记为已读", - "value": "0" - }, - { - "label": "标记为未读", - "value": "1" - }, - { - "label": "下载附件", - "value": "2" - }, - { - "label": "删除邮件", - "value": "3" - }, - { - "label": "移动邮件", - "value": "4" - } - ] - }, - { - "key": "attech_path", - "label": "附件保存至", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "email_folder", - "label": "邮箱文件夹", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "INBOX", - "placeholder": "", - "description": "选择邮箱的文件夹。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "收件箱", - "value": "INBOX" - }, - { - "label": "已发送", - "value": "Sent Items" - }, - { - "label": "其他文件夹", - "value": "other" - } - ] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "操作结果保存到", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "操作结果保存到", - "defaultValue": "操作结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_MarkSeen", - "name": "标为已读", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "登录目标邮箱,并将指定邮件设为已读状态,需设定邮箱账户信息、邮件服务器信息。", - "messageTemplate": "登录邮箱并设置第 $0 封邮件已读", - "baseType": "Mail_MarkSeen", - "functionName": "Mail.MarkSeen", - "functionCalls": [ - { - "function": "Mail.MarkSeen", - "args": [ - "index", - "hostname", - "username", - "password", - "ssl", - "port" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "标为已读", - "邮件状态", - "登录邮件", - "已读" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "index", - "label": "第几封邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "hostname", - "label": "imap地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "username", - "label": "用户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ssl", - "label": "是否使用ssl", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "port", - "label": "端口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "25", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mail_DoMoveMail_v1", - "name": "操作邮件(Outlook)", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "操作Outlook客户端中的邮件。", - "messageTemplate": "{$$3 == 0 && '将 $2 标记为已读'}{$$3 == 1 && '将 $2 标记为未读'}{$$3 == 2 && '将 $2 的附件保存至 $4'}{$$3 == 3 && '删除邮件 $2'}{$$3 == 4 && '将 $2 移动到文件夹 $5'}, 然后把结果保存到 $0", - "baseType": "Mail_DoMoveMail", - "functionName": "Mail.DoMoveMail_v1", - "functionCalls": [ - { - "function": "Mail.DoMoveMail_v1", - "args": [ - "account_obj", - "emails", - "operation", - "attech_path", - "email_folder", - "folder_name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "select", - "type": "string", - "displayType": "dynamicSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择Outlook客户端里的邮箱账户。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "emails", - "label": "待操作邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入“查找邮件(Outlook)”组件返回的变量或邮件标题,支持批量操作。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "operation", - "label": "操作", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "收件协议为POP协议时,仅支持下载附件操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "标记为已读", - "value": "0" - }, - { - "label": "标记为未读", - "value": "1" - }, - { - "label": "下载附件", - "value": "2" - }, - { - "label": "删除邮件", - "value": "3" - }, - { - "label": "移动邮件", - "value": "4" - } - ] - }, - { - "key": "attech_path", - "label": "附件保存至", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "将附件保存到本地文件夹。为空时,将保存到流程的根目录。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "email_folder", - "label": "移动至", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "INBOX", - "placeholder": "", - "description": "将邮件移动到别的邮箱文件夹。示例:“收件箱”。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "收件箱", - "value": "INBOX" - }, - { - "label": "已发送", - "value": "Sent" - }, - { - "label": "其他文件夹", - "value": "Other" - } - ] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "操作结果保存到", - "key": "var_name", - "suggestedName": "操作成功与否", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "操作结果保存到", - "defaultValue": "操作成功与否", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_ReplyMail_v2", - "name": "回复邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "回复指定电子邮件,使用该组件前可以先使用“查找邮件”组件。", - "messageTemplate": "回复 $2,主题为 $4, 然后把结果保存到 $0", - "baseType": "Mail_ReplyMail", - "functionName": "Mail.ReplyMail_v2", - "functionCalls": [ - { - "function": "Mail.ReplyMail_v2", - "args": [ - "account_obj", - "emails", - "reply_type", - "subject", - "content", - "attachment" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Mail", - "处理", - "操作" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "emails", - "label": "待回复邮件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。", - "advanced": false, - "valueTypes": [ - "rpa_list_email_v1" - ] - }, - { - "key": "reply_type", - "label": "回复模式", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "发送给原邮件发件人和其他收件人,抄送原邮件抄送人。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "回复发件人", - "value": "0" - }, - { - "label": "回复所有人", - "value": "1" - } - ] - }, - { - "key": "subject", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "邮件标题。为空时,默认主题为“回复:{原主题}”。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content", - "label": "正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInputV3", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifileSwitch", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "回复结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "回复结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_Send", - "name": "发送邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "SMTP/POP" - ], - "categorySignature": "SMTP/POP", - "description": "将邮件内容和附件发送到指定邮箱,可设定发送邮件的账号信息、邮件服务器信息、邮件内容信息等。", - "messageTemplate": "发送邮件/附件 $7 , 然后把结果保存到 $0", - "baseType": "Mail_Send", - "functionName": "Mail.Send", - "functionCalls": [ - { - "function": "Mail.Send", - "args": [ - "host", - "account", - "password", - "to", - "subject", - "content", - "attachment", - "port", - "is_ssl", - "isAbsolutePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "host", - "label": "SMTP服务器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "account", - "label": "邮箱账号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "登录密码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "to", - "label": "收信邮箱", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "subject", - "label": "邮件标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "content", - "label": "邮件正文", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "邮件附件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "port", - "label": "端口", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "25", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_ssl", - "label": "SSL加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "isAbsolutePath", - "label": "是否相对路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objMail", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objMail", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_DoReplyMail", - "name": "回复邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "对指定的邮件进行模拟回复,可设置过滤条件,设定邮件的收发账户和发送内容等。", - "messageTemplate": "回复邮件, 然后把结果保存到 $0", - "baseType": "Mail_DoReplyMail", - "functionName": "Mail.DoReplyMail", - "functionCalls": [ - { - "function": "Mail.DoReplyMail", - "args": [ - "Account", - "BCC", - "CC", - "Filter", - "SrcFolder", - "SendByEmail", - "Subject", - "ReplyBody", - "ReplyAll", - "filePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件回复", - "邮件发送", - "邮件", - "mail" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "Account", - "label": "账户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "BCC", - "label": "加密抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "CC", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Filter", - "label": "标题包含内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SrcFolder", - "label": "文件夹", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SendByEmail", - "label": "发送人email", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject", - "label": "回复邮件标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ReplyBody", - "label": "回复内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ReplyAll", - "label": "是否回复所有人", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "filePath", - "label": "附件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "回复结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "回复结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_DoSendMail_v1", - "name": "发送邮件(Outlook)", - "kind": "vendor", - "group": "message", - "categories": [ - "Outlook" - ], - "categorySignature": "Outlook", - "description": "使用Outlook客户端发送邮件。", - "messageTemplate": "将主题为 $4 的邮件发送至 $2 , 然后把结果保存到 $0", - "baseType": "Mail_DoSendMail", - "functionName": "Mail.DoSendMail_v1", - "functionCalls": [ - { - "function": "Mail.DoSendMail_v1", - "args": [ - "account_obj", - "RecvByEmail", - "CC", - "Subject", - "Body", - "filePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "邮件发送", - "mail", - "邮件", - "抄送" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "select", - "type": "string", - "displayType": "dynamicSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择Outlook客户端里的邮箱账户", - "advanced": false, - "valueTypes": [] - }, - { - "key": "RecvByEmail", - "label": "收件人", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "多个收件人用\";\"分隔", - "description": "输入收件人邮箱地址,支持多个收件人,用\";\"分隔", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "CC", - "label": "抄送", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "多个抄送人用\";\"分隔", - "description": "输入收件人邮箱地址,支持多个收件人,用\";\"分隔", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "Subject", - "label": "主题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮件标题", - "description": "输入邮件标题", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "Body", - "label": "正文", - "widget": "textarea", - "type": "string", - "displayType": "quillInputV3", - "required": false, - "defaultValue": "", - "placeholder": "请输入邮件内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "附件", - "widget": "boolean", - "type": "boolean", - "displayType": "multifileSwitch", - "required": false, - "defaultValue": "", - "placeholder": "请选择附件", - "description": "添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "结果保存到", - "key": "var_name", - "suggestedName": "发送成功与否", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "结果保存到", - "defaultValue": "发送成功与否", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mail_FindMail", - "name": "查找邮件", - "kind": "vendor", - "group": "message", - "categories": [ - "email" - ], - "categorySignature": "email", - "description": "根据条件查找电子邮件。查找到的邮件结果可用于回复邮件等操作。", - "messageTemplate": "查找邮箱 $1 的电子邮件, 然后把结果保存到 $0", - "baseType": "Mail_FindMail", - "functionName": "Mail.FindMail", - "functionCalls": [ - { - "function": "Mail.FindMail", - "args": [ - "account_obj", - "email_folder", - "folder_name", - "search_range", - "To_data", - "From_data", - "Subject_data", - "Body_data", - "attachment", - "email_num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "account_obj", - "label": "邮箱账户", - "widget": "text", - "type": "string", - "displayType": "mailSelection", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "一般为邮箱地址,示例:name@example.com。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "email_folder", - "label": "邮箱文件夹", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "INBOX", - "placeholder": "", - "description": "选择邮箱的文件夹,收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "收件箱", - "value": "INBOX" - }, - { - "label": "已发送", - "value": "Sent Items" - }, - { - "label": "其他文件夹", - "value": "other" - } - ] - }, - { - "key": "folder_name", - "label": "文件夹名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "search_range", - "label": "查找范围", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "ALL", - "placeholder": "", - "description": "收件协议为POP时,该属性不生效。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "所有邮件", - "value": "ALL" - }, - { - "label": "已读邮件", - "value": "SEEN" - }, - { - "label": "未读邮件", - "value": "UNSEEN" - } - ] - }, - { - "key": "To_data", - "label": "收件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配收件人邮箱地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "From_data", - "label": "发件人包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配收件人邮箱地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Subject_data", - "label": "主题包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件主题。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "Body_data", - "label": "正文包含", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "模糊匹配邮件正文。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attachment", - "label": "附件", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "不限", - "value": "2" - }, - { - "label": "有附件", - "value": "1" - }, - { - "label": "无附件", - "value": "0" - } - ] - }, - { - "key": "email_num", - "label": "返回查找结果", - "widget": "radio", - "type": "string", - "displayType": "radioInputNumber", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "获取查询到的第几封邮件。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "查找结果保存到", - "key": "var_name", - "suggestedName": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ], - "fields": [ - { - "key": "var_name", - "label": "查找结果保存到", - "defaultValue": "邮件列表", - "valueTypes": [ - "rpa_list_email_v1" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mark_Mark", - "name": "图片打标", - "kind": "vendor", - "group": "vision", - "categories": [ - "mark" - ], - "categorySignature": "mark", - "description": "。", - "messageTemplate": "对图片做信息提取, 然后把结果保存到 $0", - "baseType": "Mark_Mark", - "functionName": "Mark.Mark", - "functionCalls": [ - { - "function": "Mark.Mark", - "args": [ - "imagePath", - "labels" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片打标", - "打标" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imagePath", - "label": "图片全路径", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入内容或 ${变量}", - "description": "填写参数值,支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [] - }, - { - "key": "labels", - "label": "信息标签", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "[]", - "placeholder": "输入内容或 ${变量}", - "description": "填写参数值,支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrElement", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrElement", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Cos", - "name": "余弦值", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的余弦值,并输出到指定变量。", - "messageTemplate": "将 $1 的余弦值, 然后把结果保存到 $0", - "baseType": "Math_Cos", - "functionName": "Math.Cos", - "functionCalls": [ - { - "function": "Math.Cos", - "args": [ - "data", - "unit" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "余弦值", - "计算", - "数学计算", - "cos" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "unit", - "label": "单位", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "角度(单位:°)", - "value": "1" - }, - { - "label": "弧度(单位:π)", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "余弦值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "余弦值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Tan", - "name": "正切值", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的正切值,并输出到指定变量。", - "messageTemplate": "将 $1 的正切值, 然后把结果保存到 $0", - "baseType": "Math_Tan", - "functionName": "Math.Tan", - "functionCalls": [ - { - "function": "Math.Tan", - "args": [ - "data", - "unit" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正切值", - "计算", - "数学计算", - "tan" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "unit", - "label": "单位", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "角度(单位:°)", - "value": "1" - }, - { - "label": "弧度(单位:π)", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "正切值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "正切值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Scale", - "name": "进制转换", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "将目标数据,进行进制转换。", - "messageTemplate": "将 $2 进行进制转换, 然后把结果保存到 $0", - "baseType": "Math_Scale", - "functionName": "Math.Scale", - "functionCalls": [ - { - "function": "Math.Scale", - "args": [ - "sourceNumScale", - "sourceNum", - "targetNumScale" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转换", - "转变", - "转换格式", - "转换类型", - "变换" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "sourceNumScale", - "label": "源数据进制", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "10", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ], - "options": [ - { - "label": "2进制", - "value": "2" - }, - { - "label": "8进制", - "value": "8" - }, - { - "label": "10进制", - "value": "10" - }, - { - "label": "16进制", - "value": "16" - } - ] - }, - { - "key": "sourceNum", - "label": "源数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "请输入源数据", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "targetNumScale", - "label": "目标进制", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "10", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "2进制", - "value": "2" - }, - { - "label": "8进制", - "value": "8" - }, - { - "label": "10进制", - "value": "10" - }, - { - "label": "16进制", - "value": "16" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "转换结果值", - "valueTypes": [ - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "转换结果值", - "valueTypes": [ - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Round", - "name": "四舍五入", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的四舍五入值,可指定保留几位小数,并将结果输出到指定变量。", - "messageTemplate": "将 $1 四舍五入并保留 $2 位小数, 然后把结果保存到 $0", - "baseType": "Math_Round", - "functionName": "Math.Round", - "functionCalls": [ - { - "function": "Math.Round", - "args": [ - "data", - "digit" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "四舍五入取整计算", - "数据计算", - "ROUNDUP" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "浮点数超过15位,请使用字符串,例如:“1.1234567890123456”", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "digit", - "label": "保留小数点后位数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "请输入位数", - "description": "请输入整数", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "计算结果", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "计算结果", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Pow", - "name": "x的y次幂", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算以x为底数的y次幂的值,并输出到指定变量。", - "messageTemplate": "计算 $1 的 $2 次幂, 然后把结果保存到 $0", - "baseType": "Math_Pow", - "functionName": "Math.Pow", - "functionCalls": [ - { - "function": "Math.Pow", - "args": [ - "x", - "y" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "x", - "y次幂", - "幂计算", - "数学计算" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "x", - "label": "x输入值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入x的数值", - "description": "底数x的数值", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "y", - "label": "y输入值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入y的数值", - "description": "指数y的数值", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "计算结果", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "计算结果", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Int", - "name": "取整", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的取整值,并输出到指定变量。", - "messageTemplate": "将 $1 的取整, 然后把结果保存到 $0", - "baseType": "Math_Int", - "functionName": "Math.Int", - "functionCalls": [ - { - "function": "Math.Int", - "args": [ - "data", - "position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "取整计算", - "数据计算", - "INT" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "position", - "label": "取整方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "向上:取大于目标数据的整数;向下:取小于目标数据的整数;", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向上", - "value": "1" - }, - { - "label": "向下", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "整数值", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "整数值", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Sqrt", - "name": "平方根", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的平方根值,并输出到指定变量。", - "messageTemplate": "将 $1 的平方根, 然后把结果保存到 $0", - "baseType": "Math_Sqrt", - "functionName": "Math.Sqrt", - "functionCalls": [ - { - "function": "Math.Sqrt", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "平方根值", - "计算", - "数学计算", - "√~" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "计算结果", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "计算结果", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Oct", - "name": "转8进制", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "将目标数据(十进制),转换为8进制数据。", - "messageTemplate": "将目标数据转换为8进制, 然后把结果保存到 $0", - "baseType": "Math_Oct", - "functionName": "Math.Oct", - "functionCalls": [ - { - "function": "Math.Oct", - "args": [ - "num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据转换", - "十进制", - "8进制" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "num", - "label": "10进制", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Sin", - "name": "正弦值", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的正弦值,并输出到指定变量。", - "messageTemplate": "将 $1 的正弦值, 然后把结果保存到 $0", - "baseType": "Math_Sin", - "functionName": "Math.Sin", - "functionCalls": [ - { - "function": "Math.Sin", - "args": [ - "data", - "unit" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正弦值", - "计算", - "数学计算", - "sin" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "unit", - "label": "单位", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "角度(单位:°)", - "value": "1" - }, - { - "label": "弧度(单位:π)", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "正弦值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "正弦值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Abs", - "name": "绝对值", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算目标数据的绝对值,并输出到指定变量。", - "messageTemplate": "将 $1 的绝对值, 然后把结果保存到 $0", - "baseType": "Math_Abs", - "functionName": "Math.Abs", - "functionCalls": [ - { - "function": "Math.Abs", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "绝对值", - "计算", - "数学计算" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "绝对值", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "绝对值", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Hex", - "name": "转16进制", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "将目标数据(十进制),转换为16进制数据。", - "messageTemplate": "将目标数据转换为16进制, 然后把结果保存到 $0", - "baseType": "Math_Hex", - "functionName": "Math.Hex", - "functionCalls": [ - { - "function": "Math.Hex", - "args": [ - "num" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据转换", - "十进制", - "16进制" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "num", - "label": "10进制", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Exp", - "name": "e的n次幂", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "计算以e为底数的n次幂的值,并输出到指定变量。", - "messageTemplate": "将自然对数e取 $1 的次幂, 然后把结果保存到 $0", - "baseType": "Math_Exp", - "functionName": "Math.Exp", - "functionCalls": [ - { - "function": "Math.Exp", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "e", - "n次幂", - "幂计算", - "数学计算" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入n的数值", - "description": "指数n的数值", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "计算结果", - "valueTypes": [ - "rpa_num" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "计算结果", - "valueTypes": [ - "rpa_num" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Math_Sgn", - "name": "取正负符号", - "kind": "vendor", - "group": "data", - "categories": [ - "math" - ], - "categorySignature": "math", - "description": "获取目标数据的正负符号,并输出到指定变量,数据为正数时返回1,数据为负数时返回-1。", - "messageTemplate": "取 $1 的正负符号, 然后把结果保存到 $0", - "baseType": "Math_Sgn", - "functionName": "Math.Sgn", - "functionCalls": [ - { - "function": "Math.Sgn", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正负号", - "数据计算" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "目标数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入数值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "正负符号", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "正负符号", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "MessageNotification_Feishu_Message", - "name": "发送消息至飞书", - "kind": "vendor", - "group": "message", - "categories": [ - "notification" - ], - "categorySignature": "notification", - "description": "通过飞书机器人发送内容到飞书群。使用该组件前,请在飞书群里预先配置好自定义机器人。", - "messageTemplate": "发送内容到飞书群", - "baseType": "MessageNotification_Feishu_Message", - "functionName": "MessageNotification.Feishu_Message", - "functionCalls": [ - { - "function": "MessageNotification.Feishu_Message", - "args": [ - "webhook", - "key", - "test_message", - "message_type", - "app_id", - "app_secret", - "content_text", - "content_markdown", - "image_path", - "content_custom", - "mentioned_type", - "mentioned_list" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "飞书", - "飞书机器人", - "飞书通知", - "发送飞书消息", - "发送消息至飞书", - "Webhook", - "MessageNotification" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "webhook", - "label": "机器人地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入机器人webhook地址", - "description": "输入已在飞书群添加好的自定义机器人Webhook地址。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "key", - "label": "密钥", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入已在飞书群添加好的自定义机器人密钥。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "test_message", - "label": "发送测试消息", - "widget": "text", - "type": "string", - "displayType": "webhookTestBtn", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "message_type", - "label": "内容格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "发送内容的格式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文本格式", - "value": "0" - }, - { - "label": "富文本格式", - "value": "1" - }, - { - "label": "图片格式", - "value": "2" - }, - { - "label": "消息卡片格式", - "value": "3" - } - ] - }, - { - "key": "app_id", - "label": "App ID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入企业自建应用App ID", - "description": "app_id与app_secret需要登录飞书开发者后台;进入企业自建应用详情页,获取App ID和App Secret。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "app_secret", - "label": "App Secret", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入企业自建应用App Secret", - "description": "app_id与app_secret需要登录飞书开发者后台;进入企业自建应用详情页,获取App ID和App Secret。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content_text", - "label": "文本内容", - "widget": "code", - "type": "string", - "displayType": "codeInput", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本内容", - "description": "输入需要发送的消息文本。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content_markdown", - "label": "富文本内容", - "widget": "code", - "type": "string", - "displayType": "jsonEditor", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "支持输入一个字典对象,格式查看飞书开发者文档,或组件使用说明文档。内容中含有布尔类型True、False,请确保符合Python语法,首字母大写。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "image_path", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "选择图片路径,最大不能超过2M,支持JPG,PNG格式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content_custom", - "label": "消息卡片", - "widget": "code", - "type": "string", - "displayType": "jsonEditor", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入一个字典对象,格式请查看飞书开发者文档,或组件使用说明文档。内容中含有布尔类型True、False,请确保符合Python语法,首字母大写。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mentioned_type", - "label": "@群成员", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定成员,可以输入需@user_id,@多个人时以英文逗号分割,例如:6mw5**d7,8ww5**d7", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "指定成员", - "value": "1" - }, - { - "label": "所有人", - "value": "2" - } - ] - }, - { - "key": "mentioned_list", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入成员user_id,@多个用户使用英文逗号分隔", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "MessageNotification_DingTalk_Message", - "name": "发送消息至钉钉", - "kind": "vendor", - "group": "message", - "categories": [ - "notification" - ], - "categorySignature": "notification", - "description": "通过钉钉机器人发送内容到钉钉群。使用该组件前,请在钉钉群里预先配置好自定义机器人。", - "messageTemplate": "发送内容到钉钉群", - "baseType": "MessageNotification_DingTalk_Message", - "functionName": "MessageNotification.DingTalk_Message", - "functionCalls": [ - { - "function": "MessageNotification.DingTalk_Message", - "args": [ - "webhook", - "key", - "test_message", - "message_type", - "content_text", - "content_markdown", - "content_custom", - "mentioned_type", - "mentioned_mobile_list" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "钉钉", - "钉钉机器人", - "钉钉通知", - "发送钉钉消息", - "发送消息至钉钉", - "Webhook", - "MessageNotification" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "webhook", - "label": "机器人地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入机器人webhook地址", - "description": "输入自定义机器人Webhook地址。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "key", - "label": "密钥", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入自定义机器人密钥(安全设置-加签)。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "test_message", - "label": "发送测试消息", - "widget": "text", - "type": "string", - "displayType": "webhookTestBtn", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "message_type", - "label": "内容格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "发送内容的格式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文本格式", - "value": "0" - }, - { - "label": "Markdown格式", - "value": "1" - }, - { - "label": "开发者模式", - "value": "2" - } - ] - }, - { - "key": "content_text", - "label": "文本内容", - "widget": "code", - "type": "string", - "displayType": "codeInput", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本消息内容", - "description": "输入需要发送的消息文本。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content_markdown", - "label": "MarkDown内容", - "widget": "code", - "type": "string", - "displayType": "jsonEditor", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "Markdown格式支持情况请查看钉钉开发者文档,或者组件使用说明文档。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content_custom", - "label": "自定义内容", - "widget": "code", - "type": "string", - "displayType": "jsonEditor", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "支持输入一个JSON字符串,JSON格式请查看钉钉开发者文档,或者组件使用说明文档", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mentioned_type", - "label": "@群成员", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "输入成员手机号,@多个用户使用英文逗号分隔", - "description": "指定成员,可以输入需@手机号,@多个人时以英文逗号分割,例如:18312345678,18312345679", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "指定成员", - "value": "1" - }, - { - "label": "所有人", - "value": "2" - } - ] - }, - { - "key": "mentioned_mobile_list", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "MessageNotification_WXWork_Message", - "name": "发送消息至企业微信", - "kind": "vendor", - "group": "message", - "categories": [ - "notification" - ], - "categorySignature": "notification", - "description": "通过企业微信机器人发送内容到企业微信群。使用该组件前,请在企业微信群里预先配置好机器人。", - "messageTemplate": "发送内容到企业微信群", - "baseType": "MessageNotification_WXWork_Message", - "functionName": "MessageNotification.WXWork_Message", - "functionCalls": [ - { - "function": "MessageNotification.WXWork_Message", - "args": [ - "webhook", - "test_message", - "message_type", - "content_text", - "content_markdown", - "image_path", - "file_path", - "content_custom", - "mentioned_type", - "mentioned_mobile_list" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "企业微信", - "企业微信机器人", - "企微机器人", - "企业微信通知", - "发送企业微信消息", - "发送消息至企业微信Webhook", - "MessageNotification" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "webhook", - "label": "机器人地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入机器人webhook地址", - "description": "输入已在企业微信群添加好的自定义机器人Webhook地址。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "test_message", - "label": "发送测试消息", - "widget": "text", - "type": "string", - "displayType": "webhookTestBtn", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "message_type", - "label": "内容格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "发送内容的格式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文本格式", - "value": "0" - }, - { - "label": "Markdown格式", - "value": "1" - }, - { - "label": "图片格式", - "value": "2" - }, - { - "label": "文件格式", - "value": "3" - }, - { - "label": "开发者模式", - "value": "4" - } - ] - }, - { - "key": "content_text", - "label": "文本内容", - "widget": "code", - "type": "string", - "displayType": "codeInput", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本内容", - "description": "文本内容最长不超过2048个字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "content_markdown", - "label": "MarkDown内容", - "widget": "code", - "type": "string", - "displayType": "jsonEditor", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "Markdown内容最长不超过1500个字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "image_path", - "label": "图片路径", - "widget": "region", - "type": "object", - "displayType": "screenShot", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择图片路径", - "description": "选择图片路径,最大不能超过2M,支持JPG,PNG格式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "file_path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择文件路径", - "description": "选择文件路径,最大不能超过20M。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "content_custom", - "label": "自定义内容", - "widget": "code", - "type": "string", - "displayType": "jsonEditor", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入一个字典对象,字典格式请查看企业微信开发者文档(点击机器人头像->编辑按钮->配置说明),或者组件使用说明文档。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mentioned_type", - "label": "@群成员", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定成员,可以输入需@手机号,@多个人时以英文逗号分割,例如:18312345678,18312345679", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "指定成员", - "value": "1" - }, - { - "label": "所有人", - "value": "2" - } - ] - }, - { - "key": "mentioned_mobile_list", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_ConnectPhone", - "name": "连接手机", - "kind": "vendor", - "group": "mobile", - "categories": [ - "connect_mobile" - ], - "categorySignature": "connect_mobile", - "description": "连接移动设备管理中的指定的移动设备。", - "messageTemplate": "在移动设备管理列表中选择自定义移动设备$1,将该移动设备保存至手机对象并建立连接,, 然后把结果保存到 $0", - "baseType": "Mobile_ConnectPhone", - "functionName": "Mobile.ConnectPhone", - "functionCalls": [ - { - "function": "Mobile.ConnectPhone", - "args": [ - "mobileInfo" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileInfo", - "label": "自定义设备名称", - "widget": "select", - "type": "string", - "displayType": "mobileDeviceDropDownSelect", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "连接手机", - "valueTypes": [ - "rpa_mobile" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "连接手机", - "valueTypes": [ - "rpa_mobile" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_MobileElementAarray", - "name": "获取手机相似元素数组", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "获取手机相似元素数组。", - "messageTemplate": "获取手机相似元素数组", - "baseType": "Mobile_MobileElementAarray", - "functionName": "Mobile.MobileElementAarray", - "functionCalls": [ - { - "function": "Mobile.MobileElementAarray", - "args": [ - "uiSelector", - "mobileDevice" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "mobileDevice", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_Call", - "name": "拨打电话", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "通过已连接的手机拨打指定号码。", - "messageTemplate": "通过移动设备 $0 向号码 $1 拨打电话", - "baseType": "Mobile_Call", - "functionName": "Mobile.Call", - "functionCalls": [ - { - "function": "Mobile.Call", - "args": [ - "mobileDevice", - "number", - "brand" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "number", - "label": "需拨打的号码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "填写需要拨打的电话号码", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "brand", - "label": "手机品牌", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如是华为品牌手机,请输入\"华为\",其他品牌可填入品牌名称或不填。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_MobileSetText_V1", - "name": "手机键盘输入", - "kind": "vendor", - "group": "mobile", - "categories": [ - "anthro_operation" - ], - "categorySignature": "anthro_operation", - "description": "使用手机模拟键盘输入指定内容。部分设备需安装ADB Keyboard,请在设置中心 - 扩展程序中下载。", - "messageTemplate": "在移动设备 $0 中,模拟手机键盘输入 $1", - "baseType": "Mobile_MobileSetText", - "functionName": "Mobile.MobileSetText_V1", - "functionCalls": [ - { - "function": "Mobile.MobileSetText_V1", - "args": [ - "mobileDevice", - "text", - "isEnter" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输入完成后点击键盘回车键,根据不同场景触发确认、搜索、换行等事件", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_ClickButton", - "name": "系统导航键", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "点击手机底部的默认按键(Home、返回、菜单键)。", - "messageTemplate": "在移动设备 $0 上,点击 $1 键按键", - "baseType": "Mobile_ClickButton", - "functionName": "Mobile.ClickButton", - "functionCalls": [ - { - "function": "Mobile.ClickButton", - "args": [ - "mobileDevice", - "phoneKey" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "phoneKey", - "label": "手机按键", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Home键", - "value": "0" - }, - { - "label": "返回键", - "value": "1" - }, - { - "label": "菜单键", - "value": "2" - }, - { - "label": "删除键", - "value": "5" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_SetInputV1", - "name": "手机输入文本", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "在手机指定输入框中输入文本。", - "messageTemplate": "在移动设备 $1 中,将目标元素 $2 的文本内容设置为 $3, 然后把结果保存到 $0", - "baseType": "Mobile_SetInput", - "functionName": "Mobile.SetInputV1", - "functionCalls": [ - { - "function": "Mobile.SetInputV1", - "args": [ - "mobileDevice", - "uiSelector", - "text", - "input", - "isEnter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择输入框", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空原内容后输入\n追加输入:在已有内容结尾输入", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输入完成后点击键盘回车键,根据不同场景触发确认、搜索、换行等事件", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输入文本", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输入文本", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_ConnectPhoneV3", - "name": "连接手机", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "连接手机管理器中的设备,作为手机自动化类组件操作对象。", - "messageTemplate": "以 $2 连接方式,{$$2 == 0 && '连接 $3 等手机'}{$$2 != 0 && '连接手机'}, 然后把结果保存到 $0 $1", - "baseType": "Mobile_ConnectPhone", - "functionName": "Mobile.ConnectPhoneV3", - "functionCalls": [ - { - "function": "Mobile.ConnectPhoneV3", - "args": [ - "conn_type", - "mobileInfo", - "ignore_phone", - "conn_mode", - "auto_unlock", - "unlock_type", - "design_password", - "num_password", - "mix_password" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "conn_type", - "label": "连接方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "指定手机:\n指定单台或多台手机管理器中的手机。\n\n运行前手动选择手机:\n运行连接手机组件时,手动选择手机管理器中的单台或多台手机。\n\n任意连接的单台手机:\n手机管理器中,只能有一台手机与当前电脑连接,仅适用于单手机自动化场景。\n\n所有手机:\n连接所有手机管理器中的手机。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定手机", - "value": "0" - }, - { - "label": "运行前手动选择手机", - "value": "1" - }, - { - "label": "任意连接的单台手机", - "value": "2" - }, - { - "label": "所有手机", - "value": "3" - } - ] - }, - { - "key": "mobileInfo", - "label": "手机连接对象", - "widget": "select", - "type": "string", - "displayType": "newMobileDeviceDropDownSelectV2", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ignore_phone", - "label": "忽略连接失败的手机", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "部分手机连接失败时,继续保持其他手机运行,并将连接失败设备以列表形式输出", - "advanced": false, - "valueTypes": [] - }, - { - "key": "conn_mode", - "label": "连接模式", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "auto_unlock", - "label": "连接时自动解锁", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "unlock_type", - "label": "解锁方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "数字密码", - "value": "1" - }, - { - "label": "混合密码", - "value": "2" - } - ] - }, - { - "key": "design_password", - "label": "design_password", - "widget": "secret", - "type": "string", - "displayType": "designPassword", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "根据解锁顺序,至少点击连接4个点", - "advanced": false, - "valueTypes": [] - }, - { - "key": "num_password", - "label": "数字密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "请输入4~16位数字密码", - "description": "4~16位数字密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "mix_password", - "label": "混合密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "请输入4~16位字母和数字密码", - "description": "4~16位字母和数字密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "手机操作对象", - "key": "var0", - "suggestedName": "手机操作对象", - "valueTypes": [ - "rpa_list_mobile", - "rpa_list_mobile", - "rpa_mobile", - "rpa_list_mobile" - ], - "fields": [ - { - "key": "var0", - "label": "手机操作对象", - "defaultValue": "手机操作对象", - "valueTypes": [ - "rpa_list_mobile", - "rpa_list_mobile", - "rpa_mobile", - "rpa_list_mobile" - ] - }, - { - "key": "var1", - "label": "连接失败的手机", - "defaultValue": "连接失败的手机", - "valueTypes": [ - "rpa_list_mobile" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_GetAttribute", - "name": "手机元素属性拾取", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "获取手机某元素的属性内容。", - "messageTemplate": "在移动设备 $1 中,获取目标元素 $2 中的文本, 然后把结果保存到 $0", - "baseType": "Mobile_GetAttribute", - "functionName": "Mobile.GetAttribute", - "functionCalls": [ - { - "function": "Mobile.GetAttribute", - "args": [ - "mobileDevice", - "uiSelector", - "name", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "name", - "label": "属性名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入属性名称", - "description": "index:父级下索引\npackage:包名\nclass:类名\nbounds:坐标范围\nresource-id:唯一标识\ntext:文本\nenabled:可用\nclickable:可点击\nlong-clickable:可长按\ncheckable:可勾选\nfocusable:可获取焦点\nscrollable:可滚动\ndisplayed:可显示\npassword:内容可隐藏", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "手机元素属性", - "key": "var_name", - "suggestedName": "手机元素属性值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "手机元素属性", - "defaultValue": "手机元素属性值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_Exists", - "name": "手机元素判断", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "判断手机中指定元素是否存在。", - "messageTemplate": "判断指定元素 $2 是否存在, 然后把结果保存到 $0", - "baseType": "Mobile_Exists", - "functionName": "Mobile.Exists", - "functionCalls": [ - { - "function": "Mobile.Exists", - "args": [ - "mobileDevice", - "uiSelector", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素存在", - "存在", - "判断元素存在", - "元素", - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "判断结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "判断结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_MobileElementList", - "name": "获取手机相似元素列表", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "获取手机中,与指定元素相似的其他元素信息。", - "messageTemplate": "在移动设备 $2 中,以元素拾取定位方式,获取 $3 的相似元素,然后把结果保存到 $0", - "baseType": "Mobile_MobileElementList", - "functionName": "Mobile.MobileElementList", - "functionCalls": [ - { - "function": "Mobile.MobileElementList", - "args": [ - "mobileDevice", - "selector" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "相似元素", - "拾取元素", - "捕获元素", - "保存元素", - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "selector", - "label": "目标选择", - "widget": "text", - "type": "string", - "displayType": "captureSimilarElementsWithPhone", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "相似元素列表", - "key": "var0", - "suggestedName": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var0", - "label": "相似元素列表", - "defaultValue": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - }, - { - "key": "var1", - "label": "相似元素总数", - "defaultValue": "相似元素总数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_FileTransfer", - "name": "手机文件传输", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "在手机和电脑之间,进行文件传输。", - "messageTemplate": "以 $1 为传输目标,{$$1 == 0 && '将 $2 传输到 $3'}{$$1 == 1 && '将 $5 传输到 $6'}", - "baseType": "Mobile_FileTransfer", - "functionName": "Mobile.FileTransfer", - "functionCalls": [ - { - "function": "Mobile.FileTransfer", - "args": [ - "mobileDevice", - "transfer_direction", - "pc_path", - "mobile_save_path", - "mobile_custom_path", - "mobile_path", - "pc_save_path", - "pc_custom_path", - "overwrite", - "auto_create", - "del_origin" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "transfer_direction", - "label": "传输目标", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "电脑到手机", - "value": "0" - }, - { - "label": "手机到电脑", - "value": "1" - } - ] - }, - { - "key": "pc_path", - "label": "电脑文件", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入电脑文件所在路径,及文件名称+后缀", - "description": "多个文件路径之间,使用英文\";\"分割", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mobile_save_path", - "label": "手机保存路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "/sdcard/Download/", - "placeholder": "", - "description": "根目录:/sdcard/ 或 /storage/emulated/0/\n下载:/sdcard/Download/\n文档:/sdcard/Documents/\n相册:/sdcard/DCIM/Camera/\n截图:/sdcard/DCIM/Screenshots/ 或 /sdcard/Pictures/Screenshots/\n临时:/data/local/tmp/", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "下载", - "value": "/sdcard/Download/" - }, - { - "label": "文档", - "value": "/sdcard/Documents/" - }, - { - "label": "相册", - "value": "/sdcard/DCIM/Camera/" - }, - { - "label": "截图", - "value": "/sdcard/DCIM/Screenshots;/sdcard/Pictures/Screenshots/" - }, - { - "label": "临时", - "value": "/data/local/tmp/" - }, - { - "label": "自定义", - "value": "custom_path" - } - ] - }, - { - "key": "mobile_custom_path", - "label": "手机自定义路径", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入电脑保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "mobile_path", - "label": "手机文件", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入手机文件所在路径,及文件名称+后缀", - "description": "多个文件路径之间,使用英文\";\"分割", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pc_save_path", - "label": "电脑保存路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "Desktop", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "桌面", - "value": "Desktop" - }, - { - "label": "下载", - "value": "Downloads" - }, - { - "label": "文档", - "value": "Documents" - }, - { - "label": "用户", - "value": "USERPROFILE" - }, - { - "label": "临时", - "value": "TEMP" - }, - { - "label": "自定义", - "value": "custom_path" - } - ] - }, - { - "key": "pc_custom_path", - "label": "电脑自定义路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入电脑保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "overwrite", - "label": "覆盖同名文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "auto_create", - "label": "路径不存在时,自动创建", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "del_origin", - "label": "传输完成后删除原文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_GetPhoneInfomation", - "name": "获取手机连接详情", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "获取手机连接的详细信息,并存入指定的字典类型变量。", - "messageTemplate": "获取移动设备 $1 的连接详情, 然后把结果保存到 $0", - "baseType": "Mobile_GetPhoneInfomation", - "functionName": "Mobile.GetPhoneInfomation", - "functionCalls": [ - { - "function": "Mobile.GetPhoneInfomation", - "args": [ - "mobileDevice" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机连接详情", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机连接详情", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_ClickLocation", - "name": "手机屏幕坐标点击", - "kind": "vendor", - "group": "mobile", - "categories": [ - "anthro_operation" - ], - "categorySignature": "anthro_operation", - "description": "模拟手势点击操作。", - "messageTemplate": "点击移动设备屏幕 $0 的 $1 位置", - "baseType": "Mobile_ClickLocation", - "functionName": "Mobile.ClickLocation", - "functionCalls": [ - { - "function": "Mobile.ClickLocation", - "args": [ - "mobileDevice", - "location", - "type" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "location", - "label": "获取坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecordPhone", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "type", - "label": "点击方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - }, - { - "label": "长按", - "value": "2" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_SaveFilePhone", - "name": "保存文件到手机", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "将电脑中的文件保存至手机中的指定位置。", - "messageTemplate": "将本地 $1 下的文件保存至移动设备 $0 中的指定路径下", - "baseType": "Mobile_SaveFilePhone", - "functionName": "Mobile.SaveFilePhone", - "functionCalls": [ - { - "function": "Mobile.SaveFilePhone", - "args": [ - "mobileDevice", - "filePath", - "phonePath" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "mobileDevice", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "电脑文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "phonePath", - "label": "手机储存文件位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_SetInput", - "name": "设置文本|填写输入框", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "在手机指定输入框中输入文本。", - "messageTemplate": "在移动设备 $1 中,将目标元素 $2 的文本内容设置为 $3, 然后把结果保存到 $0", - "baseType": "Mobile_SetInput", - "functionName": "Mobile.SetInput", - "functionCalls": [ - { - "function": "Mobile.SetInput", - "args": [ - "mobileDevice", - "uiSelector", - "text", - "input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "text", - "label": "写入文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "追加输入", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_MobileCvClick", - "name": "手机智能元素点击", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "通过AI能力,获取手机页面中的元素,并对元素进行点击操作。", - "messageTemplate": "在移动设备 $0 中,通过AI能力获取目标元素 $1 ,并进行 $2 操作", - "baseType": "Mobile_MobileCvClick", - "functionName": "Mobile.MobileCvClick", - "functionCalls": [ - { - "function": "Mobile.MobileCvClick", - "args": [ - "mobileDevice", - "cvSelector", - "clickway", - "offsetX", - "offsetY" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "cvSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelectorCv", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "clickway", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - }, - { - "label": "长按", - "value": "2" - } - ] - }, - { - "key": "offsetX", - "label": "x轴偏移量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "offsetY", - "label": "y轴偏移量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_TouchSlideV1", - "name": "触摸滑动", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "模拟手势滑动屏幕。", - "messageTemplate": "以$1方式,{$$1 == 0 && '从$3$4$6起始,角度方向$7,滑动距离$8,'}{$$1 == 0 && $$13 == 1 && '持续滑动至$15$16出现'} {$$1 == 0 && $$13 == 0 && '进行滑动'}{$$1 == 1 && '单点触控,滑动 $11 段'}", - "baseType": "Mobile_TouchSlide", - "functionName": "Mobile.TouchSlideV1", - "functionCalls": [ - { - "function": "Mobile.TouchSlideV1", - "args": [ - "mobileDevice", - "slide_type", - "start_type", - "start_selector", - "start_image", - "start_image_data", - "start_location", - "angle", - "distance", - "slide_time", - "touch_type", - "single_touch", - "press_slide", - "slide_target", - "target_type", - "target_selector", - "target_image", - "target_image_data", - "slide_times", - "human_speed", - "human_curvature", - "auto_resolution", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "slide_type", - "label": "滑动方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "按方向:以坐标/元素/图像为目标,设置方向、距离和时间,进行单方向滑动\n\n按坐标:指定坐标,进行多段距离、多点触控滑动", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定方向", - "value": "0" - }, - { - "label": "指定坐标", - "value": "1" - } - ] - }, - { - "key": "start_type", - "label": "起始位置", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素", - "value": "0" - }, - { - "label": "图像", - "value": "1" - }, - { - "label": "坐标", - "value": "2" - } - ] - }, - { - "key": "start_selector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "start_image", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "start_image_data", - "label": "start_image_data", - "widget": "region", - "type": "object", - "displayType": "clickPositionV3", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "start_location", - "label": "起始坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecordPhone", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "angle", - "label": "角度方向(度)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "0:向右\n90:向上\n180:向左\n270:向下", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "distance", - "label": "滑动距离", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "slide_time", - "label": "滑动时间", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": true, - "defaultValue": "0.5", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - }, - { - "key": "touch_type", - "label": "触控方式", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "single_touch", - "label": "single_touch", - "widget": "number", - "type": "number", - "displayType": "touchCoord", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "press_slide", - "label": "长按拖动", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "slide_target", - "label": "持续滑动至指定目标出现", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "在指定查找次数内滑动,直到目标出现在界面后,自动停止", - "advanced": false, - "valueTypes": [] - }, - { - "key": "target_type", - "label": "指定出现目标", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素", - "value": "0" - }, - { - "label": "图像", - "value": "1" - } - ] - }, - { - "key": "target_selector", - "label": "目标元素", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "target_image", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "target_image_data", - "label": "target_image_data", - "widget": "region", - "type": "object", - "displayType": "clickPositionV3", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "slide_times", - "label": "滑动查找次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "3", - "placeholder": "", - "description": "滑动指定次数后,仍未找到目标,则自动停止,并执行组件异常处理逻辑", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "human_speed", - "label": "模拟真人滑动速率", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "在滑动过程中,随机变化滑动速度", - "advanced": false, - "valueTypes": [] - }, - { - "key": "human_curvature", - "label": "模拟真人滑动曲率", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "在滑动过程中,轻微增加滑动轨迹曲率", - "advanced": false, - "valueTypes": [] - }, - { - "key": "auto_resolution", - "label": "自适应屏幕分辨率", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "以当前设备为基础,根据其他设备分辨率宽高比例,调整坐标和滑动距离。适用于宽高比近似手机操作", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_GetPhoneFiles", - "name": "从手机中获取文件", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "将手机中的文件保存至电脑中的指定位置。", - "messageTemplate": "从移动设备 $0 中获取文件,保存到本地 $2 文件夹中", - "baseType": "Mobile_GetPhoneFiles", - "functionName": "Mobile.GetPhoneFiles", - "functionCalls": [ - { - "function": "Mobile.GetPhoneFiles", - "args": [ - "mobileDevice", - "phonePath", - "filePath" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "mobileDevice", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "phonePath", - "label": "手机储存文件位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "电脑文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_OpenMobileApp", - "name": "打开手机APP", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "通过名称或包名打开手机应用。", - "messageTemplate": "在移动设备 $0 中,打开 $1 应用", - "baseType": "Mobile_OpenMobileApp", - "functionName": "Mobile.OpenMobileApp", - "functionCalls": [ - { - "function": "Mobile.OpenMobileApp", - "args": [ - "mobileDevice", - "package", - "homepage" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "package", - "label": "包名", - "widget": "text", - "type": "string", - "displayType": "getMobileApp", - "required": true, - "defaultValue": "", - "placeholder": "手机打开应用,点击获取包名,自动填入", - "description": "手机打开应用后,点击“获取包名”按钮,自动填入", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "homepage", - "label": "打开前先关闭APP", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果APP已打开,则先关闭,确保流程从APP主页执行\n关闭对象不存在,则跳过此操作", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_TouchSlide", - "name": "触摸滑动", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "模拟人触摸滑动手机屏幕。", - "messageTemplate": "在移动设备 $0 中,以开始位置 $1,结束位置 $3 进行 $2 滑动的操作", - "baseType": "Mobile_TouchSlide", - "functionName": "Mobile.TouchSlide", - "functionCalls": [ - { - "function": "Mobile.TouchSlide", - "args": [ - "mobileDevice", - "location", - "direction", - "locationEnd", - "SlidingMode" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "location", - "label": "起始坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecordPhone", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "direction", - "label": "滑动方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向上", - "value": "0" - }, - { - "label": "向下", - "value": "1" - }, - { - "label": "向左", - "value": "2" - }, - { - "label": "向右", - "value": "3" - } - ] - }, - { - "key": "locationEnd", - "label": "截止坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecordPhone", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SlidingMode", - "label": "滑动方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择方向时,起始坐标必填,截止坐标可不填;选择坐标时,起始坐标必填,滑动方向可不填。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "方向", - "value": "0" - }, - { - "label": "坐标", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_GetMobileUiTree", - "name": "获取手机UI树", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "获取手机当前界面元素层级的XML结构信息。", - "messageTemplate": "在移动设备 $2 中,获取界面元素层级的XML结构,然后把结果保存到 $0", - "baseType": "Mobile_GetMobileUiTree", - "functionName": "Mobile.GetMobileUiTree", - "functionCalls": [ - { - "function": "Mobile.GetMobileUiTree", - "args": [ - "mobileDevice", - "save_file", - "folder_path", - "filename", - "is_cover" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "UI", - "树", - "XML", - "元素结构", - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "save_file", - "label": "将元素层级信息保存到文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将页面元素层级信息以XML格式保存", - "advanced": false, - "valueTypes": [] - }, - { - "key": "folder_path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或填写文件保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文件名称", - "description": "不填写名称时,系统随机生成,文件后缀固定为.xml", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "is_cover", - "label": "覆盖同名文件", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选:覆盖同名文件\n不勾选:在名称后添加“(副本)”进行区分", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "页面元素结构", - "key": "var0", - "suggestedName": "页面元素XML结构", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var0", - "label": "页面元素结构", - "defaultValue": "页面元素XML结构", - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "var1", - "label": "文件路径", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_GetScreenOrientation", - "name": "获取手机屏幕方向", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "获取手机当前的屏幕方向:竖屏(portrait)、横屏(landscape)。", - "messageTemplate": "获取移动设备 $1 屏幕方向信息,, 然后把结果保存到 $0", - "baseType": "Mobile_GetScreenOrientation", - "functionName": "Mobile.GetScreenOrientation", - "functionCalls": [ - { - "function": "Mobile.GetScreenOrientation", - "args": [ - "mobileDevice" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机屏幕方向", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机屏幕方向", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_GetElement", - "name": "获取手机元素对象", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "获取指定页面中指定元素对象。", - "messageTemplate": "在移动设备 $1 中,以 $2 定位方式,获取 $3$4 的相似元素, 然后把结果保存到 $0", - "baseType": "Mobile_GetElement", - "functionName": "Mobile.GetElement", - "functionCalls": [ - { - "function": "Mobile.GetElement", - "args": [ - "mobileDevice", - "element_position", - "selector", - "xpath", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "元素", - "元素对象", - "拾取元素", - "xpath", - "手机", - "获取元素对象" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "element_position", - "label": "定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "图形化操作拾取元素,通过元素层级结构进行定位,可调整属性值,定位动态变化的元素", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "resource-id", - "value": "id" - }, - { - "label": "content-desc", - "value": "description" - }, - { - "label": "class", - "value": "name" - }, - { - "label": "XPath", - "value": "xpath" - } - ] - }, - { - "key": "selector", - "label": "目标选择", - "widget": "text", - "type": "string", - "displayType": "captureSimilarElementsWithPhone", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "元素对象", - "key": "var_name", - "suggestedName": "元素对象", - "valueTypes": [ - "rpa_element" - ], - "fields": [ - { - "key": "var_name", - "label": "元素对象", - "defaultValue": "元素对象", - "valueTypes": [ - "rpa_element" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_MobileCvSetText", - "name": "智能设置文本|填写输入框", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "通过AI能力,获取手机页面中的元素,若该元素可进行文本输入,则输入设置的文本内容。", - "messageTemplate": "在移动设备 $0 中,将目标元素 $1 的文本内容设置为 $2", - "baseType": "Mobile_MobileCvSetText", - "functionName": "Mobile.MobileCvSetText", - "functionCalls": [ - { - "function": "Mobile.MobileCvSetText", - "args": [ - "mobileDevice", - "cvSelector", - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "mobileDevice", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "cvSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelectorCv", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_ClosePhone", - "name": "关闭连接手机", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "断开已连接的移动设备。", - "messageTemplate": "选择已连接的移动设备$0,并断开连接", - "baseType": "Mobile_ClosePhone", - "functionName": "Mobile.ClosePhone", - "functionCalls": [ - { - "function": "Mobile.ClosePhone", - "args": [ - "mobileDevice" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_SetInputV2", - "name": "手机输入文本", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "在手机指定输入框中输入文本。", - "messageTemplate": "在移动设备 $2 中,将目标元素 $3 的文本内容设置为 $4,然后把结果保存到 $0", - "baseType": "Mobile_SetInput", - "functionName": "Mobile.SetInputV2", - "functionCalls": [ - { - "function": "Mobile.SetInputV2", - "args": [ - "mobileDevice", - "uiSelector", - "text", - "verifying_input", - "input", - "isEnter", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标输入框", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择输入框", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "text", - "label": "输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "verifying_input", - "label": "校验输入内容", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输入完成后,检查输入框内容与实际输入是否相同", - "advanced": false, - "valueTypes": [] - }, - { - "key": "input", - "label": "输入方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换原文:清空原内容后输入\n追加输入:在已有内容结尾输入", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "替换原文", - "value": "0" - }, - { - "label": "追加输入", - "value": "1" - } - ] - }, - { - "key": "isEnter", - "label": "输入完成回车", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "输入完成后点击键盘回车键,根据不同场景触发确认、搜索、换行等事件", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输入文本", - "key": "var0", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var0", - "label": "输入文本", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "var1", - "label": "校验结果", - "defaultValue": "校验结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_SetScreenOrientation", - "name": "设置手机屏幕方向", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "设置手机当前的屏幕方向:竖屏或横屏。", - "messageTemplate": "将移动设备 $0 的屏幕方向设置为 $1", - "baseType": "Mobile_SetScreenOrientation", - "functionName": "Mobile.SetScreenOrientation", - "functionCalls": [ - { - "function": "Mobile.SetScreenOrientation", - "args": [ - "mobileDevice", - "direction" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "direction", - "label": "屏幕方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "竖屏", - "value": "0" - }, - { - "label": "横屏", - "value": "1" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_ImageClick", - "name": "点击手机图像", - "kind": "vendor", - "group": "mobile", - "categories": [ - "anthro_operation" - ], - "categorySignature": "anthro_operation", - "description": "点击指定区域内匹配图像。", - "messageTemplate": "查找图像 $2 使用 $4 方式, {$$4 == 0 && \"点击 $5 次,间隔 $6 秒。\"}{$$4 == 2 && \"持续时间 $7 秒。\"}{$$8 == 1 && \"将目标图像文件保存到 $0\"}", - "baseType": "Mobile_ImageClick", - "functionName": "Mobile.ImageClick", - "functionCalls": [ - { - "function": "Mobile.ImageClick", - "args": [ - "mobileDevice", - "image_selector", - "click_data", - "click_way", - "click_num", - "click_interval", - "stay_time", - "match_status" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机", - "图片", - "手势" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "image_selector", - "label": "目标图像", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "click_data", - "label": "click_data", - "widget": "region", - "type": "object", - "displayType": "clickPositionV3", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "click_way", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "长按", - "value": "2" - } - ] - }, - { - "key": "click_num", - "label": "点击次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "click_interval", - "label": "点击间隔(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "stay_time", - "label": "持续时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "match_status", - "label": "匹配到多个图像时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "执行组件异常处理", - "value": "0" - }, - { - "label": "返回所有目标图像坐标", - "value": "1" - }, - { - "label": "暂停流程,手动操作", - "value": "2" - } - ] - } - ], - "output": { - "label": "目标图像", - "key": "var_name", - "suggestedName": "图像坐标列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "目标图像", - "defaultValue": "图像坐标列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_CloseMobileApp", - "name": "关闭手机APP", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "通过名称或包名关闭手机应用。", - "messageTemplate": "在移动设备 $0 中,关闭 $1 应用", - "baseType": "Mobile_CloseMobileApp", - "functionName": "Mobile.CloseMobileApp", - "functionCalls": [ - { - "function": "Mobile.CloseMobileApp", - "args": [ - "mobileDevice", - "package" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "package", - "label": "包名", - "widget": "text", - "type": "string", - "displayType": "getMobileApp", - "required": true, - "defaultValue": "", - "placeholder": "手机打开应用,点击获取包名,自动填入", - "description": "手机打开应用后,点击“获取包名”按钮,自动填入", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_ElementShot", - "name": "手机元素截图", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "对指定的元素进行截图,并图片保存至指定的文件夹中。", - "messageTemplate": "在移动设备 $1 中,将目标元素 $2 进行截图,将图片保存至指定路径下, 然后把结果保存到 $0", - "baseType": "Mobile_ElementShot", - "functionName": "Mobile.ElementShot", - "functionCalls": [ - { - "function": "Mobile.ElementShot", - "args": [ - "mobileDevice", - "uiSelector", - "filePath", - "filename", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "filePath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${res}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "截图_${randomString}.png", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机元素图片", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机元素图片", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_ScreenShot", - "name": "手机截屏", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "截屏手机当前页面,并将截图保存至指定的文件夹中。", - "messageTemplate": "对移动设备 $0 的当前页面进行截图,将图片保存至指定路径下", - "baseType": "Mobile_ScreenShot", - "functionName": "Mobile.ScreenShot", - "functionCalls": [ - { - "function": "Mobile.ScreenShot", - "args": [ - "mobileDevice", - "filePath", - "filename" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "filePath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "${res}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "截图_${randomString}.png", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_GetClipboardText", - "name": "获取手机剪切板文本", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "获取手机剪切板文本内容。", - "messageTemplate": "获取移动设备 $1 上剪切板的文本内容, 然后把结果保存到 $0", - "baseType": "Mobile_GetClipboardText", - "functionName": "Mobile.GetClipboardText", - "functionCalls": [ - { - "function": "Mobile.GetClipboardText", - "args": [ - "mobileDevice" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机剪切板文本", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机剪切板文本", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_ConnectPhoneV2", - "name": "连接手机", - "kind": "vendor", - "group": "mobile", - "categories": [ - "connect_mobile" - ], - "categorySignature": "connect_mobile", - "description": "连接手机管理器中的设备,作为手机自动化类组件操作对象。", - "messageTemplate": "以 $2 连接方式, {$$2 == 1 && '连接手机'}{$$2 != 1 && '连接 $3 等手机'}, 然后把结果保存到 $0 $1", - "baseType": "Mobile_ConnectPhone", - "functionName": "Mobile.ConnectPhoneV2", - "functionCalls": [ - { - "function": "Mobile.ConnectPhoneV2", - "args": [ - "conn_type", - "mobileInfo", - "ignore_phone" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "conn_type", - "label": "连接方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定手机:\n指定单台或多台手机管理器中的手机。\n运行前手动选择手机:\n运行连接手机组件时,手动选择手机管理器中的单台或多台手机。\n任意连接的单台手机:\n手机管理器中,只能有一台手机与当前电脑连接,仅适用于单手机自动化场景。\n所有手机:\n连接所有手机管理器中的手机。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定手机", - "value": "0" - }, - { - "label": "运行前手动选择手机", - "value": "1" - }, - { - "label": "任意连接的单台手机", - "value": "2" - }, - { - "label": "所有手机", - "value": "3" - } - ] - }, - { - "key": "mobileInfo", - "label": "手机连接对象", - "widget": "select", - "type": "string", - "displayType": "newMobileDeviceDropDownSelectV2", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ignore_phone", - "label": "忽略连接失败的手机", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "部分手机连接失败时,继续保持其他手机运行,并将连接失败设备以列表形式输出", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "手机操作对象", - "key": "var0", - "suggestedName": "手机操作对象", - "valueTypes": [ - "rpa_list_mobile", - "rpa_list_mobile", - "rpa_mobile", - "rpa_list_mobile" - ], - "fields": [ - { - "key": "var0", - "label": "手机操作对象", - "defaultValue": "手机操作对象", - "valueTypes": [ - "rpa_list_mobile", - "rpa_list_mobile", - "rpa_mobile", - "rpa_list_mobile" - ] - }, - { - "key": "var1", - "label": "连接失败的手机", - "defaultValue": "连接失败的手机", - "valueTypes": [ - "rpa_list_mobile" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_GetText", - "name": "手机元素文本拾取", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "获取手机元素中的文本内容。", - "messageTemplate": "在移动设备 $1 中,获取目标元素 $2 中的文本内容, 然后把结果保存到 $0", - "baseType": "Mobile_GetText", - "functionName": "Mobile.GetText", - "functionCalls": [ - { - "function": "Mobile.GetText", - "args": [ - "mobileDevice", - "uiSelector", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机元素文本", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机元素文本", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_MobileSetText", - "name": "手机键盘输入", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "模拟手机键盘输入指定内容。", - "messageTemplate": "在移动设备 $0 中,模拟手机键盘输入 $1", - "baseType": "Mobile_MobileSetText", - "functionName": "Mobile.MobileSetText", - "functionCalls": [ - { - "function": "Mobile.MobileSetText", - "args": [ - "mobileDevice", - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_MobileElementList_V1", - "name": "获取手机相似元素列表", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "获取手机中,与指定元素相似的其他元素信息。", - "messageTemplate": "在移动设备 $2 中,以 $3 定位方式,获取 $4$5 的相似元素,然后把结果保存到 $0", - "baseType": "Mobile_MobileElementList", - "functionName": "Mobile.MobileElementList_V1", - "functionCalls": [ - { - "function": "Mobile.MobileElementList_V1", - "args": [ - "mobileDevice", - "element_position", - "selector", - "xpath", - "action", - "attr_complate", - "attr_name", - "reverse", - "start_index", - "end_index", - "is_engine", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [ - "相似元素", - "拾取元素", - "捕获元素", - "保存元素", - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "element_position", - "label": "定位方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "default", - "placeholder": "", - "description": "图形化操作拾取元素,通过元素层级结构进行定位,可调整属性值,定位动态变化的元素", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "元素拾取", - "value": "default" - }, - { - "label": "resource-id", - "value": "id" - }, - { - "label": "content-desc", - "value": "description" - }, - { - "label": "class", - "value": "name" - }, - { - "label": "XPath", - "value": "xpath" - } - ] - }, - { - "key": "selector", - "label": "目标选择", - "widget": "text", - "type": "string", - "displayType": "captureSimilarElementsWithPhone", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "xpath", - "label": "XPath选择器", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "action", - "label": "元素操作", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "获取元素对象", - "value": "0" - }, - { - "label": "获取元素文本内容", - "value": "2" - } - ] - }, - { - "key": "attr_complate", - "label": "自动补充完整地址", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "attr_name", - "label": "属性名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入元素属性名", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "reverse", - "label": "获取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "正序", - "value": "0" - }, - { - "label": "逆序", - "value": "1" - } - ] - }, - { - "key": "start_index", - "label": "开始获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "默认为1表示从第1项开始获取。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_index", - "label": "结束获取位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "-1", - "placeholder": "", - "description": "默认为-1表示将获取至倒数第1项。支持选择整型变量。", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "is_engine", - "label": "is_engine", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "相似元素列表", - "key": "var0", - "suggestedName": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ], - "fields": [ - { - "key": "var0", - "label": "相似元素列表", - "defaultValue": "相似元素列表", - "valueTypes": [ - "rpa_list_element_v1" - ] - }, - { - "key": "var1", - "label": "相似元素总数", - "defaultValue": "相似元素总数", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_ElementClick", - "name": "手机元素点击", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "点击手机页面内的各种元素(如:按钮、图标、链接等)。", - "messageTemplate": "在移动设备 $0 中,获取目标元素 $1,并进行 $2 操作", - "baseType": "Mobile_ElementClick", - "functionName": "Mobile.ElementClick", - "functionCalls": [ - { - "function": "Mobile.ElementClick", - "args": [ - "mobileDevice", - "uiSelector", - "clickfunc", - "click_data", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "clickfunc", - "label": "点击方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "0" - }, - { - "label": "双击", - "value": "1" - }, - { - "label": "长按", - "value": "2" - } - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPositionV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_GetChildren", - "name": "获取手机子元素", - "kind": "vendor", - "group": "mobile", - "categories": [ - "element_operation" - ], - "categorySignature": "element_operation", - "description": "获取指定的手机元素对象,并以数组的形式输出。", - "messageTemplate": "在移动设备 $1 中,获取目标元素 $2 下的所有子元素, 然后把结果保存到 $0", - "baseType": "Mobile_GetChildren", - "functionName": "Mobile.GetChildren", - "functionCalls": [ - { - "function": "Mobile.GetChildren", - "args": [ - "mobileDevice", - "uiSelector", - "isVerifyPage", - "isVerifyElementImage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "phoneSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "isVerifyPage", - "label": "是否校验页面", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前手机页面是否与元素拾取时所在页面一致", - "advanced": true, - "valueTypes": [] - }, - { - "key": "isVerifyElementImage", - "label": "是否校验元素图像", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "校验当前定位到的元素区域内是否存在拾取时保存的元素图像", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "手机子元素列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "手机子元素列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mobile_SetClipboardText", - "name": "设置手机剪切板文本", - "kind": "vendor", - "group": "mobile", - "categories": [ - "mobile" - ], - "categorySignature": "mobile", - "description": "设置手机剪切板中的文本内容。", - "messageTemplate": "将移动设备剪切板的文本内容设置为 $1", - "baseType": "Mobile_SetClipboardText", - "functionName": "Mobile.SetClipboardText", - "functionCalls": [ - { - "function": "Mobile.SetClipboardText", - "args": [ - "mobileDevice", - "text" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileDevice", - "label": "手机连接对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "手机操作对象", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_mobile" - ] - }, - { - "key": "text", - "label": "剪切板内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mobile_ConnectPhoneV1", - "name": "连接手机", - "kind": "vendor", - "group": "mobile", - "categories": [ - "connect_mobile" - ], - "categorySignature": "connect_mobile", - "description": "连接移动设备管理中的指定的移动设备。", - "messageTemplate": "在移动设备管理列表中选择自定义移动设备$1,将该移动设备保存至手机对象并建立连接,, 然后把结果保存到 $0", - "baseType": "Mobile_ConnectPhone", - "functionName": "Mobile.ConnectPhoneV1", - "functionCalls": [ - { - "function": "Mobile.ConnectPhoneV1", - "args": [ - "mobileInfo", - "time_out" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "手机" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "mobileInfo", - "label": "手机选择", - "widget": "select", - "type": "string", - "displayType": "newMobileDeviceDropDownSelect", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "time_out", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "60", - "placeholder": "请输入超时时间(秒)", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "连接手机", - "valueTypes": [ - "rpa_mobile" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "连接手机", - "valueTypes": [ - "rpa_mobile" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Mouse_ClickCombine_v1", - "name": "鼠标点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标各种点击动作,可设定左键或右键单击或双击。", - "messageTemplate": "鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}", - "baseType": "Mouse_ClickCombine", - "functionName": "Mouse.ClickCombine_v1", - "functionCalls": [ - { - "function": "Mouse.ClickCombine_v1", - "args": [ - "click_time", - "click_key", - "target", - "uiSelector", - "browser_type", - "clickPosition", - "position", - "location", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标单击", - "鼠标双击", - "点击", - "右键" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "click_time", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "click", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "click" - }, - { - "label": "双击", - "value": "double" - }, - { - "label": "三击", - "value": "three" - }, - { - "label": "按住", - "value": "press" - }, - { - "label": "松开", - "value": "release" - } - ] - }, - { - "key": "click_key", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "left" - }, - { - "label": "右键", - "value": "right" - }, - { - "label": "中键", - "value": "middle" - } - ] - }, - { - "key": "target", - "label": "目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素目标", - "value": "0" - }, - { - "label": "点击指定位置", - "value": "1" - }, - { - "label": "不指定", - "value": "2" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "clickPosition", - "label": "点击位置", - "widget": "boolean", - "type": "boolean", - "displayType": "placementCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "location", - "label": "终点位置", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_Click", - "name": "鼠标点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标各种点击动作,可设定左键或右键单击或双击。", - "messageTemplate": "鼠标 $0 $1 ", - "baseType": "Mouse_Click", - "functionName": "Mouse.Click", - "functionCalls": [ - { - "function": "Mouse.Click", - "args": [ - "side", - "click", - "keys" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标单击", - "鼠标双击", - "点击", - "右键" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "side", - "label": "鼠标按键", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "click", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "click", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "keys", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "multipleDropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_ClickCombine_v4", - "name": "鼠标点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标各种点击动作,可设定左键或右键单击或双击。", - "messageTemplate": "鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$7'}", - "baseType": "Mouse_Click", - "functionName": "Mouse.ClickCombine_v4", - "functionCalls": [ - { - "function": "Mouse.ClickCombine_v4", - "args": [ - "click_time", - "click_key", - "target", - "uiSelector", - "designated_info", - "designated_obj", - "click_data", - "position", - "location", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标单击", - "鼠标双击", - "点击", - "右键", - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "click_time", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "click", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "click" - }, - { - "label": "双击", - "value": "double" - }, - { - "label": "三击", - "value": "three" - }, - { - "label": "按住", - "value": "press" - }, - { - "label": "松开", - "value": "release" - } - ] - }, - { - "key": "click_key", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "left" - }, - { - "label": "中键", - "value": "middle" - }, - { - "label": "右键", - "value": "right" - } - ] - }, - { - "key": "target", - "label": "目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素目标", - "value": "0" - }, - { - "label": "点击指定位置", - "value": "1" - }, - { - "label": "不指定", - "value": "2" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPositionV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "location", - "label": "终点位置", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_DragToV2", - "name": "鼠标拖拽", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "按住鼠标将一个坐标位置的目标,或具体界面元素目标拖拽到另一个指定坐标位置。", - "messageTemplate": "模拟鼠标从 {$$0 == 0 && \"起点位置 $7\"}{$$0 == 1 && \"目标元素 $4\"} 按住鼠标 $2 拖到终点位置 $8 位置上", - "baseType": "Mouse_DragTo", - "functionName": "Mouse.DragToV2", - "functionCalls": [ - { - "function": "Mouse.DragToV2", - "args": [ - "dragType", - "speed", - "side", - "position", - "uiSelector", - "designated_info", - "designated_obj", - "Start", - "End" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标拖动", - "鼠标圈选", - "拖拽", - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "dragType", - "label": "拖拽目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "支持从指定位置开始拖拽或拖拽指定的元素目标", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "从指定位置开始拖拽", - "value": "0" - }, - { - "label": "拖拽指定的元素目标", - "value": "1" - } - ] - }, - { - "key": "speed", - "label": "鼠标移动速度", - "widget": "number", - "type": "number", - "displayType": "movingSpeed", - "required": false, - "defaultValue": "35", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "side", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "拖拽时按下鼠标指定键", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "中键", - "value": "2" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择指定的拖拽目标", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "Start", - "label": "获取起始坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值", - "advanced": false, - "valueTypes": [] - }, - { - "key": "End", - "label": "获取结束坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_ClickCombine_v2", - "name": "鼠标点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标各种点击动作,可设定左键或右键单击或双击。", - "messageTemplate": "鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}", - "baseType": "Mouse_ClickCombine", - "functionName": "Mouse.ClickCombine_v2", - "functionCalls": [ - { - "function": "Mouse.ClickCombine_v2", - "args": [ - "click_time", - "click_key", - "target", - "uiSelector", - "browser_type", - "clickPosition", - "position", - "location", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标单击", - "鼠标双击", - "点击", - "右键" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "click_time", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "click", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "click" - }, - { - "label": "双击", - "value": "double" - }, - { - "label": "三击", - "value": "three" - }, - { - "label": "按住", - "value": "press" - }, - { - "label": "松开", - "value": "release" - } - ] - }, - { - "key": "click_key", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "left" - }, - { - "label": "中键", - "value": "middle" - }, - { - "label": "右键", - "value": "right" - } - ] - }, - { - "key": "target", - "label": "目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素目标", - "value": "0" - }, - { - "label": "点击指定位置", - "value": "1" - }, - { - "label": "不指定", - "value": "2" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "clickPosition", - "label": "点击位置", - "widget": "boolean", - "type": "boolean", - "displayType": "placementCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "location", - "label": "终点位置", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_RollTo", - "name": "鼠标滚动", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标向上或向下滚动,可设置滚动次数并配合辅助按键。", - "messageTemplate": "按住 $2 键 滚动鼠标滚轮 $1 次 ", - "baseType": "Mouse_RollTo", - "functionName": "Mouse.RollTo", - "functionCalls": [ - { - "function": "Mouse.RollTo", - "args": [ - "Type", - "RollNum", - "keys" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "Type", - "label": "滚动方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "down", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "向上", - "value": "up" - }, - { - "label": "向下", - "value": "down" - } - ] - }, - { - "key": "RollNum", - "label": "滚动次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入鼠标滚动次数或变量", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "keys", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "multipleDropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Alt", - "value": "Alt" - }, - { - "label": "Ctrl", - "value": "Ctrl" - }, - { - "label": "Shift", - "value": "Shift" - }, - { - "label": "Win", - "value": "Win" - }, - { - "label": "无", - "value": "None" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_MoveToV1", - "name": "移动鼠标", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标的各类点击操作,点击特定位置或当前页面的特定元素。", - "messageTemplate": "将鼠标移动到 $2 的位置上 ", - "baseType": "Mouse_MoveTo", - "functionName": "Mouse.MoveToV1", - "functionCalls": [ - { - "function": "Mouse.MoveToV1", - "args": [ - "position", - "speed", - "location" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动鼠标", - "鼠标定位" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "speed", - "label": "鼠标移动速度", - "widget": "number", - "type": "number", - "displayType": "movingSpeed", - "required": false, - "defaultValue": "35", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "location", - "label": "获取坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_DragTo", - "name": "鼠标拖拽", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "按住鼠标从一个坐标点拖拽到另一个坐标点。", - "messageTemplate": "将鼠标从起点 $1 拖拽至 $2", - "baseType": "Mouse_DragTo", - "functionName": "Mouse.DragTo", - "functionCalls": [ - { - "function": "Mouse.DragTo", - "args": [ - "position", - "Start", - "End", - "side", - "keys" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标拖动", - "鼠标圈选", - "拖拽" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "Start", - "label": "获取起始坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "End", - "label": "获取结束坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "side", - "label": "鼠标按键", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - }, - { - "label": "中键", - "value": "2" - } - ] - }, - { - "key": "keys", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "multipleDropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Alt", - "value": "Alt" - }, - { - "label": "Ctrl", - "value": "Ctrl" - }, - { - "label": "Shift", - "value": "Shift" - }, - { - "label": "Win", - "value": "Win" - }, - { - "label": "无", - "value": "None" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_ClickCombine_v3", - "name": "鼠标点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标各种点击动作,可设定左键或右键单击或双击。", - "messageTemplate": "鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}", - "baseType": "Mouse_ClickCombine", - "functionName": "Mouse.ClickCombine_v3", - "functionCalls": [ - { - "function": "Mouse.ClickCombine_v3", - "args": [ - "click_time", - "click_key", - "target", - "uiSelector", - "browser_type", - "click_data", - "position", - "location", - "show_track" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标单击", - "鼠标双击", - "点击", - "右键" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "click_time", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "click", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "click" - }, - { - "label": "双击", - "value": "double" - }, - { - "label": "三击", - "value": "three" - }, - { - "label": "按住", - "value": "press" - }, - { - "label": "松开", - "value": "release" - } - ] - }, - { - "key": "click_key", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "left" - }, - { - "label": "中键", - "value": "middle" - }, - { - "label": "右键", - "value": "right" - } - ] - }, - { - "key": "target", - "label": "目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素目标", - "value": "0" - }, - { - "label": "点击指定位置", - "value": "1" - }, - { - "label": "不指定", - "value": "2" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "browserTypeInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "click_data", - "label": "点击位置", - "widget": "region", - "type": "object", - "displayType": "clickPosition", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择随机偏移,则会随机点击界面元素的任意位置", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "location", - "label": "终点位置", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_DragToV1", - "name": "鼠标拖拽", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "按住鼠标将一个坐标位置的目标,或具体界面元素目标拖拽到另一个指定坐标位置。", - "messageTemplate": "模拟鼠标从 {$$0 == 0 && \"起点位置 $5\"}{$$0 == 1 && \"目标元素 $4\"} 按住鼠标 $2 拖到终点位置 $6 位置上", - "baseType": "Mouse_DragTo", - "functionName": "Mouse.DragToV1", - "functionCalls": [ - { - "function": "Mouse.DragToV1", - "args": [ - "dragType", - "speed", - "side", - "position", - "uiSelector", - "Start", - "End" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标拖动", - "鼠标圈选", - "拖拽" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "dragType", - "label": "拖拽目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "支持从指定位置开始拖拽或拖拽指定的元素目标", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "从指定位置开始拖拽", - "value": "0" - }, - { - "label": "拖拽指定的元素目标", - "value": "1" - } - ] - }, - { - "key": "speed", - "label": "鼠标移动速度", - "widget": "number", - "type": "number", - "displayType": "movingSpeed", - "required": false, - "defaultValue": "35", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "side", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "拖拽时按下鼠标指定键", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "中键", - "value": "2" - }, - { - "label": "右键", - "value": "1" - } - ] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择指定的拖拽目标", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "Start", - "label": "获取起始坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值", - "advanced": false, - "valueTypes": [] - }, - { - "key": "End", - "label": "获取结束坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_MoveToV2", - "name": "移动鼠标", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标的各类点击操作,点击特定位置或当前页面的特定元素。", - "messageTemplate": "将鼠标移动到 $3 的位置上 ", - "baseType": "Mouse_MoveTo", - "functionName": "Mouse.MoveToV2", - "functionCalls": [ - { - "function": "Mouse.MoveToV2", - "args": [ - "position", - "move_type", - "speed", - "location" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动鼠标", - "鼠标定位", - "鼠标", - "鼠标设备", - "鼠标操作", - "鼠标事件", - "鼠标控制" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "move_type", - "label": "鼠标移动方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工移动", - "value": "0" - }, - { - "label": "匀速直线移动", - "value": "1" - }, - { - "label": "瞬间移动", - "value": "2" - } - ] - }, - { - "key": "speed", - "label": "移动速度", - "widget": "number", - "type": "number", - "displayType": "singleMovingSpeed", - "required": false, - "defaultValue": "35", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "location", - "label": "获取坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_DragToNew", - "name": "鼠标拖拽", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "按住鼠标从一个坐标点拖拽到另一个坐标点。", - "messageTemplate": "将鼠标从起点 $1 拖拽至 $2", - "baseType": "Mouse_DragTo", - "functionName": "Mouse.DragToNew", - "functionCalls": [ - { - "function": "Mouse.DragToNew", - "args": [ - "position", - "Start", - "End", - "speed", - "side", - "keys" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标拖动", - "鼠标圈选", - "拖拽" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "Start", - "label": "获取起始坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "End", - "label": "获取结束坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "speed", - "label": "鼠标移动速度", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请设置鼠标移动速度,可设置变速。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "匀速移动", - "value": "0" - }, - { - "label": "变速移动", - "value": "1" - } - ] - }, - { - "key": "side", - "label": "鼠标按键", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "0" - }, - { - "label": "右键", - "value": "1" - }, - { - "label": "中键", - "value": "2" - } - ] - }, - { - "key": "keys", - "label": "辅助按键", - "widget": "select", - "type": "string", - "displayType": "multipleDropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "Alt", - "value": "Alt" - }, - { - "label": "Ctrl", - "value": "Ctrl" - }, - { - "label": "Shift", - "value": "Shift" - }, - { - "label": "Win", - "value": "Win" - }, - { - "label": "无", - "value": "None" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_ClickCombine", - "name": "鼠标点击", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "模拟鼠标各种点击动作,可设定左键或右键单击或双击。", - "messageTemplate": "鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}", - "baseType": "Mouse_ClickCombine", - "functionName": "Mouse.ClickCombine", - "functionCalls": [ - { - "function": "Mouse.ClickCombine", - "args": [ - "click_time", - "click_key", - "target", - "uiSelector", - "clickPosition", - "position", - "location" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "鼠标单击", - "鼠标双击", - "点击", - "右键" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "click_time", - "label": "点击类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "click", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "单击", - "value": "click" - }, - { - "label": "双击", - "value": "double" - }, - { - "label": "三击", - "value": "three" - } - ] - }, - { - "key": "click_key", - "label": "鼠标按键", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左键", - "value": "left" - }, - { - "label": "右键", - "value": "right" - }, - { - "label": "中键", - "value": "middle" - } - ] - }, - { - "key": "target", - "label": "目标类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素目标", - "value": "0" - }, - { - "label": "点击指定位置", - "value": "1" - }, - { - "label": "不指定", - "value": "2" - } - ] - }, - { - "key": "uiSelector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取或选择需点击的元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "clickPosition", - "label": "点击位置", - "widget": "boolean", - "type": "boolean", - "displayType": "placementCheckbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "location", - "label": "终点位置", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Mouse_MoveTo", - "name": "移动鼠标", - "kind": "vendor", - "group": "desktop", - "categories": [ - "peripheral_device" - ], - "categorySignature": "peripheral_device", - "description": "设定目标点的X、Y坐标,移动鼠标到指定的坐标位置。", - "messageTemplate": "将鼠标移动到 $1 的位置上 ", - "baseType": "Mouse_MoveTo", - "functionName": "Mouse.MoveTo", - "functionCalls": [ - { - "function": "Mouse.MoveTo", - "args": [ - "position", - "location" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动鼠标", - "鼠标定位" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "position", - "label": "坐标相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "鼠标相对于屏幕左上角或激活窗口左上角的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕左上角", - "value": "0" - }, - { - "label": "激活窗口左上角", - "value": "1" - } - ] - }, - { - "key": "location", - "label": "获取坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "NLP_BatchAnalyseProductReview", - "name": "商品评论分析(批量)", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对导入Excel表中的商品评论内容进行分析,然后把该评论的好差评分类结果、差评的细分标签结果(如有)保存指定路径的Excel文件中。", - "messageTemplate": "对商品评论内容进行批量分析,然后把评论的分析结果保存到指定路径的Excel文件中", - "baseType": "NLP_BatchAnalyseProductReview", - "functionName": "NLP.BatchAnalyseProductReview", - "functionCalls": [ - { - "function": "NLP.BatchAnalyseProductReview", - "args": [ - "downloadFile", - "reviewExcel", - "produceType", - "showTable", - "fileName", - "fileAddr" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "downloadFile", - "label": "downloadFile", - "widget": "text", - "type": "string", - "displayType": "label", - "required": false, - "defaultValue": "商品评论模板下载", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "reviewExcel", - "label": "商品评论Excel导入", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "选择录入好的评论Excel导入(请严格按照模板格式录入数据)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "produceType", - "label": "商品类别", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "dress", - "placeholder": "", - "description": "商品所属的类别,如女装、皮鞋等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "女装", - "value": "dress" - }, - { - "label": "皮鞋", - "value": "shoes" - } - ] - }, - { - "key": "showTable", - "label": "在数据表中预览分析结果", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将分析的评论结果信息显示在控制台“数据表”中", - "advanced": false, - "valueTypes": [] - }, - { - "key": "fileName", - "label": "分析结果导出名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "商品评论分析结果.xlsx", - "placeholder": "请输入结果文件名称,需加后缀", - "description": "用于存储分析结果文件,需指定文件后缀“.xlsx”", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "fileAddr", - "label": "分析结果保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择文件保存路径", - "description": "选择分析结果文件存储路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "NLP_KeyWordsAnalysis", - "name": "关键词", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对目标文本内容进行关键词提取,并将提取结果输出到指定变量。", - "messageTemplate": "将标题 $1 和 文章内容 $2 进行关键词分析, 然后把结果保存到 $0", - "baseType": "NLP_KeyWordsAnalysis", - "functionName": "NLP.KeyWordsAnalysis", - "functionCalls": [ - { - "function": "NLP.KeyWordsAnalysis", - "args": [ - "sTtile", - "sPaper" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP", - "处理", - "操作" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sTtile", - "label": "标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析文章标题", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sPaper", - "label": "文章", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文章内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "关键词", - "valueTypes": [ - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "关键词", - "valueTypes": [ - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_EmotionalAnalysis", - "name": "情感分析", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对目标文本内容进行情感分析,返回如正向、负向,中性等,并将结果输出到指定变量。", - "messageTemplate": "将文本 $1 进行情感分析, 然后把结果保存到 $0", - "baseType": "NLP_EmotionalAnalysis", - "functionName": "NLP.EmotionalAnalysis", - "functionCalls": [ - { - "function": "NLP.EmotionalAnalysis", - "args": [ - "sentence" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本情感", - "情感识别", - "nlp" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sentence", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "分析结果", - "valueTypes": [ - "rpa_dict_emo", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "分析结果", - "valueTypes": [ - "rpa_dict_emo", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_SplitText", - "name": "实体抽取", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对目标文本进行实体分析抽取,如:名称、地址、时间等实体名词,并赋值到指定的变量。", - "messageTemplate": "将文本 $1 中的实体如名称、地址、时间等分析抽取, 然后把结果保存到 $0", - "baseType": "NLP_SplitText", - "functionName": "NLP.SplitText", - "functionCalls": [ - { - "function": "NLP.SplitText", - "args": [ - "sentence" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP", - "处理", - "操作" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sentence", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "实体对象", - "valueTypes": [ - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "实体对象", - "valueTypes": [ - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_AnalyseProductReview", - "name": "商品评论分析", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对商品评论内容进行分析,然后把该评论的好差评分类结果保存到输出变量中。", - "messageTemplate": "对商品评论内容进行分析,然后把结果保存到 $0", - "baseType": "NLP_AnalyseProductReview", - "functionName": "NLP.AnalyseProductReview", - "functionCalls": [ - { - "function": "NLP.AnalyseProductReview", - "args": [ - "review_text", - "produce_type" - ], - "assignTo": "var0,var1,var2" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "review_text", - "label": "商品评论文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的评论文本", - "description": "顾客对商品的评论内容,如”这件衣服很舒服“", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "produce_type", - "label": "商品类别", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "dress", - "placeholder": "", - "description": "商品所属的类别,如女装、皮鞋等", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "女装", - "value": "dress" - }, - { - "label": "皮鞋", - "value": "shoes" - } - ] - } - ], - "output": { - "label": "评论分析结果", - "key": "var0", - "suggestedName": "评论分析结果", - "valueTypes": [], - "fields": [ - { - "key": "var0", - "label": "评论分析结果", - "defaultValue": "评论分析结果", - "valueTypes": [] - }, - { - "key": "var1", - "label": "好差评结果", - "defaultValue": "好差评结果", - "valueTypes": [] - }, - { - "key": "var2", - "label": "细分标签(针对差评)", - "defaultValue": "差评标签", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_SemanticSimilarity", - "name": "语义相似度", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对比分析两段文本的语义相似度,并将相似度结果输出到指定变量。", - "messageTemplate": "将文本 $1 和 $2 进行语义相似度分析, 然后把结果保存到 $0", - "baseType": "NLP_SemanticSimilarity", - "functionName": "NLP.SemanticSimilarity", - "functionCalls": [ - { - "function": "NLP.SemanticSimilarity", - "args": [ - "sA", - "sB" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "相似度对比", - "相似分析", - "nlp" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sA", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文本2", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sB", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文本2", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "相似度", - "valueTypes": [ - "rpa_float", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "相似度", - "valueTypes": [ - "rpa_float", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_SplitWords", - "name": "分词", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对目标文本内容进行分词处理,并将分词结果输出到指定变量。", - "messageTemplate": "将句子 $1 进行分词, 然后把结果保存到 $0", - "baseType": "NLP_SplitWords", - "functionName": "NLP.SplitWords", - "functionCalls": [ - { - "function": "NLP.SplitWords", - "args": [ - "sentence" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本分词", - "分词处理", - "nlp" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sentence", - "label": "句子", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "分词结果", - "valueTypes": [ - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "分词结果", - "valueTypes": [ - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_PerspectiveAnalysis", - "name": "观点分析", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "对目标文本内容进行观点抽取,包括多个观点和观点的情感,并将结果输出到指定变量。", - "messageTemplate": "将文本 $1 进行观点分析, 然后把结果保存到 $0", - "baseType": "NLP_PerspectiveAnalysis", - "functionName": "NLP.PerspectiveAnalysis", - "functionCalls": [ - { - "function": "NLP.PerspectiveAnalysis", - "args": [ - "sentence" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP", - "处理", - "操作" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sentence", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "分析结果", - "valueTypes": [ - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "分析结果", - "valueTypes": [ - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_XunFei_NLPBaseServer", - "name": "第三方NLP模型", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "调用第三方(讯飞)NLP基础能力模型,对目标文本进行如NER、语义依存、分词、词性标注等处理,并返回处理结果。", - "messageTemplate": "用户APPID $1 用户APIKey $2 对文本 $3 进行 $4, 然后把结果保存到 $0", - "baseType": "NLP_XunFei_NLPBaseServer", - "functionName": "NLP_XunFei.NLPBaseServer", - "functionCalls": [ - { - "function": "NLP_XunFei.NLPBaseServer", - "args": [ - "APPID", - "APIKey", - "text", - "func" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "APPID", - "label": "用户APPID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APPID", - "description": "在讯飞开放平台生成的APPID", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "APIKey", - "label": "用户APIKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APIKey", - "description": "在讯飞开放平台生成的APIKey", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "func", - "label": "自然语言处理方法", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "中文分词(cws)", - "value": "cws" - }, - { - "label": "词性标注(pos)", - "value": "pos" - }, - { - "label": "命名实体识别(ner)", - "value": "ner" - }, - { - "label": "依存句法分析(dp)", - "value": "dp" - }, - { - "label": "语义角色标注(srl)", - "value": "srl" - }, - { - "label": "语义依存 (依存树) 分析(sdp)", - "value": "sdp" - }, - { - "label": "语义依存 (依存图) 分析(sdgp)", - "value": "sdgp" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "处理结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "处理结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_XunFei_MachineTranslation", - "name": "机器翻译", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "调用第三方模型(讯飞)对目标文本内容进行机器翻译,并将结果输出到指定变量。", - "messageTemplate": "用户APPID $1 用户APIKey$2 用户Secret $3 对文本 $4 进行 $5 到 $6 的翻译, 然后把结果保存到 $0", - "baseType": "NLP_XunFei_MachineTranslation", - "functionName": "NLP_XunFei.MachineTranslation", - "functionCalls": [ - { - "function": "NLP_XunFei.MachineTranslation", - "args": [ - "APPID", - "APIKey", - "Secret", - "text", - "BeforLanguage", - "AfterLanguage" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP", - "处理", - "操作" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "APPID", - "label": "用户APPID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APPID", - "description": "在讯飞开放平台生成的APPID", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "APIKey", - "label": "用户APIKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APIKey", - "description": "在讯飞开放平台生成的APIKey", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "Secret", - "label": "用户Secret", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞Secret", - "description": "在讯飞开放平台的Secret", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要翻译的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "BeforLanguage", - "label": "翻译前语言", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入翻译前的语言种类", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "AfterLanguage", - "label": "翻译后语言", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入翻译后的语言种类", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "机器翻译", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "机器翻译", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_XunFei_FeelingAnalysis", - "name": "第三方情感分析模型", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "调用第三方模型(讯飞)对目标文本内容进行情感分析,返回如正向、负向,中性等情感极性,并输出到指定变量。", - "messageTemplate": "用户APPID $1 用户APIKey $2 对文本 $3 进行情感分析, 然后把结果保存到 $0", - "baseType": "NLP_XunFei_FeelingAnalysis", - "functionName": "NLP_XunFei.FeelingAnalysis", - "functionCalls": [ - { - "function": "NLP_XunFei.FeelingAnalysis", - "args": [ - "APPID", - "APIKey", - "text" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "APPID", - "label": "用户APPID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APPID", - "description": "在讯飞开放平台生成的APPID", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "APIKey", - "label": "用户APIKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APIKey", - "description": "在讯飞开放平台生成的APIKey", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "分析结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "分析结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "NLP_XunFei_KeywordExtraction", - "name": "关键字提取", - "kind": "vendor", - "group": "message", - "categories": [ - "NLP" - ], - "categorySignature": "NLP", - "description": "调用第三方模型(讯飞),对目标文本内容进关键字提取。", - "messageTemplate": "讯飞的APPID $1 讯飞的APIKey $2 对文本 $3 进行关键字提取, 然后把结果保存到 $0", - "baseType": "NLP_XunFei_KeywordExtraction", - "functionName": "NLP_XunFei.KeywordExtraction", - "functionCalls": [ - { - "function": "NLP_XunFei.KeywordExtraction", - "args": [ - "APPID", - "APIKey", - "text" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "NLP" - ], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "APPID", - "label": "用户APPID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APPID", - "description": "在讯飞开放平台生成的APPID", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "APIKey", - "label": "用户APIKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入讯飞APIKey", - "description": "在讯飞开放平台生成的APIKey", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "text", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要分析的文本", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "关键词", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "关键词", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_RotateVerificationCodeV1", - "name": "旋转图片验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动滑块按钮使图片的展示角度为正,并自动完成验证。", - "messageTemplate": "识别要旋转的图片 $0 以及滑动条区域 $1 ,并拖动滑块按钮 $2 ,自动完成验证", - "baseType": "OCR_RotateVerificationCode", - "functionName": "OCR.RotateVerificationCodeV1", - "functionCalls": [ - { - "function": "OCR.RotateVerificationCodeV1", - "args": [ - "verifyPicUiSelector", - "sliderBarSelector", - "sliderButtonSelector", - "browser_type" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "旋转", - "滑块验证码(旋转式)" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "旋转图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择窗口中要旋转的图片。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderBarSelector", - "label": "滑动条区域", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择窗口中的滑动条可滑动的区域元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderButtonSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择窗口可拖动的滑块按钮。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_PuzzleVerificationCode_v1", - "name": "推理拼图验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动并交换两个拼图块的位置使图片复原,完成验证码解锁。", - "messageTemplate": "识别完整图片 $0,并自动完成验证", - "baseType": "OCR_PuzzleVerificationCode", - "functionName": "OCR.PuzzleVerificationCode_v1", - "functionCalls": [ - { - "function": "OCR.PuzzleVerificationCode_v1", - "args": [ - "verifyPicUiSelector", - "browser_type", - "rowNum", - "columnNum" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "推理拼图", - "推理拼图验证码" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "完整图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择待拼图的完整图片元素(非小图)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "rowNum", - "label": "拼图行数", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "请输入拼图的行数", - "advanced": false, - "valueTypes": [] - }, - { - "key": "columnNum", - "label": "拼图列数", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "4", - "placeholder": "", - "description": "请输入拼图的列数", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_MergeCardOCR", - "name": "卡证文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "结构化识别身份证、银行卡、营业执照、护照、户口本等常用卡片及证照的文字内容。", - "messageTemplate": "$2 识别常用卡片及证照的文字内容, 然后把结果保存到 $0", - "baseType": "OCR_MergeCardOCR", - "functionName": "OCR.MergeCardOCR", - "functionCalls": [ - { - "function": "OCR.MergeCardOCR", - "args": [ - "imageType", - "image_url", - "category", - "AppKey", - "SecretKey", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "身份证", - "value": "身份证" - }, - { - "label": "银行卡", - "value": "银行卡" - }, - { - "label": "营业执照", - "value": "营业执照" - }, - { - "label": "名片", - "value": "名片" - }, - { - "label": "护照", - "value": "护照" - }, - { - "label": "港澳通行证", - "value": "港澳通行证" - }, - { - "label": "台湾通行证", - "value": "台湾通行证" - }, - { - "label": "户口本", - "value": "户口本" - }, - { - "label": "出生医学证明", - "value": "出生医学证明" - }, - { - "label": "房产证", - "value": "房产证" - }, - { - "label": "不动产权证", - "value": "不动产权证" - }, - { - "label": "公章", - "value": "公章" - } - ] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "front", - "label": "是否是正面", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_CalculationCode", - "name": "算术验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别目标验证码图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别算术验证码的内容, 然后把结果保存到 $0", - "baseType": "OCR_CalculationCode", - "functionName": "OCR.CalculationCode", - "functionCalls": [ - { - "function": "OCR.CalculationCode", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_IdCardV2", - "name": "OCR身份证", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标身份证图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别身份证的内容, 然后把结果保存到 $0", - "baseType": "OCR_IdCard", - "functionName": "OCR.IdCardV2", - "functionCalls": [ - { - "function": "OCR.IdCardV2", - "args": [ - "path", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR身份证", - "身份证识别", - "身份证信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "front", - "label": "是否是正面", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_ClickVerificationCodeV2", - "name": "点选验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别依次点选文字或图标类验证码,然后自动完成验证。", - "messageTemplate": "识别文字背景图 $0 以及“依次点击”文字说明 $1,自动完成验证", - "baseType": "OCR_ClickVerificationCode", - "functionName": "OCR.ClickVerificationCodeV2", - "functionCalls": [ - { - "function": "OCR.ClickVerificationCodeV2", - "args": [ - "verifyPicUiSelector", - "verifySeqUiSelector", - "designated_info", - "designated_obj", - "code_num", - "category" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "点选", - "点选验证码" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "文字背景图", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择包含要点选文字的背景图片元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "verifySeqUiSelector", - "label": "文字说明", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择包含点选次序的文字说明元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "code_num", - "label": "点选数字", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择要点选的字数区间", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1~4个", - "value": "0" - }, - { - "label": "大于4个", - "value": "1" - } - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "0" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_SourceCommonEnglishNumbersCodeV2", - "name": "普通验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别目标验证码图片信息,并输出到指定变量。", - "messageTemplate": "识别 $1 $3$4 验证码信息, 然后把结果保存到 $0", - "baseType": "OCR_SourceCommonEnglishNumbersCode", - "functionName": "OCR.SourceCommonEnglishNumbersCodeV2", - "functionCalls": [ - { - "function": "OCR.SourceCommonEnglishNumbersCodeV2", - "args": [ - "imageType", - "pictureSource", - "image_path", - "uiSelector", - "designated_info", - "designated_obj", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "识别类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "数英混合", - "placeholder": "", - "description": "根据验证码图片内容,选择对应的验证码识别类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "数英混合", - "value": "数英混合" - }, - { - "label": "纯数字", - "value": "纯数字" - }, - { - "label": "纯英文", - "value": "纯英文" - }, - { - "label": "闪动GIF", - "value": "闪动GIF" - }, - { - "label": "计算题", - "value": "计算题" - }, - { - "label": "汉字", - "value": "汉字" - }, - { - "label": "问答题", - "value": "问答题" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取图片元素", - "value": "1" - }, - { - "label": "选择本地文件", - "value": "0" - } - ] - }, - { - "key": "image_path", - "label": "图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "uiSelector", - "label": "图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-实在智能", - "value": "3" - }, - { - "label": "AI平台-聚合平台", - "value": "2" - } - ] - } - ], - "output": { - "label": "识别结果", - "key": "var_name", - "suggestedName": "验证码", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "识别结果", - "defaultValue": "验证码", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BusinessCardV2", - "name": "OCR名片", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标名片图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别名片的内容, 然后把结果保存到 $0", - "baseType": "OCR_BusinessCard", - "functionName": "OCR.BusinessCardV2", - "functionCalls": [ - { - "function": "OCR.BusinessCardV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR名片", - "名片识别", - "名片信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SimpleSliderVerificationCode", - "name": "滑块验证码(滑动条式)", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动滑动按钮,完成验证码解锁。", - "messageTemplate": "识取验证码中的滑块及滑动区域,拖动滑块完成验证码解锁", - "baseType": "OCR_SimpleSliderVerificationCode", - "functionName": "OCR.SimpleSliderVerificationCode", - "functionCalls": [ - { - "function": "OCR.SimpleSliderVerificationCode", - "args": [ - "buttonUiSelector", - "sliderUiSelector", - "showDeviation", - "deviation" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动", - "滑动条样式" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "buttonUiSelector", - "label": "滑动按钮目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的可拖动的滑块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderUiSelector", - "label": "滑动条目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的滑动条区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选表示启用,不勾选表示关闭", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "偏移量校正值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "输入内容或 ${变量}", - "description": "请视滑动条拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_VehicleInvoiceV2", - "name": "OCR机动车发票", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标机动车发票图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别机动车发票的内容, 然后把结果保存到 $0", - "baseType": "OCR_VehicleInvoice", - "functionName": "OCR.VehicleInvoiceV2", - "functionCalls": [ - { - "function": "OCR.VehicleInvoiceV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR机动车发票", - "机动车发票识别", - "机动车发票信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergeCardOCR", - "name": "识别卡证文字", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "结构化识别身份证、银行卡、营业执照、护照、户口本等常用卡片及证照的文字内容。", - "messageTemplate": "识别 $2 中常用卡片及证照的文字内容, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergeCardOCR", - "functionName": "OCR.SourceMergeCardOCR", - "functionCalls": [ - { - "function": "OCR.SourceMergeCardOCR", - "args": [ - "imageType", - "pictureSource", - "image_path", - "image_url", - "category", - "AppKey", - "SecretKey", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "身份证", - "value": "身份证" - }, - { - "label": "银行卡", - "value": "银行卡" - }, - { - "label": "营业执照", - "value": "营业执照" - }, - { - "label": "名片", - "value": "名片" - }, - { - "label": "护照", - "value": "护照" - }, - { - "label": "港澳通行证", - "value": "港澳通行证" - }, - { - "label": "台湾通行证", - "value": "台湾通行证" - }, - { - "label": "户口本", - "value": "户口本" - }, - { - "label": "出生医学证明", - "value": "出生医学证明" - }, - { - "label": "房产证", - "value": "房产证" - }, - { - "label": "不动产权证", - "value": "不动产权证" - }, - { - "label": "公章", - "value": "公章" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "front", - "label": "身份证朝向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "正面(国徽面)", - "value": "False" - }, - { - "label": "反面(人像面)", - "value": "True" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_dict_identity_card_shizai", - "rpa_dict_identity_card_juhe", - "rpa_dict_identity_card_reverse_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_bank_card_juhe", - "rpa_dict", - "rpa_dict_business_license_shizai", - "rpa_dict_business_license_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_business_card_juhe", - "rpa_dict_passport_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_dict_account_page_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_house_cert_juhe", - "rpa_dict_real_estate_cert_juhe", - "rpa_dict_official_seal_juhe", - "rpa_list", - "rpa_none" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_dict_identity_card_shizai", - "rpa_dict_identity_card_juhe", - "rpa_dict_identity_card_reverse_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_bank_card_juhe", - "rpa_dict", - "rpa_dict_business_license_shizai", - "rpa_dict_business_license_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_business_card_juhe", - "rpa_dict_passport_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_dict_account_page_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_house_cert_juhe", - "rpa_dict_real_estate_cert_juhe", - "rpa_dict_official_seal_juhe", - "rpa_list", - "rpa_none" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCodeV5", - "name": "滑动拼图验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别验证码的拼图位置,并拖动滑块按钮完成验证,或返回拼图终点位置。", - "messageTemplate": "识别背景图 $3 {$$1 == 2 && $$5 == 1 && '以及拼图块 $6 的位置'}{$$9 == 1 && '并模拟拖动滑块按钮 $4 ,自动完成验证'}{$$9 == 2 && '并识别滑块按钮 $4 的终点位置,然后把结果保存到 $0'}", - "baseType": "OCR_SliderVerificationCodeV2", - "functionName": "OCR.SliderVerificationCodeV5", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCodeV5", - "args": [ - "category", - "service", - "backgroundUiSelector", - "buttonUiSelector", - "need_slider", - "sliderUiSelector", - "designated_info", - "designated_obj", - "ret", - "showDeviation", - "deviation", - "drag" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "1" - }, - { - "label": "AI平台-云码", - "value": "4" - }, - { - "label": "AI平台-实在智能", - "value": "2" - } - ] - }, - { - "key": "service", - "label": "选择服务", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择调用的云服务类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "SaaS服务", - "value": "1" - }, - { - "label": "离线服务", - "value": "2" - } - ] - }, - { - "key": "backgroundUiSelector", - "label": "背景图", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码中的背景图元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码下方的滑动按钮元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "need_slider", - "label": "识别拼图块", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后,需要选择拼图块元素,并在运行时进行识别,可根据实际情况配置", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sliderUiSelector", - "label": "拼图块", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码的拼图块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "ret", - "label": "验证方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回结果的校验方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "自动完成验证", - "value": "1" - }, - { - "label": "不验证,仅返回终点坐标", - "value": "2" - } - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "deviation", - "widget": "number", - "type": "number", - "displayType": "sliderBar", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请视验证码滑块拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "drag", - "label": "IE浏览器适配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "返回数据", - "key": "var_name", - "suggestedName": "拼图终点坐标", - "valueTypes": [ - "rpa_dict_pintu_coordinate" - ], - "fields": [ - { - "key": "var_name", - "label": "返回数据", - "defaultValue": "拼图终点坐标", - "valueTypes": [ - "rpa_dict_pintu_coordinate" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCodeV4", - "name": "滑动拼图验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别验证码的拼图位置,并拖动滑块按钮完成验证,或返回拼图终点位置。", - "messageTemplate": "识别背景图 $3 {$$1 == 2 && '以及拼图块 $4 的位置'},{$$8 == 1 && '并模拟拖动滑块按钮 $5 ,自动完成验证'}{$$8 == 2 && '并识别滑块按钮 $5 的终点位置,然后把结果保存到 $0'}", - "baseType": "OCR_SliderVerificationCodeV2", - "functionName": "OCR.SliderVerificationCodeV4", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCodeV4", - "args": [ - "category", - "service", - "backgroundUiSelector", - "sliderUiSelector", - "buttonUiSelector", - "designated_info", - "designated_obj", - "ret", - "showDeviation", - "deviation", - "drag" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "1" - }, - { - "label": "AI平台-云码", - "value": "4" - }, - { - "label": "AI平台-实在智能", - "value": "2" - }, - { - "label": "AI平台-实在智能(识别优化版)", - "value": "3" - } - ] - }, - { - "key": "service", - "label": "选择服务", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择调用的云服务类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "SaaS服务", - "value": "1" - }, - { - "label": "离线服务", - "value": "2" - } - ] - }, - { - "key": "backgroundUiSelector", - "label": "背景图", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码中的背景图元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderUiSelector", - "label": "拼图块", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码的拼图块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码下方的滑动按钮元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "ret", - "label": "验证方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回结果的校验方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "自动完成验证", - "value": "1" - }, - { - "label": "不验证,仅返回终点坐标", - "value": "2" - } - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "deviation", - "widget": "number", - "type": "number", - "displayType": "sliderBar", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请视验证码滑块拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "drag", - "label": "IE浏览器适配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "返回数据", - "key": "var_name", - "suggestedName": "拼图终点坐标", - "valueTypes": [ - "rpa_dict_pintu_coordinate" - ], - "fields": [ - { - "key": "var_name", - "label": "返回数据", - "defaultValue": "拼图终点坐标", - "valueTypes": [ - "rpa_dict_pintu_coordinate" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergeOtherOCR", - "name": "识别其他场景文字", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "识别 $2 中文本内容, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergeOtherOCR", - "functionName": "OCR.SourceMergeOtherOCR", - "functionCalls": [ - { - "function": "OCR.SourceMergeOtherOCR", - "args": [ - "imageType", - "pictureSource", - "image_path", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "网络图片", - "value": "网络图片" - }, - { - "label": "数字", - "value": "数字" - }, - { - "label": "二维码", - "value": "二维码" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_MergeOtherOCR", - "name": "其他场景文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "$2 识别文本内容, 然后把结果保存到 $0", - "baseType": "OCR_MergeOtherOCR", - "functionName": "OCR.MergeOtherOCR", - "functionCalls": [ - { - "function": "OCR.MergeOtherOCR", - "args": [ - "imageType", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "网络图片", - "value": "网络图片" - }, - { - "label": "数字", - "value": "数字" - }, - { - "label": "二维码", - "value": "二维码" - } - ] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderCode", - "name": "滑块验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别目标验证码图片信息,并输出到指定变量。", - "messageTemplate": "背景图片 $2 识别滑块验证码的内容, 然后把结果保存到 $0", - "baseType": "OCR_SliderCode", - "functionName": "OCR.SliderCode", - "functionCalls": [ - { - "function": "OCR.SliderCode", - "args": [ - "imageFrontPath", - "imageBackPath", - "needFrontPath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageFrontPath", - "label": "滑块图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "imageBackPath", - "label": "背景图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "needFrontPath", - "label": "是否需要滑块图片", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "勾选表示启用该选项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "滑动距离", - "valueTypes": [ - "rpa_dict", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "滑动距离", - "valueTypes": [ - "rpa_dict", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BusinessLicenseV3", - "name": "OCR营业执照(自研)", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标营业执照图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别营业执照的内容, 然后把结果保存到 $0", - "baseType": "OCR_BusinessLicense", - "functionName": "OCR.BusinessLicenseV3", - "functionCalls": [ - { - "function": "OCR.BusinessLicenseV3", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR营业执照", - "营业执照识别", - "营业执照信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergeGeneralOCR", - "name": "通用文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "识别 $1 中 $3 文本的内容, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergeGeneralOCR", - "functionName": "OCR.SourceMergeGeneralOCR", - "functionCalls": [ - { - "function": "OCR.SourceMergeGeneralOCR", - "args": [ - "pictureSource", - "image_path", - "uiSelector", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "0" - }, - { - "label": "屏幕指定区域", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-百度", - "value": "1" - }, - { - "label": "AI平台-聚合平台", - "value": "2" - }, - { - "label": "AI平台-实在智能", - "value": "3" - } - ] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_PassportV2", - "name": "OCR护照", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标护照图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别护照的内容, 然后把结果保存到 $0", - "baseType": "OCR_Passport", - "functionName": "OCR.PassportV2", - "functionCalls": [ - { - "function": "OCR.PassportV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR护照", - "护照识别", - "护照信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_MergeGeneralOCR", - "name": "通用文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "$1 识别文本的内容, 然后把结果保存到 $0", - "baseType": "OCR_MergeGeneralOCR", - "functionName": "OCR.MergeGeneralOCR", - "functionCalls": [ - { - "function": "OCR.MergeGeneralOCR", - "args": [ - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-百度", - "value": "1" - }, - { - "label": "AI平台-聚合平台", - "value": "2" - } - ] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_KeyValueIdentification", - "name": "识别键值对结构", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对提供的图像进行键值对文本识别,然后输出结构化字典数据。", - "messageTemplate": "识别 $1 $2$3$4 中键值对数据结构, 然后把结果保存到 $0", - "baseType": "OCR_KeyValueIdentification", - "functionName": "OCR.KeyValueIdentification", - "functionCalls": [ - { - "function": "OCR.KeyValueIdentification", - "args": [ - "pictureSource", - "image_path", - "uiSelector", - "image_url" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择图像源的方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "1" - }, - { - "label": "屏幕指定区域", - "value": "2" - }, - { - "label": "网络图片", - "value": "3" - } - ] - }, - { - "key": "image_path", - "label": "本地图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "uiSelector", - "label": "屏幕目标区域", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "拾取屏幕指定区域的图像", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "键值对", - "valueTypes": [ - "rpa_dict_jianzhidui" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "键值对", - "valueTypes": [ - "rpa_dict_jianzhidui" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_RotateVerificationCodeV2", - "name": "旋转图片验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动滑块按钮使图片的展示角度为正,并自动完成验证。", - "messageTemplate": "识别要旋转的图片 $0 以及滑动条区域 $1 ,并拖动滑块按钮 $2 ,自动完成验证", - "baseType": "OCR_RotateVerificationCode", - "functionName": "OCR.RotateVerificationCodeV2", - "functionCalls": [ - { - "function": "OCR.RotateVerificationCodeV2", - "args": [ - "verifyPicUiSelector", - "sliderBarSelector", - "sliderButtonSelector", - "designated_info", - "designated_obj" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "旋转", - "滑块验证码(旋转式)", - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "旋转图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择窗口中要旋转的图片。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderBarSelector", - "label": "滑动条区域", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择窗口中的滑动条可滑动的区域元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderButtonSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择窗口可拖动的滑块按钮。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_RotateVerificationCode", - "name": "滑块验证码(旋转式)", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动滑动按钮旋转图片,完成旋转类型验证码解锁。", - "messageTemplate": "识取验证码中的待旋转图,计算旋转角度后拖动滑动按钮,完成验证码解锁。", - "baseType": "OCR_RotateVerificationCode", - "functionName": "OCR.RotateVerificationCode", - "functionCalls": [ - { - "function": "OCR.RotateVerificationCode", - "args": [ - "verifyPicUiSelector", - "sliderButtonSelector", - "sliderBarSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "旋转", - "滑块验证码(旋转式)" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "待旋转图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中可旋转的背景图", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderButtonSelector", - "label": "滑动按钮目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中可拖动的滑块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderBarSelector", - "label": "滑动条目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的滑动条区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_ClickVerificationCodeV1", - "name": "点选验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别依次点选文字或图标类验证码,然后自动完成验证。", - "messageTemplate": "识别文字背景图 $0 以及“依次点击”文字说明 $1,自动完成验证", - "baseType": "OCR_ClickVerificationCode", - "functionName": "OCR.ClickVerificationCodeV1", - "functionCalls": [ - { - "function": "OCR.ClickVerificationCodeV1", - "args": [ - "verifyPicUiSelector", - "verifySeqUiSelector", - "browser_type", - "code_num", - "category" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "点选", - "点选验证码" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "文字背景图", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择包含要点选文字的背景图片元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "verifySeqUiSelector", - "label": "文字说明", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "选择包含点选次序的文字说明元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "code_num", - "label": "点选数字", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择要点选的字数区间", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1~4个", - "value": "0" - }, - { - "label": "大于4个", - "value": "1" - } - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "0" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_AmountIdentification", - "name": "识别价格金额", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "各类型用户需要通过OCR识别,获取网页或图片中特定位置的价格或金额信息并保存。", - "messageTemplate": "识别 $1 中 {$$1 == 0 && '$2'} 的价格或金额内容, 然后把结果保存到 $0", - "baseType": "OCR_AmountIdentification", - "functionName": "OCR.AmountIdentification", - "functionCalls": [ - { - "function": "OCR.AmountIdentification", - "args": [ - "pictureSource", - "uiSelector", - "image_path", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "金额", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像来源", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "该组件需要截取或选择仅包含金额部分的信息,否则可能识别错误,例如\"¥50.2元\"、\"$3.9M\"", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕指定区域", - "value": "0" - }, - { - "label": "本地图片", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "屏幕目标区域", - "widget": "region", - "type": "object", - "displayType": "screenshotSelectUi", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "目标仅限制金额数字显示区域,否则可能识别错误,例如:“¥52.0”、“52元”", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "image_path", - "label": "本地图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-实在智能", - "value": "0" - } - ] - } - ], - "output": { - "label": "金额保存到", - "key": "var_name", - "suggestedName": "识别的价格", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "金额保存到", - "defaultValue": "识别的价格", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_PuzzleVerificationCode", - "name": "推理拼图验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动并交换两个拼图块的位置使图片复原,完成验证码解锁。", - "messageTemplate": "识别完整图片 $0,并自动完成验证", - "baseType": "OCR_PuzzleVerificationCode", - "functionName": "OCR.PuzzleVerificationCode", - "functionCalls": [ - { - "function": "OCR.PuzzleVerificationCode", - "args": [ - "verifyPicUiSelector", - "rowNum", - "columnNum" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "推理拼图", - "推理拼图验证码" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "完整图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中整个拼图区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "rowNum", - "label": "拼图行数", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "请输入拼图的行数", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "columnNum", - "label": "拼图列数", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "4", - "placeholder": "", - "description": "请输入拼图的列数", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_GeneralTextV2", - "name": "OCR高精度文本", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标图片的高精度通用文本信息,并输出到指定变量。", - "messageTemplate": "$1 识别文本的内容, 然后把结果保存到 $0", - "baseType": "OCR_GeneralText", - "functionName": "OCR.GeneralTextV2", - "functionCalls": [ - { - "function": "OCR.GeneralTextV2", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR高精度通用文本的", - "高精度通用文本的识别", - "高精度通用文本的信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_VatInvoiceV2", - "name": "OCR增值税发票", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标增值税发票图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别增值税发票的内容, 然后把结果保存到 $0", - "baseType": "OCR_VatInvoice", - "functionName": "OCR.VatInvoiceV2", - "functionCalls": [ - { - "function": "OCR.VatInvoiceV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR增值税发票", - "增值税发票识别", - "增值税发票信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_DrivingLicenseV2", - "name": "OCR行驶证", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标行驶证图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别行驶证的内容, 然后把结果保存到 $0", - "baseType": "OCR_DrivingLicense", - "functionName": "OCR.DrivingLicenseV2", - "functionCalls": [ - { - "function": "OCR.DrivingLicenseV2", - "args": [ - "path", - "detectDirection", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR行驶证", - "行驶证识别", - "行驶证信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "detectDirection", - "label": "是否检测图片方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "勾选后自动检测图片旋转方向再识别,适合倾斜或倒置的图片", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "front", - "label": "是否是正面", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_AccountPageV2", - "name": "OCR户口页", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标户口本图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别户口页的内容, 然后把结果保存到 $0", - "baseType": "OCR_AccountPage", - "functionName": "OCR.AccountPageV2", - "functionCalls": [ - { - "function": "OCR.AccountPageV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR户口本", - "户口本识别", - "户口本信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SimpleSliderVerificationCodeV2", - "name": "滑动条验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别滑动条验证码的滑动区域位置,并拖动滑块按钮完成验证,或返回滑块终点位置。", - "messageTemplate": "识别滑动条区域 $1{$$5 == 1 && '并模拟拖动滑块按钮 $2 ,自动完成验证'}{$$5 == 2 && '以及滑块按钮 $2 的相对位置,然后把结果保存到 $0'}", - "baseType": "OCR_SimpleSliderVerificationCode", - "functionName": "OCR.SimpleSliderVerificationCodeV2", - "functionCalls": [ - { - "function": "OCR.SimpleSliderVerificationCodeV2", - "args": [ - "sliderUiSelector", - "buttonUiSelector", - "designated_info", - "designated_obj", - "ret", - "showDeviation", - "deviation", - "uniform_speed", - "bobs" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动", - "滑动条样式" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "sliderUiSelector", - "label": "滑动条区域", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择滑动条元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择滑动按钮元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "ret", - "label": "验证方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回结果的校验方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "自动完成验证", - "value": "1" - }, - { - "label": "不验证,仅返回终点坐标", - "value": "2" - } - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "deviation", - "widget": "number", - "type": "number", - "displayType": "sliderBar", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请视滑动条拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "uniform_speed", - "label": "IE浏览器适配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "bobs", - "label": "轨迹上下浮动", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选表示启用,不勾选表示关闭", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "返回数据", - "key": "var_name", - "suggestedName": "滑块终点坐标", - "valueTypes": [ - "rpa_dict_huakuai_coordinate" - ], - "fields": [ - { - "key": "var_name", - "label": "返回数据", - "defaultValue": "滑块终点坐标", - "valueTypes": [ - "rpa_dict_huakuai_coordinate" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_PlateLicenseV2", - "name": "OCR车牌", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标车牌图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别车牌的内容, 然后把结果保存到 $0", - "baseType": "OCR_PlateLicense", - "functionName": "OCR.PlateLicenseV2", - "functionCalls": [ - { - "function": "OCR.PlateLicenseV2", - "args": [ - "path", - "multiCrop" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR车牌", - "车牌识别", - "车牌信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "multiCrop", - "label": "是否只返回高置信度且大于 7位的车牌号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "勾选表示启用该选项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BankCardV2", - "name": "OCR银行卡", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标银行卡图片信息,并输出到指定变量。", - "messageTemplate": "$1识别银行卡的内容, 然后把结果保存到 $0", - "baseType": "OCR_BankCard", - "functionName": "OCR.BankCardV2", - "functionCalls": [ - { - "function": "OCR.BankCardV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR银行卡", - "银行卡识别", - "银行卡信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BankCardV3", - "name": "OCR银行卡(自研)", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标银行卡图片信息,并输出到指定变量。", - "messageTemplate": "$1识别银行卡的内容, 然后把结果保存到 $0", - "baseType": "OCR_BankCard", - "functionName": "OCR.BankCardV3", - "functionCalls": [ - { - "function": "OCR.BankCardV3", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR银行卡", - "银行卡识别", - "银行卡信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_IdCardV3", - "name": "OCR身份证(自研)", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标身份证图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别身份证的内容, 然后把结果保存到 $0", - "baseType": "OCR_IdCard", - "functionName": "OCR.IdCardV3", - "functionCalls": [ - { - "function": "OCR.IdCardV3", - "args": [ - "path", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR身份证", - "身份证识别", - "身份证信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "front", - "label": "是否是正面", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_VatInvoiceV3", - "name": "OCR增值税发票(自研)", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标增值税发票图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别增值税发票的内容, 然后把结果保存到 $0", - "baseType": "OCR_VatInvoice", - "functionName": "OCR.VatInvoiceV3", - "functionCalls": [ - { - "function": "OCR.VatInvoiceV3", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR增值税发票", - "增值税发票识别", - "增值税发票信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceCommonEnglishNumbersCode", - "name": "普通验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别目标验证码图片信息,并输出到指定变量。", - "messageTemplate": "识别 $1 中类型为 $4 的验证码信息, 然后把结果保存到 $0", - "baseType": "OCR_SourceCommonEnglishNumbersCode", - "functionName": "OCR.SourceCommonEnglishNumbersCode", - "functionCalls": [ - { - "function": "OCR.SourceCommonEnglishNumbersCode", - "args": [ - "pictureSource", - "image_path", - "uiSelector", - "imageType", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取图片元素", - "value": "1" - }, - { - "label": "选择本地文件", - "value": "0" - } - ] - }, - { - "key": "image_path", - "label": "验证码图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "uiSelector", - "label": "验证码目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "imageType", - "label": "识别类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "验证码的样式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "数英混合", - "value": "数英混合" - }, - { - "label": "纯数字", - "value": "纯数字" - }, - { - "label": "纯英文", - "value": "纯英文" - }, - { - "label": "闪动GIF", - "value": "闪动GIF" - }, - { - "label": "计算题", - "value": "计算题" - }, - { - "label": "汉字", - "value": "汉字" - }, - { - "label": "问答题", - "value": "问答题" - } - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-实在智能", - "value": "3" - }, - { - "label": "AI平台-聚合平台", - "value": "2" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "验证码", - "valueTypes": [ - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "验证码", - "valueTypes": [ - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_MergePaperOCR", - "name": "票据文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对财税报销、税务核算等场景所涉及的各类票据进行结构化识别,包括增值税发票、定额发票、火车票、出租车票、飞机行程单、保单等常见票据。", - "messageTemplate": "$2 识别常用票据的文字内容, 然后把结果保存到 $0", - "baseType": "OCR_MergePaperOCR", - "functionName": "OCR.MergePaperOCR", - "functionCalls": [ - { - "function": "OCR.MergePaperOCR", - "args": [ - "imageType", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "增值税发票", - "value": "增值税发票" - }, - { - "label": "定额发票", - "value": "定额发票" - }, - { - "label": "火车票", - "value": "火车票" - }, - { - "label": "出租车票", - "value": "出租车票" - }, - { - "label": "行程单", - "value": "行程单" - }, - { - "label": "通用票据", - "value": "通用票据" - }, - { - "label": "保单", - "value": "保单" - } - ] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergeCarOCR", - "name": "识别汽车场景文字", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对汽车场景下所涉及的各类卡证、票据进行结构化识别,包括行驶证、驾驶证、车牌、VIN码、车辆合格证等。", - "messageTemplate": "识别 $2 中对汽车购买及使用过程中所涉及的卡证进行文字识别, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergeCarOCR", - "functionName": "OCR.SourceMergeCarOCR", - "functionCalls": [ - { - "function": "OCR.SourceMergeCarOCR", - "args": [ - "imageType", - "pictureSource", - "image_path", - "image_url", - "category", - "AppKey", - "SecretKey", - "multiCrop", - "detectDirection", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行驶证", - "value": "行驶证" - }, - { - "label": "驾驶证", - "value": "驾驶证" - }, - { - "label": "车牌", - "value": "车牌" - }, - { - "label": "vin码", - "value": "vin码" - }, - { - "label": "机动车销售发票", - "value": "机动车销售发票" - }, - { - "label": "车辆合格证", - "value": "车辆合格证" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "multiCrop", - "label": "是否只返回高置信度且大于7位的车牌号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "勾选表示启用该选项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "detectDirection", - "label": "是否检测图片方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "勾选后自动检测图片旋转方向再识别,适合倾斜或倒置的图片", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "front", - "label": "是否是正面", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_dict_driving_license_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_driver_license_juhe", - "rpa_dict_driver_license_shizai", - "rpa_dict_plate_license_juhe", - "rpa_dict", - "rpa_dict_vin_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_vehicle_lnvoice_juhe", - "rpa_dict", - "rpa_none" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_dict_driving_license_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_driver_license_juhe", - "rpa_dict_driver_license_shizai", - "rpa_dict_plate_license_juhe", - "rpa_dict", - "rpa_dict_vin_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict_vehicle_lnvoice_juhe", - "rpa_dict", - "rpa_none" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_DriverLicenseV2", - "name": "OCR驾驶证", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标驾驶证图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别驾照的内容, 然后把结果保存到 $0", - "baseType": "OCR_DriverLicense", - "functionName": "OCR.DriverLicenseV2", - "functionCalls": [ - { - "function": "OCR.DriverLicenseV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR驾驶证", - "驾驶证识别", - "驾驶证信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCodeV2", - "name": "滑块验证码(拼图样式)", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "对滑块验证码进行识别,然后滑动滑块至缺口处,完成验证码解锁。", - "messageTemplate": "拖动滑块按钮 $3, {$$0 == 2 && \"使拼图块 $2 与背景图 $1 重合\"}{$$0 == 1 && \"使拼图块与背景图 $1 重合\"}", - "baseType": "OCR_SliderVerificationCode", - "functionName": "OCR.SliderVerificationCodeV2", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCodeV2", - "args": [ - "category", - "backgroundUiSelector", - "sliderUiSelector", - "buttonUiSelector", - "showDeviation", - "deviation", - "drag" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "根据不同的场景,不同AI引擎的识别率存在差异,可切换使用。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "1" - }, - { - "label": "AI平台-实在智能", - "value": "2" - } - ] - }, - { - "key": "backgroundUiSelector", - "label": "背景图目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的背景图", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderUiSelector", - "label": "拼图块目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中跟随滑块移动的拼图块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑动按钮目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中可拖动的滑块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "偏移量校正值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入校正数值(单位:像素)", - "description": "滑块相对鼠标位置,偏左—输入正值;偏右—输入负值(单位:像素)。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "drag", - "label": "拖动增强", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "仅用于IE浏览器下部分不能拖动的场景,其他场景请不要勾选", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCodeV1", - "name": "滑块验证码(拼图样式)", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "对滑块验证码进行识别,然后滑动滑块至缺口处,完成验证码解锁。", - "messageTemplate": "识别滑块验证码信息,然后滑动滑块至缺口处,完成验证码解锁。", - "baseType": "OCR_SliderVerificationCode", - "functionName": "OCR.SliderVerificationCodeV1", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCodeV1", - "args": [ - "backgroundUiSelector", - "buttonUiSelector", - "category", - "showDeviation", - "deviation" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "backgroundUiSelector", - "label": "背景图目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的背景图", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑动按钮目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中可拖动的滑块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "根据不同的场景,不同AI引擎的识别率存在差异,可切换使用。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "0" - } - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "偏移量校正值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "请输入校正数值(单位:像素)", - "description": "滑块相对鼠标位置:偏左—输入正值;偏右—输入负值;", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_RealEstateCertV2", - "name": "OCR不动产权证", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标房产证图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别不动产权证的内容, 然后把结果保存到 $0", - "baseType": "OCR_RealEstateCert", - "functionName": "OCR.RealEstateCertV2", - "functionCalls": [ - { - "function": "OCR.RealEstateCertV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR表格", - "表格识别", - "表格信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCode", - "name": "滑块验证码(拼图样式)", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "对滑块验证码进行识别,然后滑动滑块至缺口处,完成验证码解锁。", - "messageTemplate": "识别滑块验证码信息,然后滑动滑块至缺口处,完成验证码解锁。", - "baseType": "OCR_SliderVerificationCode", - "functionName": "OCR.SliderVerificationCode", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCode", - "args": [ - "sliderUiSelector", - "backgroundUiSelector", - "buttonUiSelector", - "category" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "sliderUiSelector", - "label": "滑块目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码中的滑块元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "backgroundUiSelector", - "label": "背景图目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码中的背景图元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "buttonUiSelector", - "label": "滑动按钮目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码下方的滑动按钮元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "1" - }, - { - "label": "AI平台-云码", - "value": "4" - }, - { - "label": "AI平台-实在智能", - "value": "2" - }, - { - "label": "AI平台-实在智能(识别优化版)", - "value": "3" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_TrainTicketV2", - "name": "OCR火车票", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标火车票图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别火车票的内容, 然后把结果保存到 $0", - "baseType": "OCR_TrainTicket", - "functionName": "OCR.TrainTicketV2", - "functionCalls": [ - { - "function": "OCR.TrainTicketV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR火车票", - "火车票识别", - "火车票信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_TaxiInvoiceV2", - "name": "OCR出租车发票", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标出租车发票图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别出租车发票的内容, 然后把结果保存到 $0", - "baseType": "OCR_TaxiInvoice", - "functionName": "OCR.TaxiInvoiceV2", - "functionCalls": [ - { - "function": "OCR.TaxiInvoiceV2", - "args": [ - "data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR出租车发票", - "出租车发票识别", - "出租车发票信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "data", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_OfficialSealV2", - "name": "OCR公章", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标公章图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别公章的内容, 然后把结果保存到 $0", - "baseType": "OCR_OfficialSeal", - "functionName": "OCR.OfficialSealV2", - "functionCalls": [ - { - "function": "OCR.OfficialSealV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR公章", - "公章识别", - "公章信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_MergeCarOCR", - "name": "汽车场景文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对汽车场景下所涉及的各类卡证、票据进行结构化识别,包括行驶证、驾驶证、车牌、VIN码、车辆合格证等。", - "messageTemplate": "$2 对汽车购买及使用过程中所涉及的卡证进行文字识别, 然后把结果保存到 $0", - "baseType": "OCR_MergeCarOCR", - "functionName": "OCR.MergeCarOCR", - "functionCalls": [ - { - "function": "OCR.MergeCarOCR", - "args": [ - "imageType", - "image_url", - "category", - "AppKey", - "SecretKey", - "multiCrop", - "detectDirection", - "front" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行驶证", - "value": "行驶证" - }, - { - "label": "驾驶证", - "value": "驾驶证" - }, - { - "label": "车牌", - "value": "车牌" - }, - { - "label": "vin码", - "value": "vin码" - }, - { - "label": "机动车销售发票", - "value": "机动车销售发票" - }, - { - "label": "车辆合格证", - "value": "车辆合格证" - } - ] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "multiCrop", - "label": "是否只返回高置信度且大于7位的车牌号", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "勾选表示启用该选项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "detectDirection", - "label": "是否检测图片方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "勾选后自动检测图片旋转方向再识别,适合倾斜或倒置的图片", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "front", - "label": "是否是正面", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "是否只识别正面图像", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergeEducationOCR", - "name": "识别教育场景文字", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对教育场景下所涉及的作业/试卷中公式、手写文字等内容进行结构化识别。", - "messageTemplate": "识别 $2 中对教育场景所涉及的手写文字, 公示等进行文字识别, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergeEducationOCR", - "functionName": "OCR.SourceMergeEducationOCR", - "functionCalls": [ - { - "function": "OCR.SourceMergeEducationOCR", - "args": [ - "imageType", - "pictureSource", - "image_path", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "手写", - "value": "手写" - }, - { - "label": "公式", - "value": "公式" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCodeV3", - "name": "滑动拼图验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别验证码的拼图位置,并拖动滑块按钮完成验证,或返回拼图终点位置。", - "messageTemplate": "识别背景图 $2 {$$1 == 2 && '以及拼图块 $3 的位置'},{$$6 == 1 && '并模拟拖动滑块按钮 $4 ,自动完成验证'}{$$6 == 2 && '并识别滑块按钮 $4 的终点位置,然后把结果保存到 $0'}", - "baseType": "OCR_SliderVerificationCode", - "functionName": "OCR.SliderVerificationCodeV3", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCodeV3", - "args": [ - "category", - "backgroundUiSelector", - "sliderUiSelector", - "buttonUiSelector", - "browser_type", - "ret", - "showDeviation", - "deviation", - "drag" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "1" - }, - { - "label": "AI平台-云码", - "value": "4" - }, - { - "label": "AI平台-实在智能", - "value": "2" - }, - { - "label": "AI平台-实在智能(识别优化版)", - "value": "3" - } - ] - }, - { - "key": "backgroundUiSelector", - "label": "背景图", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码中的背景图元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "sliderUiSelector", - "label": "拼图块", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码的拼图块", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择验证码下方的滑动按钮元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "ret", - "label": "验证方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回结果的校验方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "自动完成验证", - "value": "1" - }, - { - "label": "不验证,仅返回终点坐标", - "value": "2" - } - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "deviation", - "widget": "number", - "type": "number", - "displayType": "sliderBar", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请视验证码滑块拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "drag", - "label": "IE浏览器适配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "返回数据", - "key": "var_name", - "suggestedName": "拼图终点坐标", - "valueTypes": [ - "rpa_dict_pintu_coordinate" - ], - "fields": [ - { - "key": "var_name", - "label": "返回数据", - "defaultValue": "拼图终点坐标", - "valueTypes": [ - "rpa_dict_pintu_coordinate" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_MergeEducationOCR", - "name": "教育场景文字识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对教育场景下所涉及的作业/试卷中公式、手写文字等内容进行结构化识别。", - "messageTemplate": "$2 对教育场景所涉及的手写文字, 公示等进行文字识别, 然后把结果保存到 $0", - "baseType": "OCR_MergeEducationOCR", - "functionName": "OCR.MergeEducationOCR", - "functionCalls": [ - { - "function": "OCR.MergeEducationOCR", - "args": [ - "imageType", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "手写", - "value": "手写" - }, - { - "label": "公式", - "value": "公式" - } - ] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_ClickVerificationCode", - "name": "点选验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "对点选验证码进行识别,然后依次点击相应位置,完成验证码解锁。", - "messageTemplate": "识别验证码信息,然后依次点击相应位置,完成验证码解锁。", - "baseType": "OCR_ClickVerificationCode", - "functionName": "OCR.ClickVerificationCode", - "functionCalls": [ - { - "function": "OCR.ClickVerificationCode", - "args": [ - "code_num", - "verifyPicUiSelector", - "verifySeqUiSelector", - "category" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "点选", - "点选验证码" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "code_num", - "label": "验证码图内字数", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "验证码中需要点击识别的字数范围", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1~4个", - "value": "0" - }, - { - "label": "5~8个", - "value": "1" - } - ] - }, - { - "key": "verifyPicUiSelector", - "label": "验证码图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的背景图", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "verifySeqUiSelector", - "label": "点选文字目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码提示中要识别的文字", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "0" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_SourceCommonEnglishNumbersCodeV1", - "name": "普通验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别目标验证码图片信息,并输出到指定变量。", - "messageTemplate": "识别 $1 $3$4 验证码信息, 然后把结果保存到 $0", - "baseType": "OCR_SourceCommonEnglishNumbersCode", - "functionName": "OCR.SourceCommonEnglishNumbersCodeV1", - "functionCalls": [ - { - "function": "OCR.SourceCommonEnglishNumbersCodeV1", - "args": [ - "imageType", - "pictureSource", - "image_path", - "uiSelector", - "browser_type", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "识别类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "数英混合", - "placeholder": "", - "description": "根据验证码图片内容,选择对应的验证码识别类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "数英混合", - "value": "数英混合" - }, - { - "label": "纯数字", - "value": "纯数字" - }, - { - "label": "纯英文", - "value": "纯英文" - }, - { - "label": "闪动GIF", - "value": "闪动GIF" - }, - { - "label": "计算题", - "value": "计算题" - }, - { - "label": "汉字", - "value": "汉字" - }, - { - "label": "问答题", - "value": "问答题" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取图片元素", - "value": "1" - }, - { - "label": "选择本地文件", - "value": "0" - } - ] - }, - { - "key": "image_path", - "label": "图片路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "uiSelector", - "label": "图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-实在智能", - "value": "3" - }, - { - "label": "AI平台-聚合平台", - "value": "2" - } - ] - } - ], - "output": { - "label": "识别结果", - "key": "var_name", - "suggestedName": "验证码", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "识别结果", - "defaultValue": "验证码", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_HouseCertV2", - "name": "OCR房产证", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标房产证图片信息,并输出到指定变量。", - "messageTemplate": "$1 房产证识别, 然后把结果保存到 $0", - "baseType": "OCR_HouseCert", - "functionName": "OCR.HouseCertV2", - "functionCalls": [ - { - "function": "OCR.HouseCertV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR房产证", - "房产证识别", - "房产证信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_PuzzleVerificationCode_v2", - "name": "推理拼图验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "拖动并交换两个拼图块的位置使图片复原,完成验证码解锁。", - "messageTemplate": "识别完整图片 $0,并自动完成验证", - "baseType": "OCR_PuzzleVerificationCode", - "functionName": "OCR.PuzzleVerificationCode_v2", - "functionCalls": [ - { - "function": "OCR.PuzzleVerificationCode_v2", - "args": [ - "verifyPicUiSelector", - "designated_info", - "designated_obj", - "rowNum", - "columnNum" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "推理拼图", - "推理拼图验证码" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "verifyPicUiSelector", - "label": "完整图片目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择待拼图的完整图片元素(非小图)", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "目标网页或窗口对象;留空则作用于当前活动窗口", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "rowNum", - "label": "拼图行数", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "请输入拼图的行数", - "advanced": false, - "valueTypes": [] - }, - { - "key": "columnNum", - "label": "拼图列数", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "4", - "placeholder": "", - "description": "请输入拼图的列数", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "OCR_CommonEnglishNumbersCode", - "name": "普通验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别目标验证码图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别普通验证码的内容, 然后把结果保存到 $0", - "baseType": "OCR_CommonEnglishNumbersCode", - "functionName": "OCR.CommonEnglishNumbersCode", - "functionCalls": [ - { - "function": "OCR.CommonEnglishNumbersCode", - "args": [ - "path", - "resources", - "typeid", - "scenario" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "resources", - "label": "服务资源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "从下拉列表中选择一项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认", - "value": "0" - }, - { - "label": "自研", - "value": "1" - }, - { - "label": "图鉴", - "value": "2" - } - ] - }, - { - "key": "typeid", - "label": "识别类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "从下拉列表中选择一项", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "汉字", - "value": "16" - }, - { - "label": "数英混合", - "value": "3" - }, - { - "label": "纯英文", - "value": "2" - }, - { - "label": "纯数字", - "value": "1" - } - ] - }, - { - "key": "scenario", - "label": "场景设置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "输入内容或 ${变量}", - "description": "选填,自研验证码服务", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergePaperOCR", - "name": "识别票据文字", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对财税报销、税务核算等场景所涉及的各类票据进行结构化识别,包括增值税发票、定额发票、火车票、出租车票、飞机行程单、保单等常见票据。", - "messageTemplate": "识别 $2 中常用票据的文字内容, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergePaperOCR", - "functionName": "OCR.SourceMergePaperOCR", - "functionCalls": [ - { - "function": "OCR.SourceMergePaperOCR", - "args": [ - "imageType", - "pictureSource", - "image_path", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "imageType", - "label": "图片类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的格式类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "增值税发票", - "value": "增值税发票" - }, - { - "label": "定额发票", - "value": "定额发票" - }, - { - "label": "火车票", - "value": "火车票" - }, - { - "label": "出租车票", - "value": "出租车票" - }, - { - "label": "行程单", - "value": "行程单" - }, - { - "label": "通用票据", - "value": "通用票据" - }, - { - "label": "保单", - "value": "保单" - }, - { - "label": "购物小票", - "value": "购物小票" - } - ] - }, - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_dict_vat_lnvoice_shizai", - "rpa_dict_vat_lnvoice_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_dict_train_ticket_juhe", - "rpa_dict", - "rpa_dict_taxi_lnvoice_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_none" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_dict_vat_lnvoice_shizai", - "rpa_dict_vat_lnvoice_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_dict_train_ticket_juhe", - "rpa_dict", - "rpa_dict_taxi_lnvoice_juhe", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_dict", - "rpa_none" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SimpleSliderVerificationCodeV1", - "name": "滑动条验证码", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别滑动条验证码的滑动区域位置,并拖动滑块按钮完成验证,或返回滑块终点位置。", - "messageTemplate": "识别滑动条区域 $1{$$4 == 1 && '并模拟拖动滑块按钮 $2 ,自动完成验证'}{$$4 == 2 && '以及滑块按钮 $2 的相对位置,然后把结果保存到 $0'}", - "baseType": "OCR_SimpleSliderVerificationCode", - "functionName": "OCR.SimpleSliderVerificationCodeV1", - "functionCalls": [ - { - "function": "OCR.SimpleSliderVerificationCodeV1", - "args": [ - "sliderUiSelector", - "buttonUiSelector", - "browser_type", - "ret", - "showDeviation", - "deviation", - "uniform_speed", - "bobs" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动", - "滑动条样式" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "sliderUiSelector", - "label": "滑动条区域", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择滑动条元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "buttonUiSelector", - "label": "滑块按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请选择滑动按钮元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "ret", - "label": "验证方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "返回结果的校验方式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "自动完成验证", - "value": "1" - }, - { - "label": "不验证,仅返回终点坐标", - "value": "2" - } - ] - }, - { - "key": "showDeviation", - "label": "校正偏移量", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)", - "advanced": false, - "valueTypes": [] - }, - { - "key": "deviation", - "label": "deviation", - "widget": "number", - "type": "number", - "displayType": "sliderBar", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请视滑动条拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "uniform_speed", - "label": "IE浏览器适配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "bobs", - "label": "轨迹上下浮动", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选表示启用,不勾选表示关闭", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "返回数据", - "key": "var_name", - "suggestedName": "滑块终点坐标", - "valueTypes": [ - "rpa_dict_huakuai_coordinate" - ], - "fields": [ - { - "key": "var_name", - "label": "返回数据", - "defaultValue": "滑块终点坐标", - "valueTypes": [ - "rpa_dict_huakuai_coordinate" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BusinessLicenseV2", - "name": "OCR营业执照", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标营业执照图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别营业执照的内容, 然后把结果保存到 $0", - "baseType": "OCR_BusinessLicense", - "functionName": "OCR.BusinessLicenseV2", - "functionCalls": [ - { - "function": "OCR.BusinessLicenseV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR营业执照", - "营业执照识别", - "营业执照信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_VinV2", - "name": "OCR车辆vin码", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "识别目标车辆vin码图片信息,并输出到指定变量。", - "messageTemplate": "$1 识别vin码的内容, 然后把结果保存到 $0", - "baseType": "OCR_Vin", - "functionName": "OCR.VinV2", - "functionCalls": [ - { - "function": "OCR.VinV2", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR车辆vin码", - "车辆vin码识别", - "车辆vin码信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SourceMergeGeneralOCR_V1", - "name": "识别通用文字", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "识别 $1 中 $3 文本的内容, 然后把结果保存到 $0", - "baseType": "OCR_SourceMergeGeneralOCR", - "functionName": "OCR.SourceMergeGeneralOCR_V1", - "functionCalls": [ - { - "function": "OCR.SourceMergeGeneralOCR_V1", - "args": [ - "pictureSource", - "image_path", - "uiSelector", - "image_url", - "category", - "AppKey", - "SecretKey" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "0" - }, - { - "label": "屏幕指定区域", - "value": "1" - }, - { - "label": "网络图片", - "value": "2" - } - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "image_url", - "label": "图片URL", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入URL链接", - "description": "图片的访问链接(请确认链接能正常访问)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "category", - "label": "AI引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-百度", - "value": "1" - }, - { - "label": "AI平台-聚合平台", - "value": "2" - }, - { - "label": "AI平台-实在智能", - "value": "3" - } - ] - }, - { - "key": "AppKey", - "label": "用户API Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云的访问密钥ID(Access Key Id)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "SecretKey", - "label": "用户APP secret Key", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入您的百度智能云秘密访问密钥(Secret Access Key)", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "识别的文字", - "valueTypes": [ - "rpa_dict", - "rpa_dict", - "rpa_dict_general_ocr" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "识别的文字", - "valueTypes": [ - "rpa_dict", - "rpa_dict", - "rpa_dict_general_ocr" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_SliderVerificationCodePosition", - "name": "获取拼图滑块位置", - "kind": "vendor", - "group": "vision", - "categories": [ - "VerificationCode" - ], - "categorySignature": "VerificationCode", - "description": "识别滑块验证码信息,然后返回滑动按钮起点终点坐标。", - "messageTemplate": "识别滑块验证码信息,然后返回滑动按钮起点终点坐标, 然后把结果保存到 $0", - "baseType": "OCR_SliderVerificationCodePosition", - "functionName": "OCR.SliderVerificationCodePosition", - "functionCalls": [ - { - "function": "OCR.SliderVerificationCodePosition", - "args": [ - "backgroundUiSelector", - "buttonUiSelector", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "验证码", - "滑动" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "backgroundUiSelector", - "label": "背景图目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中的背景图", - "advanced": false, - "valueTypes": [] - }, - { - "key": "buttonUiSelector", - "label": "滑动按钮目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "验证码中可拖动的滑块", - "advanced": false, - "valueTypes": [] - }, - { - "key": "category", - "label": "识别引擎", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "AI平台-聚合平台", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出滑块起始坐标", - "key": "var_name", - "suggestedName": "滑块起始坐标", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出滑块起始坐标", - "defaultValue": "滑块起始坐标", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_ClickOcrText_V1", - "name": "鼠标点击OCR文本", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR", - "peripheral_device" - ], - "categorySignature": "OCR|peripheral_device", - "description": "鼠标点击OCR文本。", - "messageTemplate": "鼠标点击 $1 文本, 然后把结果保存到 $0", - "baseType": "OcrOffline_ClickOcrText", - "functionName": "OcrOffline.ClickOcrText_V1", - "functionCalls": [ - { - "function": "OcrOffline.ClickOcrText_V1", - "args": [ - "uiSelector", - "textToFind", - "show_track" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "文字", - "字符", - "字符串", - "文本内容", - "鼠标", - "鼠标设备", - "鼠标操作" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "需要识别的屏幕区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "textToFind", - "label": "匹配文字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文字字符", - "description": "需要识别点击的文本", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "点击结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "点击结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_GetOcrTextNew", - "name": "图像OCR识别", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "图像OCR识别。", - "messageTemplate": "识别 $1 文本, 然后把结果保存到 $0", - "baseType": "OcrOffline_GetOcrTextNew", - "functionName": "OcrOffline.GetOcrTextNew", - "functionCalls": [ - { - "function": "OcrOffline.GetOcrTextNew", - "args": [ - "uiSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_GetOcrTable", - "name": "获取表格数据(OCR)", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "采集软件或网页中可见的表格数据,并将数据保存到二维表中或变量中。", - "messageTemplate": "识别 $1 内表格内容 $2 的数据, 然后把结果保存到 $0", - "baseType": "OcrOffline_GetOcrTable", - "functionName": "OcrOffline.GetOcrTable", - "functionCalls": [ - { - "function": "OcrOffline.GetOcrTable", - "args": [ - "pictureSource", - "uiSelector", - "imagePath", - "showTable", - "isExcel", - "excelName", - "excelPath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到", - "数据", - "资料", - "数据信息" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本地图片", - "value": "0" - } - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "region", - "type": "object", - "displayType": "makeOcrTableSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "imagePath", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选表示启用,不勾选表示关闭", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isExcel", - "label": "将结果保存至Excel", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选表示启用,不勾选表示关闭", - "advanced": false, - "valueTypes": [] - }, - { - "key": "excelName", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "表格数据_${randomString}.xlsx", - "placeholder": "输入内容或 ${变量}", - "description": "填写参数值,支持 ${变量} 引用上游输出", - "advanced": false, - "valueTypes": [] - }, - { - "key": "excelPath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "${res}", - "placeholder": "如 D:\\output", - "description": "文件夹的完整路径;点右侧按钮浏览选择,支持 ${变量} 引用", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "表格数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "表格数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_GetOcrTextPosition", - "name": "图像OCR识别(含坐标)", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别,并输出包含文本坐标的结果文件。", - "messageTemplate": "识别 $1 文本内容 $2, 然后把结果保存到 $0", - "baseType": "OcrOffline_GetOcrTextPosition", - "functionName": "OcrOffline.GetOcrTextPosition", - "functionCalls": [ - { - "function": "OcrOffline.GetOcrTextPosition", - "args": [ - "pictureSource", - "uiSelector", - "image_path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "OCR", - "发票" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "pictureSource", - "label": "图像源", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "图像来源:从本地文件读取,或运行时截取屏幕", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "屏幕指定区域", - "value": "0" - }, - { - "label": "本地图片", - "value": "1" - } - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "目标元素选择器;网页元素可点「浏览器拾取」自动生成", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "image_path", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择本地路径", - "description": "图片的存储路径(请确认路径存在)", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图像识别", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图像识别", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_MoveToOcrText", - "name": "鼠标移动到OCR文本上", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "鼠标移动到OCR文本上。", - "messageTemplate": "鼠标移动到 $1 文本上, 然后把结果保存到 $0", - "baseType": "OcrOffline_MoveToOcrText", - "functionName": "OcrOffline.MoveToOcrText", - "functionCalls": [ - { - "function": "OcrOffline.MoveToOcrText", - "args": [ - "uiSelector", - "textToFind", - "show_track" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "需要识别的屏幕区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "textToFind", - "label": "匹配文字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文字字符", - "description": "需要识别定位的文本", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "移动结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "移动结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_ClickOcrText", - "name": "鼠标点击OCR文本", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "鼠标点击OCR文本。", - "messageTemplate": "鼠标点击 $1 文本, 然后把结果保存到 $0", - "baseType": "OcrOffline_ClickOcrText", - "functionName": "OcrOffline.ClickOcrText", - "functionCalls": [ - { - "function": "OcrOffline.ClickOcrText", - "args": [ - "uiSelector", - "textToFind", - "show_track" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": false, - "defaultValue": "", - "placeholder": "请拾取或选择目标元素", - "description": "需要识别的屏幕区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "textToFind", - "label": "匹配文字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文字字符", - "description": "需要识别点击的文本", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "点击结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "点击结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OcrOffline_MoveToOcrText_V1", - "name": "鼠标移动到OCR文本上", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR", - "peripheral_device" - ], - "categorySignature": "OCR|peripheral_device", - "description": "鼠标移动到OCR文本上。", - "messageTemplate": "鼠标移动到 $1 文本上, 然后把结果保存到 $0", - "baseType": "OcrOffline_MoveToOcrText", - "functionName": "OcrOffline.MoveToOcrText_V1", - "functionCalls": [ - { - "function": "OcrOffline.MoveToOcrText_V1", - "args": [ - "uiSelector", - "textToFind", - "show_track" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "文字", - "字符", - "字符串", - "文本内容", - "鼠标", - "鼠标设备", - "鼠标操作" - ], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiselectorOcr", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "需要识别的屏幕区域", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "textToFind", - "label": "匹配文字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文字字符", - "description": "需要识别定位的文本", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "show_track", - "label": "展示鼠标移动轨迹", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "移动结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "移动结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BaiDu_CarOCR", - "name": "汽车场景类OCR", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "用户AppKey $1 用户SecretKey $2 对 汽车场景下类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0", - "baseType": "OCR_BaiDu_CarOCR", - "functionName": "OCR_BaiDu.CarOCR", - "functionCalls": [ - { - "function": "OCR_BaiDu.CarOCR", - "args": [ - "AppKey", - "SecretKey", - "image_url", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "AppKey", - "label": "用户AppKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 API Key,在百度云控制台创建应用后获取", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户SecretKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 Secret Key,与 API Key 配对使用", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "图片在汽车场景下的分类", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "行驶证", - "value": "行驶证" - }, - { - "label": "驾驶证", - "value": "驾驶证" - }, - { - "label": "车牌", - "value": "车牌" - }, - { - "label": "vin码", - "value": "vin码" - }, - { - "label": "机动车销售发票", - "value": "机动车销售发票" - }, - { - "label": "车辆合格证", - "value": "车辆合格证" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BaiDu_OtherOCR", - "name": "其他场景类OCR", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "用户AppKey $1 用户SecretKey $2 对 其他场景下类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0", - "baseType": "OCR_BaiDu_OtherOCR", - "functionName": "OCR_BaiDu.OtherOCR", - "functionCalls": [ - { - "function": "OCR_BaiDu.OtherOCR", - "args": [ - "AppKey", - "SecretKey", - "image_url", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "AppKey", - "label": "用户AppKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 API Key,在百度云控制台创建应用后获取", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户SecretKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 Secret Key,与 API Key 配对使用", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "图片在其他场景下的分类", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "网络图片", - "value": "网络图片" - }, - { - "label": "数字", - "value": "数字" - }, - { - "label": "二维码", - "value": "二维码" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BaiDu_EducationOCR", - "name": "教育场景类OCR", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "用户AppKey $1 用户SecretKey $2 对 教育场景下类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0", - "baseType": "OCR_BaiDu_EducationOCR", - "functionName": "OCR_BaiDu.EducationOCR", - "functionCalls": [ - { - "function": "OCR_BaiDu.EducationOCR", - "args": [ - "AppKey", - "SecretKey", - "image_url", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "AppKey", - "label": "用户AppKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 API Key,在百度云控制台创建应用后获取", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户SecretKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 Secret Key,与 API Key 配对使用", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "图片在教育场景下的分类", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "手写", - "value": "手写" - }, - { - "label": "公式", - "value": "公式" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BaiDu_GeneralOCR", - "name": "通用OCR", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "用户AppKey $1 用户SecretKey $2 对 $3 进行OCR识别, 然后把结果保存到 $0", - "baseType": "OCR_BaiDu_GeneralOCR", - "functionName": "OCR_BaiDu.GeneralOCR", - "functionCalls": [ - { - "function": "OCR_BaiDu.GeneralOCR", - "args": [ - "AppKey", - "SecretKey", - "image_url" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "AppKey", - "label": "用户AppKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 API Key,在百度云控制台创建应用后获取", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户SecretKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 Secret Key,与 API Key 配对使用", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BaiDu_CardOCR", - "name": "卡片类OCR", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "用户AppKey $1 用户SecretKey $2 对 卡证类型为 $4 的$3 进行OCR识别, 然后把结果保存到 $0", - "baseType": "OCR_BaiDu_CardOCR", - "functionName": "OCR_BaiDu.CardOCR", - "functionCalls": [ - { - "function": "OCR_BaiDu.CardOCR", - "args": [ - "AppKey", - "SecretKey", - "image_url", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "AppKey", - "label": "用户AppKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 API Key,在百度云控制台创建应用后获取", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户SecretKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 Secret Key,与 API Key 配对使用", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "图片在卡证的分类", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "身份证", - "value": "身份证" - }, - { - "label": "银行卡", - "value": "银行卡" - }, - { - "label": "营业执照", - "value": "营业执照" - }, - { - "label": "名片", - "value": "名片" - }, - { - "label": "护照", - "value": "护照" - }, - { - "label": "港澳通行证", - "value": "港澳通行证" - }, - { - "label": "台湾通行证", - "value": "台湾通行证" - }, - { - "label": "户口本", - "value": "户口本" - }, - { - "label": "出生医学证明", - "value": "出生医学证明" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "OCR_BaiDu_PaperOCR", - "name": "票据类OCR", - "kind": "vendor", - "group": "vision", - "categories": [ - "OCR" - ], - "categorySignature": "OCR", - "description": "对目标文本内容进行通用OCR识别。", - "messageTemplate": "用户AppKey $1 用户SecretKey $2 对 票据类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0", - "baseType": "OCR_BaiDu_PaperOCR", - "functionName": "OCR_BaiDu.PaperOCR", - "functionCalls": [ - { - "function": "OCR_BaiDu.PaperOCR", - "args": [ - "AppKey", - "SecretKey", - "image_url", - "category" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "vision", - "risk": "low", - "fields": [ - { - "key": "AppKey", - "label": "用户AppKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 API Key,在百度云控制台创建应用后获取", - "advanced": false, - "valueTypes": [] - }, - { - "key": "SecretKey", - "label": "用户SecretKey", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "百度智能云应用的 Secret Key,与 API Key 配对使用", - "advanced": false, - "valueTypes": [] - }, - { - "key": "image_url", - "label": "图片地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "category", - "label": "图片在票据的分类", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用的识别引擎类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "增值税发票", - "value": "增值税发票" - }, - { - "label": "定额发票", - "value": "定额发票" - }, - { - "label": "火车票", - "value": "火车票" - }, - { - "label": "出租车票", - "value": "出租车票" - }, - { - "label": "行程单", - "value": "行程单" - }, - { - "label": "通用票据", - "value": "通用票据" - }, - { - "label": "保单", - "value": "保单" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_GetPdfInformation", - "name": "获取 PDF 文档信息", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "获取指定PDF 文档的信息,并以字典格式保存到变量中。", - "messageTemplate": "获取指定的 $1 的信息 , 然后把结果保存到 $0", - "baseType": "PDF_GetPdfInformation", - "functionName": "PDF.GetPdfInformation", - "functionCalls": [ - { - "function": "PDF.GetPdfInformation", - "args": [ - "fileInPath", - "pdfPassWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要提取信息的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "PDF文档信息", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "PDF文档信息", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_SetPdfWaterMark", - "name": "PDF 加水印", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "给指定的PDF 文档增加水印,并生成新的 PDF保存到指定的文件夹中。", - "messageTemplate": "给指定的 $1 添加水印生成新的PDF文档,并保存到指定文件夹中, 然后把结果保存到 $0", - "baseType": "PDF_SetPdfWaterMark", - "functionName": "PDF.SetPdfWaterMark", - "functionCalls": [ - { - "function": "PDF.SetPdfWaterMark", - "args": [ - "fileInPath", - "pdfPassWord", - "markType", - "markTextInfo", - "markImageInfo", - "newPdfName", - "isPassWord", - "newPdfPassWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要提取信息的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "markType", - "label": "水印类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "text", - "placeholder": "", - "description": "默认文字水印给整个PDF添加。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文字", - "value": "text" - } - ] - }, - { - "key": "markTextInfo", - "label": "水印文字内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入水印文字", - "description": "设置水印内容。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "markImageInfo", - "label": "图片水印内容", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置水印内容。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "newPdfName", - "label": "新 PDF 文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "PDF加水印.pdf", - "placeholder": "请输入加水印后文件名,需加文件后缀", - "description": "输入加水印后生成的新PDF文件名称,需加“.pdf”文件后缀,若文件重复则自动覆盖", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isPassWord", - "label": "新 PDF 文件是否加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "加水印后新生成的 PDF文件是否需要加密,加密选择是,需要填写密码。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "newPdfPassWord", - "label": "新PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入新PDF文件密码", - "description": "输入加水印后的文件密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "PDF文件", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "PDF文件", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_PdfEncryption", - "name": "加密 PDF 文档", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "把指定未加密的PDF 文档进行加密,并把文件路径保存到指定变量输出。", - "messageTemplate": "把指定未加密的普通 $1,进行加密后保存到指定文件夹中 , 然后把结果保存到 $0", - "baseType": "PDF_PdfEncryption", - "functionName": "PDF.PdfEncryption", - "functionCalls": [ - { - "function": "PDF.PdfEncryption", - "args": [ - "fileInPath", - "passWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "加密", - "数据加密", - "加密处理", - "加密数据", - "数据加密处理" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要加密的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "passWord", - "label": "设置PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请设置PDF文件密码", - "description": "设置打开PDF 文件需要输入的密码。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "加密文档路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "加密文档路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_GetPdfImg", - "name": "提取 PDF 图片", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "提取指定PDF 文件中指定页面内的图片,并保存到指定文件夹中。", - "messageTemplate": "提取指定的 $1 中指定的页面的图片 , 然后把结果保存到 $0", - "baseType": "PDF_GetPdfImg", - "functionName": "PDF.GetPdfImg", - "functionCalls": [ - { - "function": "PDF.GetPdfImg", - "args": [ - "fileInPath", - "pdfPassWord", - "pdfRange", - "pdfNum", - "imgSavePath", - "imageType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要提取图片的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pdfRange", - "label": "PDF 页面范围", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "选择提取全部页面图片还是指定页码图片。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部页", - "value": "all" - }, - { - "label": "指定页", - "value": "any" - } - ] - }, - { - "key": "pdfNum", - "label": "指定页码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件页码", - "description": "指定需要提取图片的PDF 页码,可以是单个页码(1)、多个页码(1,3)、区间页码(1-3)。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "imgSavePath", - "label": "图片保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择图片保存路径", - "description": "请输入保存图片的文件夹,若文件夹不存在会自动创建文件夹。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "imageType", - "label": "图片格式", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "png", - "placeholder": "", - "description": "选择保存为何种格式图片", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "PNG", - "value": "png" - }, - { - "label": "JPG", - "value": "jpg" - }, - { - "label": "GIF", - "value": "gif" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "输出图片路径", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "输出图片路径", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_GetPdfPageNum", - "name": "获取 PDF 总页数", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "获取指定PDF 文档的总页数,并以整数类型保存到变量中。", - "messageTemplate": "获取指定的 $1 的总页数 , 然后把结果保存到 $0", - "baseType": "PDF_GetPdfPageNum", - "functionName": "PDF.GetPdfPageNum", - "functionCalls": [ - { - "function": "PDF.GetPdfPageNum", - "args": [ - "fileInPath", - "pdfPassWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要获取总页数的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "总页数", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "总页数", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_ConcatPdf", - "name": "合并 PDF 文档", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "把指定的PDF 文档合并成一个新的 PDF 文档,并保存到指定的文件夹中。", - "messageTemplate": "把指定的 PDF 文档合并成一个 $1,并保存到指定文件夹中 , 然后把结果保存到 $0", - "baseType": "PDF_ConcatPdf", - "functionName": "PDF.ConcatPdf", - "functionCalls": [ - { - "function": "PDF.ConcatPdf", - "args": [ - "newPdfPath", - "newPdfName", - "isPassword", - "newPassword", - "pdfList" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "newPdfPath", - "label": "新 PDF 文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择合并后文件保存路径", - "description": "输入合并后的PDF文档的保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "newPdfName", - "label": "新 PDF 文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入合并后文件名称", - "description": "输入合并后文件名称,需加“.pdf”文件后缀,输入合并后的PDF文档的保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isPassword", - "label": "新 PDF 文件加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "新 PDF文件是否需要加密,加密的选择是,需要填写密码。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "newPassword", - "label": "新PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pdfList", - "label": "需要合并的PDF 文件及密码", - "widget": "text", - "type": "string", - "displayType": "mergePdfFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择需要合并的PDF 文件及对应的打开需要的密码,若无密码可不输入密码。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "合并文档路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "合并文档路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_ConcatPdfV1", - "name": "合并 PDF 文档", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "把指定的PDF 文档合并成一个新的 PDF 文档,并保存到指定的文件夹中。", - "messageTemplate": "把指定的 PDF 文档合并成一个 $1,并保存到指定文件夹中 , 然后把结果保存到 $0", - "baseType": "ConcatPdf", - "functionName": "PDF.ConcatPdfV1", - "functionCalls": [ - { - "function": "PDF.ConcatPdfV1", - "args": [ - "pdfList", - "is_need_password", - "password", - "password_split_ele", - "newPdfPath", - "newPdfName", - "isPassword", - "newPassword", - "action" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "PDF" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "pdfList", - "label": "待合并的PDF文件", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "输入或选择需要合并的文件路径", - "description": "需要合并的PDF文件路径;常规模式下,多个文件路径请使用分号隔离;代码模式下,多个文件路径的字符串请使用分号隔离", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "is_need_password", - "label": "文件需要密码", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "待合并的PDF文件是否需要密码", - "advanced": false, - "valueTypes": [] - }, - { - "key": "password", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "password_split_ele", - "label": "密码分隔符", - "widget": "textarea", - "type": "string", - "displayType": "textArea", - "required": true, - "defaultValue": "", - "placeholder": "输入密码分隔符", - "description": "分割多个密码使用的分割符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "newPdfPath", - "label": "新 PDF 文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择合并后文件保存路径", - "description": "输入合并后的PDF文档的保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "newPdfName", - "label": "新 PDF 文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入合并后文件名称", - "description": "输入合并后文件名称,需加“.pdf”文件后缀,输入合并后的PDF文档的保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isPassword", - "label": "新 PDF 文件加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "新 PDF文件是否需要加密,加密的选择是,需要填写密码。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "newPassword", - "label": "新PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "合并文档路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "合并文档路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_GetPdfTable", - "name": "读取 PDF 表格", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "提取指定PDF 文件中指定页面的表格数据,并以嵌套数组格式保存到变量中。(建议Python环境升级至3.11使用)。", - "messageTemplate": "提取指定的 $1 中指定的页面的表格数据 , 然后把结果保存到 $0", - "baseType": "PDF_GetPdfTable", - "functionName": "PDF.GetPdfTable", - "functionCalls": [ - { - "function": "PDF.GetPdfTable", - "args": [ - "fileInPath", - "pdfPassWord", - "pdfRange", - "pdfNum" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息", - "表格", - "数据表", - "表格数据" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要提取表格的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pdfRange", - "label": "PDF 页面范围", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "选择提取全部页面图片还是指定页码图片。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部页", - "value": "all" - }, - { - "label": "指定页", - "value": "any" - } - ] - }, - { - "key": "pdfNum", - "label": "指定页码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件页码", - "description": "指定需要提取表格的PDF 页码,可以是单个页码(1)、多个页码(1,3)、区间页码(1-3)。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "PDF表格数据", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "PDF表格数据", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_PdfToImg", - "name": "PDF 转图片", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "把指定的 PDF 文档中指定的页面转化为图片,保存到指定文件夹中。", - "messageTemplate": "将PDF $1 转为图片, 输出到目录 $6 , 然后把结果保存到 $0", - "baseType": "PDF_PdfToImg", - "functionName": "PDF.PdfToImg", - "functionCalls": [ - { - "function": "PDF.PdfToImg", - "args": [ - "fileInPath", - "pdfPassWord", - "pdfRange", - "pdfNum", - "imageName", - "pdfSavePath", - "imageType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要转换为图片的 PDF文件。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pdfRange", - "label": "PDF 页面范围", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "选择全部页面转为图片还是指定页码转为图片。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部页", - "value": "all" - }, - { - "label": "指定页", - "value": "any" - } - ] - }, - { - "key": "pdfNum", - "label": "指定页码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件页码", - "description": "指定需要转换为图片的PDF 页码,可以是单个页码(1)、多个页码(1,3)、区间页码(1-3)。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "imageName", - "label": "图片名称前缀", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入图片名前缀,输出图片名为“前缀_时间戳_后缀”", - "description": "图片的名称前缀,若保存多个图片时自动在图片名称后加页码后缀。图片的名称:前缀_时间戳_后缀,例如:图片_1203102301_1,图片名称重复时会覆盖。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pdfSavePath", - "label": "图片保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择图片保存路径", - "description": "请输入保存图片的文件夹,若文件夹不存在会自动创建文件夹。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "imageType", - "label": "图片格式", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "png", - "placeholder": "", - "description": "选择保存为何种格式图片", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "PNG", - "value": "png" - }, - { - "label": "JPG", - "value": "jpg" - }, - { - "label": "GIF", - "value": "gif" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "图片路径", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "图片路径", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_CreateNewPdf", - "name": "生成新的 PDF 文档", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "把指定的PDF 文档提取指定页面存为新的PDF文档,并保存到指定的文件夹中。", - "messageTemplate": "把指定的 $1 提取指定页面存为新的 PDF 文档 , 然后把结果保存到 $0", - "baseType": "PDF_CreateNewPdf", - "functionName": "PDF.CreateNewPdf", - "functionCalls": [ - { - "function": "PDF.CreateNewPdf", - "args": [ - "fileInPath", - "pdfPassWord", - "pdfRange", - "pdfNum", - "newPdfPath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "生成", - "产生", - "生成数据", - "创建", - "制作" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要生成为新的 PDF 文档的PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pdfRange", - "label": "PDF 页面范围", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "选择全部页面提取还是指定页码提取生成新的 PDF。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部页", - "value": "all" - }, - { - "label": "指定页", - "value": "any" - } - ] - }, - { - "key": "pdfNum", - "label": "指定页码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件页码", - "description": "指定需要提取的 PDF 页码,可以是单个页码:“1”,多个单页码:“1,3”,区间页码:“1-3”。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - }, - { - "key": "newPdfPath", - "label": "新PDF存储路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择生成后的文件保存路径", - "description": "新生成的PDF文档保存的文件夹路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "新PDF文档路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "新PDF文档路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_GetPdfText", - "name": "读取 PDF 文本", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "提取指定的PDF 文件中指定页面的内容,并以文字保存到变量。", - "messageTemplate": "提取指定的 $1 中指定页面的内容 , 然后把结果保存到 $0", - "baseType": "PDF_GetPdfText", - "functionName": "PDF.GetPdfText", - "functionCalls": [ - { - "function": "PDF.GetPdfText", - "args": [ - "fileInPath", - "pdfPassWord", - "pdfRange", - "pdfNum" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取", - "读取到", - "读取数据", - "读出", - "读取信息", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要提取文本的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "pdfRange", - "label": "PDF 页面范围", - "widget": "radio", - "type": "string", - "displayType": "radio", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "选择提取 PDF 的全部页面或指定页码文本。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部页", - "value": "all" - }, - { - "label": "指定页", - "value": "any" - } - ] - }, - { - "key": "pdfNum", - "label": "指定页码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件页码", - "description": "指定需要提取文本的PDF 页码,可以是单个页码 \"1\"、多个页码 \"1,3\"、区间页码 \"1-3\"。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "PDF_SetPdfWaterMarkV1", - "name": "PDF 加水印", - "kind": "vendor", - "group": "office", - "categories": [ - "pdf" - ], - "categorySignature": "pdf", - "description": "给指定的PDF 文档增加水印,并生成新的 PDF保存到指定的文件夹中。", - "messageTemplate": "给指定的 $1 添加水印生成新的PDF文档,并保存到指定文件夹中, 然后把结果保存到 $0", - "baseType": "PDF_SetPdfWaterMark", - "functionName": "PDF.SetPdfWaterMarkV1", - "functionCalls": [ - { - "function": "PDF.SetPdfWaterMarkV1", - "args": [ - "fileInPath", - "pdfPassWord", - "markType", - "markTextInfo", - "markImageInfo", - "markPosition", - "newPdfName", - "isPassWord", - "newPdfPassWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "PDF" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "fileInPath", - "label": "PDF文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择PDF文件路径", - "description": "请输入本地需要提取信息的 PDF 文件路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "pdfPassWord", - "label": "PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入PDF文件密码", - "description": "打开PDF文件需要的密码,若无密码可不输入。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "markType", - "label": "水印类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "text", - "placeholder": "", - "description": "默认文字水印给整个PDF添加。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文字", - "value": "text" - } - ] - }, - { - "key": "markTextInfo", - "label": "水印文字内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入水印文字", - "description": "设置水印内容。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "markImageInfo", - "label": "图片水印内容", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置水印内容。", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "markPosition", - "label": "水印位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择水印在每页上添加的位置", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整页", - "value": "1" - }, - { - "label": "右上角", - "value": "2" - }, - { - "label": "左上角", - "value": "3" - }, - { - "label": "右下角", - "value": "4" - }, - { - "label": "左下角", - "value": "5" - }, - { - "label": "正上方", - "value": "6" - }, - { - "label": "正下方", - "value": "7" - } - ] - }, - { - "key": "newPdfName", - "label": "新 PDF 文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "PDF加水印.pdf", - "placeholder": "请输入加水印后文件名,需加文件后缀", - "description": "输入加水印后生成的新PDF文件名称,需加“.pdf”文件后缀,若文件重复则自动覆盖", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isPassWord", - "label": "新 PDF 文件是否加密", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "加水印后新生成的 PDF文件是否需要加密,加密选择是,需要填写密码。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "newPdfPassWord", - "label": "新PDF文件密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入新PDF文件密码", - "description": "输入加水印后的文件密码", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "PDF文件", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "PDF文件", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "peripherals_UsbCom", - "name": "开/关USB通道", - "kind": "vendor", - "group": "mobile", - "categories": [ - "peripherals" - ], - "categorySignature": "peripherals", - "description": "打开或关闭USB端口使用USB Hub上某一个端口的USB设备信息。", - "messageTemplate": "$1 串口名称 $2 和通道号 $3 的USB通道, 然后把结果保存到 $0", - "baseType": "peripherals_UsbCom", - "functionName": "peripherals.UsbCom", - "functionCalls": [ - { - "function": "peripherals.UsbCom", - "args": [ - "handle", - "USBcoms", - "channel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "peripherals" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "handle", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "支持关闭或打开USB通道", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "打开", - "value": "0" - }, - { - "label": "关闭", - "value": "1" - } - ] - }, - { - "key": "USBcoms", - "label": "USBcoms", - "widget": "text", - "type": "string", - "displayType": "USBGetComs", - "required": true, - "defaultValue": "", - "placeholder": "请输入连接串口号", - "description": "输入连接串口号(USB hub连接电脑的COM接口,常用的有COM3),可在电脑设备管理查看电脑端口号。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "channel", - "label": "通道号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "输入需打开/关闭的序号", - "description": "输入需打开/关闭的序号,一个USB hub一般有很多USB口,每个USB口有不同的序号。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "USB开关结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "USB开关结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "peripherals_CloseNetworkUsbCom", - "name": "关闭NetworkUSB通道", - "kind": "vendor", - "group": "mobile", - "categories": [ - "peripherals" - ], - "categorySignature": "peripherals", - "description": "关闭Usb端口使用Usb Hub上某一个端口的USB设备信息。", - "messageTemplate": "填写串口ip地址 $1,端口号 $2和通道号 $3 关闭NetworkUSB通道, 然后把结果保存到 $0", - "baseType": "peripherals_CloseNetworkUsbCom", - "functionName": "peripherals.CloseNetworkUsbCom", - "functionCalls": [ - { - "function": "peripherals.CloseNetworkUsbCom", - "args": [ - "ipAddress", - "port", - "channel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "3240", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "channel", - "label": "通道号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "peripherals_CloseUsbCom", - "name": "关闭USB通道", - "kind": "vendor", - "group": "mobile", - "categories": [ - "peripherals" - ], - "categorySignature": "peripherals", - "description": "关闭Usb端口使用Usb Hub上某一个端口的USB设备信息。", - "messageTemplate": "选择串口名称 $1 和通道号 $2 关闭USB通道, 然后把结果保存到 $0", - "baseType": "peripherals_CloseUsbCom", - "functionName": "peripherals.CloseUsbCom", - "functionCalls": [ - { - "function": "peripherals.CloseUsbCom", - "args": [ - "USBcoms", - "channel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "USBcoms", - "label": "USBcoms", - "widget": "text", - "type": "string", - "displayType": "USBGetComs", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "channel", - "label": "通道号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "peripherals_NetworkUsbCom", - "name": "开/关NetworkUSB通道", - "kind": "vendor", - "group": "mobile", - "categories": [ - "peripherals" - ], - "categorySignature": "peripherals", - "description": "打开或关闭基于网络连接的USB端口使用USB Hub上某一个端口的USB设备信息。", - "messageTemplate": "$1 串口ip地址 $2,端口号 $3 和通道号 $4 的NetworkUSB通道, 然后把结果保存到 $0", - "baseType": "peripherals_NetworkUsbCom", - "functionName": "peripherals.NetworkUsbCom", - "functionCalls": [ - { - "function": "peripherals.NetworkUsbCom", - "args": [ - "handle", - "ipAddress", - "port", - "channel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "peripherals" - ], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "handle", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "支持关闭或打开Network USB通道", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "打开", - "value": "0" - }, - { - "label": "关闭", - "value": "1" - } - ] - }, - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入远程连接的ip地址", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "3240", - "placeholder": "请输入连接端口号", - "description": "输入连接端口号", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "channel", - "label": "通道号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "输入需打开/关闭的序号", - "description": "输入需打开/关闭的序号,一个USB hub一般有很多USB口,每个USB口有不同的序号。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "USB开关结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "USB开关结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "peripherals_OpenNetworkUsbCom", - "name": "开启NetworkUSB通道", - "kind": "vendor", - "group": "mobile", - "categories": [ - "peripherals" - ], - "categorySignature": "peripherals", - "description": "打开Usb端口使用Usb Hub上某一个端口的USB设备信息。", - "messageTemplate": "填写串口ip地址 $1,端口号 $2和通道号 $3 开启NetworkUSB通道, 然后把结果保存到 $0", - "baseType": "peripherals_OpenNetworkUsbCom", - "functionName": "peripherals.OpenNetworkUsbCom", - "functionCalls": [ - { - "function": "peripherals.OpenNetworkUsbCom", - "args": [ - "ipAddress", - "port", - "channel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "3240", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "channel", - "label": "通道号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "peripherals_OpenUsbCom", - "name": "开启USB通道", - "kind": "vendor", - "group": "mobile", - "categories": [ - "peripherals" - ], - "categorySignature": "peripherals", - "description": "打开Usb端口使用Usb Hub上某一个端口的USB设备信息。", - "messageTemplate": "选择串口名称 $1 和通道号 $2 开启USB通道, 然后把结果保存到 $0", - "baseType": "peripherals_OpenUsbCom", - "functionName": "peripherals.OpenUsbCom", - "functionCalls": [ - { - "function": "peripherals.OpenUsbCom", - "args": [ - "USBcoms", - "channel" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "mobile", - "risk": "high", - "fields": [ - { - "key": "USBcoms", - "label": "USBcoms", - "widget": "text", - "type": "string", - "displayType": "USBGetComs", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "channel", - "label": "通道号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_Test", - "name": "匹配判断", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,查找设定的正则表达式,是否能匹配上,并将结果输出到指定变量。", - "messageTemplate": "正则表达式 $2 在目标字符串 $1 中是否能够匹配 , 然后把结果保存到 $0", - "baseType": "Regex_Test", - "functionName": "Regex.Test", - "functionCalls": [ - { - "function": "Regex.Test", - "args": [ - "text", - "pattern" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正在表达式", - "匹配", - "match" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pattern", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_FindAll", - "name": "全部查找", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,使用正则表达式查找全部内容,并将结果输出到指定变量。", - "messageTemplate": "使用正则表达式 $2 查找 $1 全部内容, 然后把结果保存到 $0", - "baseType": "Regex_FindAll", - "functionName": "Regex.FindAll", - "functionCalls": [ - { - "function": "Regex.FindAll", - "args": [ - "text", - "pattern" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正在表达式", - "查找", - "sub" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pattern", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_FindNew_1", - "name": "文本内容提取(指定)", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "从目标文本中提取指定内容,如果有多个相同结果,支持提取指定次序的文案。", - "messageTemplate": "使用正则表达式 $2 ,提取文本 $1 中第 $4 个结果, 然后把结果保存到 $0", - "baseType": "Regex_Find", - "functionName": "Regex.FindNew_1", - "functionCalls": [ - { - "function": "Regex.FindNew_1", - "args": [ - "text", - "search", - "Config", - "index" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正在表达式", - "查找", - "search", - "文本" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果要输入文字数据,请写在英文双引号\" \"中。示例文字:\"杭州市人工智能小镇。\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "search", - "label": "选择表达式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "6", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取数字", - "value": "1" - }, - { - "label": "提取手机号", - "value": "2" - }, - { - "label": "提取email地址", - "value": "3" - }, - { - "label": "提取身份证号", - "value": "4" - }, - { - "label": "提取网址", - "value": "5" - }, - { - "label": "自定义正则表达式", - "value": "6" - } - ] - }, - { - "key": "Config", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "index", - "label": "提取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_FindStr", - "name": "文本内容提取", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "从目标文本中提取指定内容,可以提取其中一个,返回一个文本。也可以提取全部,返回一个列表。", - "messageTemplate": "从文本 $1 $2, 然后把结果保存到 $0", - "baseType": "Regex_FindStr", - "functionName": "Regex.FindStr", - "functionCalls": [ - { - "function": "Regex.FindStr", - "args": [ - "string", - "extract", - "expression", - "extract_range", - "extract_pos", - "to_int" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "提取" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "extract", - "label": "提取内容", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "提取目标文本中的指定内容", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取数字", - "value": "1" - }, - { - "label": "提取手机号", - "value": "2" - }, - { - "label": "提取email地址", - "value": "3" - }, - { - "label": "提取身份证号", - "value": "4" - }, - { - "label": "提取网址", - "value": "5" - }, - { - "label": "自定义正则表达式", - "value": "6" - } - ] - }, - { - "key": "expression", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "regularValidation", - "required": true, - "defaultValue": "\"\\d+\"", - "placeholder": "请输入正则表达式,例如:数字输入\\d+", - "description": "对应提取内容的正则表达式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "extract_range", - "label": "提取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以选择提取一个,将返回一个文本。也可以选择提取全部,返回一个文本列表。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取全部", - "value": "1" - }, - { - "label": "提取一个", - "value": "2" - } - ] - }, - { - "key": "extract_pos", - "label": "提取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "选择提取一个后,可以设置提取匹配到的第几个文本。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "to_int", - "label": "提取内容转为数值类型", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "提取结果保存到", - "key": "var_name", - "suggestedName": "提取内容", - "valueTypes": [ - "rpa_int", - "rpa_str", - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "提取结果保存到", - "defaultValue": "提取内容", - "valueTypes": [ - "rpa_int", - "rpa_str", - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_FindNew", - "name": "指定查找", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,使用正则表达式查找指定索引的内容,并将结果输出到指定变量(此为老版组件,建议使用“ 文本内容提取(指定)”组件替代)。", - "messageTemplate": "使用正则表达式 $2 ,查找字符串 $1 中索引为 $4 的目标, 然后把结果保存到 $0", - "baseType": "Regex_Find", - "functionName": "Regex.FindNew", - "functionCalls": [ - { - "function": "Regex.FindNew", - "args": [ - "text", - "search", - "Config", - "index" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正在表达式", - "查找", - "search", - "文本" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果要输入文字数据,请写在英文双引号\" \"中。示例文字:\"杭州市人工智能小镇。\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "search", - "label": "选择表达式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "6", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取数字", - "value": "1" - }, - { - "label": "提取手机号", - "value": "2" - }, - { - "label": "提取email地址", - "value": "3" - }, - { - "label": "提取身份证号", - "value": "4" - }, - { - "label": "提取网址", - "value": "5" - }, - { - "label": "自定义正则表达式", - "value": "6" - } - ] - }, - { - "key": "Config", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "index", - "label": "索引", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_FindAllNew", - "name": "文本内容提取(全部)", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "从目标文本中提取全部符合条件的内容。", - "messageTemplate": "使用正则表达式 $2,提取文本 $1 中全部内容, 然后把结果保存到 $0", - "baseType": "Regex_FindAll", - "functionName": "Regex.FindAllNew", - "functionCalls": [ - { - "function": "Regex.FindAllNew", - "args": [ - "text", - "search", - "Config" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正在表达式", - "查找", - "sub", - "文本" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "如果要输入文字数据,请写在英文双引号\" \"中。示例文字:\"杭州市人工智能小镇。\"", - "advanced": false, - "valueTypes": [] - }, - { - "key": "search", - "label": "选择表达式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "6", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取数字", - "value": "1" - }, - { - "label": "提取手机号", - "value": "2" - }, - { - "label": "提取email地址", - "value": "3" - }, - { - "label": "提取身份证号", - "value": "4" - }, - { - "label": "提取网址", - "value": "5" - }, - { - "label": "自定义正则表达式", - "value": "6" - } - ] - }, - { - "key": "Config", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_TestNew", - "name": "判断文本匹配", - "kind": "vendor", - "group": "data", - "categories": [ - "string", - "judgment" - ], - "categorySignature": "string|judgment", - "description": "在目标文本中,查找指定内容,判断是否存在且能匹配上,能匹配返回“True”,不能匹配返回“False。", - "messageTemplate": "判断正则表达式 $2 是否能够从文本 $1 中匹配出内容, 然后把结果保存到 $0", - "baseType": "Regex_Test", - "functionName": "Regex.TestNew", - "functionCalls": [ - { - "function": "Regex.TestNew", - "args": [ - "text", - "search", - "Config" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正则表达式", - "匹配", - "文本", - "match", - "判断", - "判定", - "判别", - "判断出", - "识别", - "文字", - "字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入目标文本", - "description": "在文本模式下,直接输入目标文本;在表达式模式下,文本需加上双引号\"\",例:\"实在智能科技\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "search", - "label": "选择表达式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "6", - "placeholder": "", - "description": "选择匹配内容的类型,在下方生成该类型表达式的框架", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取数字", - "value": "1" - }, - { - "label": "提取手机号", - "value": "2" - }, - { - "label": "提取email地址", - "value": "3" - }, - { - "label": "提取身份证号", - "value": "4" - }, - { - "label": "提取网址", - "value": "5" - }, - { - "label": "自定义正则表达式", - "value": "6" - } - ] - }, - { - "key": "Config", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "regularValidation", - "required": true, - "defaultValue": "", - "placeholder": "请输入需要匹配的内容的正则表达式", - "description": "输入需要匹配内容的正则表达式或文本", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "匹配结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "匹配结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_FindStrV1", - "name": "提取文本内容", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "从目标文本中提取指定内容,可以提取其中一个,返回一个文本。也可以提取全部,返回一个列表。", - "messageTemplate": "从文本 $1 $2, 然后把结果保存到 $0", - "baseType": "Regex_FindStr", - "functionName": "Regex.FindStrV1", - "functionCalls": [ - { - "function": "Regex.FindStrV1", - "args": [ - "string", - "extract", - "expression", - "extract_range", - "extract_pos", - "to_int" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "提取", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "extract", - "label": "提取内容", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "提取目标文本中的指定内容", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取数字", - "value": "1" - }, - { - "label": "提取手机号", - "value": "2" - }, - { - "label": "提取email地址", - "value": "3" - }, - { - "label": "提取身份证号", - "value": "4" - }, - { - "label": "提取网址", - "value": "5" - }, - { - "label": "自定义正则表达式", - "value": "6" - } - ] - }, - { - "key": "expression", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "regularValidation", - "required": true, - "defaultValue": "\"([+-]?\\d+\\.\\d+|[+-]?\\d+)\"", - "placeholder": "请输入正则表达式,例如:数字输入\\d+", - "description": "对应提取内容的正则表达式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "extract_range", - "label": "提取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以选择提取一个,将返回一个文本。也可以选择提取全部,返回一个文本列表。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "提取全部", - "value": "1" - }, - { - "label": "提取一个", - "value": "2" - } - ] - }, - { - "key": "extract_pos", - "label": "提取第几个", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "选择提取一个后,可以设置提取匹配到的第几个文本。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "to_int", - "label": "提取内容转为数值类型", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "提取结果保存到", - "key": "var_name", - "suggestedName": "提取内容", - "valueTypes": [ - "rpa_num", - "rpa_str", - "rpa_list", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "提取结果保存到", - "defaultValue": "提取内容", - "valueTypes": [ - "rpa_num", - "rpa_str", - "rpa_list", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Regex_Find", - "name": "指定查找", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,使用正则表达式查找指定索引的内容,并将结果输出到指定变量。", - "messageTemplate": "使用正则表达式 $2 ,查找字符串 $1 中索引为 $3 的目标, 然后把结果保存到 $0", - "baseType": "Regex_Find", - "functionName": "Regex.Find", - "functionCalls": [ - { - "function": "Regex.Find", - "args": [ - "text", - "pattern", - "index" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "正在表达式", - "查找", - "search" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "text", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pattern", - "label": "正则表达式", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "index", - "label": "索引", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "SafeControlInput_KeyInput", - "name": "安全控件文本输入", - "kind": "vendor", - "group": "desktop", - "categories": [ - "SafeControlInput" - ], - "categorySignature": "SafeControlInput", - "description": "。", - "messageTemplate": "安全控件文本输入, 然后把结果保存到 $0", - "baseType": "SafeControlInput_KeyInput", - "functionName": "SafeControlInput.KeyInput", - "functionCalls": [ - { - "function": "SafeControlInput.KeyInput", - "args": [ - "content" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "安全控件文本输入", - "安全" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "content", - "label": "文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "bool", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "bool", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Scenario_CreditVerify", - "name": "征信报告解析", - "kind": "vendor", - "group": "message", - "categories": [ - "Scenario" - ], - "categorySignature": "Scenario", - "description": "指定征信报告的图片,对图片内容进行识别,并将识别字段全部输出。", - "messageTemplate": "$1 识别征信报告的内容, 然后把结果保存到 $0", - "baseType": "Scenario_CreditVerify", - "functionName": "Scenario.CreditVerify", - "functionCalls": [ - { - "function": "Scenario.CreditVerify", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "path", - "label": "报告地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "dictRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "dictRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Scenario_VatInvoice", - "name": "增值税发票验真", - "kind": "vendor", - "group": "message", - "categories": [ - "Scenario" - ], - "categorySignature": "Scenario", - "description": "指定增值税发票的图片,对图片内容进行识别,并将识别字段(区分标题和内容,分组)全部输出,而后到增值税发票验证平台,自动录入指定字段,进行发票的验证。并将返回结果输出。", - "messageTemplate": "$1 识别增值税发票的真假, 然后把结果保存到 $0", - "baseType": "Scenario_VatInvoice", - "functionName": "Scenario.VatInvoice", - "functionCalls": [ - { - "function": "Scenario.VatInvoice", - "args": [ - "path", - "type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "path", - "label": "发票地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "ie", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "boolRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "boolRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Scenario_PhysicalExamination", - "name": "体检报告解析", - "kind": "vendor", - "group": "message", - "categories": [ - "Scenario" - ], - "categorySignature": "Scenario", - "description": "指定体检报告的图片,对图片内容进行识别,并将识别字段全部输出。", - "messageTemplate": "$1 识别体检报告的内容, 然后把结果保存到 $0", - "baseType": "Scenario_PhysicalExamination", - "functionName": "Scenario.PhysicalExamination", - "functionCalls": [ - { - "function": "Scenario.PhysicalExamination", - "args": [ - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "path", - "label": "报告地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Scenario_TextComparison", - "name": "文档比对", - "kind": "vendor", - "group": "message", - "categories": [ - "Scenario" - ], - "categorySignature": "Scenario", - "description": "对输入的两个文档进行差异的比对,输出其差异点位置和差异内容。", - "messageTemplate": "源文件 $1 目标文件 $2 识别文件差异, 然后把结果保存到 $0", - "baseType": "Scenario_TextComparison", - "functionName": "Scenario.TextComparison", - "functionCalls": [ - { - "function": "Scenario.TextComparison", - "args": [ - "sourceFilePath", - "targetFilePath" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "message", - "risk": "high", - "fields": [ - { - "key": "sourceFilePath", - "label": "源文件地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "targetFilePath", - "label": "目标文件地址", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "ScreenControl_Screenlock", - "name": "屏幕锁屏", - "kind": "vendor", - "group": "app", - "categories": [ - "ScreenControl" - ], - "categorySignature": "ScreenControl", - "description": "屏幕锁屏,并设置用户名和密码。", - "messageTemplate": "屏幕锁屏,并设置用户名 $1 ,密码 $2, 然后把结果保存到 $0", - "baseType": "ScreenControl_Screenlock", - "functionName": "ScreenControl.Screenlock", - "functionCalls": [ - { - "function": "ScreenControl.Screenlock", - "args": [ - "username", - "pwd", - "width", - "height", - "scale_factor", - "port" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "ScreenControl", - "处理", - "操作" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [], - "label": "锁屏" - }, - { - "id": "ScreenControl_ScreenUnlock", - "name": "唤醒屏幕(非登录解锁)", - "kind": "vendor", - "group": "app", - "categories": [ - "ScreenControl" - ], - "categorySignature": "ScreenControl", - "description": "仅尝试唤醒屏幕,不支持通过账号密码自动完成 Windows 登录解锁。锁屏后仍需本人手动登录。", - "messageTemplate": "尝试唤醒屏幕;Windows 登录锁屏需人工解锁", - "baseType": "ScreenControl_ScreenUnlock", - "functionName": "ScreenControl.ScreenUnlock", - "functionCalls": [ - { - "function": "ScreenControl.ScreenUnlock", - "args": [ - "username", - "pwd" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "ScreenControl", - "处理", - "操作" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [], - "label": "解锁屏幕(仅唤醒,登录锁屏需手动输入密码)" - }, - { - "id": "StrUtil_InStr", - "name": "查找", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串内查找指定的字符,返回查找到的字符的位置,如果没有找到,返回-1,可设定起始位置。", - "messageTemplate": "对 $1 从索引值 $3 开始查找 $2 的索引值, 然后把结果保存到 $0", - "baseType": "StrUtil_InStr", - "functionName": "StrUtil.InStr", - "functionCalls": [ - { - "function": "StrUtil.InStr", - "args": [ - "string", - "search", - "startIndex" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查找字符", - "字符定位" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "search", - "label": "查找内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "startIndex", - "label": "起始索引", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_ListToString", - "name": "列表聚合成文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将列表中的每个值,用指定的符号连接起来,最终转化成一个长文本字符串输出。", - "messageTemplate": "把 $1 列表值通过连接符,聚合成字符串, 然后把结果保存到 $0", - "baseType": "StrUtil_ListToString", - "functionName": "StrUtil.ListToString", - "functionCalls": [ - { - "function": "StrUtil.ListToString", - "args": [ - "str_list", - "connectors", - "standard", - "connectors_num", - "connectors_custom" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "列表", - "聚合", - "文本", - "合成文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "str_list", - "label": "待聚合列表", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择或输入需要聚合操作的列表list", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "connectors", - "label": "连接符类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择数据之间的连接符类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无连接符", - "value": "1" - }, - { - "label": "标准连接符", - "value": "2" - }, - { - "label": "自定义连接符", - "value": "3" - } - ] - }, - { - "key": "standard", - "label": "标准连接符", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": " ", - "placeholder": "", - "description": "选择数据之间的连接符", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "空格符", - "value": " " - }, - { - "label": "制表符", - "value": "\t" - }, - { - "label": "换行符", - "value": "\n" - } - ] - }, - { - "key": "connectors_num", - "label": "连接符数量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入数据之间需要的连接符数量", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "connectors_custom", - "label": "自定义连接符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入需要聚合文本之间的连接符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "聚合文本", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "聚合文本", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CharCode", - "name": "将ASCII码转换为文本", - "kind": "vendor", - "group": "data", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将指定的ASCII码转换为文本,并输出到指定变量。", - "messageTemplate": "将 $1 ASCII码转换为字符串, 然后把结果保存到 $0", - "baseType": "StrUtil_CharCode", - "functionName": "StrUtil.CharCode", - "functionCalls": [ - { - "function": "StrUtil.CharCode", - "args": [ - "code" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字符转ASCⅡ码", - "ASCⅡ码", - "字符", - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "文本", - "文字" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "code", - "label": "待转换ASCII码", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "65", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CutOutStrV1", - "name": "截取文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "截取目标文本中的一小段文本。", - "messageTemplate": "截取文本 $1 $2 截取{$$5 == 1 && '至文本末尾'}{$$5 == 2 && '指定长度 $6 个单位长度'}, 然后把结果保存到 $0", - "baseType": "StrUtil_CutOutStr", - "functionName": "StrUtil.CutOutStrV1", - "functionCalls": [ - { - "function": "StrUtil.CutOutStrV1", - "args": [ - "string", - "start_cut_type", - "start_cut_pos", - "start_cut_str", - "end_cut_type", - "end_cut_length", - "end_cut_pos", - "end_cut_txt" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "追加", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "start_cut_type", - "label": "起始位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "从哪个位置开始截取文本。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "从首个字符开始", - "value": "1" - }, - { - "label": "从指定位置开始", - "value": "2" - }, - { - "label": "从指定文本开始", - "value": "3" - } - ] - }, - { - "key": "start_cut_pos", - "label": "指定开始位置", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "开始截取的位置,仅支持输入正整数。大于文本长度时,返回空文本", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "start_cut_str", - "label": "指定开始文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "可以输入文本,从这一文本开始截取目标文本,示例:“待截取”。未找到指定文本时,返回空文本。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "end_cut_type", - "label": "结束位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "3", - "placeholder": "", - "description": "截取结束的位置。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "目标文本结尾", - "value": "1" - }, - { - "label": "截取指定长度", - "value": "2" - }, - { - "label": "到指定位置结束", - "value": "3" - }, - { - "label": "到指定文本结束", - "value": "4" - } - ] - }, - { - "key": "end_cut_length", - "label": "指定长度", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入一个数字(从起始位置到结束位置的文本长度),为空时截取到目标文本结尾。大于文本长度时,截取到文本结尾。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_cut_pos", - "label": "指定结束位置", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "指定位置为正整数时,代表截取到顺序第n个字符为止;指定位置为负整数时,代表截取到倒数第n个字符为止。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "end_cut_txt", - "label": "指定结束文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "从选择的起始位置开始,顺序截取,到指定的结束字符为止。建议填写多个连续字符以保证结束位置的唯一性。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "截取结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "截取结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CreateRandomStr", - "name": "创建随机文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "生成包含随机字符,并具有指定长度的文本。可用于生成密码等场景。", - "messageTemplate": "创建一个{$$3 == 1 && '$4 位的固定长度'}{$$3 == 2 && '$5 位的随机长度'}的随机文本, 然后把结果保存到 $0", - "baseType": "StrUtil_CreateRandomStr", - "functionName": "StrUtil.CreateRandomStr", - "functionCalls": [ - { - "function": "StrUtil.CreateRandomStr", - "args": [ - "str_contain", - "special_str", - "length_type", - "string_length", - "min_max_length" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "随机", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "str_contain", - "label": "包含文本类型", - "widget": "boolean", - "type": "boolean", - "displayType": "checkBoxGroup", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "勾选对应的文本类型后,随机文本中将至少包含一个字符。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "special_str", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": " ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "length_type", - "label": "文本长度", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "请输入正整数", - "description": "选择随机文本的长度模式,长度随机还是固定。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "固定长度", - "value": "1" - }, - { - "label": "随机长度", - "value": "2" - } - ] - }, - { - "key": "string_length", - "label": "文本长度", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "6", - "placeholder": "请输入正整数", - "description": " ", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "min_max_length", - "label": "文本长度", - "widget": "number", - "type": "number", - "displayType": "rangeInput", - "required": false, - "defaultValue": "", - "placeholder": "请输入正整数", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "随机结果保存到", - "key": "var_name", - "suggestedName": "随机文本", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "随机结果保存到", - "defaultValue": "随机文本", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_SplitStr", - "name": "分割文本为列表", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将目标文本按指定的分隔符分割为一个列表。可用于大文本的分段循环处理或者将分隔后的小文本存储于Excel中。", - "messageTemplate": "将 $1 用{$$2 == 1 && '标准分隔符 $3'}{ $$2 == 2 && '自定义分隔符 $5'}{ $$2 == 3 && '文本长度 $7'}分割, 然后把结果保存到 $0", - "baseType": "StrUtil_SplitStr", - "functionName": "StrUtil.SplitStr", - "functionCalls": [ - { - "function": "StrUtil.SplitStr", - "args": [ - "string", - "split_type", - "split_symbol", - "split_num", - "diy_symbol", - "is_re", - "string_length", - "del_trim" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字符串分割", - "拆分字符串", - "split", - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "split_type", - "label": "分隔符类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择目标文本中含有的字符来进行分割。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "标准", - "value": "1" - }, - { - "label": "自定义", - "value": "2" - }, - { - "label": "文本长度", - "value": "3" - } - ] - }, - { - "key": "split_symbol", - "label": "标准分隔符", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "空格符", - "value": "1" - }, - { - "label": "制表符", - "value": "2" - }, - { - "label": "换行符", - "value": "3" - } - ] - }, - { - "key": "split_num", - "label": "分隔符次数", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "1", - "placeholder": "请输入正整数", - "description": "指连续含有多少个分隔符时才进行分割。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "diy_symbol", - "label": "自定义分隔符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入自定义分隔符,例如:,", - "description": "可以输入自定义的字符,也可以输入正则表达式(是否正则表达式必须为是)。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "is_re", - "label": "是否正则表达式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否将自定义字符作为正则表达式去匹配。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "string_length", - "label": "文本长度", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "请输入正整数", - "description": "可以将文本分割为指定长度,最后一个小于分割长度时,将不再分割。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "del_trim", - "label": "是否去除空白项", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "分割后是否将内容为空的项去除掉。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "分割结果保存到", - "key": "var_name", - "suggestedName": "数据列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "分割结果保存到", - "defaultValue": "数据列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Split", - "name": "分割字符串", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将目标字符串,按指定的分割符进行分割,并以数组的形式输出到指定变量。", - "messageTemplate": "将 $1 按字符 $2 进行分割, 然后把结果保存到 $0", - "baseType": "StrUtil_Split", - "functionName": "StrUtil.Split", - "functionCalls": [ - { - "function": "StrUtil.Split", - "args": [ - "string", - "spliter" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字符串分割", - "拆分字符串", - "split" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "spliter", - "label": "分隔符", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CaseChange", - "name": "转换大小写", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将目标文本中含有字母的内容统一转换为大写或者小写,并输出给指定变量。", - "messageTemplate": "将 $1 全部字母 $2, 然后把结果保存到 $0", - "baseType": "StrUtil_CaseChange", - "functionName": "StrUtil.CaseChange", - "functionCalls": [ - { - "function": "StrUtil.CaseChange", - "args": [ - "string", - "case" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转换", - "转变", - "转换格式", - "转换类型", - "变换" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量 ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "case", - "label": "转换方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "将目标文本中的英文字母转换为大写或小写", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "转换为大写", - "value": "1" - }, - { - "label": "转换为小写", - "value": "2" - } - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_AddToStr", - "name": "追加文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标文本后追加新文本,可用于文本拼接。例如将Excel表格里的多个单元格内容追加到一段文本中。", - "messageTemplate": "在目标文本 $1 后追加文本 $2, 然后把结果保存到 $0", - "baseType": "StrUtil_AddToStr", - "functionName": "StrUtil.AddToStr", - "functionCalls": [ - { - "function": "StrUtil.AddToStr", - "args": [ - "string", - "add_str", - "add_type", - "symbol" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "追加", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量 ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "add_str", - "label": "追加文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入一段追加文本", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "add_type", - "label": "追加方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择目标文本和追加文本的拼接方式、拼接符号。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "直接追加", - "value": "0" - }, - { - "label": "换行追加", - "value": "1" - }, - { - "label": "空格追加", - "value": "2" - }, - { - "label": "顿号追加", - "value": "3" - }, - { - "label": "逗号追加", - "value": "4" - }, - { - "label": "自定义符号追加", - "value": "5" - } - ] - }, - { - "key": "symbol", - "label": "自定义符号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入目标文本与追加文本的连接符号,例如:+", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "追加结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "追加结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Rtrim", - "name": "裁剪右侧空格", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "裁剪目标字符串右侧的空格,并输出到指定变量。", - "messageTemplate": "将 $1 裁剪右侧空格, 然后把结果保存到 $0", - "baseType": "StrUtil_Rtrim", - "functionName": "StrUtil.Rtrim", - "functionCalls": [ - { - "function": "StrUtil.Rtrim", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "空格", - "裁剪", - "字符串裁剪" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_DelTrim", - "name": "去除文本两端空格", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "去除目标文本开头、结尾的空格字符,例如:空格、换行符、制表符等。", - "messageTemplate": "去除 $1 $2, 然后把结果保存到 $0", - "baseType": "StrUtil_DelTrim", - "functionName": "StrUtil.DelTrim", - "functionCalls": [ - { - "function": "StrUtil.DelTrim", - "args": [ - "string", - "strip_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "strip_type", - "label": "去除方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择需要去除哪些空格。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "开头和结尾空格", - "value": "1" - }, - { - "label": "开头空格", - "value": "2" - }, - { - "label": "结尾空格", - "value": "3" - } - ] - } - ], - "output": { - "label": "去除结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "去除结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CutOutStr", - "name": "截取文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "截取目标文本中的一小段文本。", - "messageTemplate": "截取文本 $1 $2 截取{$$5 == 1 && '至文本末尾'}{$$5 == 2 && '指定长度 $6 个单位长度'}, 然后把结果保存到 $0", - "baseType": "StrUtil_CutOutStr", - "functionName": "StrUtil.CutOutStr", - "functionCalls": [ - { - "function": "StrUtil.CutOutStr", - "args": [ - "string", - "start_cut_type", - "start_cut_pos", - "start_cut_str", - "end_cut_type", - "end_cut_length" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "追加" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "start_cut_type", - "label": "起始位置", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "从哪个位置开始截取文本。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "从首个字符开始", - "value": "1" - }, - { - "label": "从指定位置开始", - "value": "2" - }, - { - "label": "从指定文本开始", - "value": "3" - } - ] - }, - { - "key": "start_cut_pos", - "label": "指定位置", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "开始截取的位置,仅支持输入正整数。大于文本长度时,返回空文本", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "start_cut_str", - "label": "指定文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "可以输入文本,从这一文本开始截取目标文本,示例:“待截取”。未找到指定文本时,返回空文本。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "end_cut_type", - "label": "结束位置", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "截取结束的位置。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "目标文本结尾", - "value": "1" - }, - { - "label": "截取指定长度", - "value": "2" - } - ] - }, - { - "key": "end_cut_length", - "label": "指定长度", - "widget": "number", - "type": "number", - "displayType": "number", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入一个数字(从起始位置到结束位置的文本长度),为空时截取到目标文本结尾。大于文本长度时,截取到文本结尾。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "截取结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "截取结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Trim", - "name": "裁剪两侧空格", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "裁剪目标字符串两侧的空格,并输出到指定变量。", - "messageTemplate": "将 $1 裁剪两侧空格, 然后把结果保存到 $0", - "baseType": "StrUtil_Trim", - "functionName": "StrUtil.Trim", - "functionCalls": [ - { - "function": "StrUtil.Trim", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_LowerCase", - "name": "字母转小写", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将目标字符串的全部字符,转换为小写,并输出到指定变量 。", - "messageTemplate": "将 $1 的中全部字母转换小写, 然后把结果保存到 $0", - "baseType": "StrUtil_LowerCase", - "functionName": "StrUtil.LowerCase", - "functionCalls": [ - { - "function": "StrUtil.LowerCase", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转小写", - "字母转换", - "字母大小写" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_LookUpStr", - "name": "查找文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "对目标文本查找指定内容,返回查找到的位置。如果没有找到返回0,如果找到将返回一个列表,例如:[10,25,60]。", - "messageTemplate": "对 $1 从起始位置 $3 到结束位置 $4 开始查找内容 $2, 然后把结果保存到 $0", - "baseType": "StrUtil_LookUpStr", - "functionName": "StrUtil.LookUpStr", - "functionCalls": [ - { - "function": "StrUtil.LookUpStr", - "args": [ - "string", - "search", - "startIndex", - "endIndex" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "查找字符", - "字符定位", - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量 ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "search", - "label": "查找内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "查找目标文本中的指定内容", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "startIndex", - "label": "起始位置", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "1", - "placeholder": "请输入数字,1表示首个字符", - "description": "开始查找的位置,可以输入数字。1表示开始首个字符。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "endIndex", - "label": "结束位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入数字,空表示文本结尾", - "description": "结束查找的位置,可以输入数字。空表示从开始位置查找到目标文本的结尾。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "查询结果保存到", - "key": "var_name", - "suggestedName": "文本位置", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "查询结果保存到", - "defaultValue": "文本位置", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_ReverseStr", - "name": "反转文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将目标文本按照顺序反转。", - "messageTemplate": "将 $1 进行反转, 然后把结果保存到 $0", - "baseType": "StrUtil_ReverseStr", - "functionName": "StrUtil.ReverseStr", - "functionCalls": [ - { - "function": "StrUtil.ReverseStr", - "args": [ - "string", - "letter_reverse" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "反转", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "letter_reverse", - "label": "单词字母是否反转", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "如果一段文本中存在英文单词,是否将英文单词里的字母也进行反转。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - } - ], - "output": { - "label": "反转结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "反转结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_UpperCase", - "name": "字母转大写", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将目标字符串的全部字符,转换为大写,并输出到指定变量。", - "messageTemplate": "将 $1 的中全部字母转换大写, 然后把结果保存到 $0", - "baseType": "StrUtil_UpperCase", - "functionName": "StrUtil.UpperCase", - "functionCalls": [ - { - "function": "StrUtil.UpperCase", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "转大写", - "字母转换", - "字母大小写" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Mid", - "name": "取中间内容", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,获取指定位置的字符串,并输出到指定变量,可设定截取的起始字符位置。", - "messageTemplate": "获取 $1 从索引值 $2 开始长度为 $3 的内容, 然后把结果保存到 $0", - "baseType": "StrUtil_Mid", - "functionName": "StrUtil.Mid", - "functionCalls": [ - { - "function": "StrUtil.Mid", - "args": [ - "string", - "start", - "length" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截取字符串", - "获取字符", - "中间字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "start", - "label": "起始索引", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "length", - "label": "截取长度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CharAsc", - "name": "将文本转换为ASCII码", - "kind": "vendor", - "group": "data", - "categories": [ - "data_type_conversion" - ], - "categorySignature": "data_type_conversion", - "description": "将指定的文本转换为ASCII码,并输出到指定变量。", - "messageTemplate": "将 $1 字符转换为ASCII码, 然后把结果保存到 $0", - "baseType": "StrUtil_CharAsc", - "functionName": "StrUtil.CharAsc", - "functionCalls": [ - { - "function": "StrUtil.CharAsc", - "args": [ - "char" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字符转ASCⅡ码", - "ASCⅡ码", - "字符", - "转换", - "转变", - "转换格式", - "转换类型", - "变换", - "文本", - "文字" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "char", - "label": "待转换文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "A", - "placeholder": "", - "description": "仅支持一个字符", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "ASCII码值", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "ASCII码值", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_CompleteStr", - "name": "补齐文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将特定字符添加到目标文本,来创建固定长度的文本。可用于编号场景,自动将数字前面补0或后面补0形成固定长度文本。", - "messageTemplate": "对文本 $1 使用 $3 补齐到长度 $4, 然后把结果保存到 $0", - "baseType": "StrUtil_CompleteStr", - "functionName": "StrUtil.CompleteStr", - "functionCalls": [ - { - "function": "StrUtil.CompleteStr", - "args": [ - "string", - "com_type", - "com_string", - "sum_length" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文本", - "补齐", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "com_type", - "label": "补齐方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以在目标文本的开始和结尾补齐。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "开头", - "value": "1" - }, - { - "label": "结尾", - "value": "0" - } - ] - }, - { - "key": "com_string", - "label": "用于补齐的文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入一个字符,例如: *", - "description": "用于补齐的字符,仅支持单字符,示例:“*”。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "sum_length", - "label": "总长度", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "10", - "placeholder": "请输入正整数", - "description": "补齐后的文本长度。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "补齐结果保存到", - "key": "var_name", - "suggestedName": "文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "补齐结果保存到", - "defaultValue": "文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Replace", - "name": "替换文本", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "将文本的指定内容替换,然后返回替换后的文本。", - "messageTemplate": "将 $1 中 $2 替换为 $4 , 然后把结果保存到 $0", - "baseType": "StrUtil_Replace", - "functionName": "StrUtil.Replace", - "functionCalls": [ - { - "function": "StrUtil.Replace", - "args": [ - "string", - "search", - "Config", - "replace" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字符替换", - "字换串替换", - "变换", - "文本", - "文字", - "字符", - "字符串", - "文本内容" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量 ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "search", - "label": "替换内容", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "替换目标文本中的指定内容", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "内容", - "value": "0" - }, - { - "label": "数字", - "value": "1" - }, - { - "label": "手机号", - "value": "2" - }, - { - "label": "email", - "value": "3" - }, - { - "label": "身份证", - "value": "4" - }, - { - "label": "自定义正则", - "value": "5" - } - ] - }, - { - "key": "Config", - "label": "指定内容", - "widget": "text", - "type": "string", - "displayType": "regularValidation", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "根据选择的替换内容,将自动填写正则表达式,也支持手动输入文本或正则表达式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "replace", - "label": "替换为", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入替换为的内容", - "description": "输入替换为的内容,支持文本、数字。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "替换结果保存到", - "key": "var_name", - "suggestedName": "替换后文本", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "替换结果保存到", - "defaultValue": "替换后文本", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Left", - "name": "取左侧内容", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,获取指定字符左边指定长度的字符串,并输出到指定变量,可设定目标字符和截取长度。", - "messageTemplate": "获取 $1 的左边长度为 $2 的内容, 然后把结果保存到 $0", - "baseType": "StrUtil_Left", - "functionName": "StrUtil.Left", - "functionCalls": [ - { - "function": "StrUtil.Left", - "args": [ - "string", - "length" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截取字符串", - "获取字符", - "左侧字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "length", - "label": "截取长度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Ltrim", - "name": "裁剪左侧空格", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "裁剪目标字符串左侧的空格,并输出到指定变量。", - "messageTemplate": "将 $1 裁剪左侧空格, 然后把结果保存到 $0", - "baseType": "StrUtil_Ltrim", - "functionName": "StrUtil.Ltrim", - "functionCalls": [ - { - "function": "StrUtil.Ltrim", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "空格", - "裁剪", - "字符串裁剪" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Len", - "name": "获取文本长度", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "获取目标文本的长度,并输出到指定变量。", - "messageTemplate": "获取 $1 的长度, 然后把结果保存到 $0", - "baseType": "StrUtil_Len", - "functionName": "StrUtil.Len", - "functionCalls": [ - { - "function": "StrUtil.Len", - "args": [ - "string" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "字符串长度", - "获取长度", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本", - "description": "输入文本格式的值或变量 ", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "长度结果保存到", - "key": "var_name", - "suggestedName": "长度值", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "长度结果保存到", - "defaultValue": "长度值", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "StrUtil_Right", - "name": "取右侧内容", - "kind": "vendor", - "group": "data", - "categories": [ - "string" - ], - "categorySignature": "string", - "description": "在目标字符串中,获取指定字符右边指定长度的字符串,并输出到指定变量,可设定目标字符和截取长度。", - "messageTemplate": "获取 $1 的右边长度为 $2 的内容, 然后把结果保存到 $0", - "baseType": "StrUtil_Right", - "functionName": "StrUtil.Right", - "functionCalls": [ - { - "function": "StrUtil.Right", - "args": [ - "string", - "length" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "截取字符串", - "获取字符", - "右侧字符" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "string", - "label": "目标字符串", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "length", - "label": "截取长度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "System_GetEnv", - "name": "获取环境变量", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "读取目标环境变量,并输出到指定变量。", - "messageTemplate": "获取环境变量 $1 的内容, 然后把结果保存到 $0", - "baseType": "System_GetEnv", - "functionName": "System.GetEnv", - "functionCalls": [ - { - "function": "System.GetEnv", - "args": [ - "name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "变量", - "读取", - "获取", - "得到", - "取得", - "提取", - "获取到", - "变数", - "变量值" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "name", - "label": "环境变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入环境变量名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "环境变量值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "环境变量值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_ReadCredential", - "name": "获取Windows凭据", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "根据指定Windows凭据的名称、类型,获取对应凭据信息(用户名、密码),并返回执行结果(字典形式)。", - "messageTemplate": "获取凭据$1的信息, 然后把结果保存到 $0", - "baseType": "System_ReadCredential", - "functionName": "System.ReadCredential", - "functionCalls": [ - { - "function": "System.ReadCredential", - "args": [ - "application", - "type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "application", - "label": "凭据名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "type", - "label": "凭据类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择要读取的凭据类型,对应系统凭据管理器中Windows分类下的凭据类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "普通凭据", - "value": "0" - }, - { - "label": "Windows凭据", - "value": "1" - } - ] - } - ], - "output": { - "label": "凭据信息", - "key": "var_name", - "suggestedName": "凭据信息", - "valueTypes": [ - "rpa_system_credential" - ], - "fields": [ - { - "key": "var_name", - "label": "凭据信息", - "defaultValue": "凭据信息", - "valueTypes": [ - "rpa_system_credential" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_ResetMechanicalArm", - "name": "复位机械臂", - "kind": "vendor", - "group": "app", - "categories": [ - "mechanical_arm" - ], - "categorySignature": "mechanical_arm", - "description": "将机械臂复位到初始状态(需先使用连接机械臂组件,再使用该组件)。", - "messageTemplate": "使机械臂复位到初始状态", - "baseType": "System_ResetMechanicalArm", - "functionName": "System.ResetMechanicalArm", - "functionCalls": [ - { - "function": "System.ResetMechanicalArm", - "args": [ - "mechanical_arm" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "System" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mechanical_arm", - "label": "机械臂对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用“连接机械臂”组件返回的变量。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_GetTempPath", - "name": "获取临时文件夹路径", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "获取系统临时文件夹的路径,并把路径输出到指定变量。", - "messageTemplate": "获取临时文件夹路径, 然后把结果保存到 $0", - "baseType": "System_GetTempPath", - "functionName": "System.GetTempPath", - "functionCalls": [ - { - "function": "System.GetTempPath", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "临时文件夹", - "文件夹路径", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件夹地址", - "valueTypes": [ - "rpa_str_file_folder" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件夹地址", - "valueTypes": [ - "rpa_str_file_folder" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_GetHomePath", - "name": "获取用户文件夹路径", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "获取系统用户文件夹的路径,并把路径输出到指定变量。", - "messageTemplate": "获取用户文件夹路径, 然后把结果保存到 $0", - "baseType": "System_GetHomePath", - "functionName": "System.GetHomePath", - "functionCalls": [ - { - "function": "System.GetHomePath", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "用户文件夹", - "文件夹路径", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件夹地址", - "valueTypes": [ - "rpa_str_file_folder" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件夹地址", - "valueTypes": [ - "rpa_str_file_folder" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_GetSystemPath", - "name": "获取系统文件夹路径", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "获取系统文件夹(如桌面、临时、用户)路径,并返回执行结果至输出变量。", - "messageTemplate": "获取系统 $1 文件夹路径, 然后把结果保存到 $0", - "baseType": "System_GetSystemPath", - "functionName": "System.GetSystemPath", - "functionCalls": [ - { - "function": "System.GetSystemPath", - "args": [ - "path_name", - "path" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取系统文件夹路径", - "系统文件夹", - "文件夹路径", - "获取", - "得到", - "取得", - "提取", - "获取到", - "文件", - "文档", - "文件档" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "path_name", - "label": "系统文件夹名称", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "desktop", - "placeholder": "", - "description": "待获取的文件夹,可选桌面、用户、临时、文档", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "桌面", - "value": "desktop" - }, - { - "label": "用户", - "value": "user" - }, - { - "label": "临时", - "value": "tmp" - }, - { - "label": "文档", - "value": "documents" - } - ] - }, - { - "key": "path", - "label": "系统文件夹路径", - "widget": "text", - "type": "string", - "displayType": "label", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "系统文件夹路径输出到变量", - "key": "var_name", - "suggestedName": "系统文件夹路径", - "valueTypes": [ - "rpa_str_file_folder" - ], - "fields": [ - { - "key": "var_name", - "label": "系统文件夹路径输出到变量", - "defaultValue": "系统文件夹路径", - "valueTypes": [ - "rpa_str_file_folder" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_SetEnv", - "name": "设置环境变量", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "设置环境变量的值。", - "messageTemplate": "设置环境变量 $0 的值为 $1", - "baseType": "System_SetEnv", - "functionName": "System.SetEnv", - "functionCalls": [ - { - "function": "System.SetEnv", - "args": [ - "name", - "value" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "赋值", - "设置", - "配置", - "设定", - "调配", - "设置好", - "变量", - "变数", - "变量值" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "name", - "label": "环境变量", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入环境变量名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "value", - "label": "值", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要设置的环境变量的新值", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_MechanicalArmClick", - "name": "机械臂点击", - "kind": "vendor", - "group": "app", - "categories": [ - "mechanical_arm" - ], - "categorySignature": "mechanical_arm", - "description": "触发机械臂点击(需先使用连接机械臂组件,再使用该组件)。", - "messageTemplate": "触发机械臂点击设备", - "baseType": "System_MechanicalArmClick", - "functionName": "System.MechanicalArmClick", - "functionCalls": [ - { - "function": "System.MechanicalArmClick", - "args": [ - "mechanical_arm" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "System" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mechanical_arm", - "label": "机械臂对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用“连接机械臂”组件返回的变量。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_ConnectingUshield", - "name": "连接U盾", - "kind": "vendor", - "group": "app", - "categories": [ - "mechanical_arm" - ], - "categorySignature": "mechanical_arm", - "description": "连接U盾设备。", - "messageTemplate": "连接U盾", - "baseType": "System_ConnectingUshield", - "functionName": "System.ConnectingUshield", - "functionCalls": [ - { - "function": "System.ConnectingUshield", - "args": [ - "mechanical_arm" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "System", - "处理", - "操作", - "U盘" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mechanical_arm", - "label": "机械臂对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用“连接机械臂”组件返回的变量。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_GetInputMethodState", - "name": "获取输入法状态", - "kind": "vendor", - "group": "app", - "categories": [ - "inputMethod" - ], - "categorySignature": "inputMethod", - "description": "获取当前激活窗口的输入法状态(中文,英文)。", - "messageTemplate": "获取当前激活窗口的输入法状态, 然后把结果保存到 $0", - "baseType": "System_GetInputMethodState", - "functionName": "System.GetInputMethodState", - "functionCalls": [ - { - "function": "System.GetInputMethodState", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "输入法", - "状态", - "获取", - "得到", - "取得", - "提取", - "获取到", - "输入", - "录入", - "键入" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "输入法状态", - "key": "var_name", - "suggestedName": "输入法", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输入法状态", - "defaultValue": "输入法", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_ConnectingMechanicalArm", - "name": "连接机械臂", - "kind": "vendor", - "group": "app", - "categories": [ - "mechanical_arm" - ], - "categorySignature": "mechanical_arm", - "description": "连接机械臂设备(需要联系运营人员单独购买设备)。", - "messageTemplate": "连接机械臂设备 $1, 然后把结果保存到 $0", - "baseType": "System_ConnectingMechanicalArm", - "functionName": "System.ConnectingMechanicalArm", - "functionCalls": [ - { - "function": "System.ConnectingMechanicalArm", - "args": [ - "vid", - "pid" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "System" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "vid", - "label": "设备VID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "7847", - "placeholder": "", - "description": "机械臂设备VID编号,可查看机械臂说明文档,一般使用当前默认值即可。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pid", - "label": "设备PID", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "100", - "placeholder": "", - "description": "机械臂设备PID编号,可查看机械臂说明文档,一般使用当前默认值即可。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "连接对象", - "key": "var_name", - "suggestedName": "机械臂对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "连接对象", - "defaultValue": "机械臂对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "System_ConnectRemoteDesktop", - "name": "连接远程桌面", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "连接远程 Windows 电脑,并保存设置内容到变量。", - "messageTemplate": "远程计算机 $1,远程计算机用户名 $3, 然后把结果保存到 $0", - "baseType": "System_ConnectRemoteDesktop", - "functionName": "System.ConnectRemoteDesktop", - "functionCalls": [ - { - "function": "System.ConnectRemoteDesktop", - "args": [ - "ip", - "port", - "username", - "password" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "远程桌面", - "远程", - "桌面", - "连接" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "ip", - "label": "远程计算机 IP", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入远程计算机IP", - "description": "输入连接远程计算机的 IP 地址,如:192.168.64.161。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "远程计算机 端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "3389", - "placeholder": "请输入远程计算机端口号", - "description": "输入远程连接计算机的端口号,若未单独设置端口号,默认为 3389。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "username", - "label": "远程计算机用户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入远程计算机用户名", - "description": "输入远程连接计算机的系统账号用户名,比如Administrator。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "password", - "label": "远程计算机用户密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "请输入远程计算机用户密码", - "description": "输入远程连接计算机的系统账号用户密码,比如123456。", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "远程桌面对象", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "远程桌面对象", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_CloseMechanicalArm", - "name": "断开机械臂", - "kind": "vendor", - "group": "app", - "categories": [ - "mechanical_arm" - ], - "categorySignature": "mechanical_arm", - "description": "断开机械臂连接(需先使用连接机械臂组件,再使用该组件)。", - "messageTemplate": "断开机械臂连接", - "baseType": "System_CloseMechanicalArm", - "functionName": "System.CloseMechanicalArm", - "functionCalls": [ - { - "function": "System.CloseMechanicalArm", - "args": [ - "mechanical_arm" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "System" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mechanical_arm", - "label": "机械臂对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用“连接机械臂”组件返回的变量。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_CloseUshield", - "name": "断开U盾", - "kind": "vendor", - "group": "app", - "categories": [ - "mechanical_arm" - ], - "categorySignature": "mechanical_arm", - "description": "将断开U盾设备。", - "messageTemplate": "断开U盾连接", - "baseType": "System_CloseUshield", - "functionName": "System.CloseUshield", - "functionCalls": [ - { - "function": "System.CloseUshield", - "args": [ - "mechanical_arm" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "System", - "处理", - "操作", - "U盘" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mechanical_arm", - "label": "机械臂对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "使用“连接机械臂”组件返回的变量。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_AddCredential", - "name": "添加Windows凭据", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "在Windows凭据中添加一个指定的凭据。", - "messageTemplate": "将凭据 $1 添加到{ $$4=='0' && \"普通凭据\"}{$$4=='1' && 'Windows凭据'}中, 然后把结果保存到 $0", - "baseType": "System_AddCredential", - "functionName": "System.AddCredential", - "functionCalls": [ - { - "function": "System.AddCredential", - "args": [ - "application", - "name", - "password", - "type", - "persistence" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "添加", - "增加", - "新增", - "添上", - "加入" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "application", - "label": "凭据名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "name", - "label": "用户名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "password", - "label": "密码", - "widget": "secret", - "type": "string", - "displayType": "encryption", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_password", - "rpa_str" - ] - }, - { - "key": "type", - "label": "凭据类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择要保存的凭据类型,对应系统凭据管理器中Windows分类下的凭据类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "普通凭据", - "value": "0" - }, - { - "label": "Windows凭据", - "value": "1" - } - ] - }, - { - "key": "persistence", - "label": "保存类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择凭据保存的永久性", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "企业", - "value": "0" - }, - { - "label": "本地计算机", - "value": "1" - }, - { - "label": "登录会话", - "value": "2" - } - ] - } - ], - "output": { - "label": "操作结果", - "key": "var_name", - "suggestedName": "添加凭据结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "操作结果", - "defaultValue": "添加凭据结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_SetInputMethodState", - "name": "设置输入法状态", - "kind": "vendor", - "group": "app", - "categories": [ - "inputMethod" - ], - "categorySignature": "inputMethod", - "description": "设置当前激活窗口的输入法状态。", - "messageTemplate": "设置当前激活窗口的输入法状态为 $0", - "baseType": "System_SetInputMethodState", - "functionName": "System.SetInputMethodState", - "functionCalls": [ - { - "function": "System.SetInputMethodState", - "args": [ - "mode" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "输入法", - "状态", - "设置", - "配置", - "设定", - "调配", - "设置好", - "输入", - "录入", - "键入" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "mode", - "label": "状态", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "zh_cn", - "placeholder": "", - "description": "选择中文则改变当前输入法为中文输入模式,英文则改变当前输入法为英文半角模式", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "中文", - "value": "zh_cn" - }, - { - "label": "英文", - "value": "en_us" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_CloseRemoteDesktop", - "name": "关闭远程连接", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "关闭远程连接的桌面。", - "messageTemplate": "关闭 $0 连接", - "baseType": "System_CloseRemoteDesktop", - "functionName": "System.CloseRemoteDesktop", - "functionCalls": [ - { - "function": "System.CloseRemoteDesktop", - "args": [ - "ip" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "远程桌面", - "远程", - "桌面", - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "ip", - "label": "远程目标对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "远程桌面对象", - "placeholder": "请选择“连接远程桌面”组件输出的变量", - "description": "选择需要关闭的远程连接桌面,远程桌面连接成功后保存输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_ScreenSaverShow", - "name": "开启屏保", - "kind": "vendor", - "group": "app", - "categories": [ - "ScreenSaver" - ], - "categorySignature": "ScreenSaver", - "description": "开启屏幕保护,防止隐私数据被偷窥。", - "messageTemplate": "屏保文字为 $0", - "baseType": "System_ScreenSaverShow", - "functionName": "System.ScreenSaverShow", - "functionCalls": [ - { - "function": "System.ScreenSaverShow", - "args": [ - "text", - "status" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "text", - "label": "屏保文字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入屏保文字", - "description": "展示在屏保界面上的文字。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "status", - "label": "流程暂停或结束时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "运行结束时选择自动关闭屏保,还是手动输入系统锁屏密码关闭屏保。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "自动解锁", - "value": "1" - }, - { - "label": "输入密码解锁", - "value": "0" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_ExecuteCommandV1", - "name": "执行命令行", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "执行DOS、BAT文件、PowerShell等命令,并将命令输出结果保存到变量。", - "messageTemplate": "执行 $1:$2$3$4, 然后把结果保存到 $0", - "baseType": "System_ExecuteCommand", - "functionName": "System.ExecuteCommandV1", - "functionCalls": [ - { - "function": "System.ExecuteCommandV1", - "args": [ - "command_type", - "dos_command", - "bat_file", - "ps_command", - "cwd", - "get_ret" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "命令行", - "系统命令行", - "DOS命令", - "BAT文件", - "PowerShell命令", - "执行脚本" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "command_type", - "label": "命令类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "DOS 命令", - "value": "1" - }, - { - "label": "BAT 文件", - "value": "2" - }, - { - "label": "PowerShell 命令", - "value": "3" - } - ] - }, - { - "key": "dos_command", - "label": "DOS命令", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入DOS命令", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "bat_file", - "label": "BAT文件", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择BAT文件", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "ps_command", - "label": "PowerShell命令", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入PowerShell命令", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cwd", - "label": "执行目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择执行目录", - "description": "执行命令行的根目录,为空时,默认流程所在根目录。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "get_ret", - "label": "等待结果返回", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "为了防止部分命令没有返回值但一直在等待的情况,可以选择不勾选,组件将返回None。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_DeleteCredential", - "name": "删除Windows凭据", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "从Windows凭据中删除一个指定的凭据。", - "messageTemplate": "将凭据 $1 从{ $$2=='0' && \"普通凭据\"}{$$2=='1' && 'Windows凭据'}中删除, 然后把结果保存到 $0", - "baseType": "System_DeleteCredential", - "functionName": "System.DeleteCredential", - "functionCalls": [ - { - "function": "System.DeleteCredential", - "args": [ - "application", - "type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "application", - "label": "凭据名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "支持删除单个或多个凭据,多个凭据请输入一个凭据列表,例如:[\"凭据1\",\"凭据2\"]", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "type", - "label": "凭据类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择从哪个凭据分类中删除凭据,对应系统凭据管理器中Windows分类下的凭据类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "普通凭据", - "value": "0" - }, - { - "label": "Windows凭据", - "value": "1" - } - ] - } - ], - "output": { - "label": "操作结果", - "key": "var_name", - "suggestedName": "删除凭据结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "操作结果", - "defaultValue": "删除凭据结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_ScreenSaverStop", - "name": "关闭屏保", - "kind": "vendor", - "group": "app", - "categories": [ - "ScreenSaver" - ], - "categorySignature": "ScreenSaver", - "description": "关闭已开启的屏保。", - "messageTemplate": "关闭已开启的屏保", - "baseType": "System_ScreenSaverStop", - "functionName": "System.ScreenSaverStop", - "functionCalls": [ - { - "function": "System.ScreenSaverStop", - "args": [], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_GetMobileMessage", - "name": "获取手机短信", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "读取手机短信需要下载短信连接APP,仅支持安卓手机(华为、小米、OPPO)。", - "messageTemplate": "读取连接成功后 $1 条,关键字是 $2 的 $3 短信内容, 然后把结果保存到 $0", - "baseType": "System_GetMobileMessage", - "functionName": "System.GetMobileMessage", - "functionCalls": [ - { - "function": "System.GetMobileMessage", - "args": [ - "num", - "keyword", - "info", - "commander", - "queue", - "qa_link" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "num", - "label": "获取短信条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "", - "description": "输入需要获取的短信条数,获取最近时间的短信。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "keyword", - "label": "获取短信关键字", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入短信关键字", - "description": "输入短信内容中的关键词筛选需要的短信,如【建设银行】。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "info", - "label": "获取短信内容", - "widget": "radio", - "type": "string", - "displayType": "radioLeft", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择需要获取短信的内容,只能获取连接成功后收到的短信,全部:整条短信内容;验证码:仅获取短信内容中的“验证码”。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "整条短信内容", - "value": "0" - }, - { - "label": "仅验证码", - "value": "1" - } - ] - }, - { - "key": "commander", - "label": "控制器连接", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "指定控制器连接的队列名称,从队列中获取短信数据。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "否", - "value": "0" - }, - { - "label": "是", - "value": "1" - } - ] - }, - { - "key": "queue", - "label": "队列名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "短信队列", - "placeholder": "请输入控制器队列名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "qa_link", - "label": "qa_link", - "widget": "text", - "type": "string", - "displayType": "QRCode", - "required": false, - "defaultValue": "https://justice-bxh.oss-cn-hangzhou.aliyuncs.com/runnerCheck/others/ii-sms-check-0.8.apk", - "placeholder": "", - "description": "仅支持安卓手机(华为、小米、OPPO)。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "短信内容", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "短信内容", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_ExecuteCommand", - "name": "执行命令行", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "执行系统命令行,返回命令行执行结果,并输出到指定变量。", - "messageTemplate": "执行命令行 $1 并返回结果, 然后把结果保存到 $0", - "baseType": "System_ExecuteCommand", - "functionName": "System.ExecuteCommand", - "functionCalls": [ - { - "function": "System.ExecuteCommand", - "args": [ - "action", - "cwd", - "get_ret" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "命令行", - "系统命令行" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "action", - "label": "命令行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入要执行的命令", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cwd", - "label": "执行目录", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择文件夹路径", - "description": "执行命令行的根目录", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "get_ret", - "label": "等待结果返回", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "为了防止部分命令没有返回值但一直在等待的情况,可以选择不勾选,组件将返回None。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "System_ScreenSaverShowV1", - "name": "开启屏保", - "kind": "vendor", - "group": "app", - "categories": [ - "ScreenSaver" - ], - "categorySignature": "ScreenSaver", - "description": "开启 Windows 已配置的系统屏保。当前组件不支持自定义屏保文字、透明度或解锁密码;登录保护遵循 Windows 系统设置。", - "messageTemplate": "开启 Windows 系统屏保", - "baseType": "System_ScreenSaverShow", - "functionName": "System.ScreenSaverShowV1", - "functionCalls": [ - { - "function": "System.ScreenSaverShowV1", - "args": [ - "text", - "effect", - "status", - "set_password", - "password" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "System", - "处理", - "操作" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "System_PlaySound", - "name": "播放音频", - "kind": "vendor", - "group": "app", - "categories": [ - "system_action" - ], - "categorySignature": "system_action", - "description": "播放指定的音频文件。", - "messageTemplate": "播放音频 $0", - "baseType": "System_PlaySound", - "functionName": "System.PlaySound", - "functionCalls": [ - { - "function": "System.PlaySound", - "args": [ - "audio" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "播放音频", - "播放音乐" - ], - "platformTag": null, - "icon": "app", - "risk": "high", - "fields": [ - { - "key": "audio", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请输入或选择音频文件路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Time_GetDate", - "name": "获取日期时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取日期时间的年份、月份、当月第几天、星期几等。", - "messageTemplate": "获取的日期时间为 $1, 然后把结果保存到 $0", - "baseType": "Time_GetDate", - "functionName": "Time.GetDate", - "functionCalls": [ - { - "function": "Time.GetDate", - "args": [ - "date_start", - "offset_status", - "offset_unit_num", - "get_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "date_start", - "label": "日期时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认空时为当前运行时的日期时间,可以输入一个日期时间,示例:“2021-07-01 12:00:00”。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - }, - { - "key": "offset_status", - "label": "时间偏移", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置增加或减少多少单位时间,支持输入一个整数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "offset_unit_num", - "label": "偏移长度", - "widget": "number", - "type": "number", - "displayType": "unitInput", - "required": false, - "defaultValue": "[0,4]", - "placeholder": "", - "description": "可以设置增加、减少多少单位时间,仅支持输入大于等于0整数。", - "advanced": false, - "valueTypes": [ - "rpa_any" - ] - }, - { - "key": "get_type", - "label": "获取类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "对应返回的数据格式为:年月日时分秒(2021-07-01 12:00:00)、年月日时分(2021-07-01 12:00)、年月日(2021-07-01)、年份(2021)、月份(7)、当月第几天(1)、上月初日期(2021-06-01)、上月末日期(2021-06-30)、当年第几天(176)、时(12)、分(0)、秒(0)、星期(1)、时间戳-秒级(1625467856)、时间戳-毫秒级(1625467856000)、时间戳-微秒级(1625467856000000)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "获取结果保存到", - "key": "var_name", - "suggestedName": "dateRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "获取结果保存到", - "defaultValue": "dateRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_CalDate", - "name": "计算时长", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "计算两个日期时间的间隔时长。", - "messageTemplate": "日期时间 $1 与日期时间 $2 以 $3 为时长单位, 然后把结果保存到 $0", - "baseType": "Time_CalDate", - "functionName": "Time.CalDate", - "functionCalls": [ - { - "function": "Time.CalDate", - "args": [ - "date_start", - "date_end", - "time_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "计算", - "时长", - "计算时长" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "date_start", - "label": "开始时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "开始日期时间节点,支持常见的日期时间格式,例如:1970-01-01、1970/01/01、1970年01月01日、1970-01-01、12:00:00、12:00:00、12:00等", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_datetime" - ] - }, - { - "key": "date_end", - "label": "结束时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "结束日期时间节点,支持常见的日期时间格式,例如:1970-01-01、1970/01/01、1970年01月01日、1970-01-01、12:00:00、12:00:00、12:00等", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_datetime" - ] - }, - { - "key": "time_type", - "label": "时长单位", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "4", - "placeholder": "", - "description": "换算后时间单位,计算后的时长如果存在小数则向下取整,例如:1.5小时,则返回1小时。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "年", - "value": "1" - }, - { - "label": "月", - "value": "2" - }, - { - "label": "周", - "value": "7" - }, - { - "label": "日", - "value": "3" - }, - { - "label": "时", - "value": "4" - }, - { - "label": "分", - "value": "5" - }, - { - "label": "秒", - "value": "6" - } - ] - } - ], - "output": { - "label": "计算结果保存到", - "key": "var_name", - "suggestedName": "时长", - "valueTypes": [ - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "计算结果保存到", - "defaultValue": "时长", - "valueTypes": [ - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_WeekDay", - "name": "取星期", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前是本周的第几天即星期几,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 正处于星期几, 然后把结果保存到 $0", - "baseType": "Time_WeekDay", - "functionName": "Time.WeekDay", - "functionCalls": [ - { - "function": "Time.WeekDay", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "week", - "周几", - "星期几" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Day", - "name": "取第几天", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前是今年的第几天,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 中的天数, 然后把结果保存到 $0", - "baseType": "Time_Day", - "functionName": "Time.Day", - "functionCalls": [ - { - "function": "Time.Day", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "day", - "第几天", - "获取天数" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Date", - "name": "取日期", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前日期,并输出到指定变量。", - "messageTemplate": "获取本机当前日期, 然后把结果保存到 $0", - "baseType": "Time_Date", - "functionName": "Time.Date", - "functionCalls": [ - { - "function": "Time.Date", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "日期", - "date" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_GetDateV1", - "name": "获取日期时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取日期时间的年份、月份、当月第几天、星期几等。", - "messageTemplate": "获取的日期时间为 $2, 然后把结果保存到 $0", - "baseType": "Time_GetDate", - "functionName": "Time.GetDateV1", - "functionCalls": [ - { - "function": "Time.GetDateV1", - "args": [ - "isNow", - "date_start", - "offset_status", - "offset_unit_num", - "get_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "isNow", - "label": "日期时间", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "支持获取当前日期或指定日期", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前日期时间", - "value": "1" - }, - { - "label": "指定日期时间", - "value": "0" - } - ] - }, - { - "key": "date_start", - "label": "date_start", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认空时为当前运行时的日期时间,可以输入一个日期时间,示例:“2021-07-01 12:00:00”。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - }, - { - "key": "offset_status", - "label": "调整时间", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以设置增加或减少多少单位时间,支持输入一个整数。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "增加一段时间", - "value": "1" - }, - { - "label": "减少一段时间", - "value": "2" - } - ] - }, - { - "key": "offset_unit_num", - "label": "调整长度", - "widget": "number", - "type": "number", - "displayType": "unitInput", - "required": false, - "defaultValue": "[0,4]", - "placeholder": "请输入正整数", - "description": "可以设置增加、减少多少单位时间,仅支持输入大于等于0整数。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "get_type", - "label": "获取类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "对应返回的数据格式为:年月日时分秒(2021-07-01 12:00:00)、年月日时分(2021-07-01 12:00)、年月日(2021-07-01)、年份(2021)、月份(7)、当月第几天(1)、上月初日期(2021-06-01)、上月末日期(2021-06-30)、当年第几天(176)、时(12)、分(0)、秒(0)、星期(1)、时间戳-秒级(1625467856)、时间戳-毫秒级(1625467856000)、时间戳-微秒级(1625467856000000)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "年月日时分秒", - "value": "1" - }, - { - "label": "年月日时分", - "value": "2" - }, - { - "label": "年月日", - "value": "3" - }, - { - "label": "时分秒", - "value": "17" - }, - { - "label": "年份", - "value": "4" - }, - { - "label": "月份", - "value": "5" - }, - { - "label": "当月第几天", - "value": "6" - }, - { - "label": "上月初日期", - "value": "7" - }, - { - "label": "上月末日期", - "value": "8" - }, - { - "label": "当年第几天", - "value": "9" - }, - { - "label": "时", - "value": "10" - }, - { - "label": "分", - "value": "11" - }, - { - "label": "秒", - "value": "12" - }, - { - "label": "星期几", - "value": "13" - }, - { - "label": "时间戳-秒级", - "value": "14" - }, - { - "label": "时间戳-毫秒级", - "value": "15" - }, - { - "label": "时间戳-微秒级", - "value": "16" - } - ] - } - ], - "output": { - "label": "获取结果保存到", - "key": "var_name", - "suggestedName": "日期时间", - "valueTypes": [ - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_str", - "rpa_str", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "获取结果保存到", - "defaultValue": "日期时间", - "valueTypes": [ - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_str", - "rpa_str", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_int", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_FormatNew", - "name": "将时间戳转换为日期/时间", - "kind": "vendor", - "group": "data", - "categories": [ - "data_type_conversion", - "time" - ], - "categorySignature": "data_type_conversion|time", - "description": "将时间戳或时间对象转换为日期/时间值。", - "messageTemplate": "将 $1 转换成 $3 格式, 然后把结果保存到 $0", - "baseType": "Time_Format", - "functionName": "Time.FormatNew", - "functionCalls": [ - { - "function": "Time.FormatNew", - "args": [ - "timestamp", - "format_type", - "format" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "日期", - "时间", - "转换", - "转变", - "转换格式", - "转换类型", - "变换" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "待转换数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入时间戳的值或变量,时间戳为10/13/16位的数字。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "format_type", - "label": "转换精度", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1s", - "value": "1" - }, - { - "label": "1ms", - "value": "2" - }, - { - "label": "1μs", - "value": "3" - } - ] - }, - { - "key": "format", - "label": "时间格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "设置需要转换为的日期时间格式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1970-01-01 12:00:00", - "value": "%Y-%m-%d %H:%M:%S" - }, - { - "label": "1970/01/01 12:00:00", - "value": "%Y/%m/%d %H:%M:%S" - }, - { - "label": "1970.01.01 12:00:00", - "value": "%Y.%m.%d %H:%M:%S" - }, - { - "label": "1970年01月01日 12:00:00", - "value": "%Y{y}%m{m}%d{d} %H:%M:%S" - }, - { - "label": "1970-01-01 12:00", - "value": "%Y-%m-%d %H:%M" - }, - { - "label": "1970/01/01 12:00", - "value": "%Y/%m/%d %H:%M" - }, - { - "label": "1970.01.01 12:00", - "value": "%Y.%m.%d %H:%M" - }, - { - "label": "1970年01月01日 12:00", - "value": "%Y{y}%m{m}%d{d} %H:%M" - }, - { - "label": "01-01 12:00:00", - "value": "%m-%d %H:%M:%S" - }, - { - "label": "01.01 12:00:00", - "value": "%m.%d %H:%M:%S" - }, - { - "label": "01月01日 12:00:00", - "value": "%m{m}%d{d} %H:%M:%S" - }, - { - "label": "1970-01-01", - "value": "%Y-%m-%d" - }, - { - "label": "1970/01/01", - "value": "%Y/%m/%d" - }, - { - "label": "1970.01.01", - "value": "%Y.%m.%d" - }, - { - "label": "1970年01月01日", - "value": "%Y{y}%m{m}%d{d}" - }, - { - "label": "1970-01", - "value": "%Y-%m" - }, - { - "label": "1970/01", - "value": "%Y/%m" - }, - { - "label": "1970.01", - "value": "%Y.%m" - }, - { - "label": "1970年01月", - "value": "%Y{y}%m{m}" - }, - { - "label": "01-01", - "value": "%m-%d" - }, - { - "label": "01/01", - "value": "%m/%d" - }, - { - "label": "01.01", - "value": "%m.%d" - }, - { - "label": "01月01日", - "value": "%m{m}%d{d}" - }, - { - "label": "1970年", - "value": "%Y{y}" - }, - { - "label": "01月", - "value": "%m{m}" - }, - { - "label": "01日", - "value": "%d{d}" - }, - { - "label": "12:00:00", - "value": "%H:%M:%S" - }, - { - "label": "12:00", - "value": "%H:%M" - } - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "日期时间", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "日期时间", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Hour", - "name": "取时", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前小时是几点,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 中的小时, 然后把结果保存到 $0", - "baseType": "Time_Hour", - "functionName": "Time.Hour", - "functionCalls": [ - { - "function": "Time.Hour", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "hour", - "小时", - "获取小时" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_GetDateV2", - "name": "获取日期时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取日期时间的年份、月份、当月第几天、星期几等。", - "messageTemplate": "获取的 $1, 然后把结果保存到 $0", - "baseType": "Time_GetDate", - "functionName": "Time.GetDateV2", - "functionCalls": [ - { - "function": "Time.GetDateV2", - "args": [ - "time_data" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "日期", - "时间", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "time_data", - "label": "获取类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前日期时间", - "value": "1" - }, - { - "label": "当前日期", - "value": "2" - }, - { - "label": "当前时间", - "value": "3" - }, - { - "label": "昨天", - "value": "4" - }, - { - "label": "明天", - "value": "5" - }, - { - "label": "本周一", - "value": "6" - }, - { - "label": "本周末", - "value": "7" - }, - { - "label": "上周一", - "value": "8" - }, - { - "label": "上周末", - "value": "9" - }, - { - "label": "本月初", - "value": "10" - }, - { - "label": "本月末", - "value": "11" - }, - { - "label": "上月初", - "value": "12" - }, - { - "label": "上月末", - "value": "13" - }, - { - "label": "上月同日", - "value": "14" - }, - { - "label": "本季度初", - "value": "15" - }, - { - "label": "本季度末", - "value": "16" - }, - { - "label": "当前月份", - "value": "17" - }, - { - "label": "当前年份", - "value": "18" - }, - { - "label": "上年同日", - "value": "19" - }, - { - "label": "当前星期几", - "value": "20" - }, - { - "label": "当前季度", - "value": "21" - }, - { - "label": "本月第几天", - "value": "22" - }, - { - "label": "本月第几周", - "value": "23" - }, - { - "label": "本年第几天", - "value": "24" - }, - { - "label": "本年第几周", - "value": "25" - }, - { - "label": "当前时钟", - "value": "26" - }, - { - "label": "当前分钟", - "value": "27" - }, - { - "label": "当前秒钟", - "value": "28" - }, - { - "label": "时间戳-秒级", - "value": "29" - }, - { - "label": "时间戳-毫秒级", - "value": "30" - }, - { - "label": "时间戳-微秒级", - "value": "31" - } - ] - } - ], - "output": { - "label": "获取结果保存到", - "key": "var_name", - "suggestedName": "日期时间", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "获取结果保存到", - "defaultValue": "日期时间", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_DateOffset_V1", - "name": "增加/减少时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "在指定日期时间上进行时间增加或者减少。", - "messageTemplate": "将 $1 {$$2 == 1 && '增加'}{$$2 == 2 && '减少'} $3, 然后把结果保存到 $0", - "baseType": "Time_DateOffset", - "functionName": "Time.DateOffset_V1", - "functionCalls": [ - { - "function": "Time.DateOffset_V1", - "args": [ - "date_input", - "offset_status", - "offset_unit_num", - "is_fmt", - "get_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "date_input", - "label": "原日期时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认空时为当前运行时的日期时间,可以输入一个日期时间,支持常见的日期格式,示例:1970-01-01 12:00:00、1970/1/1、12:00等。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_datetime", - "rpa_none" - ] - }, - { - "key": "offset_status", - "label": "调整时间", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以对日期时间增加一段时间,减少一段时间。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "增加一段时间", - "value": "1" - }, - { - "label": "减少一段时间", - "value": "2" - } - ] - }, - { - "key": "offset_unit_num", - "label": "调整长度", - "widget": "text", - "type": "string", - "displayType": "unitInput", - "required": true, - "defaultValue": "[0,4]", - "placeholder": "", - "description": "支持输入任意数值,例如:1", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_int", - "rpa_float" - ] - }, - { - "key": "is_fmt", - "label": "指定日期时间格式", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "未勾选时,将按原日期时间格式返回。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "get_type", - "label": "日期时间格式", - "widget": "text", - "type": "string", - "displayType": "dateFormatSelector", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "可在下拉选项中选择需要的格式,或在输入框内自定义编辑格式", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "新时间日期", - "key": "var_name", - "suggestedName": "日期时间", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "新时间日期", - "defaultValue": "日期时间", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_GetDatetimeObj", - "name": "获取日期时间信息", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取日期时间的年、月、日等信息(通过返回的日期时间对象的子变量获取)。", - "messageTemplate": "获取 $1 的详细信息, 然后把结果保存到 $0", - "baseType": "Time_GetDatetimeObj", - "functionName": "Time.GetDatetimeObj", - "functionCalls": [ - { - "function": "Time.GetDatetimeObj", - "args": [ - "date_input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "日期", - "时间", - "年份", - "月份", - "天数", - "小时", - "分钟", - "秒钟", - "星期", - "当月最后一天", - "当年第几周", - "当年第几天", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "date_input", - "label": "日期时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认空表示当前日期时间,可以输入一个日期时间,支持常见的日期格式,示例:1970-01-01 12:00:00、1970/1/1、12:00等", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none", - "rpa_datetime" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "日期时间对象", - "valueTypes": [ - "rpa_datetime" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "日期时间对象", - "valueTypes": [ - "rpa_datetime" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Format", - "name": "时间戳转时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "将时间戳格式数字,转换为标准日期时间格式,可指定时间格式。", - "messageTemplate": "将 $1 转换成 $2 格式, 然后把结果保存到 $0", - "baseType": "Time_Format", - "functionName": "Time.Format", - "functionCalls": [ - { - "function": "Time.Format", - "args": [ - "timestamp", - "format" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "待转化时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1625467856", - "placeholder": "", - "description": "Unix时间戳指从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数,不考虑闰秒。Unix时间戳的0按照ISO 8601规范为 :1970-01-01T00:00:00Z", - "advanced": false, - "valueTypes": [] - }, - { - "key": "format", - "label": "时间格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "设置待转换的日期时间格式,如: 2021-07-01 08:08:08", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1970年01月01日", - "value": "%Y{y}%m{m}%d{d}" - }, - { - "label": "1970-01-01", - "value": "%Y-%m-%d" - }, - { - "label": "1970/01/01", - "value": "%Y/%m/%d" - }, - { - "label": "1970.01.01", - "value": "%Y.%m.%d" - }, - { - "label": "1970年01月01日 12:00", - "value": "%Y{y}%m{m}%d{d} %H:%M" - }, - { - "label": "1970年01月01日 12:00:00", - "value": "%Y{y}%m{m}%d{d} %H:%M:%S" - }, - { - "label": "1970-01-01 12:00", - "value": "%Y-%m-%d %H:%M" - }, - { - "label": "1970-01-01 12:00:00", - "value": "%Y-%m-%d %H:%M:%S" - }, - { - "label": "1970/01/01 12:00", - "value": "%Y/%m/%d %H:%M" - }, - { - "label": "1970/01/01 12:00:00", - "value": "%Y/%m/%d %H:%M:%S" - }, - { - "label": "1970.01.01 12:00", - "value": "%Y.%m.%d %H:%M" - }, - { - "label": "1970.01.01 12:00:00", - "value": "%Y.%m.%d %H:%M:%S" - }, - { - "label": "1970.01.01T12:00:00", - "value": "%Y.%m.%dT%H:%M:%S" - }, - { - "label": "01月01日", - "value": "%m{m}%d{d}" - }, - { - "label": "01.01 12:00:00", - "value": "%m.%d %H:%M:%S" - }, - { - "label": "01-01 12:00:00", - "value": "%m-%d %H:%M:%S" - }, - { - "label": "01月01日 12:00:00", - "value": "%m{m}%d{d} %H:%M:%S" - }, - { - "label": "08:08", - "value": "%M:%S" - }, - { - "label": "12:00:00", - "value": "%H:%M:%S" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_DatetimeToTimestamp", - "name": "时间转时间戳", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "将时间格式的数据,转换为时间戳格式字符。", - "messageTemplate": "将 $1 转换成时间戳, 然后把结果保存到 $0", - "baseType": "Time_DatetimeToTimestamp", - "functionName": "Time.DatetimeToTimestamp", - "functionCalls": [ - { - "function": "Time.DatetimeToTimestamp", - "args": [ - "datetime", - "format" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "datetime", - "label": "时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "根据所选时间格式输入具体时间,如:2021-02-02 20:36:10", - "advanced": false, - "valueTypes": [] - }, - { - "key": "format", - "label": "时间格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "%Y-%m-%d %H:%M:%S", - "value": "%Y-%m-%d %H:%M:%S" - }, - { - "label": "%Y-%m-%dT%H:%M:%S", - "value": "%Y-%m-%dT%H:%M:%S" - }, - { - "label": "%Y/%m/%d %H:%M:%S", - "value": "%Y/%m/%d %H:%M:%S" - }, - { - "label": "%Y.%m.%d %H:%M:%S", - "value": "%Y.%m.%d %H:%M:%S" - }, - { - "label": "%Y年%m月%d日 %H:%M:%S", - "value": "%Y年%m月%d日 %H:%M:%S" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_TimeStamp", - "name": "取时间戳", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取当前时间的时间戳,并输出到指定变量。", - "messageTemplate": "取当前时间的时间戳, 然后把结果保存到 $0", - "baseType": "Time_TimeStamp", - "functionName": "Time.TimeStamp", - "functionCalls": [ - { - "function": "Time.TimeStamp", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "timestamp" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "numRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "numRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_DateOffset", - "name": "增加/减少时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取日期时间的年份、月份、当月第几天、星期几等。", - "messageTemplate": "将 $1 {$$2 == 1 && '增加'}{$$2 == 2 && '减少'} $3, 然后把结果保存到 $0", - "baseType": "Time_DateOffset", - "functionName": "Time.DateOffset", - "functionCalls": [ - { - "function": "Time.DateOffset", - "args": [ - "date_input", - "offset_status", - "offset_unit_num", - "is_fmt", - "get_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "date_input", - "label": "原日期时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "默认空时为当前运行时的日期时间,可以输入一个日期时间,支持常见的日期格式,示例:1970-01-01 12:00:00、1970/1/1、12:00等。", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_none" - ] - }, - { - "key": "offset_status", - "label": "调整时间", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "可以对日期时间增加一段时间,减少一段时间。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "增加一段时间", - "value": "1" - }, - { - "label": "减少一段时间", - "value": "2" - } - ] - }, - { - "key": "offset_unit_num", - "label": "调整长度", - "widget": "number", - "type": "number", - "displayType": "unitInput", - "required": false, - "defaultValue": "[0,4]", - "placeholder": "", - "description": "可以设置增加、减少多少单位时间,仅支持输入大于等于0整数。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_fmt", - "label": "指定日期时间格式", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "未勾选时,将按原日期时间格式返回。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "get_type", - "label": "获取类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "对应返回的数据格式为:年月日时分秒(2021-07-01 12:00:00)、年月日时分(2021-07-01 12:00)、年月日(2021-07-01)、年份(2021)、月份(7)、当月第几天(1)、上月初日期(2021-06-01)、上月末日期(2021-06-30)、当年第几天(176)、时(12)、分(0)、秒(0)、星期(1)、时间戳-秒级(1625467856)、时间戳-毫秒级(1625467856000)、时间戳-微秒级(1625467856000000)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1970-01-01 12:00:00", - "value": "%Y-%m-%d %H:%M:%S" - }, - { - "label": "1970/01/01 12:00:00", - "value": "%Y/%m/%d %H:%M:%S" - }, - { - "label": "1970.01.01 12:00:00", - "value": "%Y.%m.%d %H:%M:%S" - }, - { - "label": "1970年01月01日 12:00:00", - "value": "%Y{y}%m{m}%d{d} %H:%M:%S" - }, - { - "label": "1970年01月01日 12时00分00秒", - "value": "%Y{y}%m{m}%d{d} %H{h}%M{M}%S{S}" - }, - { - "label": "1970-01-01 12:00", - "value": "%Y-%m-%d %H:%M" - }, - { - "label": "1970/01/01 12:00", - "value": "%Y/%m/%d %H:%M" - }, - { - "label": "1970.01.01 12:00", - "value": "%Y.%m.%d %H:%M" - }, - { - "label": "1970年01月01日 12:00", - "value": "%Y{y}%m{m}%d{d} %H:%M" - }, - { - "label": "1970年01月01日 12时00分", - "value": "%Y{y}%m{m}%d{d} %H{h}%M{M}" - }, - { - "label": "1970年1月1日 12时00分", - "value": "%Y{y}%m{m}%d{d} %H{h}%M{M}" - }, - { - "label": "01-01 12:00:00", - "value": "%m-%d %H:%M:%S" - }, - { - "label": "01/01 12:00:00", - "value": "%m/%d %H:%M:%S" - }, - { - "label": "01.01 12:00:00", - "value": "%m.%d %H:%M:%S" - }, - { - "label": "01月01日 12:00:00", - "value": "%m{m}%d{d} %H:%M:%S" - }, - { - "label": "01月01日 12时00分00秒", - "value": "%m{m}%d{d} %H{h}%M{M}%S{S}" - }, - { - "label": "1970-01-01", - "value": "%Y-%m-%d" - }, - { - "label": "1970/01/01", - "value": "%Y/%m/%d" - }, - { - "label": "1970.01.01", - "value": "%Y.%m.%d" - }, - { - "label": "1970年01月01日", - "value": "%Y{y}%m{m}%d{d}" - }, - { - "label": "1970-01", - "value": "%Y-%m" - }, - { - "label": "1970/01", - "value": "%Y/%m" - }, - { - "label": "1970.01", - "value": "%Y.%m" - }, - { - "label": "1970年01月", - "value": "%Y{y}%m{m}" - }, - { - "label": "01-01", - "value": "%m-%d" - }, - { - "label": "01/01", - "value": "%m/%d" - }, - { - "label": "01.01", - "value": "%m.%d" - }, - { - "label": "01月01日", - "value": "%m{m}%d{d}" - }, - { - "label": "12:00:00", - "value": "%H:%M:%S" - }, - { - "label": "12时00分00秒", - "value": "%H{h}%M{M}%S{S}" - }, - { - "label": "12:00", - "value": "%H:%M" - }, - { - "label": "12时00分", - "value": "%H{h}%M{M}" - } - ] - } - ], - "output": { - "label": "新时间日期", - "key": "var_name", - "suggestedName": "日期时间", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "新时间日期", - "defaultValue": "日期时间", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_TimeTypeConversion_V1", - "name": "转换日期时间格式", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "将当前的时间格式转换为其他格式。", - "messageTemplate": "将 $1 转换成 $2 格式, 然后把结果保存到 $0", - "baseType": "Time_TimeTypeConversion", - "functionName": "Time.TimeTypeConversion_V1", - "functionCalls": [ - { - "function": "Time.TimeTypeConversion_V1", - "args": [ - "datetime", - "get_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "日期", - "时间", - "转换", - "转变", - "转换格式", - "转换类型", - "变换" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "datetime", - "label": "原日期时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入原日期时间,例如:\"2021-11-21 10:10:10\"", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_datetime" - ] - }, - { - "key": "get_type", - "label": "日期时间格式", - "widget": "text", - "type": "string", - "displayType": "dateFormatSelector", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "可在下拉选项中选择需要的格式,或在输入框内自定义编辑格式", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "转换结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "转换结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_DateToTimestamp", - "name": "将日期/时间转换为时间戳", - "kind": "vendor", - "group": "data", - "categories": [ - "data_type_conversion", - "time" - ], - "categorySignature": "data_type_conversion|time", - "description": "将日期/时间数据转换为时间戳。", - "messageTemplate": "将 $1 转换成时间戳格式, 然后把结果保存到 $0", - "baseType": "Time_DateToTimestamp", - "functionName": "Time.DateToTimestamp", - "functionCalls": [ - { - "function": "Time.DateToTimestamp", - "args": [ - "datetime", - "format_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "日期", - "时间", - "转换", - "转变", - "转换格式", - "转换类型", - "变换" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "datetime", - "label": "待转换时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入日期/时间的值或变量,例如:2021-11-21 10:10:10", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_datetime" - ] - }, - { - "key": "format_type", - "label": "转换精度", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1s", - "value": "1" - }, - { - "label": "1ms", - "value": "2" - }, - { - "label": "1μs", - "value": "3" - } - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "时间戳", - "valueTypes": [ - "rpa_int" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "时间戳", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Month", - "name": "取月份", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前月份,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 中的月份, 然后把结果保存到 $0", - "baseType": "Time_Month", - "functionName": "Time.Month", - "functionCalls": [ - { - "function": "Time.Month", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "month", - "月", - "获取月份" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Time", - "name": "取时分秒", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前时间,并输出到指定变量。", - "messageTemplate": "获取本机当前时分秒, 然后把结果保存到 $0", - "baseType": "Time_Time", - "functionName": "Time.Time", - "functionCalls": [ - { - "function": "Time.Time", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间", - "time" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Year", - "name": "取年份", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前年份,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 中的年份, 然后把结果保存到 $0", - "baseType": "Time_Year", - "functionName": "Time.Year", - "functionCalls": [ - { - "function": "Time.Year", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "year", - "年", - "获取年份" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_TimeTypeConversion", - "name": "日期时间格式转换", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "将当前的时间格式转换为其他格式。", - "messageTemplate": "将 $1 转换成 $2 格式, 然后把结果保存到 $0", - "baseType": "Time_TimeTypeConversion", - "functionName": "Time.TimeTypeConversion", - "functionCalls": [ - { - "function": "Time.TimeTypeConversion", - "args": [ - "datetime", - "format" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间戳", - "日期", - "时间" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "datetime", - "label": "原日期时间", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "请输入原日期时间,例如:\"2021-11-21 10:10:10\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "format", - "label": "时间格式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "%Y-%m-%d %H:%M:%S", - "placeholder": "", - "description": "设置需要转换为的日期时间格式,选项为示例格式。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "1970-01-01 12:00:00", - "value": "%Y-%m-%d %H:%M:%S" - }, - { - "label": "1970/01/01 12:00:00", - "value": "%Y/%m/%d %H:%M:%S" - }, - { - "label": "1970.01.01 12:00:00", - "value": "%Y.%m.%d %H:%M:%S" - }, - { - "label": "1970年01月01日 12:00:00", - "value": "%Y{y}%m{m}%d{d} %H:%M:%S" - }, - { - "label": "1970-01-01 12:00", - "value": "%Y-%m-%d %H:%M" - }, - { - "label": "1970/01/01 12:00", - "value": "%Y/%m/%d %H:%M" - }, - { - "label": "1970.01.01 12:00", - "value": "%Y.%m.%d %H:%M" - }, - { - "label": "1970年01月01日 12:00", - "value": "%Y{y}%m{m}%d{d} %H:%M" - }, - { - "label": "01-01 12:00:00", - "value": "%m-%d %H:%M:%S" - }, - { - "label": "01.01 12:00:00", - "value": "%m.%d %H:%M:%S" - }, - { - "label": "01月01日 12:00:00", - "value": "%m{m}%d{d} %H:%M:%S" - }, - { - "label": "1970-01-01", - "value": "%Y-%m-%d" - }, - { - "label": "1970/01/01", - "value": "%Y/%m/%d" - }, - { - "label": "1970.01.01", - "value": "%Y.%m.%d" - }, - { - "label": "1970年01月01日", - "value": "%Y{y}%m{m}%d{d}" - }, - { - "label": "1970-01", - "value": "%Y-%m" - }, - { - "label": "1970/01", - "value": "%Y/%m" - }, - { - "label": "1970.01", - "value": "%Y.%m" - }, - { - "label": "1970年01月", - "value": "%Y{y}%m{m}" - }, - { - "label": "01-01", - "value": "%m-%d" - }, - { - "label": "01/01", - "value": "%m/%d" - }, - { - "label": "01.01", - "value": "%m.%d" - }, - { - "label": "01月01日", - "value": "%m{m}%d{d}" - }, - { - "label": "1970年", - "value": "%Y{y}" - }, - { - "label": "01月", - "value": "%m{m}" - }, - { - "label": "01日", - "value": "%d{d}" - }, - { - "label": "12:00:00", - "value": "%H:%M:%S" - }, - { - "label": "12:00", - "value": "%H:%M" - } - ] - } - ], - "output": { - "label": "转换结果保存到", - "key": "var_name", - "suggestedName": "转换结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "转换结果保存到", - "defaultValue": "转换结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Now", - "name": "取时间", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前时间,包括日期和时间点,并输出到指定变量。", - "messageTemplate": "获取本机当前时间和日期, 然后把结果保存到 $0", - "baseType": "Time_Now", - "functionName": "Time.Now", - "functionCalls": [ - { - "function": "Time.Now", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "时间", - "time", - "date" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Second", - "name": "取秒", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前秒数时几秒,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 中的秒数, 然后把结果保存到 $0", - "baseType": "Time_Second", - "functionName": "Time.Second", - "functionCalls": [ - { - "function": "Time.Second", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "second", - "秒", - "获取秒" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Time_Minute", - "name": "取分", - "kind": "vendor", - "group": "data", - "categories": [ - "time" - ], - "categorySignature": "time", - "description": "获取设备当前分钟时几分,并输出到指定变量。", - "messageTemplate": "获取时间戳 $1 中的分钟, 然后把结果保存到 $0", - "baseType": "Time_Minute", - "functionName": "Time.Minute", - "functionCalls": [ - { - "function": "Time.Minute", - "args": [ - "timestamp" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "minute", - "分钟", - "获取分钟" - ], - "platformTag": null, - "icon": "data", - "risk": "low", - "fields": [ - { - "key": "timestamp", - "label": "时间戳", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "numRet", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "strRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "strRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Switch", - "name": "切换页面", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "在目标浏览器中,切换Tab到指定的页面,可设定切换匹配页面的对象的地址或标题。", - "messageTemplate": "在目标浏览器 $1 中切换tab页, 然后把结果保存到 $0", - "baseType": "WebBrowser_Switch", - "functionName": "WebBrowser.Switch", - "functionCalls": [ - { - "function": "WebBrowser.Switch", - "args": [ - "web", - "title", - "url", - "isActive" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "tab切换", - "切换到指定页面" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "title", - "label": "标题(支持正则)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网页标题", - "description": "输入网页标题,支持正则表达式模糊匹配", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网址", - "description": "请输入网址,需补充网址前缀\"https://\"或\"http://\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isActive", - "label": "是否激活", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_SetScrollPos", - "name": "设置滚动条位置", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "设置目标浏览器滚动条的位置。", - "messageTemplate": "在目标浏览器 $1 设置目标浏览器滚动条位置, 然后把结果保存到 $0", - "baseType": "WebBrowser_SetScrollPos", - "functionName": "WebBrowser.SetScrollPos", - "functionCalls": [ - { - "function": "WebBrowser.SetScrollPos", - "args": [ - "web", - "scrollpos" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "滚动条位置", - "设置滚动条位置" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "scrollpos", - "label": "ScrollPos对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入滚动条位置", - "description": "请输入滚动条位置,示例:{'scrollTop':'0','scrollLeft':'0'},scrollTop为距离顶部的竖向滚动距离,scrollLeft为距离左侧的横向滚动距离,单位为像素。", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetTAB_V1", - "name": "获取网页 Tab 对象", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取浏览器中根据标题或网址匹配到的Tab页,也可获取当前已选中网页,并输出网页对象。", - "messageTemplate": "获取 $1 中根据 $2 匹配到的网页 , 然后把结果保存到 $0", - "baseType": "WebBrowser_GetTAB", - "functionName": "WebBrowser.GetTAB_V1", - "functionCalls": [ - { - "function": "WebBrowser.GetTAB_V1", - "args": [ - "type", - "match_type", - "title", - "url", - "isActive" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - }, - { - "label": "火狐浏览器", - "value": "firefox" - }, - { - "label": "实在浏览器", - "value": "zexplorer" - }, - { - "label": "Edge浏览器", - "value": "edge" - }, - { - "label": "360安全浏览器", - "value": "Web360se" - }, - { - "label": "360极速浏览器", - "value": "web360x" - }, - { - "label": "搜狗浏览器", - "value": "Sogou" - }, - { - "label": "紫鸟浏览器", - "value": "superbrowser" - } - ] - }, - { - "key": "match_type", - "label": "匹配方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "根据所选匹配方式获取对应Tab页。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "标题", - "value": "0" - }, - { - "label": "网址", - "value": "1" - }, - { - "label": "当前 Tab页", - "value": "2" - } - ] - }, - { - "key": "title", - "label": "标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网页标题", - "description": "填写要匹配的网页标题,支持模糊匹配和正则匹配,如:.*天猫、天猫.*。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "填写要匹配的网址,支持模糊匹配和正则匹配,如:https://www.tmall.hk/?spm=.*", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isActive", - "label": "激活网页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "切换到第一个匹配的网页", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_SaveAs", - "name": "下载文件(点击按钮)", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "自动完成点击下载按钮动作,并将下载文件保存到指定路径。", - "messageTemplate": "点击 $1,保存下载文件到 $3 下, 然后把结果保存到 $0", - "baseType": "WebBrowser_SaveAs", - "functionName": "WebBrowser.SaveAs", - "functionCalls": [ - { - "function": "WebBrowser.SaveAs", - "args": [ - "uiSelector", - "fuctype", - "path", - "filename", - "timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "拾取或选择元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "fuctype", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "chrome", - "value": "0" - }, - { - "label": "ie11", - "value": "1" - }, - { - "label": "ie8", - "value": "2" - }, - { - "label": "firefox", - "value": "4" - } - ] - }, - { - "key": "path", - "label": "保存文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "${home}\\Downloads", - "placeholder": "请输入或选择文件夹路径", - "description": "选择文件夹,将下载文件保存至此", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "保存文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入保存文件名", - "description": "重命名下载后的文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "timeout", - "label": "超时时间(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10000", - "placeholder": "请设置超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetWeblistening", - "name": "获取监听结果", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取被监听网页在流程运行中产生的结果数据,并可通过网页资源类型、资源URL等维度进行结果数据的筛选。", - "messageTemplate": "获取目标 $1 $2 的监听结果数据, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetWeblistening", - "functionName": "WebBrowser.GetWeblistening", - "functionCalls": [ - { - "function": "WebBrowser.GetWeblistening", - "args": [ - "web", - "web_resource", - "url", - "iswildcard" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "", - "description": "选择已经创建好的目标浏览器网页对象(变量),目标浏览器必须是被监听的网页对象,否则可能无法获取结果。", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "web_resource", - "label": "网页资源类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "All", - "placeholder": "", - "description": "可通过网页资源类型筛选所需要的特定类型数据结果。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "All", - "value": "All" - }, - { - "label": "Document", - "value": "Document" - }, - { - "label": "Stylesheet", - "value": "Stylesheet" - }, - { - "label": "Image", - "value": "Image" - }, - { - "label": "Media", - "value": "Media" - }, - { - "label": "Font", - "value": "Font" - }, - { - "label": "Script", - "value": "Script" - }, - { - "label": "TextTrack", - "value": "TextTrack" - }, - { - "label": "XHR", - "value": "XHR" - }, - { - "label": "Fetch", - "value": "Fetch" - }, - { - "label": "EventSource", - "value": "EventSource" - }, - { - "label": "WebSocket", - "value": "WebSocket" - }, - { - "label": "Manifest", - "value": "Manifest" - }, - { - "label": "SignedExchange", - "value": "SignedExchange" - }, - { - "label": "Ping", - "value": "Ping" - }, - { - "label": "CSPViolationReport", - "value": "CSPViolationReport" - }, - { - "label": "Preflight", - "value": "Preflight" - }, - { - "label": "Other", - "value": "Other" - } - ] - }, - { - "key": "url", - "label": "资源路径(URL)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "可通过特定资源路径筛选想获取的网页监听结果,不做筛选则获取所有请求结果。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "iswildcard", - "label": "启用通配符匹配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页监听数据", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页监听数据", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_BatchDataCrawlNew", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "采集网页中的数据(可选择多页),通常用于抓取列表页、详情页中的内容。并将采集出的数据保存至二维表中。", - "messageTemplate": "采集在当前网页中 $1 的数据, 然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.BatchDataCrawlNew", - "functionCalls": [ - { - "function": "WebBrowser.BatchDataCrawlNew", - "args": [ - "config", - "browserType", - "showTable", - "toExcel", - "filePath", - "filename" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置数据采集项", - "widget": "region", - "type": "object", - "displayType": "collectData", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browserType", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "目前仅支持Chrome浏览器。请保持采集页桌面置顶,如需更换采集网址,请先清空数据采集配置内的内容。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - } - ] - }, - { - "key": "showTable", - "label": "在数据表中预览采集效果", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后,该组件运行后的前100条采集结果可在控制台的“数据表”tab中进行展示。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将采集结果导出至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "文件保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "${res}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "Z-Factory数据采集结果_${randomString}.xlsx", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "df", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "df", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCrawl_software", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "采集指定软件中页面表格数据,并将采集结果保存到变量或数据表、Excel 中。", - "messageTemplate": "采集指定软件中页面数据 $2,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCrawl_software", - "functionCalls": [ - { - "function": "WebBrowser.DataCrawl_software", - "args": [ - "config", - "selectorCode", - "turnPageConfigType", - "pageCount", - "showTable", - "toExcel", - "filename", - "filePath", - "delay_pages", - "page_scroll", - "scrollDelay", - "unable_collect", - "repeat_count", - "save", - "view", - "toPortal", - "portal_view" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置数据采集项", - "widget": "region", - "type": "object", - "displayType": "collectDataSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "selectorCode", - "label": "selectorCode", - "widget": "text", - "type": "string", - "displayType": "checkCode", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "turnPageConfigType", - "label": "采集页数", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "需要采集的页数,当前页、所有页、指定页(需要设置采集总页数)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前页", - "value": "1" - }, - { - "label": "所有页", - "value": "0" - }, - { - "label": "指定页", - "value": "2" - } - ] - }, - { - "key": "pageCount", - "label": "页数", - "widget": "number", - "type": "number", - "displayType": "integerInputNumber", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入需要采集的总页数", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "实在RPA-设计器数据采集结果_${randomString}.xls", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "delay_pages", - "label": "每页延迟(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "采集一页数据需要等待的时间。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "page_scroll", - "label": "页面滚屏(屏)", - "widget": "number", - "type": "number", - "displayType": "integerInputNumber", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "以当前电脑屏幕为准,可设置滚动多少屏。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "scrollDelay", - "label": "滚屏延迟(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "200", - "placeholder": "", - "description": "页面滚屏后加载数据的等待时间,若页面滚屏未设置则不生效。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "unable_collect", - "label": "无法采集时重复执行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当数据采集组件遇到阻碍时,可尝试重复执行,从阻断处继续。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "repeat_count", - "label": "重复次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "save", - "label": "将结果保存至松塔", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toPortal", - "label": "将结果保存至门户", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "portal_view", - "label": "portal_view", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var0", - "suggestedName": "批量采集结果", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var0", - "label": "输出到变量", - "defaultValue": "批量采集结果", - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "采集页码", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_RunJsInIeByTitle", - "name": "执行JS", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "在目标浏览器中执行自定义JS代码,可指定输入内容和JScode代码。", - "messageTemplate": "目标浏览器运行JS代码, 然后把结果保存到 $0", - "baseType": "WebBrowser_RunJsInIeByTitle", - "functionName": "WebBrowser.RunJsInIeByTitle", - "functionCalls": [ - { - "function": "WebBrowser.RunJsInIeByTitle", - "args": [ - "browserType", - "title", - "url", - "jsCode", - "input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "JS代码", - "自定义JS代码", - "浏览器JS代码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "browserType", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "ie", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - } - ] - }, - { - "key": "title", - "label": "目标浏览器窗体名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "百度一下,你就知道", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "url", - "label": "网址(非必选)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "jsCode", - "label": "JS代码", - "widget": "code", - "type": "string", - "displayType": "code", - "required": false, - "defaultValue": "jsCode", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "input", - "label": "输入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "objRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "objRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_CreateBackground", - "name": "打开网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "通过所选择的浏览器打开指定的网页。", - "messageTemplate": "通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0", - "baseType": "WebBrowser_CreateBackground", - "functionName": "WebBrowser.CreateBackground", - "functionCalls": [ - { - "function": "WebBrowser.CreateBackground", - "args": [ - "type", - "url" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "zexplorer", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "内置运行浏览器", - "value": "zexplorer" - }, - { - "label": "Chrome 浏览器", - "value": "chrome" - }, - { - "label": "Edge 浏览器", - "value": "edge" - } - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "http://www.baidu.com", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Reload", - "name": "刷新", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "刷新页面,执行浏览器刷新操作,与工具栏的刷新按钮相同。", - "messageTemplate": "在目标浏览器 $1 中刷新, 然后把结果保存到 $0", - "baseType": "WebBrowser_Reload", - "functionName": "WebBrowser.Reload", - "functionCalls": [ - { - "function": "WebBrowser.Reload", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "刷新", - "刷新页面", - "刷新浏览器" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Upload", - "name": "上传文件", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "将指定文件上传到目标浏览器窗体,可设定文件路径。", - "messageTemplate": "选择上传页所在的浏览器窗体 $0 , 选择上传文件 $1", - "baseType": "WebBrowser_Upload", - "functionName": "WebBrowser.Upload", - "functionCalls": [ - { - "function": "WebBrowser.Upload", - "args": [ - "uiSelector", - "path" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "上传", - "上传文件" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "path", - "label": "路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "WebBrowser_CloseWeb_V2", - "name": "关闭网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "关闭目标网页或浏览器的所有网页。", - "messageTemplate": "{$$1 == 'select' && '关闭 $3'}{$$1 == 'active' && '关闭$2的当前激活页'}{$$1 == 'browser' && '关闭$2的所有网页'}{$$1 == 'other' && '关闭$3外的其他网页'}{$$1 == 'right' && '关闭$3的右侧网页'}, 然后把结果保存到 $0", - "baseType": "WebBrowser_CloseWeb", - "functionName": "WebBrowser.CloseWeb_V2", - "functionCalls": [ - { - "function": "WebBrowser.CloseWeb_V2", - "args": [ - "colse_type", - "browser_type", - "web", - "kill", - "is_close_alert" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭网页", - "退出网页", - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "colse_type", - "label": "操作类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "select", - "placeholder": "", - "description": "支持传入网页对象或网页对象列表。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "关闭指定网页", - "value": "select" - }, - { - "label": "关闭所有网页", - "value": "browser" - }, - { - "label": "关闭其他网页", - "value": "other" - }, - { - "label": "关闭右侧网页", - "value": "right" - }, - { - "label": "关闭当前激活页", - "value": "active" - } - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropdownSelectByRpaCore", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - }, - { - "label": "火狐浏览器", - "value": "firefox" - }, - { - "label": "实在浏览器", - "value": "zexplorer" - }, - { - "label": "Edge浏览器", - "value": "edge" - }, - { - "label": "360安全浏览器", - "value": "Web360se" - }, - { - "label": "360极速浏览器", - "value": "web360x" - }, - { - "label": "搜狗浏览器", - "value": "Sogou" - }, - { - "label": "紫鸟浏览器", - "value": "superbrowser" - } - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择或输入需要关闭的网页对象变量。", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_list_hWeb" - ] - }, - { - "key": "kill", - "label": "关闭浏览器进程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后会强制关闭浏览器进程以及关联的所有子进程。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_close_alert", - "label": "忽略\"离开页面\"弹窗", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Stop", - "name": "停止网页加载", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "停止浏览器中的页面加载。", - "messageTemplate": "在目标浏览器 $1 中停止, 然后把结果保存到 $0", - "baseType": "WebBrowser_Stop", - "functionName": "WebBrowser.Stop", - "functionCalls": [ - { - "function": "WebBrowser.Stop", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "停止加载", - "中止加载" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetDocument", - "name": "获取网页源码", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器中Document信息,并输出指定变量。", - "messageTemplate": "在目标浏览器 $1 中获取Document信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetDocument", - "functionName": "WebBrowser.GetDocument", - "functionCalls": [ - { - "function": "WebBrowser.GetDocument", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "Document", - "获取Document", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页源代码", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页源代码", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_SetScrollPos_V1", - "name": "设置滚动条位置", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "设置目标浏览器滚动条的位置。", - "messageTemplate": "在目标浏览器 $1 设置目标浏览器滚动条位置, 然后把结果保存到 $0", - "baseType": "WebBrowser_SetScrollPos", - "functionName": "WebBrowser.SetScrollPos_V1", - "functionCalls": [ - { - "function": "WebBrowser.SetScrollPos_V1", - "args": [ - "web", - "is_set", - "selector", - "scroll_direction", - "scroll_type", - "designated_selector", - "designated_position" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "滚动条", - "滚动条位置", - "设置滚动条位置", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "is_set", - "label": "设置网页中元素的滚动条", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "selector", - "label": "元素选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择输入框", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "scroll_direction", - "label": "滚动条类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "纵向滚动条", - "value": "1" - }, - { - "label": "横向滚动条", - "value": "0" - } - ] - }, - { - "key": "scroll_type", - "label": "滚动条位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "滚动到底部", - "value": "0" - }, - { - "label": "滚动到顶部", - "value": "1" - }, - { - "label": "滚动一屏", - "value": "4" - }, - { - "label": "滚动到指定位置", - "value": "5" - }, - { - "label": "滚动到指定元素", - "value": "6" - } - ] - }, - { - "key": "designated_selector", - "label": "目标元素选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "拾取或选择输入框", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_position", - "label": "指定位置", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "纵向滚动条只需要配置纵坐标y,向下为正向,如填写100,则滚动条向下滚动100;横向滚动条只需要配置横坐标x,向右为正向,如填写100,则滚动条向右滚动100", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetCookie", - "name": "获取Cookies(指定)", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器中指定键值的Cookies信息,并输出给指定变量。", - "messageTemplate": "在目标浏览器 $1 中获取键为 $2 的Cookie信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetCookie", - "functionName": "WebBrowser.GetCookie", - "functionCalls": [ - { - "function": "WebBrowser.GetCookie", - "args": [ - "web", - "name" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "name", - "label": "cookie的键", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入cookie的键名", - "description": "输入cookie的键名", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "cookie键值", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "cookie键值", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_BatchDataCrawlNewV1", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "采集网页中的数据(可选择多页),通常用于抓取列表页、详情页中的内容。并将采集出的数据保存至二维表中。", - "messageTemplate": "采集在当前网页中 $1 的数据, 然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.BatchDataCrawlNewV1", - "functionCalls": [ - { - "function": "WebBrowser.BatchDataCrawlNewV1", - "args": [ - "config", - "browserType", - "showTable", - "toExcel", - "filePath", - "filename" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置数据采集项", - "widget": "region", - "type": "object", - "displayType": "collectData", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browserType", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "目前仅支持Chrome浏览器。请保持采集页桌面置顶,如需更换采集网址,请先清空数据采集配置内的内容。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - } - ] - }, - { - "key": "showTable", - "label": "在数据表中预览采集效果", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后,该组件运行后的采集结果可在控制台的“数据表”tab中进行展示。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将采集结果导出至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "文件保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${res}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "实在RPA-设计器数据采集结果_${randomString}.xlsx", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "df", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "df", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DownFile", - "name": "下载文件(指定链接)", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "用浏览器下载指定链接的文件并保存到指定路径。", - "messageTemplate": "使用 $1 下载文件,使用$6文件名保存到路径$5下, 然后把结果保存到 $0", - "baseType": "WebBrowser_DownFile", - "functionName": "WebBrowser.DownFile", - "functionCalls": [ - { - "function": "WebBrowser.DownFile", - "args": [ - "url", - "param", - "headers", - "cookies", - "savepath", - "filename", - "waittype", - "timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "下载链接", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入下载链接", - "description": "输入下载链接", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入请求头", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入待设置cookie,例如:{'a':1,'b':2}", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "savepath", - "label": "保存文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${home}\\Downloads", - "placeholder": "请输入或选择文件夹路径", - "description": "选择文件夹,将下载文件保存至此", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "保存文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入保存文件名", - "description": "重命名下载后的文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "waittype", - "label": "同步下载", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "是否允许多个文件同时下载", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "timeout", - "label": "超时时间(毫秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10000", - "placeholder": "请设置超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Create", - "name": "打开网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "通过所选择的浏览器打开指定的网页。", - "messageTemplate": "通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0", - "baseType": "WebBrowser_Create", - "functionName": "WebBrowser.Create", - "functionCalls": [ - { - "function": "WebBrowser.Create", - "args": [ - "type", - "url", - "isRemote", - "ipAddress", - "port", - "waitingload" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开页面", - "打开浏览器", - "浏览器", - "打开", - "页面" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "内置运行浏览器", - "value": "zexplorer" - }, - { - "label": "Chrome 浏览器", - "value": "chrome" - }, - { - "label": "Edge 浏览器", - "value": "edge" - } - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网址", - "description": "请输入网址,需补充网址前缀\"https://\"或\"http://\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isRemote", - "label": "是否远程", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入连接远程计算机的 IP 地址,如:192.168.64.161。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "61619", - "placeholder": "", - "description": "输入远程连接计算机的端口号,若未单独设置端口号默认为 61619。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "waitingload", - "label": "等待页面加载完成", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后将等待页面的所有元素加载完成后,再继续执行后续流程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_RunJsInIeBySelector", - "name": "执行JS", - "kind": "vendor", - "group": "web", - "categories": [ - "base_command", - "webBrowser" - ], - "categorySignature": "base_command|webBrowser", - "description": "在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。", - "messageTemplate": "目标 $1 运行JS代码, 然后把结果保存到 $0", - "baseType": "WebBrowser_RunJsInIeBySelector", - "functionName": "WebBrowser.RunJsInIeBySelector", - "functionCalls": [ - { - "function": "WebBrowser.RunJsInIeBySelector", - "args": [ - "uiSelector", - "jsCode", - "input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "js代码", - "自定义js代码", - "浏览器js代码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "目标指在哪个元素上执行JS,可拾取或选择网页元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "jsCode", - "label": "JS代码", - "widget": "code", - "type": "string", - "displayType": "code", - "required": true, - "defaultValue": "\"\"\"jsCode\"\"\"", - "placeholder": "请输入JS代码", - "description": "支持输入JS代码块", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "输入参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入参数列表", - "description": "支持在JS代码块中传入流程参数,数据格式为列表。", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行返回结果", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行返回结果", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_SaveAs_V1", - "name": "下载文件(点击按钮)", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "自动完成点击下载按钮动作,并将下载文件保存到指定路径。", - "messageTemplate": "点击 $1,保存下载文件到 $3 下, 然后把结果保存到 $0", - "baseType": "WebBrowser_SaveAs", - "functionName": "WebBrowser.SaveAs_V1", - "functionCalls": [ - { - "function": "WebBrowser.SaveAs_V1", - "args": [ - "uiSelector", - "fuctype", - "path", - "filename", - "timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择元素", - "description": "拾取或选择元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "fuctype", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "chrome", - "value": "0" - }, - { - "label": "ie11", - "value": "1" - }, - { - "label": "ie8", - "value": "2" - }, - { - "label": "firefox", - "value": "4" - } - ] - }, - { - "key": "path", - "label": "保存文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "${home}\\Downloads", - "placeholder": "请输入或选择文件夹路径", - "description": "选择文件夹,将下载文件保存至此", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "保存文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入保存文件名", - "description": "重命名下载后的文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "timeout", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "请设置超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DownloadDialog", - "name": "处理下载对话框", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "处理网页中出现的下载文件对话框。", - "messageTemplate": "点击 $1 中下载对话框的 $2 按钮,{$$2 == 1 && '取消下载文件'}{$$2 == 0 && '下载文件到 $3,然后把结果保存到 $0'}", - "baseType": "WebBrowser_DownloadDialog", - "functionName": "WebBrowser.DownloadDialog", - "functionCalls": [ - { - "function": "WebBrowser.DownloadDialog", - "args": [ - "web", - "button_type", - "save_path", - "custom_name", - "file_name", - "action", - "download_time", - "operation", - "interval", - "dialog_time" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "处理", - "处置", - "办理", - "处理数据", - "加工" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "请选择或输入目标网页对象变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "button_type", - "label": "点击按钮", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择点击对话框中的按钮", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "确认", - "value": "0" - }, - { - "label": "取消", - "value": "1" - } - ] - }, - { - "key": "save_path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${home}\\Downloads", - "placeholder": "输入或选择保存路径", - "description": "将下载的文件储存至该路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "custom_name", - "label": "自定义文件名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对下载文件进行重命名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_name", - "label": "文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请填写文件名", - "description": "请填写下载后的文件名,若非使用IE浏览器,无需填写文件名后缀", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件。跳过,跳过本次操作,返回当前同名文件路径。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - }, - { - "key": "download_time", - "label": "下载超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "300", - "placeholder": "", - "description": "文件下载超时时间,如果在此时间内未下载完成,将返回执行失败。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "当弹出下载文件保存路径弹窗时,可设置输入路径的方式(不同环境需要选择合适的输入方式)。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "dialog_time", - "label": "对话框出现超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "30", - "placeholder": "", - "description": "等待下载对话框出现的时间,超过该时间将报异常报错。", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCollectionV4", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "data_parse", - "get_web_data", - "get_soft_data" - ], - "categorySignature": "data_parse|get_web_data|get_soft_data", - "description": "采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。", - "messageTemplate": "从配置规则 $4 中获取数据,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCollectionV4", - "functionCalls": [ - { - "function": "WebBrowser.DataCollectionV4", - "args": [ - "config", - "designated_info", - "designated_obj", - "region", - "collect_pages", - "collect_items", - "page_type", - "selector_page", - "selector_more", - "deduplication", - "operation_num", - "scroll_config", - "wait_time_page", - "showTable", - "toExcel", - "filename_suffix", - "use_name", - "append_data", - "use_sheet", - "sheet_name", - "filePath", - "monitor_data" - ], - "assignTo": "var0,var1,var2" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据", - "资料", - "数据信息", - "数据内容", - "数据集" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "monitor_data", - "label": "监控空列数据", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "config", - "label": "采集数据", - "widget": "region", - "type": "object", - "displayType": "collectDataSelectorV2", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "region", - "label": "采集范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本页", - "value": "1" - }, - { - "label": "多页", - "value": "2" - }, - { - "label": "所有页", - "value": "0" - }, - { - "label": "条数", - "value": "3" - } - ] - }, - { - "key": "collect_pages", - "label": "采集页数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "collect_items", - "label": "采集条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "page_type", - "label": "翻页方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "翻页按钮", - "value": "1" - }, - { - "label": "加载更多", - "value": "2" - } - ] - }, - { - "key": "selector_page", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择按钮", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "selector_more", - "label": "加载更多按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择加载更多元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "deduplication", - "label": "采集数据内容去除重复行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对采集并处理后的数据内容进行筛选,移除完全相同的数据行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation_num", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "scroll_config", - "label": "页面滚动设置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "无滚动效果", - "value": "1" - }, - { - "label": "缓慢滚动到底部", - "value": "2" - }, - { - "label": "瞬间滚动到底部", - "value": "3" - }, - { - "label": "快速滚动到底部", - "value": "0" - } - ] - }, - { - "key": "wait_time_page", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename_suffix", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "inputGroup", - "required": false, - "defaultValue": "", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_name", - "label": "不包含表头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "append_data", - "label": "数据追加", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "从第一个可用行开始写入数据,不勾选则整表覆盖写入。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_sheet", - "label": "指定 Sheet 页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet_name", - "label": "sheet_name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "Sheet名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - } - ], - "output": { - "label": "采集结果输出至变量", - "key": "var0", - "suggestedName": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ], - "fields": [ - { - "key": "var0", - "label": "采集结果输出至变量", - "defaultValue": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "Excel路径", - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "var2", - "label": "监控结果", - "defaultValue": "监控空列数据", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DownloadFile_V1", - "name": "下载文件", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "自动点击按钮或根据下载地址完成文件下载。", - "messageTemplate": "通过 $1 $2 下载文件至 $6, 然后把结果保存到 $0", - "baseType": "WebBrowser_DownloadFile", - "functionName": "WebBrowser.DownloadFile_V1", - "functionCalls": [ - { - "function": "WebBrowser.DownloadFile_V1", - "args": [ - "down_type", - "download_selector", - "designated_info", - "designated_obj", - "url", - "save_path", - "custom_name", - "file_name", - "action", - "download_time", - "operation_click", - "operation", - "interval", - "headers", - "body", - "cookies", - "is_sync", - "dialog_time" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文件", - "文档", - "文件档", - "档案", - "文件资料" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "down_type", - "label": "下载方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "点击元素,通过点击界面中元素来下载文件。指定地址,通过指定下载地址下载文件。如果能获取下载文件的地址,使用指定地址下载方式会更加稳定。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素", - "value": "0" - }, - { - "label": "指定地址", - "value": "1" - } - ] - }, - { - "key": "download_selector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "url", - "label": "下载地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "输入下载文件地址", - "description": "输入下载文件地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save_path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${home}\\Downloads", - "placeholder": "输入或选择保存路径", - "description": "将下载的文件存储至本地路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "custom_name", - "label": "自定义文件名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对下载文件进行重命名,若保存路径为浏览器默认下载路径,文件存在时的处理可能会不生效", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_name", - "label": "文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "自定义文件名", - "placeholder": "请填写文件名", - "description": "文件名为空则使用原文件名", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件。跳过,跳过本次操作,返回当前同名文件路径。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - }, - { - "key": "download_time", - "label": "下载超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "300", - "placeholder": "", - "description": "文件下载超时时间,如果在此时间内未下载完成,将返回执行失败。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "operation_click", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "当弹出下载文件保存路径弹窗时,可设置输入路径的方式(不同环境需要选择合适的输入方式)。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "headers", - "label": "Headers", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入Headers", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "body", - "label": "Params", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入Params", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "Cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入Cookies", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "is_sync", - "label": "同步下载", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择否,将不等待下载完成,并且返回值将输出None,另外流程终止下载会全部停止。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "dialog_time", - "label": "对话框出现超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "30", - "placeholder": "", - "description": "点击下载元素后,等待对话框出现的超时时间。", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_none", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_none", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetCookieNew", - "name": "获取完整Cookies", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器的完整Cookies信息,并输出Cookies包含的各个字段列表数据。", - "messageTemplate": "在目标浏览器 $1 中获取 $2 的Cookie信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetCookie", - "functionName": "WebBrowser.GetCookieNew", - "functionCalls": [ - { - "function": "WebBrowser.GetCookieNew", - "args": [ - "web", - "source", - "url" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "source", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "auto", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "默认链接", - "value": "auto" - }, - { - "label": "指定链接", - "value": "assignment" - } - ] - }, - { - "key": "url", - "label": "指定链接", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "Cookie字段列表", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "Cookie字段列表", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_RunJsInIeBySelector_v3", - "name": "执行JS", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。", - "messageTemplate": "在网页 $2 中的元素 $3 上运行JS代码, 然后把结果保存到 $0", - "baseType": "WebBrowser_RunJsInIeBySelector", - "functionName": "WebBrowser.RunJsInIeBySelector_v3", - "functionCalls": [ - { - "function": "WebBrowser.RunJsInIeBySelector_v3", - "args": [ - "designated_info", - "web_page", - "uiSelector", - "jsCode", - "input", - "executionEnvironment", - "isAsyncCode", - "waitResultTimeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "js代码", - "自定义js代码", - "浏览器js代码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web_page", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "jsCode", - "label": "JS代码", - "widget": "code", - "type": "string", - "displayType": "code", - "required": true, - "defaultValue": "\"\"\"function (input) {\n\t// 在此处编写您的Javascript代码\n\t// input表示输入的参数,可根据实际情况增加参数\n\n\treturn null;\n}\"\"\"", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "输入参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - }, - { - "key": "executionEnvironment", - "label": "执行环境", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "MAIN", - "placeholder": "", - "description": "JS脚本的目标执行环境", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "插件环境", - "value": "EXTENSION" - }, - { - "label": "网页环境", - "value": "MAIN" - } - ] - }, - { - "key": "isAsyncCode", - "label": "等待异步函数完成", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "请在执行的是异步JS函数且需要等待异步函数执行完成的情况下勾选此配置(注:IE浏览器不支持异步方法)。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "waitResultTimeout", - "label": "异步超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "30", - "placeholder": "", - "description": "等待异步函数结束超时时间,-1表示一直等待", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行返回结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行返回结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_CloseWeb_V1", - "name": "关闭网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "关闭目标浏览器网页,通过变量指定关闭的浏览器对象。", - "messageTemplate": "{$$1 == 1 && '关闭 $2 中被激活的Tab页'}{$$1 == 2 && '在目标浏览器 $3 中关闭网页'}{$$1 == 3 && '关闭 $2 中所有标签页'}, 然后把结果保存到 $0", - "baseType": "WebBrowser_CloseWeb", - "functionName": "WebBrowser.CloseWeb_V1", - "functionCalls": [ - { - "function": "WebBrowser.CloseWeb_V1", - "args": [ - "colse_type", - "browser_type", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭网页", - "退出网页" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "colse_type", - "label": "关闭类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "选择关闭类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "指定网页", - "value": "2" - }, - { - "label": "当前激活页", - "value": "1" - }, - { - "label": "浏览器", - "value": "3" - } - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - }, - { - "label": "火狐浏览器", - "value": "firefox" - }, - { - "label": "实在浏览器", - "value": "zexplorer" - }, - { - "label": "Edge浏览器", - "value": "edge" - }, - { - "label": "360安全浏览器", - "value": "Web360se" - }, - { - "label": "360极速浏览器", - "value": "web360x" - }, - { - "label": "搜狗浏览器", - "value": "Sogou" - }, - { - "label": "紫鸟浏览器", - "value": "superbrowser" - } - ] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_RunJsInIeBySelector_v2", - "name": "执行JS", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。", - "messageTemplate": "目标 $1 运行JS代码, 然后把结果保存到 $0", - "baseType": "WebBrowser_RunJsInIeBySelector", - "functionName": "WebBrowser.RunJsInIeBySelector_v2", - "functionCalls": [ - { - "function": "WebBrowser.RunJsInIeBySelector_v2", - "args": [ - "uiSelector", - "designated_info", - "designated_obj", - "jsCode", - "input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "js代码", - "自定义js代码", - "浏览器js代码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "jsCode", - "label": "JS代码", - "widget": "code", - "type": "string", - "displayType": "code", - "required": true, - "defaultValue": "jsCode", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "输入参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行返回结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行返回结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCollectionV2", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "data_parse", - "get_web_data", - "get_soft_data" - ], - "categorySignature": "data_parse|get_web_data|get_soft_data", - "description": "采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。", - "messageTemplate": "从配置规则 $2 中获取数据,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCollectionV2", - "functionCalls": [ - { - "function": "WebBrowser.DataCollectionV2", - "args": [ - "config", - "region", - "page_config", - "page_num", - "wait_time_page", - "uiSelector_page", - "operation_page", - "num", - "page_element", - "uiSelector_num", - "operation_num", - "wait_time_num", - "showTable", - "toExcel", - "filename_suffix", - "use_name", - "use_sheet", - "sheet_name", - "filePath", - "save", - "view" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置采集数据", - "widget": "region", - "type": "object", - "displayType": "collectDataSelectorV2", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "region", - "label": "采集范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "页数", - "value": "0" - }, - { - "label": "条数", - "value": "1" - } - ] - }, - { - "key": "page_config", - "label": "设置页数", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前页", - "value": "1" - }, - { - "label": "多页", - "value": "2" - }, - { - "label": "所有页", - "value": "0" - } - ] - }, - { - "key": "page_num", - "label": "页数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "wait_time_page", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "uiSelector_page", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_page", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "num", - "label": "设置条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "按条采集需要设置采集的条数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "page_element", - "label": "翻页按钮", - "widget": "boolean", - "type": "boolean", - "displayType": "switchControl", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uiSelector_num", - "label": "uiSelector_num", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_num", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "wait_time_num", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename_suffix", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "inputGroup", - "required": false, - "defaultValue": "", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_name", - "label": "不包含表头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_sheet", - "label": "指定 Sheet 页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet_name", - "label": "sheet_name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "Sheet名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "save", - "label": "将结果保存至松塔数据平台", - "widget": "text", - "type": "string", - "displayType": "saveToSongTa", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var0", - "suggestedName": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ], - "fields": [ - { - "key": "var0", - "label": "输出到变量", - "defaultValue": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "Excel路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DownFile_V1", - "name": "下载文件(指定链接)", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "用浏览器下载指定链接的文件并保存到指定路径。", - "messageTemplate": "使用 $1 下载文件,使用$6文件名保存到路径$5下, 然后把结果保存到 $0", - "baseType": "WebBrowser_DownFile", - "functionName": "WebBrowser.DownFile_V1", - "functionCalls": [ - { - "function": "WebBrowser.DownFile_V1", - "args": [ - "url", - "param", - "headers", - "cookies", - "savepath", - "filename", - "waittype", - "timeout" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "url", - "label": "下载链接", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入下载链接", - "description": "输入下载链接", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "param", - "label": "表单参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入请求参数", - "description": "输入请求参数,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "headers", - "label": "请求头", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入请求头", - "description": "输入请求头,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入待设置cookie,例如:{'a':1,'b':2}", - "description": "输入cookies,数据类型为字典", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "savepath", - "label": "保存文件夹", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${home}\\Downloads", - "placeholder": "请输入或选择文件夹路径", - "description": "选择文件夹,将下载文件保存至此", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "保存文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入保存文件名", - "description": "重命名下载后的文件", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "waittype", - "label": "同步下载", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "是否允许多个文件同时下载", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - }, - { - "key": "timeout", - "label": "超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "10", - "placeholder": "请设置超时时间", - "description": "输入请求超时时间", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_CreateV2", - "name": "打开网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "通过所选择的浏览器打开指定的网页。", - "messageTemplate": "通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0", - "baseType": "WebBrowser_Create", - "functionName": "WebBrowser.CreateV2", - "functionCalls": [ - { - "function": "WebBrowser.CreateV2", - "args": [ - "type", - "url", - "isRemote", - "ipAddress", - "port", - "arguments", - "waitingload" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开页面", - "打开浏览器", - "浏览器", - "打开", - "页面" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "内置运行浏览器", - "value": "zexplorer" - }, - { - "label": "Chrome 浏览器", - "value": "chrome" - }, - { - "label": "Edge 浏览器", - "value": "edge" - } - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网址", - "description": "请输入网址,需补充网址前缀\"https://\"或\"http://\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isRemote", - "label": "是否远程", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入连接远程计算机的 IP 地址,如:192.168.64.161。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "61619", - "placeholder": "", - "description": "输入远程连接计算机的端口号,若未单独设置端口号默认为 61619。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "arguments", - "label": "携带参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要携带的参数", - "description": "启动应用时携带的参数,示例:无痕模式启动Chrome,可输入\"--incognito\"。为空表示不携带参数。", - "advanced": true, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "waitingload", - "label": "等待页面加载完成", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后将等待页面的所有元素加载完成后,再继续执行后续流程", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetBrowserPicV1", - "name": "浏览器截图", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "对网页进行截图,并将截图保存到指定路径或剪切板。", - "messageTemplate": "在目标浏览器 $1 中获取浏览器截图,保存路径为 $4 图像名为 $6, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetBrowserPic", - "functionName": "WebBrowser.GetBrowserPicV1", - "functionCalls": [ - { - "function": "WebBrowser.GetBrowserPicV1", - "args": [ - "web", - "cut_range", - "save_clp", - "savepath", - "gen_pic_name", - "pic_name", - "cover", - "height" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "WebBrowser" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "可以使用“打开网页”组件返回的变量。", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "cut_range", - "label": "截取范围", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "可视区域指对当前网页可见的区域进行截图。整个网页指对当前整个网页进行截图。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "可视区域", - "value": "0" - }, - { - "label": "整个网页", - "value": "1" - } - ] - }, - { - "key": "save_clp", - "label": "保存至剪切板", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "将截取的图像保存至剪切板,可在剪切板组件中在对其做其他操作。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "savepath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请选择保存路径", - "description": "选择截图保存路径,为空时将保存至流程根目录。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "gen_pic_name", - "label": "随机生成图像名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "pic_name", - "label": "图片名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入图片名", - "description": "输入截图的文件名,图片格式为PNG格式。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cover", - "label": "文件存在进行覆盖", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后,如果文件已存在将对其覆盖。不勾选,如果文件已存在将在文件名后缀自动加“-1”区分。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "height", - "label": "最大截图高度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "10000", - "placeholder": "请输入正整数", - "description": "当截取整个网页时,网页的最大截取高度。数值过大容易失败,数值请不要超过60000 px。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "截图路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "截图路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetTAB", - "name": "获取Tab页", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取Tab页。", - "messageTemplate": "获取Tab页, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetTAB", - "functionName": "WebBrowser.GetTAB", - "functionCalls": [ - { - "function": "WebBrowser.GetTAB", - "args": [ - "type", - "title", - "url", - "isActive", - "isRemote", - "ipAddress", - "port" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "ie", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "title", - "label": "标题(支持正则)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "url", - "label": "网址(非必选)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isActive", - "label": "是否激活", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isRemote", - "label": "是否远程", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_CloseWeb", - "name": "关闭网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "关闭目标浏览器网页,通过变量指定关闭的浏览器对象。", - "messageTemplate": "在目标浏览器 $1 中关闭网页, 然后把结果保存到 $0", - "baseType": "WebBrowser_CloseWeb", - "functionName": "WebBrowser.CloseWeb", - "functionCalls": [ - { - "function": "WebBrowser.CloseWeb", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭网页", - "退出网页" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Close", - "name": "关闭浏览器", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "关闭目标浏览器,通过变量指定关闭的浏览器对象。", - "messageTemplate": "在目标浏览器 $1 中关闭浏览器, 然后把结果保存到 $0", - "baseType": "WebBrowser_Close", - "functionName": "WebBrowser.Close", - "functionCalls": [ - { - "function": "WebBrowser.Close", - "args": [ - "web", - "kill" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭浏览器", - "退出浏览器" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "kill", - "label": "关闭浏览器进程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择后会强制关闭浏览器进程以及关联的所有子进程。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCollectionV3", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "data_parse", - "get_web_data", - "get_soft_data" - ], - "categorySignature": "data_parse|get_web_data|get_soft_data", - "description": "采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。", - "messageTemplate": "从配置规则 $2 中获取数据,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCollectionV3", - "functionCalls": [ - { - "function": "WebBrowser.DataCollectionV3", - "args": [ - "config", - "designated_info", - "designated_obj", - "region", - "page_config", - "page_num", - "wait_time_page", - "uiSelector_page", - "operation_page", - "num", - "page_element", - "uiSelector_num", - "operation_num", - "wait_time_num", - "showTable", - "toExcel", - "filename_suffix", - "use_name", - "use_sheet", - "sheet_name", - "filePath", - "save", - "view" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置采集数据", - "widget": "region", - "type": "object", - "displayType": "collectDataSelectorV2", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "region", - "label": "采集范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "页数", - "value": "0" - }, - { - "label": "条数", - "value": "1" - } - ] - }, - { - "key": "page_config", - "label": "设置页数", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前页", - "value": "1" - }, - { - "label": "多页", - "value": "2" - }, - { - "label": "所有页", - "value": "0" - } - ] - }, - { - "key": "page_num", - "label": "页数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "wait_time_page", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "uiSelector_page", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_page", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "num", - "label": "设置条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "按条采集需要设置采集的条数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "page_element", - "label": "翻页按钮", - "widget": "boolean", - "type": "boolean", - "displayType": "switchControl", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uiSelector_num", - "label": "uiSelector_num", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_num", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "wait_time_num", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename_suffix", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "inputGroup", - "required": false, - "defaultValue": "", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_name", - "label": "不包含表头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_sheet", - "label": "指定 Sheet 页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet_name", - "label": "sheet_name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "Sheet名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "save", - "label": "将结果保存至松塔数据平台", - "widget": "text", - "type": "string", - "displayType": "saveToSongTa", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var0", - "suggestedName": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ], - "fields": [ - { - "key": "var0", - "label": "输出到变量", - "defaultValue": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "Excel路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Maximize", - "name": "最大化浏览器", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "最大化浏览器。", - "messageTemplate": "将 $0 所在浏览器最大化", - "baseType": "WebBrowser_Maximize", - "functionName": "WebBrowser.Maximize", - "functionCalls": [ - { - "function": "WebBrowser.Maximize", - "args": [ - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "WebBrowser" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "WebBrowser_GoForward", - "name": "前进", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "执行浏览器前进操作,与工具栏的前进按钮相同。", - "messageTemplate": "在目标浏览器 $1 中前进, 然后把结果保存到 $0", - "baseType": "WebBrowser_GoForward", - "functionName": "WebBrowser.GoForward", - "functionCalls": [ - { - "function": "WebBrowser.GoForward", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "前进", - "浏览器前进", - "网页前进" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_SetCookies", - "name": "设置Cookies", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "设置目标浏览器中Cookies的值,并输出给指定变量。", - "messageTemplate": "在目标浏览器 $1 中设置Cookies, 然后把结果保存到 $0", - "baseType": "WebBrowser_SetCookies", - "functionName": "WebBrowser.SetCookies", - "functionCalls": [ - { - "function": "WebBrowser.SetCookies", - "args": [ - "web", - "cookies" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "cookies", - "设定cookies" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "cookies", - "label": "cookie对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "{}", - "placeholder": "请输入一个字典对象", - "description": "输入一个字典对象,格式为{'name':'cookieName','value':'cookieValue'},示例{'name':'ab','value':'cd'}", - "advanced": false, - "valueTypes": [ - "rpa_dict" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_StartWeblistening", - "name": "启动网页监听", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "启动网页监听任务,运行后开始监听目标网页的网页请求并采集到网页请求产生的数据。", - "messageTemplate": "启动网页监听任务监听目标 $0 的接口请求数据", - "baseType": "WebBrowser_StartWeblistening", - "functionName": "WebBrowser.StartWeblistening", - "functionCalls": [ - { - "function": "WebBrowser.StartWeblistening", - "args": [ - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "启动", - "开启", - "运行", - "打开", - "启用" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "", - "description": "选择已经创建好的目标浏览器网页对象(变量),可通过打开网页组件等组件创建变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "WebBrowser_Wait", - "name": "等待网页加载", - "kind": "vendor", - "group": "web", - "categories": [ - "waite", - "webBrowser_operate" - ], - "categorySignature": "waite|webBrowser_operate", - "description": "等待浏览器页面加载完成,然后执行后续流程。", - "messageTemplate": "在目标浏览器 $1 中等待, 然后把结果保存到 $0", - "baseType": "WebBrowser_Wait", - "functionName": "WebBrowser.Wait", - "functionCalls": [ - { - "function": "WebBrowser.Wait", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "页面加载", - "等待加载", - "loading", - "等待", - "延时", - "延迟", - "等候", - "暂停" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "请输入或选择目标浏览器变量", - "description": "输入或选择目标浏览器变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_UploadDialog", - "name": "处理上传对话框", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "处理网页中出现的上传文件对话框。", - "messageTemplate": "点击 $0 中上传对话框的 $1 按钮,{$$1 == 0 && '上传$2 $3$4'}{$$1 == 1 && '取消上传文件'}", - "baseType": "WebBrowser_UploadDialog", - "functionName": "WebBrowser.UploadDialog", - "functionCalls": [ - { - "function": "WebBrowser.UploadDialog", - "args": [ - "web", - "button_type", - "file_type", - "file_path", - "folder_path", - "upload_time", - "operation", - "interval", - "dialog_time" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "上传框", - "对话框", - "上传", - "处理", - "处置", - "办理", - "处理数据", - "加工" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "请选择或输入目标网页对象变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "button_type", - "label": "点击按钮", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择点击对话框中的按钮", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "确认", - "value": "0" - }, - { - "label": "取消", - "value": "1" - } - ] - }, - { - "key": "file_type", - "label": "上传类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择上传文件或文件夹", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "文件", - "value": "0" - }, - { - "label": "文件夹", - "value": "1" - } - ] - }, - { - "key": "file_path", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "输入或选择文件路径", - "description": "请输入要上传文件或文件夹的完整路径,若需要上传多个,常规模式下,多个路径使用 ; 进行分隔;代码模式下,可使用文件路径列表,或输入字符串类型的多个文件路径的地址拼接,例如:“文件1路径;文件2路径”", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "folder_path", - "label": "文件夹路径", - "widget": "folder", - "type": "object", - "displayType": "multiSelectFileOrDir", - "required": true, - "defaultValue": "", - "placeholder": "输入或选择文件夹路径", - "description": "请输入要上传文件或文件夹的完整路径,若需要上传多个,常规模式下,多个路径使用 ; 进行分隔;代码模式下,可使用文件路径列表,或输入字符串类型的多个文件路径的地址拼接,例如:“文件1路径;文件2路径”", - "advanced": false, - "valueTypes": [ - "rpa_str", - "rpa_list" - ] - }, - { - "key": "upload_time", - "label": "上传超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "60", - "placeholder": "", - "description": "文件上传超时时间,如果在此时间内未上传完成,将返回执行失败。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "当弹出上传文件路径弹窗时,可以设置输入路径的方式(不同路径需要选择合入的数据方式)。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "dialog_time", - "label": "对话框出现超时时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "30", - "placeholder": "", - "description": "等待上传对话框出现的时间,超过该时间将报异常报错。", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "WebBrowser_Switch_V1", - "name": "切换页面", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "在浏览器中切换标签页到指定的网页对象,可配合获取网页tab对象、打开网页、网页对象列表使用。", - "messageTemplate": "切换浏览器的标签页至目标 $1, 然后把结果保存到 $0", - "baseType": "WebBrowser_Switch", - "functionName": "WebBrowser.Switch_V1", - "functionCalls": [ - { - "function": "WebBrowser.Switch_V1", - "args": [ - "web", - "is_active" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "tab切换", - "切换到指定页面", - "切换" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "请选择或输入网页对象变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "is_active", - "label": "是否激活", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCrawl_web", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data", - "get_web_data", - "data_parse" - ], - "categorySignature": "get_soft_data|get_web_data|data_parse", - "description": "采集网页中的表格内容、商品列表页、商品详情页内容(可选多页),并将采集的结果保存至变量或数据表、Excel中。", - "messageTemplate": "采集指定网页中数据 $2,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCrawl_web", - "functionCalls": [ - { - "function": "WebBrowser.DataCrawl_web", - "args": [ - "config", - "selectorCode", - "web", - "turnPageConfigType", - "pageCount", - "showTable", - "toExcel", - "filename", - "filePath", - "delay_pages", - "page_scroll", - "scrollDelay", - "unable_collect", - "repeat_count", - "save", - "view", - "toPortal", - "portal_view" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置数据采集项", - "widget": "region", - "type": "object", - "displayType": "collectDataSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "selectorCode", - "label": "selectorCode", - "widget": "text", - "type": "string", - "displayType": "checkCode", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "", - "description": "输入一个获取到hweb对象或创建的hweb对象。", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "turnPageConfigType", - "label": "采集页数", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "需要采集的页数,当前页、所有页、指定页(需要设置采集总页数)", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前页", - "value": "1" - }, - { - "label": "所有页", - "value": "0" - }, - { - "label": "指定页", - "value": "2" - } - ] - }, - { - "key": "pageCount", - "label": "页数", - "widget": "number", - "type": "number", - "displayType": "integerInputNumber", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "输入需要采集的总页数", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "实在RPA-设计器数据采集结果_${randomString}.xls", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "delay_pages", - "label": "每页延迟(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "采集一页数据需要等待的时间。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "page_scroll", - "label": "页面滚屏(屏)", - "widget": "number", - "type": "number", - "displayType": "integerInputNumber", - "required": false, - "defaultValue": "5", - "placeholder": "", - "description": "以当前电脑屏幕为准,可设置滚动多少屏。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "scrollDelay", - "label": "滚屏延迟(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "200", - "placeholder": "", - "description": "页面滚屏后加载数据的等待时间,若页面滚屏未设置则不生效。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "unable_collect", - "label": "无法采集时重复执行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "当数据采集组件遇到阻碍时,可尝试重复执行,从阻断处继续。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "repeat_count", - "label": "重复次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "save", - "label": "将结果保存至松塔", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toPortal", - "label": "将结果保存至门户", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "portal_view", - "label": "portal_view", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var0", - "suggestedName": "批量采集结果", - "valueTypes": [ - "rpa_list_piliangshuju" - ], - "fields": [ - { - "key": "var0", - "label": "输出到变量", - "defaultValue": "批量采集结果", - "valueTypes": [ - "rpa_list_piliangshuju" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "采集页码", - "valueTypes": [ - "rpa_int" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCrawler", - "name": "爬取数据", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "自动爬取网页数据,并输出到指定变量。通过元素拾取识别采样规则,可设定翻页次数。", - "messageTemplate": "找出采样列表的规则,可自动翻 $3 页 $4 次(每次停留 $5 秒),导出页面的所有同类数据,并赋值给 $1 , 然后把结果保存到 $0", - "baseType": "WebBrowser_DataCrawler", - "functionName": "WebBrowser.DataCrawler", - "functionCalls": [ - { - "function": "WebBrowser.DataCrawler", - "args": [ - "targets", - "with_url", - "next_page_selector", - "next_page_times", - "next_page_interval" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "数据爬取", - "网页数据采集", - "自动采集" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "targets", - "label": "采样列表", - "widget": "text", - "type": "string", - "displayType": "crawlData", - "required": false, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "with_url", - "label": "是否带url", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "next_page_selector", - "label": "下一页点击目标", - "widget": "element", - "type": "object", - "displayType": "selectUi", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "next_page_times", - "label": "翻页次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "next_page_interval", - "label": "翻页停留间隔", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "单位:s(秒)", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_StopWeblistening", - "name": "停止网页监听", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "停止针对某个网页对象的请求监听任务。", - "messageTemplate": "停止对 $0 网页请求的监听", - "baseType": "WebBrowser_StopWeblistening", - "functionName": "WebBrowser.StopWeblistening", - "functionCalls": [ - { - "function": "WebBrowser.StopWeblistening", - "args": [ - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "WebBrowser" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "", - "description": "选择已经创建好的目标浏览器网页对象(变量),可通过打开网页组件等组件创建变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetTAB_V2", - "name": "获取网页 Tab 对象", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取浏览器中根据标题或网址匹配到的Tab页,也可获取当前已选中网页,并输出网页对象。", - "messageTemplate": "获取 $1 中根据 $2 匹配到的网页 , 然后把结果保存到 $0", - "baseType": "WebBrowser_GetTAB", - "functionName": "WebBrowser.GetTAB_V2", - "functionCalls": [ - { - "function": "WebBrowser.GetTAB_V2", - "args": [ - "browser_type", - "match_type", - "title", - "url", - "get_all", - "isActive" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropdownSelectByRpaCore", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - }, - { - "label": "火狐浏览器", - "value": "firefox" - }, - { - "label": "实在浏览器", - "value": "zexplorer" - }, - { - "label": "Edge浏览器", - "value": "edge" - }, - { - "label": "360安全浏览器", - "value": "Web360se" - }, - { - "label": "360极速浏览器", - "value": "web360x" - }, - { - "label": "搜狗浏览器", - "value": "Sogou" - }, - { - "label": "紫鸟浏览器", - "value": "superbrowser" - } - ] - }, - { - "key": "match_type", - "label": "匹配方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "根据所选匹配方式获取对应Tab页。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "标题", - "value": "0" - }, - { - "label": "网址", - "value": "1" - }, - { - "label": "当前Tab页", - "value": "2" - } - ] - }, - { - "key": "title", - "label": "标题", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入网页标题", - "description": "填写要匹配的网页标题,支持模糊匹配和正则匹配,如:.*天猫、天猫.*。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "填写要匹配的网址,支持模糊匹配和正则匹配,如:https://www.tmall.hk/?spm=.*", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "get_all", - "label": "获取全部匹配项", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "默认不勾选,表示仅获取匹配到的第一个网页对象,输出值一个网页对象。勾选则表示获取所有匹配到的网页对象,输出值为网页对象列表,输出到变量属性的值变为“网页对象列表”。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isActive", - "label": "激活网页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "切换到第一个匹配的网页", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [ - "rpa_list_hWeb", - "rpa_hWeb" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [ - "rpa_list_hWeb", - "rpa_hWeb" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_SetCookies_V1", - "name": "设置Cookie", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "设置目标浏览器中Cookies的值,并输出给指定变量。", - "messageTemplate": "在目标浏览器 $1 中设置Cookies, 然后把结果保存到 $0", - "baseType": "WebBrowser_SetCookies", - "functionName": "WebBrowser.SetCookies_V1", - "functionCalls": [ - { - "function": "WebBrowser.SetCookies_V1", - "args": [ - "web", - "cookie_name", - "cookie_value", - "cookie_expires", - "cookie_domain", - "cookie_path", - "http_only", - "secure" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "cookies", - "设定cookies", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "cookie_name", - "label": "Cookie name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "设置Cookie的名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cookie_value", - "label": "Cookie value", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置Cookie的值,为空则忽略", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cookie_expires", - "label": "Cookie expires", - "widget": "number", - "type": "number", - "displayType": "unitInput", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置Cookie的有效期,默认为空时,将设置为会话Cookie;若填写时间,将在超出设置的有效时间后失效", - "advanced": false, - "valueTypes": [ - "rpa_int", - "rpa_float" - ] - }, - { - "key": "cookie_domain", - "label": "Cookie domain", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置Cookie的domain,默认为目标网页对象url的domain部分", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "cookie_path", - "label": "Cookie path", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "设置Cookie的path,默认为网页对象url的path部分,为空则忽略", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "http_only", - "label": "标记为HttpOnly", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后,JavaScript将无法通过document.cookie访问该Cookie,有助于防止XSS攻击", - "advanced": false, - "valueTypes": [] - }, - { - "key": "secure", - "label": "标记为Secure", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "勾选后,Cookie将仅通过HTTPS协议传输,提高安全性", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCollectionV5", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "data_parse", - "get_web_data", - "get_soft_data" - ], - "categorySignature": "data_parse|get_web_data|get_soft_data", - "description": "采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。", - "messageTemplate": "从配置规则 $4 中获取数据,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCollectionV5", - "functionCalls": [ - { - "function": "WebBrowser.DataCollectionV5", - "args": [ - "config", - "designated_info", - "designated_obj", - "region", - "collect_pages", - "collect_items", - "page_type", - "page_type_num", - "selector_page", - "selector_more", - "deduplication", - "operation_num", - "scroll_config", - "wait_time_page", - "showTable", - "toExcel", - "filename_suffix", - "use_name", - "append_data", - "use_sheet", - "sheet_name", - "filePath", - "monitor_data", - "share" - ], - "assignTo": "var0,var1,var2" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "monitor_data", - "label": "监控空列数据", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "config", - "label": "采集数据", - "widget": "region", - "type": "object", - "displayType": "collectDataSelectorV2", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_info", - "label": "指定网页/窗口对象", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "designated_obj", - "label": "网页/窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入网页对象", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb", - "rpa_window_new" - ] - }, - { - "key": "region", - "label": "采集范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "本页", - "value": "1" - }, - { - "label": "多页", - "value": "2" - }, - { - "label": "所有页", - "value": "0" - }, - { - "label": "条数", - "value": "3" - } - ] - }, - { - "key": "collect_pages", - "label": "采集页数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "collect_items", - "label": "采集条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "page_type", - "label": "翻页方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "翻页按钮", - "value": "1" - }, - { - "label": "加载更多", - "value": "2" - } - ] - }, - { - "key": "page_type_num", - "label": "翻页方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "无", - "value": "0" - }, - { - "label": "翻页按钮", - "value": "1" - }, - { - "label": "加载更多", - "value": "2" - } - ] - }, - { - "key": "selector_page", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择按钮", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "selector_more", - "label": "加载更多按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择加载更多元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "deduplication", - "label": "采集数据内容去除重复行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对采集并处理后的数据内容进行筛选,移除完全相同的数据行", - "advanced": false, - "valueTypes": [] - }, - { - "key": "operation_num", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "scroll_config", - "label": "页面滚动设置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "无滚动效果", - "value": "1" - }, - { - "label": "缓慢滚动到底部", - "value": "2" - }, - { - "label": "瞬间滚动到底部", - "value": "3" - }, - { - "label": "快速滚动到底部", - "value": "0" - } - ] - }, - { - "key": "wait_time_page", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename_suffix", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "inputGroup", - "required": false, - "defaultValue": "", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_name", - "label": "不包含表头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "append_data", - "label": "数据追加", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "从第一个可用行开始写入数据,不勾选则整表覆盖写入。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_sheet", - "label": "指定 Sheet 页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet_name", - "label": "sheet_name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "Sheet名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "share", - "label": "共享路径", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "是否是局域网共享路径", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "采集结果输出至变量", - "key": "var0", - "suggestedName": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ], - "fields": [ - { - "key": "var0", - "label": "采集结果输出至变量", - "defaultValue": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "Excel路径", - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "var2", - "label": "监控结果", - "defaultValue": "监控空列数据", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetTitle", - "name": "获取Title", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器中页面Title信息,并输出到变量。", - "messageTemplate": "在目标浏览器 $1 中读取Title信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetTitle", - "functionName": "WebBrowser.GetTitle", - "functionCalls": [ - { - "function": "WebBrowser.GetTitle", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "页面Title", - "获取页面标题", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网址标题", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网址标题", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_CreateV3", - "name": "打开网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "通过所选择的浏览器打开指定的网页。", - "messageTemplate": "通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0", - "baseType": "WebBrowser_Create", - "functionName": "WebBrowser.CreateV3", - "functionCalls": [ - { - "function": "WebBrowser.CreateV3", - "args": [ - "type", - "url", - "isRemote", - "ipAddress", - "port", - "arguments", - "openNewTab", - "waitingload" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开页面", - "打开浏览器", - "浏览器", - "打开", - "页面" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropdownSelectByRpaCore", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "内置运行浏览器", - "value": "zexplorer" - }, - { - "label": "Chrome 浏览器", - "value": "chrome" - }, - { - "label": "Edge 浏览器", - "value": "edge" - } - ] - }, - { - "key": "url", - "label": "网址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入网址", - "description": "请输入网址,需补充网址前缀\"https://\"或\"http://\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "isRemote", - "label": "是否远程", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "ipAddress", - "label": "ip地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "输入连接远程计算机的 IP 地址,如:192.168.64.161。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "port", - "label": "端口号", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "61619", - "placeholder": "", - "description": "输入远程连接计算机的端口号,若未单独设置端口号默认为 61619。", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "arguments", - "label": "携带参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入需要携带的参数", - "description": "启动应用时携带的参数,示例:无痕模式启动Chrome,可输入\"--incognito\"。为空表示不携带参数。", - "advanced": true, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "openNewTab", - "label": "使用新Tab页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后将使用新Tab打开网页,不勾选将在当前激活页跳转,再继续执行后续流程。", - "advanced": true, - "valueTypes": [] - }, - { - "key": "waitingload", - "label": "等待页面加载完成", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "勾选后将等待页面的所有元素加载完成后,再继续执行后续流程。", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网页对象", - "valueTypes": [ - "rpa_hWeb" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetScrollPos_V1", - "name": "获取滚动条位置", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器当前滚动条的位置信息,并输出指定变量。", - "messageTemplate": "在目标浏览器 $1 读取目标浏览器的滚动条位置信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetScrollPos", - "functionName": "WebBrowser.GetScrollPos_V1", - "functionCalls": [ - { - "function": "WebBrowser.GetScrollPos_V1", - "args": [ - "web", - "is_set", - "selector", - "scroll_type" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "滚动条", - "滚动条位置", - "获取滚动条位置", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "is_set", - "label": "获取网页中元素的滚动条位置", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "selector", - "label": "元素选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "拾取或选择输入框", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "scroll_type", - "label": "滚动条类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "纵向滚动条", - "value": "1" - }, - { - "label": "横向滚动条", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "位置距离", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "位置距离", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCollection", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "get_soft_data", - "get_web_data", - "data_parse" - ], - "categorySignature": "get_soft_data|get_web_data|data_parse", - "description": "采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。", - "messageTemplate": "从配置规则 $2 中获取数据,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCollection", - "functionCalls": [ - { - "function": "WebBrowser.DataCollection", - "args": [ - "config", - "region", - "page_config", - "page_num", - "wait_time_page", - "uiSelector_page", - "num", - "page_element", - "uiSelector_num", - "wait_time_num", - "showTable", - "toExcel", - "filename", - "suffix", - "use_name", - "use_sheet", - "sheet_name", - "filePath", - "save", - "view" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置采集数据", - "widget": "region", - "type": "object", - "displayType": "collectDataSelectorV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "region", - "label": "采集范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "页数", - "value": "0" - }, - { - "label": "条数", - "value": "1" - } - ] - }, - { - "key": "page_config", - "label": "设置页数", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前页", - "value": "1" - }, - { - "label": "多页", - "value": "2" - }, - { - "label": "所有页", - "value": "0" - } - ] - }, - { - "key": "page_num", - "label": "页数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "wait_time_page", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "uiSelector_page", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "num", - "label": "设置条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "按条采集需要设置采集的条数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "page_element", - "label": "设置翻页元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uiSelector_num", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "wait_time_num", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "表格数据", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "suffix", - "label": "suffix", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": ".xls", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": ".xls", - "value": ".xls" - }, - { - "label": ".xlsx", - "value": ".xlsx" - }, - { - "label": ".csv", - "value": ".csv" - } - ] - }, - { - "key": "use_name", - "label": "不包含表头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_sheet", - "label": "指定 Sheet 页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet_name", - "label": "sheet_name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "Sheet名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "save", - "label": "将结果保存至松塔数据平台", - "widget": "text", - "type": "string", - "displayType": "saveToSongTa", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var0", - "suggestedName": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ], - "fields": [ - { - "key": "var0", - "label": "输出到变量", - "defaultValue": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "Excel路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GoBack", - "name": "后退", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "执行浏览器后退操作,与工具栏的后退按钮相同。", - "messageTemplate": "在目标浏览器 $1 中后退, 然后把结果保存到 $0", - "baseType": "WebBrowser_GoBack", - "functionName": "WebBrowser.GoBack", - "functionCalls": [ - { - "function": "WebBrowser.GoBack", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "后退", - "浏览器后退", - "网页后退" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetScrollPos", - "name": "获取滚动条位置", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器当前滚动条的位置信息,并输出指定变量。", - "messageTemplate": "在目标浏览器 $1 读取目标浏览器的滚动条位置信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetScrollPos", - "functionName": "WebBrowser.GetScrollPos", - "functionCalls": [ - { - "function": "WebBrowser.GetScrollPos", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "滚动条位置", - "获取滚动条位置" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "位置距离", - "valueTypes": [ - "rpa_dict_scrollBar" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "位置距离", - "valueTypes": [ - "rpa_dict_scrollBar" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCollectionV1", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "data_parse", - "get_web_data", - "get_soft_data" - ], - "categorySignature": "data_parse|get_web_data|get_soft_data", - "description": "采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。", - "messageTemplate": "从配置规则 $2 中获取数据,然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCollectionV1", - "functionCalls": [ - { - "function": "WebBrowser.DataCollectionV1", - "args": [ - "config", - "region", - "page_config", - "page_num", - "wait_time_page", - "uiSelector_page", - "operation_page", - "num", - "page_element", - "uiSelector_num", - "operation_num", - "wait_time_num", - "showTable", - "toExcel", - "filename", - "suffix", - "use_name", - "use_sheet", - "sheet_name", - "filePath", - "save", - "view" - ], - "assignTo": "var0,var1" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置采集数据", - "widget": "region", - "type": "object", - "displayType": "collectDataSelectorV2", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "region", - "label": "采集范围", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "页数", - "value": "0" - }, - { - "label": "条数", - "value": "1" - } - ] - }, - { - "key": "page_config", - "label": "设置页数", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "当前页", - "value": "1" - }, - { - "label": "多页", - "value": "2" - }, - { - "label": "所有页", - "value": "0" - } - ] - }, - { - "key": "page_num", - "label": "页数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "wait_time_page", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "uiSelector_page", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_page", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "num", - "label": "设置条数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "20", - "placeholder": "", - "description": "按条采集需要设置采集的条数。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "page_element", - "label": "设置翻页元素", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "uiSelector_num", - "label": "翻页按钮", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择翻页元素", - "description": "采集页面需要翻页时,请设置翻页元素。", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "operation_num", - "label": "模拟类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "模拟人工操作", - "value": "1" - }, - { - "label": "后台接口操作", - "value": "0" - } - ] - }, - { - "key": "wait_time_num", - "label": "等待数据加载时间(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename", - "label": "Excel 名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "表格数据", - "placeholder": "请输入Excel文件名称", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "suffix", - "label": "suffix", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": ".xls", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": ".xls", - "value": ".xls" - }, - { - "label": ".xlsx", - "value": ".xlsx" - }, - { - "label": ".csv", - "value": ".csv" - } - ] - }, - { - "key": "use_name", - "label": "不包含表头", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "use_sheet", - "label": "指定 Sheet 页", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "sheet_name", - "label": "sheet_name", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "Sheet名称", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "filePath", - "label": "Excel 保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "请输入或选择保存路径", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "save", - "label": "将结果保存至松塔数据平台", - "widget": "text", - "type": "string", - "displayType": "saveToSongTa", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "view", - "label": " ", - "widget": "text", - "type": "string", - "displayType": "previewDataTable", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var0", - "suggestedName": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ], - "fields": [ - { - "key": "var0", - "label": "输出到变量", - "defaultValue": "数据采集结果", - "valueTypes": [ - "rpa_list_piliangshuju_v1" - ] - }, - { - "key": "var1", - "label": "输出到变量", - "defaultValue": "Excel路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Close_V1", - "name": "关闭浏览器", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "关闭目标浏览器,通过变量指定关闭的浏览器对象。", - "messageTemplate": "在目标浏览器 $1 中关闭浏览器, 然后把结果保存到 $0", - "baseType": "WebBrowser_Close", - "functionName": "WebBrowser.Close_V1", - "functionCalls": [ - { - "function": "WebBrowser.Close_V1", - "args": [ - "browser_type", - "kill" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭浏览器", - "退出浏览器", - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropdownSelectByRpaCore", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "选择浏览器类型", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "谷歌浏览器", - "value": "chrome" - }, - { - "label": "IE浏览器", - "value": "ie" - }, - { - "label": "火狐浏览器", - "value": "firefox" - }, - { - "label": "实在浏览器", - "value": "zexplorer" - }, - { - "label": "Edge浏览器", - "value": "edge" - }, - { - "label": "360安全浏览器", - "value": "Web360se" - }, - { - "label": "360极速浏览器", - "value": "web360x" - }, - { - "label": "搜狗浏览器", - "value": "Sogou" - }, - { - "label": "紫鸟浏览器", - "value": "superbrowser" - } - ] - }, - { - "key": "kill", - "label": "关闭浏览器进程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择后会强制关闭浏览器进程以及关联的所有子进程。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "操作结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "操作结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DownloadFile", - "name": "下载文件", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "自动点击按钮或根据下载地址完成文件下载。", - "messageTemplate": "通过 $1 $2 下载文件至 $4, 然后把结果保存到 $0", - "baseType": "WebBrowser_DownloadFile", - "functionName": "WebBrowser.DownloadFile", - "functionCalls": [ - { - "function": "WebBrowser.DownloadFile", - "args": [ - "down_type", - "download_selector", - "url", - "save_path", - "custom_name", - "file_name", - "action", - "download_time", - "operation", - "interval", - "headers", - "body", - "cookies", - "is_sync" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "down_type", - "label": "下载方式", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "点击元素,通过点击界面中元素来下载文件。指定地址,通过指定下载地址下载文件。如果能获取下载文件的地址,使用指定地址下载方式会更加稳定。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "点击元素", - "value": "0" - }, - { - "label": "指定地址", - "value": "1" - } - ] - }, - { - "key": "download_selector", - "label": "目标选择", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择界面元素", - "description": "拾取或选择需点击的界面元素", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "url", - "label": "下载地址", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "输入下载文件地址", - "description": "输入下载文件地址", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "save_path", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "${home}\\Downloads", - "placeholder": "输入或选择保存路径", - "description": "将下载的文件存储至本地路径。", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "custom_name", - "label": "自定义文件名", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "对下载文件进行重命名。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "file_name", - "label": "文件名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "无需输入文件扩展名", - "description": "下载后文件名,无需指定文件后缀", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "action", - "label": "文件存在时", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "生成副本,将在文件名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件。跳过,跳过本次操作,返回当前同名文件路径。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "生成副本", - "value": "1" - }, - { - "label": "替换", - "value": "2" - }, - { - "label": "跳过", - "value": "3" - } - ] - }, - { - "key": "download_time", - "label": "下载超时(秒)", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "300", - "placeholder": "", - "description": "文件下载超时时间,如果在此时间内未下载完成,将返回执行失败。", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "operation", - "label": "输入类型", - "widget": "radio", - "type": "string", - "displayType": "buttonGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "当弹出下载文件保存路径弹窗时,可设置输入路径的方式(不同环境需要选择合适的输入方式)。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "模拟输入", - "value": "1" - }, - { - "label": "后台接口", - "value": "0" - }, - { - "label": "剪切板粘贴", - "value": "2" - } - ] - }, - { - "key": "interval", - "label": "输入间隔(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputInterval", - "required": true, - "defaultValue": "150", - "placeholder": "", - "description": "当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)", - "advanced": true, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "headers", - "label": "Headers", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入Headers", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "body", - "label": "Params", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入Params", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "cookies", - "label": "Cookies", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "{}", - "placeholder": "请输入Cookies", - "description": "", - "advanced": true, - "valueTypes": [ - "rpa_dict" - ] - }, - { - "key": "is_sync", - "label": "同步下载", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择否,将不等待下载完成,并且返回值将输出None,另外流程终止下载会全部停止。", - "advanced": true, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "1" - }, - { - "label": "否", - "value": "0" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "文件路径", - "valueTypes": [ - "rpa_none", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "文件路径", - "valueTypes": [ - "rpa_none", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_RunJsInIeBySelectorGround", - "name": "执行JS", - "kind": "vendor", - "group": "desktop", - "categories": [ - "desktop_element" - ], - "categorySignature": "desktop_element", - "description": "在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。", - "messageTemplate": "目标 $1 运行JS代码, 然后把结果保存到 $0", - "baseType": "WebBrowser_RunJsInIeBySelectorGround", - "functionName": "WebBrowser.RunJsInIeBySelectorGround", - "functionCalls": [ - { - "function": "WebBrowser.RunJsInIeBySelectorGround", - "args": [ - "uiSelector", - "jsCode", - "input", - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "js代码", - "自定义js代码", - "浏览器js代码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择网页元素", - "description": "目标指在哪个元素上执行JS,可拾取或选择网页元素", - "advanced": false, - "valueTypes": [] - }, - { - "key": "jsCode", - "label": "JS代码", - "widget": "code", - "type": "string", - "displayType": "code", - "required": true, - "defaultValue": "jsCode", - "placeholder": "请输入JS代码", - "description": "支持输入JS代码块", - "advanced": false, - "valueTypes": [] - }, - { - "key": "input", - "label": "输入参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "请输入参数列表", - "description": "支持在JS代码块中传入流程参数,数据格式为列表。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "", - "description": "选择通过 “启动新浏览器” 组件创建的浏览器窗口对象。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行返回结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行返回结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GoUrl", - "name": "跳转网页", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "在目标浏览器中,打开指定网址的页面。", - "messageTemplate": "在目标浏览器 $1 中打开页面 $2, 然后把结果保存到 $0", - "baseType": "WebBrowser_GoUrl", - "functionName": "WebBrowser.GoUrl", - "functionCalls": [ - { - "function": "WebBrowser.GoUrl", - "args": [ - "web", - "url" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开页面", - "打开网站" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "url", - "label": "加载链接", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入待跳转网址", - "description": "请输入待跳转网址,需补充网址前缀\"https://\"或\"http://\"", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "跳转结果", - "valueTypes": [ - "rpa_bool" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "跳转结果", - "valueTypes": [ - "rpa_bool" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_BatchDataCrawl", - "name": "批量数据采集(beta)", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "批量数据采集。", - "messageTemplate": "在当前网页中抓取数据列表, 然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.BatchDataCrawl", - "functionCalls": [ - { - "function": "WebBrowser.BatchDataCrawl", - "args": [ - "config", - "browserType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置", - "widget": "region", - "type": "object", - "displayType": "collectData", - "required": false, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "browserType", - "label": "浏览器类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "chrome", - "placeholder": "", - "description": "支持Chrome或IE9.0以上,请保持采集页桌面置顶,如需更换采集网址,请先清空内容。", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "arrayRet", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "arrayRet", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetUrl", - "name": "获取URL", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器中URL信息,并输出到变量。", - "messageTemplate": "在目标浏览器 $1 中读取URL信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetUrl", - "functionName": "WebBrowser.GetUrl", - "functionCalls": [ - { - "function": "WebBrowser.GetUrl", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "URL地址", - "获取链接地址", - "获取网址信息", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "网址", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "网址", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_DataCrawl", - "name": "数据采集", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "采集网页中的表格内容、商品列表页、商品详情页内容(可选多页),并将采集的结果保存至变量或数据表、Excel中。", - "messageTemplate": "采集指定网页中数据 $1, 然后把结果保存到 $0", - "baseType": "WebBrowser_BatchDataCrawl", - "functionName": "WebBrowser.DataCrawl", - "functionCalls": [ - { - "function": "WebBrowser.DataCrawl", - "args": [ - "config", - "selectorCode", - "web", - "showTable", - "toExcel", - "filename", - "filePath", - "page_scroll", - "delay_pages", - "unable_collect", - "repeat_count" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "config", - "label": "配置数据采集项", - "widget": "region", - "type": "object", - "displayType": "collectDataSelector", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "selectorCode", - "label": "selectorCode", - "widget": "text", - "type": "string", - "displayType": "checkCode", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "输入一个获取到的或打开网页创建的网页对象。", - "advanced": false, - "valueTypes": [] - }, - { - "key": "showTable", - "label": "将结果保存至数据表", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "toExcel", - "label": "将结果保存至Excel中", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filename", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "实在RPA-设计器数据采集结果_${randomString}.xls", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "filePath", - "label": "文件保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "res", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "page_scroll", - "label": "页面滚动(像素)", - "widget": "number", - "type": "number", - "displayType": "pageScroll", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "delay_pages", - "label": "每页延迟(毫秒)", - "widget": "number", - "type": "number", - "displayType": "inputNumber", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "unable_collect", - "label": "无法采集时重复执行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - }, - { - "key": "repeat_count", - "label": "重复次数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": true, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "批量采集结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "批量采集结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetCookies", - "name": "获取Cookies", - "kind": "vendor", - "group": "web", - "categories": [ - "get_web_data" - ], - "categorySignature": "get_web_data", - "description": "获取目标浏览器中的全部cookies信息,并输出给指定变量。", - "messageTemplate": "在目标浏览器 $1 中获取全部的Cookies信息, 然后把结果保存到 $0", - "baseType": "WebBrowser_GetCookies", - "functionName": "WebBrowser.GetCookies", - "functionCalls": [ - { - "function": "WebBrowser.GetCookies", - "args": [ - "web" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "cookies", - "获取cookies", - "指定cookies", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "cookies值", - "valueTypes": [ - "rpa_dict" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "cookies值", - "valueTypes": [ - "rpa_dict" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_RunJsInIeBySelector_v1", - "name": "执行JS", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser" - ], - "categorySignature": "webBrowser", - "description": "在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。", - "messageTemplate": "目标 $1 运行JS代码, 然后把结果保存到 $0", - "baseType": "WebBrowser_RunJsInIeBySelector", - "functionName": "WebBrowser.RunJsInIeBySelector_v1", - "functionCalls": [ - { - "function": "WebBrowser.RunJsInIeBySelector_v1", - "args": [ - "uiSelector", - "browser_type", - "jsCode", - "input" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "js代码", - "自定义js代码", - "浏览器js代码" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "uiSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "comboSelector", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "browser_type", - "label": "浏览器类型", - "widget": "hidden", - "type": "string", - "displayType": "hidden", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。", - "advanced": false, - "valueTypes": [ - "rpa_hweb", - "rpa_hWeb_type" - ] - }, - { - "key": "jsCode", - "label": "JS代码", - "widget": "code", - "type": "string", - "displayType": "code", - "required": true, - "defaultValue": "jsCode", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "input", - "label": "输入参数", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "[]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_list" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "执行返回结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "执行返回结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_GetBrowserPic", - "name": "浏览器截图", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "获取目标浏览器的屏幕截图,并保存图片到指定路径。", - "messageTemplate": "在目标浏览器 $1 中获取浏览器截图,保存路径为 $2 图片名为 $3 , 然后把结果保存到 $0", - "baseType": "WebBrowser_GetBrowserPic", - "functionName": "WebBrowser.GetBrowserPic", - "functionCalls": [ - { - "function": "WebBrowser.GetBrowserPic", - "args": [ - "web", - "savepath", - "pic" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "浏览器截图", - "屏幕截图", - "区域截图" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "目标浏览器对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "hWeb", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - }, - { - "key": "savepath", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "pic", - "label": "图片名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "截图路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "截图路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "WebBrowser_Minimize", - "name": "最小化浏览器", - "kind": "vendor", - "group": "web", - "categories": [ - "webBrowser_operate" - ], - "categorySignature": "webBrowser_operate", - "description": "最小化浏览器。", - "messageTemplate": "将 $0 所在浏览器最小化", - "baseType": "WebBrowser_Minimize", - "functionName": "WebBrowser.Minimize", - "functionCalls": [ - { - "function": "WebBrowser.Minimize", - "args": [ - "web" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "WebBrowser" - ], - "platformTag": null, - "icon": "web", - "risk": "high", - "fields": [ - { - "key": "web", - "label": "网页对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "网页对象", - "placeholder": "选择打开网页输出的变量", - "description": "选择打开网页输出的变量", - "advanced": false, - "valueTypes": [ - "rpa_hWeb" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_SizeWindow_v1", - "name": "调整窗口大小", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "调整指定窗口的大小尺寸,供后续自动化操作。", - "messageTemplate": "将{$$0 == 0 && '$2'}{$$0 == 1 && '$1'}{$$0 == 2 && $$3 == 0 && '标题为$4'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则$5'}窗口大小调整为:$6", - "baseType": "Window_SizeWindow", - "functionName": "Window.SizeWindow_v1", - "functionCalls": [ - { - "function": "Window.SizeWindow_v1", - "args": [ - "get_type", - "target_window", - "window_obj", - "match_type", - "select_title", - "match_title", - "window_size" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "放大窗口", - "缩小窗口", - "窗口尺寸", - "窗口宽度", - "窗口高度", - "窗口", - "窗体", - "窗口界面", - "窗口对象", - "窗体界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取窗口", - "value": "1" - }, - { - "label": "选择窗口对象", - "value": "0" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "window_size", - "label": "窗口调整为", - "widget": "text", - "type": "string", - "displayType": "windowSize", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_SetWindowState_v1", - "name": "设置窗口状态", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "设置窗口的最大化、最小化、窗口化,供后续自动化操作。", - "messageTemplate": "将{$$0 == 0 && '$2'}{$$0 == 1 && '$1'}{$$0 == 2 && $$3 == 0 && '标题为 $4 的'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则 $5 的'}窗口设置为 $6 状态", - "baseType": "Window_SetWindowState", - "functionName": "Window.SetWindowState_v1", - "functionCalls": [ - { - "function": "Window.SetWindowState_v1", - "args": [ - "get_type", - "target_window", - "window_obj", - "match_type", - "select_title", - "match_title", - "switchType" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "最大化", - "最小化", - "窗口化", - "设置", - "配置", - "设定", - "调配", - "设置好", - "窗口", - "窗体", - "窗口界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择窗口对象", - "value": "0" - }, - { - "label": "拾取窗口", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "switchType", - "label": "窗口状态", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "maximize", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口化", - "value": "normal" - }, - { - "label": "最大化", - "value": "maximize" - }, - { - "label": "最小化", - "value": "minimize" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_GetWindowRect", - "name": "获取窗口范围", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,获取窗口范围口。", - "messageTemplate": "在目标桌面 $1 中窗口对象, 然后把结果保存到 $0", - "baseType": "Window_GetWindowRect", - "functionName": "Window.GetWindowRect", - "functionCalls": [ - { - "function": "Window.GetWindowRect", - "args": [ - "窗口对象" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取窗口范围", - "窗口范围", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "窗口对象", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "窗口范围", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "窗口范围", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Window_CloseWindow", - "name": "关闭软件窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,关闭软件窗口。", - "messageTemplate": "在目标桌面 $1 中窗口对象, 然后把结果保存到 $0", - "baseType": "Window_Close", - "functionName": "Window.CloseWindow", - "functionCalls": [ - { - "function": "Window.CloseWindow", - "args": [ - "window_obj" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭软件窗口", - "关闭软件", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "窗口对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "窗口对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Window_SetWindowState", - "name": "设置窗口状态", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,设置窗口状态。", - "messageTemplate": "在目标桌面 $0 中窗口对象", - "baseType": "Window_SetWindowState", - "functionName": "Window.SetWindowState", - "functionCalls": [ - { - "function": "Window.SetWindowState", - "args": [ - "窗口对象", - "WindowType" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置窗口状态", - "设置窗口", - "状态" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "窗口对象", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "WindowType", - "label": "状态类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": true, - "defaultValue": "maximize", - "placeholder": "", - "description": "设置窗口的显示状态,可设为最大化、最小化或窗口原始尺寸", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "原始", - "value": "normal" - }, - { - "label": "最大化", - "value": "maximize" - }, - { - "label": "最小化", - "value": "minimize" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_GetActive", - "name": "获取活动窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "获取当前系统活动的窗口,并返回窗口信息给到指定变量。", - "messageTemplate": "将系统当前的激活窗口作为操作对象, 然后把结果保存到 $0", - "baseType": "Window_GetActive", - "functionName": "Window.GetActive", - "functionCalls": [ - { - "function": "Window.GetActive", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "活动窗口", - "获取窗口", - "窗口信息" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "软件窗口", - "valueTypes": [ - "rpa_dict_window_info" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "软件窗口", - "valueTypes": [ - "rpa_dict_window_info" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_SetActive", - "name": "激活窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "激活指定窗口,将其作为后续流程操作的对象。", - "messageTemplate": "将目标设置为激活窗口 $0", - "baseType": "Window_ActiveWindow", - "functionName": "Window.SetActive", - "functionCalls": [ - { - "function": "Window.SetActive", - "args": [ - "uiWindowSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置窗口", - "激活窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "uiWindowSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiwindowselector", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_WindowExists", - "name": "判断窗口存在", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window", - "judgment" - ], - "categorySignature": "window|judgment", - "description": "根据窗口是否存在,来执行后续流程。", - "messageTemplate": "如果{$$1 == 1 && '$2 的窗口'}{$$1 == 0 && '$3 的窗口'}{$$1 == 2 && $$4 == 0 && '标题为 $5 的窗口'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则 $6 的窗口'} $0 则", - "baseType": "Window_WindowExists", - "functionName": "Window.WindowExists", - "functionCalls": [ - { - "function": "Window.WindowExists", - "args": [ - "switchType", - "get_type", - "window_obj", - "target_window", - "match_type", - "select_title", - "match_title" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口判断", - "if", - "窗口查找", - "检测窗口", - "判断", - "判定", - "判别", - "判断出", - "识别", - "窗口", - "窗体", - "窗口界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "switchType", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "存在", - "value": "0" - }, - { - "label": "不存在", - "value": "1" - } - ] - }, - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取窗口", - "value": "0" - }, - { - "label": "选择窗口对象", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_ActiveWindow_v1", - "name": "激活窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "将指定的窗口打开并激活,供后续自动化操作。", - "messageTemplate": "打开并激活{$$0 == 0 && '窗口 $1'}{$$0 == 1 && '窗口 $2'}{$$0 == 2 && $$3 == 0 && '标题为 $4 的窗口'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则 $5 的窗口'}", - "baseType": "Window_ActiveWindow", - "functionName": "Window.ActiveWindow_v1", - "functionCalls": [ - { - "function": "Window.ActiveWindow_v1", - "args": [ - "get_type", - "target_window", - "window_obj", - "match_type", - "select_title", - "match_title", - "isMax" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "打开窗口", - "置顶窗口", - "窗口", - "窗体", - "窗口界面", - "窗口对象", - "窗体界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取窗口", - "value": "0" - }, - { - "label": "选择窗口对象", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "窗口标题匹配", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isMax", - "label": "激活后最大化窗口", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_Get", - "name": "获取窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "获取指定窗口返回窗口信息到指定变量。", - "messageTemplate": "获取窗口 $1, 然后把结果保存到 $0", - "baseType": "Window_Get", - "functionName": "Window.Get", - "functionCalls": [ - { - "function": "Window.Get", - "args": [ - "uiWindowSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取窗口", - "窗口信息" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "uiWindowSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiwindowselector", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "软件窗口", - "valueTypes": [ - "rpa_dict_window_info" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "软件窗口", - "valueTypes": [ - "rpa_dict_window_info" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_SetPos", - "name": "设置窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "设置指定窗口的大小尺寸和位置坐标。", - "messageTemplate": "移动目标窗口 $0 到 $1,$2 ,并设置大小为 $3*$4", - "baseType": "Window_SetPos", - "functionName": "Window.SetPos", - "functionCalls": [ - { - "function": "Window.SetPos", - "args": [ - "uiWindowSelector", - "x", - "y", - "width", - "height" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置窗口", - "设定窗口大小", - "设置窗口位置\"", - "设置窗口位置和尺寸" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "uiWindowSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiwindowselector", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "x", - "label": "横坐标", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "y", - "label": "纵坐标", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "width", - "label": "宽度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "800", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "height", - "label": "高度", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "600", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_GetWindow", - "name": "获取窗口对象", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口标题,获取窗口对象。", - "messageTemplate": "在目标桌面 $1 中窗口标题 $2, 然后把结果保存到 $0", - "baseType": "Window_GetWindow", - "functionName": "Window.GetWindow", - "functionCalls": [ - { - "function": "Window.GetWindow", - "args": [ - "match_type", - "title", - "isActive" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取窗口对象", - "获取窗口", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "match_type", - "label": "匹配方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "根据所选匹配方式获取窗口对象。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择打开的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "title", - "label": "窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择要匹配的窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isActive", - "label": "激活窗口", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "窗口对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "窗口对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Window_Close", - "name": "关闭窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "关闭指定窗口。", - "messageTemplate": "关闭目标窗口 $0", - "baseType": "Window_Close", - "functionName": "Window.Close", - "functionCalls": [ - { - "function": "Window.Close", - "args": [ - "uiWindowSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭窗口", - "窗口关闭" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "uiWindowSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiwindowselector", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_SizeWindow", - "name": "调整窗口大小", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,调整软件窗口。", - "messageTemplate": "在目标桌面 $0 中窗口对象", - "baseType": "Window_SizeWindow", - "functionName": "Window.SizeWindow", - "functionCalls": [ - { - "function": "Window.SizeWindow", - "args": [ - "窗口对象", - "size" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "调整窗口大小", - "窗口大小", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "窗口对象", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "size", - "label": "窗口新范围", - "widget": "text", - "type": "string", - "displayType": "section", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_GetWindow_v1", - "name": "获取窗口对象", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "获取电脑软件或系统中的指定窗口并保存,供后续自动化操作。", - "messageTemplate": "获取{$$1 == 0 && ' $2 窗口'}{$$1 == 1 && $$3 == 0 && '标题为 $4 的窗口 '}{$$1 == 1 && $$3 == 1 && '标题符合通配规则 $5 的窗口 '}{$$1 == 2 && '$1'}{$$1 == 3 && '电脑 $1 为窗口'}, 然后把结果保存到 $0", - "baseType": "Window_GetWindow", - "functionName": "Window.GetWindow_v1", - "functionCalls": [ - { - "function": "Window.GetWindow_v1", - "args": [ - "get_type", - "target_window", - "match_type", - "select_title", - "match_title" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口拾取", - "拾取窗口", - "匹配窗口", - "保存窗口", - "获取", - "得到", - "取得", - "提取", - "获取到", - "窗口", - "窗体", - "窗口界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取窗口", - "value": "0" - }, - { - "label": "窗口标题匹配", - "value": "1" - }, - { - "label": "当前激活的窗口", - "value": "2" - }, - { - "label": "桌面", - "value": "3" - } - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择打开的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "信息保存到", - "key": "var_name", - "suggestedName": "窗口对象", - "valueTypes": [ - "rpa_window_new" - ], - "fields": [ - { - "key": "var_name", - "label": "信息保存到", - "defaultValue": "窗口对象", - "valueTypes": [ - "rpa_window_new" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_GetWindowMessage_v1", - "name": "获取窗口信息", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "获取指定窗口的相关信息,如窗口标题,窗口尺寸,窗口进程名称等。", - "messageTemplate": "获取{$$1 == 0 && '$2 窗口'}{$$1 == 1 && '$3 窗口'}{$$1 == 3 && '$1'}{$$1 == 2 && $$4 == 0 && '标题为 $5 窗口'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则 $6 窗口'}并获取$7, 然后把结果保存到 $0", - "baseType": "Window_GetWindowMessage", - "functionName": "Window.GetWindowMessage_v1", - "functionCalls": [ - { - "function": "Window.GetWindowMessage_v1", - "args": [ - "get_type", - "window_obj", - "target_window", - "match_type", - "select_title", - "match_title", - "switchType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口尺寸", - "窗口位置", - "窗口标题", - "窗口进程名", - "获取", - "得到", - "取得", - "提取", - "获取到", - "窗口", - "窗体", - "窗口界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择窗口对象", - "value": "0" - }, - { - "label": "拾取窗口", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - }, - { - "label": "当前激活的窗口", - "value": "3" - } - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "switchType", - "label": "窗口信息", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "all", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "全部信息", - "value": "all" - }, - { - "label": "窗口标题", - "value": "title" - }, - { - "label": "窗口大小", - "value": "windowSize" - }, - { - "label": "窗口位置", - "value": "windowPoint" - }, - { - "label": "窗口类型", - "value": "class" - }, - { - "label": "窗口进程名称", - "value": "processName" - }, - { - "label": "窗口进程PID", - "value": "processId" - } - ] - } - ], - "output": { - "label": "信息保存到", - "key": "var_name", - "suggestedName": "窗口信息", - "valueTypes": [ - "rpa_dict_windows_info", - "rpa_dict_windows_size", - "rpa_dict_windows_location", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "信息保存到", - "defaultValue": "窗口信息", - "valueTypes": [ - "rpa_dict_windows_info", - "rpa_dict_windows_size", - "rpa_dict_windows_location", - "rpa_str", - "rpa_str", - "rpa_str", - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_GetWindowMessage", - "name": "获取窗口信息", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,获取窗口信息。", - "messageTemplate": "在目标桌面 $1 中窗口对象, 然后把结果保存到 $0", - "baseType": "Window_GetWindowMessage", - "functionName": "Window.GetWindowMessage", - "functionCalls": [ - { - "function": "Window.GetWindowMessage", - "args": [ - "window_obj", - "switchType" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "获取窗口信息", - "获取窗口", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "switchType", - "label": "窗口信息", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "title", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口标题", - "value": "title" - }, - { - "label": "窗口类名", - "value": "class" - }, - { - "label": "进程号", - "value": "processId" - }, - { - "label": "进程名", - "value": "processName" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "窗口信息", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "窗口信息", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Window_MoveWindow", - "name": "移动窗口位置", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,移动窗口位置。", - "messageTemplate": "在目标桌面 $0 中窗口对象", - "baseType": "Window_MoveWindow", - "functionName": "Window.MoveWindow", - "functionCalls": [ - { - "function": "Window.MoveWindow", - "args": [ - "窗口对象", - "location" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动窗口位置", - "窗口位置", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "窗口对象", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "location", - "label": "窗口新坐标", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": false, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_MoveWindow_v1", - "name": "移动窗口位置", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "移动指定窗口的位置,供后续自动化操作。", - "messageTemplate": "将{$$0 == 0 && '$2'}{$$0 == 1 && '$1'}{$$0 == 2 && $$3 == 0 && '标题为 $4'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则 $5'} 窗口位置移动到$6", - "baseType": "Window_MoveWindow", - "functionName": "Window.MoveWindow_v1", - "functionCalls": [ - { - "function": "Window.MoveWindow_v1", - "args": [ - "get_type", - "target_window", - "window_obj", - "match_type", - "select_title", - "match_title", - "location" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动窗口", - "拖动窗口", - "窗口", - "窗体", - "窗口界面", - "窗口对象", - "窗体界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择窗口对象", - "value": "0" - }, - { - "label": "拾取窗口", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "location", - "label": "窗口位置移动到", - "widget": "region", - "type": "object", - "displayType": "mouseRecord", - "required": true, - "defaultValue": "[0,0]", - "placeholder": "请输入或拾取坐标点", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_ActiveWindow", - "name": "激活软件窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,激活软件窗口。", - "messageTemplate": "在目标桌面 $0 中窗口对象", - "baseType": "Window_ActiveWindow", - "functionName": "Window.ActiveWindow", - "functionCalls": [ - { - "function": "Window.ActiveWindow", - "args": [ - "window_obj" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "激活软件窗口", - "激活软件", - "窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_CloseWindow_v1", - "name": "关闭窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "将指定的窗口关闭。", - "messageTemplate": "将{$$1 == 0 && '$2'}{$$1 == 1 && '$3'}{$$1 == 2 && $$4 == 0 && '标题为$5'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则$6'}窗口关闭, 然后把结果保存到 $0", - "baseType": "Window_Close", - "functionName": "Window.CloseWindow_v1", - "functionCalls": [ - { - "function": "Window.CloseWindow_v1", - "args": [ - "get_type", - "target_window", - "window_obj", - "match_type", - "select_title", - "match_title", - "isProcess" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭软件窗口", - "关闭软件", - "窗口", - "关闭", - "退出", - "终止", - "关停", - "窗体", - "窗口界面", - "窗口对象" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "拾取窗口", - "value": "0" - }, - { - "label": "选择窗口对象", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "窗口标题匹配", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "isProcess", - "label": "同时关闭软件进程", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "窗口对象", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "窗口对象", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Window_GetScreenSize", - "name": "获取屏幕尺寸", - "kind": "vendor", - "group": "desktop", - "categories": [ - "get_soft_data" - ], - "categorySignature": "get_soft_data", - "description": "获取系统屏幕的大小尺寸,并输出到指定变量。", - "messageTemplate": "获取屏幕的大小, 然后把结果保存到 $0", - "baseType": "Window_GetScreenSize", - "functionName": "Window.GetScreenSize", - "functionCalls": [ - { - "function": "Window.GetScreenSize", - "args": [], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "屏幕大小", - "屏幕尺寸", - "系统屏幕" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "电脑分辨率", - "valueTypes": [ - "rpa_dict_screen_size" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "电脑分辨率", - "valueTypes": [ - "rpa_dict_screen_size" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_SetWindowShow", - "name": "设置窗口是否显示", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "在目标桌面中,选择窗口对象,设置窗口是否显示。", - "messageTemplate": "在目标桌面 $0 中窗口对象", - "baseType": "Window_SetWindowShow", - "functionName": "Window.SetWindowShow", - "functionCalls": [ - { - "function": "Window.SetWindowShow", - "args": [ - "窗口对象", - "WindowType" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "设置窗口是否显示", - "设置窗口", - "显示" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "窗口对象", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "窗口对象", - "placeholder": "请选择或输入窗口对象变量", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "WindowType", - "label": "状态类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": true, - "defaultValue": "show", - "placeholder": "", - "description": "设置窗口的显示状态,可设为隐藏状态或显示状态", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "显示", - "value": "show" - }, - { - "label": "隐藏", - "value": "hide" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_WindowList", - "name": "获取窗口对象列表", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "获取电脑软件或系统中的指定窗口列表并保存,供后续自动化操作。", - "messageTemplate": "{$$1 == 0 && \"获取标题为 $2 的窗口\"}{$$1 == 1 && \"获取标题包含 $3 的窗口\"}, 然后把结果保存到 $0", - "baseType": "Window_WindowList", - "functionName": "Window.WindowList", - "functionCalls": [ - { - "function": "Window.WindowList", - "args": [ - "match_type", - "select_title", - "match_title", - "is_regex" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口列表", - "多个窗口", - "多窗口对象", - "获取", - "得到", - "取得", - "提取", - "获取到", - "窗口", - "窗体", - "窗口界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "match_type", - "label": "获取方式", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "使用窗口标题匹配窗口或选择已经打开的窗口", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "匹配窗口标题", - "value": "1" - }, - { - "label": "选择打开的窗口", - "value": "0" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "text", - "type": "string", - "displayType": "openWindowMultipleSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "窗口标题包含", - "widget": "text", - "type": "string", - "displayType": "openWindowEditor", - "required": false, - "defaultValue": "", - "placeholder": "", - "description": "选择标题包含特定内容的窗口;当勾选正则表达式匹配时,以正则表达式的方式获取标题满足条件窗口", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_regex", - "label": "正则表达式匹配", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "以正则表达式的方式获取标题满足条件窗口", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "信息保存到", - "key": "var_name", - "suggestedName": "窗口对象列表", - "valueTypes": [ - "rpa_list_window" - ], - "fields": [ - { - "key": "var_name", - "label": "信息保存到", - "defaultValue": "窗口对象列表", - "valueTypes": [ - "rpa_list_window" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_GetRect", - "name": "窗口属性", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "获取指定目标窗口的大小尺寸和位置坐标信息,并输出到指定变量。", - "messageTemplate": "获取目标窗口 $1 的大小和位置, 然后把结果保存到 $0", - "baseType": "Window_GetRect", - "functionName": "Window.GetRect", - "functionCalls": [ - { - "function": "Window.GetRect", - "args": [ - "uiWindowSelector" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口信息", - "窗口位置", - "窗口大小" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "uiWindowSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiwindowselector", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "窗口坐标及尺寸", - "valueTypes": [ - "rpa_dict_window_coordinates" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "窗口坐标及尺寸", - "valueTypes": [ - "rpa_dict_window_coordinates" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Window_MaximumSize", - "name": "窗口最大化", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window" - ], - "categorySignature": "window", - "description": "将指定窗口最大化。", - "messageTemplate": "设置目标窗口 $0 最大化", - "baseType": "Window_MaximumSize", - "functionName": "Window.MaximumSize", - "functionCalls": [ - { - "function": "Window.MaximumSize", - "args": [ - "uiWindowSelector" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口最大化", - "最大化窗口" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "uiWindowSelector", - "label": "目标", - "widget": "element", - "type": "object", - "displayType": "uiwindowselector", - "required": true, - "defaultValue": "{}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Window_WaitWindow", - "name": "等待窗口", - "kind": "vendor", - "group": "desktop", - "categories": [ - "window", - "waite" - ], - "categorySignature": "window|waite", - "description": "等待某个元素打开或关闭,根据结果执行后续流程。", - "messageTemplate": "等待{$$1 == 0 && '$2'}{$$1 == 1 && '$3'}{$$1 == 2 && $$4 == 0 && '$5'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则$6'} $7 后,执行下一步流程, 然后把结果保存到 $0", - "baseType": "Window_WaitWindow", - "functionName": "Window.WaitWindow", - "functionCalls": [ - { - "function": "Window.WaitWindow", - "args": [ - "get_type", - "window_obj", - "target_window", - "match_type", - "select_title", - "match_title", - "switchType", - "second", - "dis_show", - "dis_hide", - "dis_active" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "窗口等待", - "窗口查找", - "检测窗口", - "等待", - "延时", - "延迟", - "等候", - "暂停", - "窗口", - "窗体", - "窗口界面" - ], - "platformTag": null, - "icon": "desktop", - "risk": "high", - "fields": [ - { - "key": "get_type", - "label": "获取方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "选择不同方式获取窗口对象", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择窗口对象", - "value": "0" - }, - { - "label": "拾取窗口", - "value": "1" - }, - { - "label": "窗口标题匹配", - "value": "2" - } - ] - }, - { - "key": "window_obj", - "label": "窗口对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_window_new" - ] - }, - { - "key": "target_window", - "label": "目标窗口", - "widget": "region", - "type": "object", - "displayType": "captureWindow", - "required": true, - "defaultValue": "", - "placeholder": "请拾取或选择窗口元素", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_element" - ] - }, - { - "key": "match_type", - "label": "匹配类型", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": true, - "defaultValue": "0", - "placeholder": "", - "description": "当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "选择活动的窗口", - "value": "0" - }, - { - "label": "通配符匹配标题", - "value": "1" - } - ] - }, - { - "key": "select_title", - "label": "选择窗口标题", - "widget": "region", - "type": "object", - "displayType": "openWindowSelect", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "match_title", - "label": "标题匹配规则", - "widget": "text", - "type": "string", - "displayType": "windowTitleMatcher", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "输入窗口标题或使用正则表达式通配窗口标题", - "advanced": false, - "valueTypes": [] - }, - { - "key": "switchType", - "label": "等待类型", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "0", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "窗口出现", - "value": "0" - }, - { - "label": "窗口消失", - "value": "1" - }, - { - "label": "窗口激活", - "value": "2" - } - ] - }, - { - "key": "second", - "label": "等待时间(秒)", - "widget": "number", - "type": "number", - "displayType": "number", - "required": true, - "defaultValue": "5", - "placeholder": "请输入等待时间(秒)", - "description": "输入等待时间(秒),默认1秒", - "advanced": false, - "valueTypes": [ - "rpa_num" - ] - }, - { - "key": "dis_show", - "label": "窗口未出现时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "dis_hide", - "label": "窗口未消失时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - }, - { - "key": "dis_active", - "label": "窗口未激活时", - "widget": "radio", - "type": "string", - "displayType": "radioGroup", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "继续执行流程", - "value": "1" - }, - { - "label": "终止流程", - "value": "2" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "等待结果", - "valueTypes": [], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "等待结果", - "valueTypes": [] - } - ] - }, - "slots": [] - }, - { - "id": "Word_ReadSelect", - "name": "读取选中文本", - "kind": "vendor", - "group": "office", - "categories": [ - "cursor_set" - ], - "categorySignature": "cursor_set", - "description": "在目标word文档中读取选中的文本内容,并输出给指定变量。", - "messageTemplate": "读取Word文档选择的文字内容, 然后把结果保存到 $0", - "baseType": "Word_ReadSelect", - "functionName": "Word.ReadSelect", - "functionCalls": [ - { - "function": "Word.ReadSelect", - "args": [ - "objWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "选中文本", - "word文本输出", - "读取", - "读取到", - "读取数据", - "读出", - "读取信息", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "选中文本内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "选中文本内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Word_SaveAs", - "name": "Word另存为", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "将目标word文档,按当前文件的文件名,保存到指定的路径。", - "messageTemplate": "另存为Word文档到 $1", - "baseType": "Word_SaveAs", - "functionName": "Word.SaveAs", - "functionCalls": [ - { - "function": "Word.SaveAs", - "args": [ - "objWord", - "fileAddr", - "filename" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "文档另存为", - "word另存为" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "fileAddr", - "label": "保存路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": false, - "defaultValue": "", - "placeholder": "请输入或选择保存路径", - "description": "输入或选择路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "filename", - "label": "文档名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入文档名称", - "description": "输入文件名称,若为空,则采用原名称", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SetFontName", - "name": "设置字体", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "设定目标word文档中选定文本的字体类型。", - "messageTemplate": "设置Word文档选区的字体为 $1", - "baseType": "Word_SetFontName", - "functionName": "Word.SetFontName", - "functionCalls": [ - { - "function": "Word.SetFontName", - "args": [ - "objWord", - "font" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字体", - "设定字体", - "字体类型", - "word字体", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "font", - "label": "字体名", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "宋体", - "placeholder": "请输入字体名", - "description": "选择将当前内容设置为何种字体", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_CutSelect", - "name": "剪切", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "对目标word文档中的选取的内容执行剪切操作,同工具栏的剪切。", - "messageTemplate": "对Word文档的选取执行剪切操作", - "baseType": "Word_CutSelect", - "functionName": "Word.CutSelect", - "functionCalls": [ - { - "function": "Word.CutSelect", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "剪切", - "word剪切" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_ReadAll", - "name": "读取Word文本", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "读取指定word文档的全部内容,并输出到指定变量。", - "messageTemplate": "读取Word文档内的全部内容, 然后把结果保存到 $0", - "baseType": "Word_ReadAll", - "functionName": "Word.ReadAll", - "functionCalls": [ - { - "function": "Word.ReadAll", - "args": [ - "objWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "word文档内容", - "读取内容", - "读取文本", - "读取", - "读取到", - "读取数据", - "读出", - "读取信息" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "word内容", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "word内容", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Word_InsertPicture", - "name": "插入Word图片", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "在目标word文档的当前位置插入图片,可选择图片路径。", - "messageTemplate": "在Word当前位置插入一张图片 $1", - "baseType": "Word_InsertPicture", - "functionName": "Word.InsertPicture", - "functionCalls": [ - { - "function": "Word.InsertPicture", - "args": [ - "objWord", - "imageaddr" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "插入图片", - "插入图像", - "word插图", - "图片", - "图像", - "图形", - "图象", - "相片" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "imageaddr", - "label": "图片对象", - "widget": "text", - "type": "string", - "displayType": "imageSelector", - "required": true, - "defaultValue": "", - "placeholder": "截取或选择图像", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SetFontStyle", - "name": "设置字体样式", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "设定目标word文档中选定文本的字体,可选择粗体、斜体、下划线等。", - "messageTemplate": "设置Word文档选区的字体样式", - "baseType": "Word_SetFontStyle", - "functionName": "Word.SetFontStyle", - "functionCalls": [ - { - "function": "Word.SetFontStyle", - "args": [ - "objWord", - "isBold", - "isItalic", - "isUnderline" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字体", - "设定字体", - "粗体", - "斜体", - "下划线", - "word字体", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "isBold", - "label": "是否粗体", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "isItalic", - "label": "是否斜体", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "isUnderline", - "label": "是否下划线", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_New", - "name": "新建word", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "在指定路径下新创建一个word文件,并赋值给指定变量。", - "messageTemplate": "在路径 $0 上新建word, 名称为 $1 ", - "baseType": "Word_New", - "functionName": "Word.New", - "functionCalls": [ - { - "function": "Word.New", - "args": [ - "filePath", - "name", - "isMakedirs" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入保存路径", - "description": "选择或输入新建Word文件的保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文件名称", - "description": "输入新建Word的文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "isMakedirs", - "label": "是否创建该路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "选择是,路径不存在时创建文件夹;否则错误提示。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SetAlign", - "name": "设置对齐方式", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "设定目标word文档中选定文本的对齐方式,可选左对齐、右对齐、居中。", - "messageTemplate": "设置Word文档选区的文字对齐方式为 $1", - "baseType": "Word_SetAlign", - "functionName": "Word.SetAlign", - "functionCalls": [ - { - "function": "Word.SetAlign", - "args": [ - "objWord", - "align" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字体对齐", - "对齐方式", - "word对齐", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "align", - "label": "对齐方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "设置文本为左对齐、居中对齐或右对齐", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左对齐", - "value": "left" - }, - { - "label": "居中", - "value": "mid" - }, - { - "label": "右对齐", - "value": "right" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_Save", - "name": "保存Word", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "保存目标word文档,按当前文件的文件名和文件路径进行保存,覆盖之前的内容。", - "messageTemplate": "保存Word文档", - "baseType": "Word_Save", - "functionName": "Word.Save", - "functionCalls": [ - { - "function": "Word.Save", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "保存文档", - "word保存" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_ReadTable", - "name": "读取Word表格", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "读取指定word文档中的表格内容。", - "messageTemplate": "在 $1 中读取{$$2 == \"index\" && \"第$3个表格内容\"}{$$2 == \"content\" && \"内容$4的表格\"}, 然后把结果保存到 $0", - "baseType": "Word_ReadTable", - "functionName": "Word.ReadTable", - "functionCalls": [ - { - "function": "Word.ReadTable", - "args": [ - "objWord", - "find_type", - "table_index", - "table_content" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "读取表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "find_type", - "label": "表格查找方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "index", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "根据表格位置", - "value": "index" - }, - { - "label": "根据表格内容", - "value": "content" - } - ] - }, - { - "key": "table_index", - "label": "表格出现位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "table_content", - "label": "表格查找内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "表格内容保存至", - "key": "var_name", - "suggestedName": "Word表格内容", - "valueTypes": [ - "rpa_list" - ], - "fields": [ - { - "key": "var_name", - "label": "表格内容保存至", - "defaultValue": "Word表格内容", - "valueTypes": [ - "rpa_list" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Word_New_V1", - "name": "新建Word文档", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "在指定路径下新创建一个word文件,并赋值给指定变量。", - "messageTemplate": "在路径 $1 上新建word, 名称为 $2 , 然后把结果保存到 $0", - "baseType": "Word_New", - "functionName": "Word.New_V1", - "functionCalls": [ - { - "function": "Word.New_V1", - "args": [ - "filePath", - "name", - "isMakedirs", - "is_open", - "visible" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "word文档", - "新建", - "新建文档" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "文件路径", - "widget": "folder", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入保存路径", - "description": "选择或输入新建Word文件的保存路径", - "advanced": false, - "valueTypes": [ - "rpa_str_folder", - "rpa_str" - ] - }, - { - "key": "name", - "label": "文件名称", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文件名称", - "description": "输入新建Word的文件名称", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "isMakedirs", - "label": "是否创建该路径", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "选择是,路径不存在时创建文件夹;否则错误提示。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "is_open", - "label": "是否打开", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "选择新建时是否打开文档,若选是,输出变量为Word对象类型;若选否,输出变量为Word文件路径", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - }, - { - "key": "visible", - "label": "是否可见", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "选择是,以可视化方式打开文件;否则,以不可视化方式打开。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "word对象", - "valueTypes": [ - "rpa_word" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "word对象", - "valueTypes": [ - "rpa_word" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Word_Open", - "name": "打开Word文档", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "打开目标word文档,并输出到指定变量,可选定文件路径。", - "messageTemplate": "打开Word文档 $1, 然后把结果保存到 $0", - "baseType": "Word_Open", - "functionName": "Word.Open", - "functionCalls": [ - { - "function": "Word.Open", - "args": [ - "filePath", - "visible" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "word文档", - "打开文档" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "filePath", - "label": "文件路径", - "widget": "file", - "type": "object", - "displayType": "selectFile", - "required": true, - "defaultValue": "", - "placeholder": "请选择或输入Word文件路径", - "description": "选择或输入待操作的Word文件路径", - "advanced": false, - "valueTypes": [ - "rpa_str_file", - "rpa_str" - ] - }, - { - "key": "visible", - "label": "是否可见", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "选择是,以可视化方式打开文件;否则,以不可视化方式打开。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "word对象", - "valueTypes": [ - "rpa_word" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "word对象", - "valueTypes": [ - "rpa_word" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Word_SelectRow", - "name": "选择行", - "kind": "vendor", - "group": "office", - "categories": [ - "cursor_set" - ], - "categorySignature": "cursor_set", - "description": "选择目标word文档中的某些行,可指定起始行。", - "messageTemplate": "选择word文件中的某行", - "baseType": "Word_SelectRow", - "functionName": "Word.SelectRow", - "functionCalls": [ - { - "function": "Word.SelectRow", - "args": [ - "objWord", - "st", - "ed" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "选中word行", - "选择行内容" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "st", - "label": "起始行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入起始行", - "description": "输入需选中的起始行", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "ed", - "label": "结束行", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "2", - "placeholder": "请输入结束行", - "description": "输入需选中的结束行", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_GetPath", - "name": "获取Word路径", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "获取目标word文档的路径,并输出给指定变量。", - "messageTemplate": "获取Word文档文件路径, 然后把结果保存到 $0", - "baseType": "Word_GetPath", - "functionName": "Word.GetPath", - "functionCalls": [ - { - "function": "Word.GetPath", - "args": [ - "objWord" - ], - "assignTo": "var_name" - } - ], - "version": "3.3.5.0", - "tags": [ - "文档路径", - "获取文档路径", - "word路径", - "获取路径", - "获取", - "得到", - "取得", - "提取", - "获取到" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "输出到变量", - "key": "var_name", - "suggestedName": "word路径", - "valueTypes": [ - "rpa_str" - ], - "fields": [ - { - "key": "var_name", - "label": "输出到变量", - "defaultValue": "word路径", - "valueTypes": [ - "rpa_str" - ] - } - ] - }, - "slots": [] - }, - { - "id": "Word_DeleteSelect", - "name": "删除", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "对目标word文档中选取的内容进行删除操作。", - "messageTemplate": "对Word文档所选区域进行删除操作", - "baseType": "Word_DeleteSelect", - "functionName": "Word.DeleteSelect", - "functionCalls": [ - { - "function": "Word.DeleteSelect", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "删除", - "word删除", - "移除", - "删掉", - "清除", - "删去" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SetPosition", - "name": "设置光标位置", - "kind": "vendor", - "group": "office", - "categories": [ - "cursor_set" - ], - "categorySignature": "cursor_set", - "description": "设置光标在目标word文档中的位置,可设定相对当前位置移动的位置和方式。", - "messageTemplate": "设置光标在Word文档中的位置", - "baseType": "Word_SetPosition", - "functionName": "Word.SetPosition", - "functionCalls": [ - { - "function": "Word.SetPosition", - "args": [ - "objWord", - "length", - "unit" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "光标位置", - "word光标", - "移动位置", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "length", - "label": "移动位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入移动距离", - "description": "设置移动的距离,单位可为字、行、段落", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "unit", - "label": "移动方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "word", - "placeholder": "", - "description": "选择移动光标的单位,如字、行、段落", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "字", - "value": "word" - }, - { - "label": "行", - "value": "row" - }, - { - "label": "段落", - "value": "section" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_Write", - "name": "写入文字至Word", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "在目标word文档当前选区位置,写入设定的文本内容。", - "messageTemplate": "在当前Word文档选区写入一些文字内容", - "baseType": "Word_Write", - "functionName": "Word.Write", - "functionCalls": [ - { - "function": "Word.Write", - "args": [ - "objWord", - "text", - "text_format" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "写入文字", - "写入文本", - "写入Word", - "word文本写入", - "写入", - "写入到", - "写入数据", - "写进", - "录入" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "text", - "label": "写入内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入文本或选择变量", - "description": "输入文本或点击选择变量", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "text_format", - "label": "文本格式", - "widget": "text", - "type": "string", - "displayType": "wordTextFormatConfig", - "required": false, - "defaultValue": "{\"FontFormat\":\"宋体\",\"FontSize\":11,\"BoldAndItalic\":0,\"FontColor\":\"#000000\"}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_PositionToSelect", - "name": "查找文本后设置光标位置", - "kind": "vendor", - "group": "office", - "categories": [ - "cursor_set" - ], - "categorySignature": "cursor_set", - "description": "在Word文档中查找指定的文本,并相对第一个查找到的文本设置光标。", - "messageTemplate": "查找文本 $1 后设置光标位置", - "baseType": "Word_PositionToSelect", - "functionName": "Word.PositionToSelect", - "functionCalls": [ - { - "function": "Word.PositionToSelect", - "args": [ - "objWord", - "text", - "direction", - "pos_index" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动光标位置", - "word光标", - "设置", - "配置", - "设定", - "调配", - "设置好", - "文本", - "文字", - "字符" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "text", - "label": "查找文本", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入查找文本", - "description": "输入需要查找的文本内容", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "pos_index", - "label": "文本出现位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "1", - "placeholder": "请输入文本出现位置", - "description": "输入数字,输入1则表示第一个位置,输入-1则表示倒数第一个位置;当查找到多个文本时,可设置光标位置", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "direction", - "label": "相对位置", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "left", - "placeholder": "", - "description": "选择光标在所查找的文本内容之前、之后,或选中文本", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "光标在文本之前", - "value": "left" - }, - { - "label": "光标在文本之后", - "value": "right" - }, - { - "label": "选中文本", - "value": "select" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_Close", - "name": "关闭Word", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "关闭目标word文档,可选择是否关闭进程。", - "messageTemplate": "关闭Word文档", - "baseType": "Word_Close", - "functionName": "Word.Close", - "functionCalls": [ - { - "function": "Word.Close", - "args": [ - "objWord", - "isKill" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "关闭文档", - "word关闭", - "关闭", - "退出", - "终止", - "关停" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "isKill", - "label": "关闭进程", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "True", - "placeholder": "", - "description": "选择是,同时关闭word文档和进程;选择否,仅关闭文档。", - "advanced": false, - "valueTypes": [ - "rpa_bool" - ], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_MovePosition", - "name": "移动光标位置", - "kind": "vendor", - "group": "office", - "categories": [ - "cursor_set" - ], - "categorySignature": "cursor_set", - "description": "移动光标在目标word中的位置,可设定移动方式,移动位置和移动方向。", - "messageTemplate": "移动光标在Word文档中的位置", - "baseType": "Word_MovePosition", - "functionName": "Word.MovePosition", - "functionCalls": [ - { - "function": "Word.MovePosition", - "args": [ - "objWord", - "length", - "unit", - "direction", - "isSelect" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "移动光标位置", - "word光标" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "length", - "label": "移动位置", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "1", - "placeholder": "请输入移动距离", - "description": "设置移动的距离,单位可为字、行、段落", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - }, - { - "key": "unit", - "label": "移动方式", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "word", - "placeholder": "", - "description": "选择移动光标的单位,如字、行、段落", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "字", - "value": "word" - }, - { - "label": "行", - "value": "row" - }, - { - "label": "段落", - "value": "section" - } - ] - }, - { - "key": "direction", - "label": "移动方向", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "right", - "placeholder": "", - "description": "选择向上或向下移动光标", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "左", - "value": "left" - }, - { - "label": "右", - "value": "right" - } - ] - }, - { - "key": "isSelect", - "label": "按住shift", - "widget": "select", - "type": "string", - "displayType": "dropDownSelect", - "required": false, - "defaultValue": "False", - "placeholder": "", - "description": "是,表示移动光标的同时,按住shift键;否则,不按住。", - "advanced": false, - "valueTypes": [], - "options": [ - { - "label": "是", - "value": "True" - }, - { - "label": "否", - "value": "False" - } - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SetFontColor", - "name": "设置字体颜色", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "设定目标word文档中选定文本的字体颜色。", - "messageTemplate": "设置Word文档选区的字体颜色为 $1", - "baseType": "Word_SetFontColor", - "functionName": "Word.SetFontColor", - "functionCalls": [ - { - "function": "Word.SetFontColor", - "args": [ - "objWord", - "fontColor" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字体", - "设定字体", - "字体颜色", - "word字体", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "fontColor", - "label": "字体颜色", - "widget": "text", - "type": "string", - "displayType": "colorPicker", - "required": true, - "defaultValue": "#000000", - "placeholder": "手动输入或点击选择颜色值", - "description": "支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_CopySelect", - "name": "复制", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "对目标word文档中的选取的内容执行复制操作,复制到剪切板。", - "messageTemplate": "对Word文档的选取执行复制操作", - "baseType": "Word_CopySelect", - "functionName": "Word.CopySelect", - "functionCalls": [ - { - "function": "Word.CopySelect", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "复制", - "word复制", - "拷贝", - "复件", - "仿制" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_PasteSelect", - "name": "粘贴", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "对目标word文档中的选取的内容执行粘贴操作。", - "messageTemplate": "对Word文档执行粘贴操作", - "baseType": "Word_PasteSelect", - "functionName": "Word.PasteSelect", - "functionCalls": [ - { - "function": "Word.PasteSelect", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "粘贴", - "word粘贴" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_Replace", - "name": "替换", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "将目标word文档中指定的内容替换成另外的内容,可指定原内容和新内容。", - "messageTemplate": "将Word文档中的 $1 替换为 $2", - "baseType": "Word_Replace", - "functionName": "Word.Replace", - "functionCalls": [ - { - "function": "Word.Replace", - "args": [ - "objWord", - "oldText", - "newText" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "替换", - "内容替换", - "word内容替换" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "oldText", - "label": "原内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "请输入原内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - }, - { - "key": "newText", - "label": "新内容", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": false, - "defaultValue": "", - "placeholder": "请输入新内容", - "description": "", - "advanced": false, - "valueTypes": [ - "rpa_str" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_WriteTable", - "name": "插入Word表格", - "kind": "vendor", - "group": "office", - "categories": [ - "word" - ], - "categorySignature": "word", - "description": "在目标Word文档中插入表格。", - "messageTemplate": "在 $0 中插入表格,表格数据为 $1", - "baseType": "Word_WriteTable", - "functionName": "Word.WriteTable", - "functionCalls": [ - { - "function": "Word.WriteTable", - "args": [ - "objWord", - "data", - "table_format", - "is_border", - "is_line_break" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "插入表格", - "表格", - "word表格写入", - "数据表", - "表格数据", - "数据表格" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "data", - "label": "表格数据", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "", - "placeholder": "", - "description": "如使用[[\"张三\", \"李四\", \"王五\"]]插入单行表格,使用[[\"张三\"], [\"李四\"], [\"王五\"]]插入单列表格,或用嵌套列表/数据表格插入多行多列表格,数据类型必须是二维数组,可参考组件说明文档使用", - "advanced": false, - "valueTypes": [ - "rpa_list", - "rpa_pd" - ] - }, - { - "key": "table_format", - "label": "表格内容格式", - "widget": "text", - "type": "string", - "displayType": "wordTextFormatConfig", - "required": false, - "defaultValue": "{\"FontFormat\":\"宋体\",\"FontSize\":11,\"BoldAndItalic\":0,\"FontColor\":\"#000000\",\"HorizontalAlignment\":0,\"VerticalAlignment\":0}", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_border", - "label": "表格边框", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - }, - { - "key": "is_line_break", - "label": "插入前换行", - "widget": "boolean", - "type": "boolean", - "displayType": "checkbox", - "required": false, - "defaultValue": "1", - "placeholder": "", - "description": "", - "advanced": false, - "valueTypes": [] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_Enter", - "name": "回车", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "在目标word文档的当前位置插入一个回车键。", - "messageTemplate": "在Word当前位置插入一个回车", - "baseType": "Word_Enter", - "functionName": "Word.Enter", - "functionCalls": [ - { - "function": "Word.Enter", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "回车", - "word回车", - "enter" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SetFontSize", - "name": "设置字体大小", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "设定目标word文档中选定文本的字体大小。", - "messageTemplate": "设置Word文档选区的字体大小为 $1", - "baseType": "Word_SetFontSize", - "functionName": "Word.SetFontSize", - "functionCalls": [ - { - "function": "Word.SetFontSize", - "args": [ - "objWord", - "fontSize" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "字体", - "设定字体", - "字体大小", - "word字体", - "设置", - "配置", - "设定", - "调配", - "设置好" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - }, - { - "key": "fontSize", - "label": "字体大小", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "9", - "placeholder": "请设置字体大小", - "description": "设置当前文档的字体大小数值", - "advanced": false, - "valueTypes": [ - "rpa_int" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_SelectAll", - "name": "全选", - "kind": "vendor", - "group": "office", - "categories": [ - "cursor_set" - ], - "categorySignature": "cursor_set", - "description": "选中目标word文档的全部内容。", - "messageTemplate": "全选word文档", - "baseType": "Word_SelectAll", - "functionName": "Word.SelectAll", - "functionCalls": [ - { - "function": "Word.SelectAll", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "选中内容", - "全选内容" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - }, - { - "id": "Word_InsertPage", - "name": "插入分页符", - "kind": "vendor", - "group": "office", - "categories": [ - "word_edit" - ], - "categorySignature": "word_edit", - "description": "在目标word文档的当前位置插入一个分页符。", - "messageTemplate": "在Word当前位置插入一个分页符", - "baseType": "Word_InsertPage", - "functionName": "Word.InsertPage", - "functionCalls": [ - { - "function": "Word.InsertPage", - "args": [ - "objWord" - ], - "assignTo": "" - } - ], - "version": "3.3.5.0", - "tags": [ - "分页符", - "word分页" - ], - "platformTag": null, - "icon": "office", - "risk": "low", - "fields": [ - { - "key": "objWord", - "label": "文档对象", - "widget": "text", - "type": "string", - "displayType": "text-expression", - "required": true, - "defaultValue": "word对象", - "placeholder": "请输入或选择Word对象变量", - "description": "使用新建word、打开文档等组件输出的变量。", - "advanced": false, - "valueTypes": [ - "rpa_word" - ] - } - ], - "output": { - "label": "", - "key": "", - "suggestedName": "", - "valueTypes": [], - "fields": [] - }, - "slots": [] - } - ] -} \ No newline at end of file +{"schemaVersion":1,"generatedAt":"2026-11-05T09:51:12.882Z","source":{"catalog":"shizai-catalog-data.js","componentsNew":"componentsNew.json"},"counts":{"total":1016,"vendor":997,"native":16,"triggers":3,"fields":4299},"groups":[{"id":"control","label":"编排控制","icon":"branch","count":16},{"id":"trigger","label":"流程触发","icon":"trigger","count":3},{"id":"app","label":"应用与系统","icon":"app","count":60},{"id":"web","label":"网页自动化","icon":"web","count":187},{"id":"office","label":"Office 与文档","icon":"table","count":230},{"id":"data","label":"数据处理","icon":"database","count":167},{"id":"file","label":"文件与传输","icon":"file","count":46},{"id":"desktop","label":"桌面与键鼠","icon":"mouse","count":79},{"id":"vision","label":"图像与 OCR","icon":"scan","count":100},{"id":"message","label":"网络与消息","icon":"send","count":82},{"id":"mobile","label":"移动端与设备","icon":"mobile","count":46}],"components":[{"id":"Trigger.Manual","name":"人工发起","kind":"trigger","group":"trigger","categories":["trigger"],"categorySignature":"trigger","description":"由用户在运行页手动发起流程。","messageTemplate":"","baseType":"Trigger","functionName":"Trigger.Manual","functionCalls":[],"version":"","tags":["触发","人工发起"],"platformTag":null,"icon":"trigger","risk":"low","fields":[{"key":"entryName","label":"入口名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"立即执行","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Trigger.Schedule","name":"定时触发","kind":"trigger","group":"trigger","categories":["trigger"],"categorySignature":"trigger","description":"按工作日或时间计划创建运行请求。","messageTemplate":"","baseType":"Trigger","functionName":"Trigger.Schedule","functionCalls":[],"version":"","tags":["触发","定时触发"],"platformTag":null,"icon":"trigger","risk":"low","fields":[{"key":"mode","label":"计划方式","widget":"select","type":"string","displayType":"dropDownSelect","required":true,"defaultValue":"工作日","placeholder":"","description":"","advanced":false,"valueTypes":[],"options":["工作日","每天","每周","Cron 表达式"]},{"key":"time","label":"执行时间","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"08:30","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"timezone","label":"时区","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Asia/Shanghai","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Trigger.FileArrival","name":"文件到达触发","kind":"trigger","group":"trigger","categories":["trigger"],"categorySignature":"trigger","description":"监听指定目录的新文件事件。","messageTemplate":"","baseType":"Trigger","functionName":"Trigger.FileArrival","functionCalls":[],"version":"","tags":["触发","文件到达触发"],"platformTag":null,"icon":"trigger","risk":"low","fields":[{"key":"folder","label":"监听目录","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"D:\\业务文件\\待处理","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pattern","label":"文件匹配","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"*.xlsx","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"stableSeconds","label":"文件稳定等待","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[],"unit":"秒"}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"logic_control_if_else","name":"IF 条件分支","kind":"native","group":"control","categories":["judgment"],"categorySignature":"judgment","description":"definition.args1/args3 保存两个 input_statement 子树,代码生成器输出 if/else。","messageTemplate":"","baseType":"logic_control_if_else","functionName":"logic_control_if_else","functionCalls":[],"version":"","tags":["judgment","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"condition","label":"条件表达式","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":["statement_if","statement_else"],"nodeKind":"container"},{"id":"logic_control_var","name":"设置变量","kind":"native","group":"control","categories":["base_command"],"categorySignature":"base_command","description":"变量名字段使用 assign 导出语义,代码生成器输出赋值语句。","messageTemplate":"","baseType":"logic_control_var","functionName":"logic_control_var","functionCalls":[],"version":"","tags":["base_command","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"var_name","label":"变量名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"var_value","label":"变量值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"var_name","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"logic_control_count_for","name":"计次循环","kind":"native","group":"control","categories":["loop"],"categorySignature":"loop","description":"args1 保存循环体,生成 range(start,end,step)。","messageTemplate":"","baseType":"logic_control_count_for","functionName":"logic_control_count_for","functionCalls":[],"version":"","tags":["loop","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"count_index","label":"计数变量","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"count_start_value","label":"开始值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"count_end_value","label":"结束值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"count_step","label":"步长","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"count_index","valueTypes":[],"fields":[]},"slots":["count_for_fn"],"nodeKind":"container"},{"id":"logic_control_while","name":"条件循环","kind":"native","group":"control","categories":["loop"],"categorySignature":"loop","description":"args1 保存循环体,condition 生成 while 表达式。","messageTemplate":"","baseType":"logic_control_while","functionName":"logic_control_while","functionCalls":[],"version":"","tags":["loop","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"if_for_condition","label":"循环条件","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":["if_for_fn"],"nodeKind":"container"},{"id":"infinite_loop","name":"无限循环","kind":"native","group":"control","categories":["loop"],"categorySignature":"loop","description":"前端内置无限循环容器;仅作 UI 结构参考。","messageTemplate":"","baseType":"infinite_loop","functionName":"infinite_loop","functionCalls":[],"version":"","tags":["loop","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":["loop_body"],"nodeKind":"container"},{"id":"logic_control_next_for","name":"继续下次循环","kind":"native","group":"control","categories":["loop"],"categorySignature":"loop","description":"生成 continue。","messageTemplate":"","baseType":"logic_control_next_for","functionName":"logic_control_next_for","functionCalls":[],"version":"","tags":["loop","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"logic_control_break_for","name":"跳出循环","kind":"native","group":"control","categories":["loop"],"categorySignature":"loop","description":"生成 break。","messageTemplate":"","baseType":"logic_control_break_for","functionName":"logic_control_break_for","functionCalls":[],"version":"","tags":["loop","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"logic_control_try_catch","name":"异常捕获","kind":"native","group":"control","categories":["process"],"categorySignature":"process","description":"args1/args3/args5 分别保存 try、except、finally 子树。字段名 else_fn 与实际 finally 生成语义不一致。","messageTemplate":"","baseType":"logic_control_try_catch","functionName":"logic_control_try_catch","functionCalls":[],"version":"","tags":["process","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":["try_fn","except_fn","else_fn"],"nodeKind":"container"},{"id":"logic_control_stop","name":"退出流程","kind":"native","group":"control","categories":["process"],"categorySignature":"process","description":"流程终止语句。","messageTemplate":"","baseType":"logic_control_stop","functionName":"logic_control_stop","functionCalls":[],"version":"","tags":["process","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"logic_control_stop_return","name":"返回并退出流程","kind":"native","group":"control","categories":["process"],"categorySignature":"process","description":"生成 return,并允许返回值。","messageTemplate":"","baseType":"logic_control_stop_return","functionName":"logic_control_stop_return","functionCalls":[],"version":"","tags":["process","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"return_value","label":"返回值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"child_modules_v1","name":"调用子流程","kind":"native","group":"control","categories":["process"],"categorySignature":"process","description":"模块树、方法、参数和输出由 changeTargetData 动态查询;运行时可附加重试与错误处理参数。","messageTemplate":"","baseType":"child_modules_v1","functionName":"child_modules_v1","functionCalls":[],"version":"","tags":["process","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"module_name","label":"子流程","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"call_type","label":"调用方式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"fun_name","label":"方法","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"args","label":"输入映射","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"fun_version","label":"版本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"outputs","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"concurrent_child_process_v1","name":"并发调用子流程","kind":"native","group":"control","categories":["process"],"categorySignature":"process","description":"与子流程选择器共用动态参数源,并增加 is_async。","messageTemplate":"","baseType":"concurrent_child_process_v1","functionName":"concurrent_child_process_v1","functionCalls":[],"version":"","tags":["process","statement"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"module_name","label":"子流程","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"call_type","label":"调用方式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"fun_name","label":"方法","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"args","label":"输入映射","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_async","label":"是否异步","widget":"boolean","type":"boolean","displayType":"checkbox","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"fun_version","label":"版本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[],"nodeKind":"statement"},{"id":"logic_control_array_for_v3","name":"遍历列表","kind":"native","group":"control","categories":["loop","List"],"categorySignature":"loop/List","description":"循环项与索引是作用域输出,args1 保存循环体。","messageTemplate":"","baseType":"logic_control_array_for_v3","functionName":"logic_control_array_for_v3","functionCalls":[],"version":"","tags":["loop","List","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"array_name","label":"列表变量","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"reverse","label":"是否倒序","widget":"boolean","type":"boolean","displayType":"checkbox","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start_index","label":"开始索引","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"end_index","label":"结束索引","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"array_value","valueTypes":[],"fields":[]},"slots":["array_for_fn"],"nodeKind":"container"},{"id":"logic_control_dictionary_for_v1","name":"遍历字典","kind":"native","group":"control","categories":["loop","dict"],"categorySignature":"loop/dict","description":"键和值是作用域输出,args1 保存循环体。","messageTemplate":"","baseType":"logic_control_dictionary_for_v1","functionName":"logic_control_dictionary_for_v1","functionCalls":[],"version":"","tags":["loop","dict","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"dictionary_name","label":"字典变量","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"dictionary_key","valueTypes":[],"fields":[]},"slots":["dictionary_for_fn"],"nodeKind":"container"},{"id":"Element_exception_monitor_v2","name":"异常监控","kind":"native","group":"control","categories":["process"],"categorySignature":"process","description":"将子树生成回调函数,并返回 monitor_id;依赖 Element 厂商插件运行时。","messageTemplate":"","baseType":"Element_exception_monitor_v2","functionName":"Element_exception_monitor_v2","functionCalls":[],"version":"","tags":["process","container"],"platformTag":null,"icon":"branch","risk":"low","fields":[{"key":"event_type","label":"事件类型","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"元素选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_info","label":"指定信息","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"指定对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_exits","label":"存在条件","widget":"boolean","type":"boolean","displayType":"checkbox","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"monitor_type","label":"监控类型","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"monitor_frequency","label":"监控频率","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"monitor_id","valueTypes":[],"fields":[]},"slots":["exception_monitor_params"],"nodeKind":"container"},{"id":"logic_control_if_ai_vision","name":"判断屏幕图像(AI)","kind":"native","group":"control","categories":["ai_operation_screen","judgment"],"categorySignature":"ai_operation_screen/judgment","description":"调用 DataService.AiScreenJudge 后决定是否执行子树;依赖 Z-Brain/AgentVision 与外部服务。","messageTemplate":"","baseType":"logic_control_if_ai_vision","functionName":"logic_control_if_ai_vision","functionCalls":[],"version":"","tags":["ai_operation_screen","judgment","container"],"platformTag":null,"icon":"branch","risk":"high","fields":[{"key":"input_data","label":"屏幕判断要求","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"log_process","label":"记录过程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":["statement_if"],"nodeKind":"container"},{"id":"App_Run","name":"启动应用程序","kind":"vendor","group":"app","categories":["app"],"categorySignature":"app","description":"启动指定的程序,并返回程序的pid到指定变量。","messageTemplate":"运行应用程序 $1, 然后把结果保存到 $0","baseType":"App_Run","functionName":"App.Run","functionCalls":[{"function":"App.Run","args":["executeable","params","cwd","is_admin","create_new_console"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["启动程序","开启程序","打开应用","启动","开启","运行","打开","启用"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"executeable","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择需启动程序的文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"params","label":"携带参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要携带的参数","description":"启动应用时携带的参数,示例:无痕模式启动Chrome,可输入\"--incognito\"。为空表示不携带参数。","advanced":true,"valueTypes":["rpa_str"]},{"key":"cwd","label":"执行目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"为空表示程序所在父目录","description":"选择应用程序的执行目录,为空表示程序所在父目录","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"is_admin","label":"以管理员身份启动","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"以管理员身份打开目标应用程序","advanced":true,"valueTypes":[]},{"key":"create_new_console","label":"创建新控制台窗口","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"未勾选:组件自动判断启动方式;勾选:强制新建控制台窗口。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"程序PID值","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"程序PID值","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"App_GetPid","name":"获取一个匹配PID","kind":"vendor","group":"app","categories":["app"],"categorySignature":"app","description":"获取与通配符匹配的第一个应用程序的PID,并输出到指定变量。","messageTemplate":"获取第一个 $1 应用程序的PID, 然后把结果保存到 $0","baseType":"App_GetPid","functionName":"App.GetPid","functionCalls":[{"function":"App.GetPid","args":["pattern"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["指定pid","指定应用程序","单个pid","获取","得到","取得","提取","获取到","PID","进程ID","进程标识"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"pattern","label":"通配符","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"chrome.exe","placeholder":"请输入要获取PID的程序的特殊符号","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"第一个PID值","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"第一个PID值","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"App_GetPids","name":"获取全部匹配PID","kind":"vendor","group":"app","categories":["app"],"categorySignature":"app","description":"获取所有设定通配符的应用程序的PID,并以数组的形式输出。","messageTemplate":"获取所有 $1 应用程序的PID, 然后把结果保存到 $0","baseType":"App_GetPids","functionName":"App.GetPids","functionCalls":[{"function":"App.GetPids","args":["pattern"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["指定PID","指定应用程序","多个PID","获取","得到","取得","提取","获取到","PID","进程ID","进程标识"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"pattern","label":"通配符","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"chrome.exe","placeholder":"请输入要获取PID的程序的特殊符号","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"获取的PID列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"获取的PID列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"App_KillV1","name":"关闭应用程序","kind":"vendor","group":"app","categories":["app"],"categorySignature":"app","description":"关闭指定PID/名称的应用程序。","messageTemplate":"终止{$$0 == 'id' && '进程PID为 $1'}{$$0 == 'name' && '所有名称为 $2'} 的进程","baseType":"App_Kill","functionName":"App.KillV1","functionCalls":[{"function":"App.KillV1","args":["close_type","pid","p_name","kill_all"],"assignTo":""}],"version":"3.3.5.0","tags":["关闭","退出","终止","关停"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"close_type","label":"终止方式","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"id","placeholder":"","description":"通过进程PID、进程名称来终止进程","advanced":false,"valueTypes":[],"options":[{"label":"按进程 PID","value":"id"},{"label":"按进程名称","value":"name"}]},{"key":"pid","label":"进程PID","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入要关闭的进程PID","description":"要终止的进程PID","advanced":false,"valueTypes":["rpa_int","rpa_str"]},{"key":"p_name","label":"进程名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入要关闭的进程名称","description":"要终止的进程的名称,如果有多个正在运行的同名进程,则均会被终止","advanced":false,"valueTypes":["rpa_str"]},{"key":"kill_all","label":"关闭所有会话中的程序","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"使用静默运行方式时,Windows会启动多个会话。默认不勾选表示仅关闭当前会话下程序,勾选则会关闭所有会话下的程序。","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"App_Kill","name":"关闭应用程序","kind":"vendor","group":"app","categories":["app"],"categorySignature":"app","description":"关闭指定PID的应用程序。","messageTemplate":"关闭PID为 $0 的应用程序","baseType":"App_Kill","functionName":"App.Kill","functionCalls":[{"function":"App.Kill","args":["pid"],"assignTo":""}],"version":"3.3.5.0","tags":["关闭程序","退出程序","关闭进程"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"pid","label":"PID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"iPID","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Array_Reshape2Dim","name":"转化数组维度","kind":"vendor","group":"data","categories":["Array"],"categorySignature":"Array","description":"。","messageTemplate":"将 $1 数组转化为 $2,$3 维, 然后把结果保存到 $0","baseType":"Array_Reshape2Dim","functionName":"Array.Reshape2Dim","functionCalls":[{"function":"Array.Reshape2Dim","args":["arr","x","y"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转化数组维度"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arr","label":"集合","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"x","label":"x维度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"y","label":"y维度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_IsDictionary","name":"判断数据是否为字典","kind":"vendor","group":"app","categories":["judgment"],"categorySignature":"judgment","description":"判断数据是不是一个字典,是则返回Ture,否则返回False。","messageTemplate":"判断 $1 中的数据是不是一个字典, 然后把结果保存到 $0","baseType":"Basic_IsDictionary","functionName":"Basic.IsDictionary","functionCalls":[{"function":"Basic.IsDictionary","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["dict","字典"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待校验数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_StringToNum","name":"将文本转换为数字","kind":"vendor","group":"app","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将数字的文本表示形式转换为包含数字的变量。","messageTemplate":"将 $1 转换成数字格式, 然后把结果保存到 $0","baseType":"Basic_StringToNum","functionName":"Basic.StringToNum","functionCalls":[{"function":"Basic.StringToNum","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","文字","文本","text","转换","转变","转换格式","转换类型","变换","字符"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待转换文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入文本形式的数值或变量。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"数字类型值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"数字类型值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Basic_Delay_V2","name":"等待","kind":"vendor","group":"app","categories":["waite"],"categorySignature":"waite","description":"让流程等待一段时间后再执行。","messageTemplate":"{$$0 == '0' && '让流程等待 $1 秒后继续执行'}{$$0 == '1' && '让流程等待 $2 至 $3 秒后继续执行'}","baseType":"Basic_Delay","functionName":"Basic.Delay_V2","functionCalls":[{"function":"Basic.Delay_V2","args":["is_random","second","min_second","max_second"],"assignTo":""}],"version":"3.3.5.0","tags":["延长","等待","暂停","延迟","随机等待"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"is_random","label":"等待时长随机","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"等待时长是随机数","advanced":false,"valueTypes":[]},{"key":"second","label":"等待时间(秒)","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"min_second","label":"最小时长(秒)","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"max_second","label":"最大时长(秒)","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"5","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Basic_ConvertInt","name":"数值转为整数类型","kind":"vendor","group":"app","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将数值转换成整数然后保存。","messageTemplate":"将 $1 中的数值转换为整数类型, 然后把结果保存到 $0","baseType":"Basic_ConvertInt","functionName":"Basic.ConvertInt","functionCalls":[{"function":"Basic.ConvertInt","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","整数","int"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"转换对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_RandomInt","name":"生成随机数","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"在指定最小值到最大值之间随机生成一个整数。","messageTemplate":"从 $1 到 $2 之间随机一个整数, 然后把结果保存到 $0","baseType":"Basic_RandomInt","functionName":"Basic.RandomInt","functionCalls":[{"function":"Basic.RandomInt","args":["min","max"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["随机数","生成","产生","生成数据","创建","制作"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"min","label":"最小值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"生成随机数的下限,仅支持整数(包含该值)","advanced":false,"valueTypes":["rpa_int"]},{"key":"max","label":"最大值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"100","placeholder":"","description":"生成随机数的上限,仅支持整数。","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"随机数","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"随机数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Basic_GetSystemAccount_v2","name":"获取平台账号(通用)","kind":"vendor","group":"app","categories":["automation_portal"],"categorySignature":"automation_portal","description":"获取门户中配置的系统账号信息,用以登录业务系统。","messageTemplate":"获取 $1 业务 $2 平台账号, 然后把结果保存到 $0","baseType":"Basic_GetSystemAccount","functionName":"Basic.GetSystemAccount_v2","functionCalls":[{"function":"Basic.GetSystemAccount_v2","args":["businessType","platform"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","账号","门户","系统账号"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"businessType","label":"业务类型","widget":"text","type":"string","displayType":"remotePortalBusinessType","required":false,"defaultValue":"{}","placeholder":"","description":"设置需要关联业务,用来关联业务执行结果。","advanced":false,"valueTypes":[]},{"key":"platform","label":"指定平台","widget":"text","type":"string","displayType":"remotePortalPlatform","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"平台账号","valueTypes":["rpa_dict_portal"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"平台账号","valueTypes":["rpa_dict_portal"]}]},"slots":[]},{"id":"Basic_IsNumber","name":"判断数据是否为数值","kind":"vendor","group":"app","categories":["judgment"],"categorySignature":"judgment","description":"判断数据是不是数值,是则返回Ture,否则返回False。","messageTemplate":"判断 $1 中的数据是不是一个数值, 然后把结果保存到 $0","baseType":"Basic_IsNumber","functionName":"Basic.IsNumber","functionCalls":[{"function":"Basic.IsNumber","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"判断变量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_ConvertBool","name":"数据转为布尔类型","kind":"vendor","group":"app","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将数据格式转换为布尔类型,结果保存为true或false。","messageTemplate":"将 $1 中的数据转换为布尔类型, 然后把结果保存到 $0","baseType":"Basic_ConvertBool","functionName":"Basic.ConvertBool","functionCalls":[{"function":"Basic.ConvertBool","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转化","boolean","逻辑数据","true","false"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"转换对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_Type","name":"获取数据类型","kind":"vendor","group":"app","categories":["data_type_conversion","base_command"],"categorySignature":"data_type_conversion|base_command","description":"判断数据的类型,然后展示类型的名称。","messageTemplate":"判断 $1 中的数据类型, 然后把结果保存到 $0","baseType":"Basic_Type","functionName":"Basic.Type","functionCalls":[{"function":"Basic.Type","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型","变量类型","获取","得到","取得","提取","获取到","数据","资料","数据信息"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"判断变量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"请选择或输入需要判断数据类型的变量","description":"选择或输入需要判断数据类型的变量","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"数据类型","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"数据类型","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Basic_Dodecryption","name":"设置密文变量","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"将输入的密码用暗文显示,以便安全的在流程中使用。","messageTemplate":"将密文内容 $1 保存到 $0","baseType":"Basic_Dodecryption","functionName":"Basic.Dodecryption","functionCalls":[{"function":"Basic.Dodecryption","args":["words"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["密码","保密","隐私","设置","配置","设定","调配","设置好","变量","变数","变量值"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"words","label":"密文内容","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"输入需要进行加密的文本","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"变量名","key":"var_name","suggestedName":"密文","valueTypes":["rpa_password"],"fields":[{"key":"var_name","label":"变量名","defaultValue":"密文","valueTypes":["rpa_password"]}]},"slots":[]},{"id":"Basic_IsNull","name":"判断数据是否为空","kind":"vendor","group":"app","categories":["judgment"],"categorySignature":"judgment","description":"判断数据是不是空值,是则返回Ture,否则返回False。","messageTemplate":"判断 $1 中的数据是不是空值, 然后把结果保存到 $0","baseType":"Basic_IsNull","functionName":"Basic.IsNull","functionCalls":[{"function":"Basic.IsNull","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待校验数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_DebugOutput","name":"调试输出","kind":"vendor","group":"app","categories":["log","base_command"],"categorySignature":"log|base_command","description":"将指定信息输出至控制台。","messageTemplate":"输出 $0 至控制台","baseType":"Basic_DebugOutput","functionName":"Basic.DebugOutput","functionCalls":[{"function":"Basic.DebugOutput","args":["msg"],"assignTo":""}],"version":"3.3.5.0","tags":["输出","打印","显示","输岀","展现"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"msg","label":"输出信息","widget":"textarea","type":"string","displayType":"logInput","required":false,"defaultValue":"","placeholder":"请输入或选择需要输出的变量","description":"将输出信息打印到输出栏","advanced":false,"valueTypes":["rpa_any"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Basic_GetSystemAccount","name":"获取系统账号(门户专用)","kind":"vendor","group":"app","categories":["automation_portal"],"categorySignature":"automation_portal","description":"获取门户中配置的系统账号信息,用以登录业务系统。","messageTemplate":"获取 $1 业务系统账号, 然后把结果保存到 $0","baseType":"Basic_GetSystemAccount","functionName":"Basic.GetSystemAccount","functionCalls":[{"function":"Basic.GetSystemAccount","args":["category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","账号","门户","系统账号"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"category","label":"指定系统","widget":"select","type":"string","displayType":"remoteOptionSelect","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"账号密码","valueTypes":["rpa_dict_portal"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"账号密码","valueTypes":["rpa_dict_portal"]}]},"slots":[]},{"id":"Basic_SetVariable_V1","name":"设置变量","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"设置一个新的变量或者已有变量的值。","messageTemplate":"将变量值 $2 保存到 $0","baseType":"Basic_SetVariable","functionName":"Basic.SetVariable_V1","functionCalls":[{"function":"Basic.SetVariable_V1","args":["value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["设置","配置","设定","调配","设置好","变量","变数","变量值"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"variableType","label":"变量类型","widget":"text","type":"string","displayType":"variableTypeSelect","required":false,"defaultValue":"rpa_str","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"变量值","widget":"text","type":"string","displayType":"text","required":false,"defaultValue":"","placeholder":"请输入变量值","description":"输入需要设置的值","advanced":false,"valueTypes":["rpa_any"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"temp","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"temp","valueTypes":[]}]},"slots":[]},{"id":"Basic_BusinessOrderCount","name":"业务办理计数","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"将业务办理的单数,自动记录累加,并上报到运营平台。可了解本次任务,处理了多少条数据或办理了多少单业务。","messageTemplate":"从“起始值”开始计数,每次上报增加“每次累加”, 然后把结果保存到 $0","baseType":"Basic_BusinessOrderCount","functionName":"Basic.BusinessOrderCount","functionCalls":[{"function":"Basic.BusinessOrderCount","args":["start_count","count"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["业务计数","业务办理","单量","处理量上报"],"platformTag":1,"icon":"app","risk":"high","fields":[{"key":"start_count","label":"起始值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"从几开始计数,仅支持整数","advanced":false,"valueTypes":["rpa_int"]},{"key":"count","label":"每次累加","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"每运行一次增加几,仅支持整数","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"业务办理数","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"业务办理数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Basic_SetVariable","name":"设置变量","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"设置一个新的变量或者已有变量的值。","messageTemplate":"将变量值 $1 保存到 $0","baseType":"Basic_SetVariable","functionName":"Basic.SetVariable","functionCalls":[{"function":"Basic.SetVariable","args":["value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"value","label":"变量值","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请输入变量值","description":"输入需要设置的值","advanced":false,"valueTypes":["rpa_any"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"temp","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"temp","valueTypes":[]}]},"slots":[]},{"id":"Basic_Delay_V1","name":"等待","kind":"vendor","group":"app","categories":["waite","base_command"],"categorySignature":"waite|base_command","description":"让流程等待一段时间后再执行。","messageTemplate":"让流程等待 $0秒后继续执行","baseType":"Basic_Delay","functionName":"Basic.Delay_V1","functionCalls":[{"function":"Basic.Delay_V1","args":["second"],"assignTo":""}],"version":"3.3.5.0","tags":["延长","等待","暂停","延迟","延时","等候"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"second","label":"等待时间(秒)","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"请输入等待时间(秒)","description":"输入等待时间(秒),默认1秒","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Basic_GetSystemAccount_v1","name":"获取平台账号","kind":"vendor","group":"app","categories":["automation_portal"],"categorySignature":"automation_portal","description":"获取门户中配置的系统账号信息,用以登录业务系统。","messageTemplate":"获取 $1 业务 $2 平台账号, 然后把结果保存到 $0","baseType":"Basic_GetSystemAccount","functionName":"Basic.GetSystemAccount_v1","functionCalls":[{"function":"Basic.GetSystemAccount_v1","args":["businessType","platform"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","账号","门户","系统账号"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"businessType","label":"业务类型","widget":"text","type":"string","displayType":"remotePortalBusinessType","required":false,"defaultValue":"{}","placeholder":"","description":"设置需要关联业务,用来关联业务执行结果。","advanced":false,"valueTypes":[]},{"key":"platform","label":"指定平台","widget":"text","type":"string","displayType":"remotePortalPlatform","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"平台账号","valueTypes":["rpa_dict_portal"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"平台账号","valueTypes":["rpa_dict_portal"]}]},"slots":[]},{"id":"Basic_ConvertNumber","name":"数据转为数值类型","kind":"vendor","group":"app","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将数据转换成数值类型并保存。","messageTemplate":"将 $1 中的数据转换为数值类型, 然后把结果保存到 $0","baseType":"Basic_ConvertNumber","functionName":"Basic.ConvertNumber","functionCalls":[{"function":"Basic.ConvertNumber","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","数值","number"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待转换数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_GetProcessInfo","name":"获取流程信息","kind":"vendor","group":"app","categories":["process"],"categorySignature":"process","description":"获取流程名称,版本号,流程简介,使用说明等。","messageTemplate":"获取当前流程的信息, 然后把结果保存到 $0","baseType":"Basic_GetProcessInfo","functionName":"Basic.GetProcessInfo","functionCalls":[{"function":"Basic.GetProcessInfo","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"流程信息","valueTypes":["rpa_dict_process"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"流程信息","valueTypes":["rpa_dict_process"]}]},"slots":[]},{"id":"Basic_ConvertString","name":"将数字转换为文本","kind":"vendor","group":"app","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将数字转换为文本形式,可用于数字和文本的拼接。","messageTemplate":"将 $1 转换成文本格式, 然后把结果保存到 $0","baseType":"Basic_ConvertString","functionName":"Basic.ConvertString","functionCalls":[{"function":"Basic.ConvertString","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","文字","文本","text","转换","转变","转换格式","转换类型","变换","字符"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待转换数字","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入数字或变量。","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Basic_Delay","name":"流程延迟执行","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"让流程等待一段时间后再执行。","messageTemplate":"让流程等待 $0 毫秒后继续执行","baseType":"Basic_Delay","functionName":"Basic.Delay","functionCalls":[{"function":"Basic.Delay","args":["mileSecond"],"assignTo":""}],"version":"3.3.5.0","tags":["延长","等待","暂停","延迟"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"mileSecond","label":"延时时间(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"1000","placeholder":"请输入延迟时间(毫秒)","description":"输入延迟时间(毫秒),默认1000毫秒","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Basic_IsArray","name":"判断数据是否为数组","kind":"vendor","group":"app","categories":["judgment"],"categorySignature":"judgment","description":"判断数据是不是一个数组,是则返回Ture,否则返回False。","messageTemplate":"判断 $1 中的数据类型是不是一个数组, 然后把结果保存到 $0","baseType":"Basic_IsArray","functionName":"Basic.IsArray","functionCalls":[{"function":"Basic.IsArray","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数组类型","判断数组","数组"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"判断变量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"varData","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Basic_Clone","name":"复制数据","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"将数据复制一份,然后保存。","messageTemplate":"复制 $1 中的数据, 然后把结果保存到 $0","baseType":"Basic_Clone","functionName":"Basic.Clone","functionCalls":[{"function":"Basic.Clone","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["复制","拷贝","复件","仿制","数据","资料","数据信息","数据内容"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待拷贝数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入待拷贝的变量","description":"输入待拷贝的变量,修改拷贝后变量将不影响原变量值","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"复制的数据","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"复制的数据","valueTypes":[]}]},"slots":[]},{"id":"Basic_Rnd","name":"生成随机数","kind":"vendor","group":"app","categories":["base_command"],"categorySignature":"base_command","description":"生成一个随机数。","messageTemplate":"从0到1之间获取一个随机小数, 然后把结果保存到 $0","baseType":"Basic_RandomInt","functionName":"Basic.Rnd","functionCalls":[{"function":"Basic.Rnd","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["随机数","0到1之间"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"随机小数","valueTypes":["rpa_float"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"随机小数","valueTypes":["rpa_float"]}]},"slots":[]},{"id":"Basic_JudgeDataType","name":"判断数据类型","kind":"vendor","group":"app","categories":["judgment","base_command"],"categorySignature":"judgment|base_command","description":"按所选目标类型判断数据,返回布尔值 true 或 false。数值判断区分数字与数字文本。","messageTemplate":"判断数据 $1 的类型, 然后把结果保存到 $0","baseType":"Basic_JudgeDataType","functionName":"Basic.JudgeDataType","functionCalls":[{"function":"Basic.JudgeDataType","args":["val","into_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","类型","转换","文字","布尔","整数","列表","浮点","判断","判定","判别","判断出","识别","数据","资料","数据信息"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待判断数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入待判断数据","description":"选择或输入需要判断数据类型的变量","advanced":false,"valueTypes":[]},{"key":"into_type","label":"目标数据类型选项","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"number","placeholder":"","description":"选择要判断的目标类型。历史默认值 1 兼容数值类型。","advanced":false,"valueTypes":[],"options":[{"label":"数值","value":"number"},{"label":"整数","value":"int"},{"label":"空值","value":"null"},{"label":"字典","value":"dict"},{"label":"数组","value":"list"},{"label":"文本","value":"string"},{"label":"布尔","value":"bool"}]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Basic_DataTypeConversion","name":"转换数据类型","kind":"vendor","group":"app","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将数据转换为所选的数值、整数、布尔或文本类型;无法转换时给出参数错误。","messageTemplate":"将待转换数据 $1 转换为 $2, 然后把结果保存到 $0","baseType":"Basic_DataTypeConversion","functionName":"Basic.DataTypeConversion","functionCalls":[{"function":"Basic.DataTypeConversion","args":["val","into_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","类型","转换","文字","布尔","整数","列表","浮点","转变","转换格式","转换类型","变换","数据","资料","数据信息"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"val","label":"待转换数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入待转换数据","description":"输入需要转换为其他类型的数据。","advanced":false,"valueTypes":[]},{"key":"into_type","label":"需要转换的数据类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"number","placeholder":"","description":"选择目标类型。历史默认值 1 兼容数值;其他数字别名 2=整数、3=布尔、4=文本。","advanced":false,"valueTypes":[],"options":[{"label":"数值","value":"number"},{"label":"整数","value":"int"},{"label":"布尔","value":"bool"},{"label":"文本","value":"string"}]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"转换结果","valueTypes":["rpa_str","rpa_bool","rpa_int","rpa_float","rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"转换结果","valueTypes":["rpa_str","rpa_bool","rpa_int","rpa_float","rpa_list"]}]},"slots":[]},{"id":"Bivartable_CreateDf","name":"创建数据表格","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"创建数据表格(二维表)。注:当前使用的pandas版本为 1.0.1。","messageTemplate":"创建数据表格, 然后把结果保存到 $0","baseType":"Bivartable_CreateDf","functionName":"Bivartable.CreateDf","functionCalls":[{"function":"Bivartable.CreateDf","args":["mode","data","filePath","sheet","columnList","startRow","rowNum","format","dataType","param"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["创建二维表","二维表","数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"mode","label":"创建方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"数据表格创建方式","advanced":false,"valueTypes":[]},{"key":"data","label":"写入内容","widget":"region","type":"object","displayType":"drawDataTable","required":true,"defaultValue":"[]","placeholder":"","description":"支持二维列表数据和字典,示例:[[\"a\",\"b\",\"c\"],[1,2,3]]、{'Name':['Tom', 'Jack', 'Steve', 'Ricky'],'Age':[28,34,29,42]}","advanced":false,"valueTypes":["rpa_list","rpa_dict"]},{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"sheet","label":"Sheet页","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"columnList","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"一般适用于Excel缺少列名,或者需要重新定义列名的情况。names的长度必须等于Excel表格列的长度,否则会报错。","advanced":true,"valueTypes":["rpa_list"]},{"key":"startRow","label":"指定行开始","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"指定开始读取行位置,默认值空,表示从列表第一行开始。","advanced":true,"valueTypes":["rpa_int"]},{"key":"rowNum","label":"读取行数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"需要读取的行数。","advanced":true,"valueTypes":["rpa_int"]},{"key":"format","label":"编码格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"读取的数据如果出现乱码,请设置编码格式。Excel文件一般用utf-8,CSV文件一般采用gb18030","advanced":true,"valueTypes":["rpa_str"]},{"key":"dataType","label":"数据类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"object","placeholder":"","description":"指定整个数据表格的数据类型。","advanced":false,"valueTypes":[]},{"key":"param","label":"可选参数","widget":"textarea","type":"string","displayType":"multipleTextArea","required":false,"defaultValue":"{}","placeholder":"","description":"可输入对应 pandas DataFrame()、read_excel()、read_csv()方法里的参数。支持传入一个字典。","advanced":true,"valueTypes":["rpa_dict"]}],"output":{"label":"数据表格保存至","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"数据表格保存至","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_GetMaxValue","name":"获取最大值","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"获取二维表中某列的最大值。","messageTemplate":" $1 先分组,分组依据为 $2 ,而后获取列 $3 的最大值 , 然后把结果保存到 $0","baseType":"Bivartable_GetMaxValue","functionName":"Bivartable.GetMaxValue","functionCalls":[{"function":"Bivartable.GetMaxValue","args":["df","groupby","maxvaluecols"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["最大值","获取最大值","获取二维表中某列的最大值"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"groupby","label":"分组依据(列名,多列的话,以中文逗号(',')隔开)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"maxvaluecols","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"最大数值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"最大数值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Bivartable_DelDfColRow","name":"删除行/列","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"删除数据表格中指定的行或列。","messageTemplate":"删除 $1 的 {$$3 == 'col' && '列'}{$$3 == 'row' && '行'} $4 $5 $6 $7, 然后把结果保存到 $0","baseType":"Bivartable_DelDfColRow","functionName":"Bivartable.DelDfColRow","functionCalls":[{"function":"Bivartable.DelDfColRow","args":["df","delType","delRange","del_col_name_list","del_col_num_list","del_row_name_list","del_row_num_list","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"delType","label":"删除方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"num","placeholder":"","description":"行名、列名是数据表格中指定的表头。行号、列号是数据表格中的行序号、列序号,是一个整数。","advanced":false,"valueTypes":[]},{"key":"delRange","label":"删除行/列","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"col","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"del_col_name_list","label":"待删除列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"支持单列和多列,示例:[\"A\"],[\"A\",\"B\",\"C\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"del_col_num_list","label":"待删除列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"支持单列和多列,示例:[\"A\"],[\"A\",\"B\",\"C\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"del_row_name_list","label":"待删除行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"支持单行和多行,示例:[1],[1,2,3]","advanced":false,"valueTypes":["rpa_list"]},{"key":"del_row_num_list","label":"待删除行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"支持单行和多行,示例:[1],[1,2,3]","advanced":false,"valueTypes":["rpa_list"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"删除后结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"删除后结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ReadDfData_V1","name":"读取数据","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取数据表格中部分数据。","messageTemplate":"读取数据表格数据, 然后把结果保存到 $0","baseType":"Bivartable_ReadDfData","functionName":"Bivartable.ReadDfData_V1","functionCalls":[{"function":"Bivartable.ReadDfData_V1","args":["df","readType","readRange","row_name","col_name","row_num","col_num","appoint_row_name","appoint_row_num","appoint_col_name","appoint_col_num","range_name","range_num","showTable","toList"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取","读取到","读出","读取信息","数据","资料","数据信息","数据内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量。","advanced":false,"valueTypes":["rpa_pd"]},{"key":"readType","label":"读取方式","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"name","placeholder":"","description":"选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。","advanced":false,"valueTypes":[]},{"key":"readRange","label":"读取区域","widget":"select","type":"string","displayType":"dropDownSelect","required":true,"defaultValue":"cell","placeholder":"","description":"选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。","advanced":false,"valueTypes":[]},{"key":"row_name","label":"行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入数据表格行标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"col_name","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"输入数据表格列标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"row_num","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"col_num","label":"列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"appoint_row_name","label":"指定行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"appoint_row_num","label":"指定行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"appoint_col_name","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"appoint_col_num","label":"指定列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"range_name","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"","advanced":false,"valueTypes":[]},{"key":"range_num","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]},{"key":"toList","label":"结果转为列表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"不勾选读取结果将输入dataFrame对象,勾选将输出为列表","advanced":false,"valueTypes":[]}],"output":{"label":"读取结果保存到","key":"var_name","suggestedName":"读取结果","valueTypes":["rpa_list","rpa_pd"],"fields":[{"key":"var_name","label":"读取结果保存到","defaultValue":"读取结果","valueTypes":["rpa_list","rpa_pd"]}]},"slots":[]},{"id":"Bivartable_GetMinValue","name":"获取最小值","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"获取二维表中某列的最小值。","messageTemplate":" $1 先分组,分组依据为 $2 ,而后获取列 $3 最小值 , 然后把结果保存到 $0","baseType":"Bivartable_GetMinValue","functionName":"Bivartable.GetMinValue","functionCalls":[{"function":"Bivartable.GetMinValue","args":["df","groupby","minvaluecols"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["最小值","获取最小值","获取二维表中某列的最小值"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"groupby","label":"分组依据(列名,多列的话,以中文逗号(',')隔开)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"minvaluecols","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"最小数值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"最小数值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Bivartable_CreateDfV1","name":"创建数据表格","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"创建数据表格(二维表)。注:当前使用pandas版本为 1.0.1。","messageTemplate":"创建数据表格, 然后把结果保存到 $0","baseType":"Bivartable_CreateDf","functionName":"Bivartable.CreateDfV1","functionCalls":[{"function":"Bivartable.CreateDfV1","args":["mode","data","filePath","filePath_csv","sheet","columnList","startRow","rowNum","format","dataType","param","save","view","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["创建二维表","二维表","数据","资料","数据信息","数据内容","数据集","表格","数据表","表格数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"mode","label":"创建方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"数据表格的创建方式。数据表:从控制台中的数据表创建","advanced":false,"valueTypes":[]},{"key":"data","label":"写入内容","widget":"region","type":"object","displayType":"drawDataTable","required":true,"defaultValue":"[]","placeholder":"","description":"支持二维列表数据和字典,示例:[[\"a\",\"b\",\"c\"],[1,2,3]]、{'Name':['Tom', 'Jack', 'Steve', 'Ricky'],'Age':[28,34,29,42]}","advanced":false,"valueTypes":["rpa_list","rpa_dict"]},{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"filePath_csv","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"sheet","label":"Sheet页","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"columnList","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"请输入新列名,例如:[\"列名1\",\"列名2\"]","description":"一般适用于Excel缺少列名,或者需要重新定义列名的情况。names的长度必须等于Excel表格列的长度,否则会报错。","advanced":true,"valueTypes":["rpa_list"]},{"key":"startRow","label":"指定行开始","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"开始行号,从1开始","description":"指定开始读取行位置,默认值空,表示从列表第一行开始。","advanced":true,"valueTypes":["rpa_int"]},{"key":"rowNum","label":"读取行数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入正整数","description":"需要读取的行数。","advanced":true,"valueTypes":["rpa_int"]},{"key":"format","label":"编码格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"读取的数据如果出现乱码,请设置编码格式。Excel文件一般用utf-8,CSV文件一般采用gb18030。","advanced":true,"valueTypes":["rpa_str"]},{"key":"dataType","label":"数据类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"object","placeholder":"","description":"指定整个数据表格的数据类型。","advanced":false,"valueTypes":[]},{"key":"param","label":"可选参数","widget":"textarea","type":"string","displayType":"multipleTextArea","required":false,"defaultValue":"{}","placeholder":"请输入可选参数字典","description":"可输入对应 pandas DataFrame()、read_excel()、read_csv()方法里的参数。支持传入一个字典。","advanced":true,"valueTypes":["rpa_dict"]},{"key":"save","label":"将结果保存至松塔","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"数据表格保存至","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"数据表格保存至","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_HandleDfMissValue","name":"缺失值处理","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将数据表格中缺失值(NaN)填充固定值、填充前一值、填充后一值、删除缺失值等操作。","messageTemplate":"将数据表格对象 $1 指定 $3 的缺失值 $9 {$$9 == 4 && '填充固定数值$10'} , 然后把结果保存到 $0","baseType":"Bivartable_HandleDfMissValue","functionName":"Bivartable.HandleDfMissValue","functionCalls":[{"function":"Bivartable.HandleDfMissValue","args":["df","missType","missRange","missColRow","col_name_list","col_num_list","row_name_list","row_num_list","handleType","value","delType","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["处理","处置","办理","处理数据","加工"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"missType","label":"缺失值类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"处理指定的缺失值类型,包含NaN、None、空字符。","advanced":false,"valueTypes":[]},{"key":"missRange","label":"处理区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"col","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"missColRow","label":" ","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"num","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"col_name_list","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"支持单列和多列,单列示例:[\"A\"],多列示例:[\"A\",\"B\",\"C\"],输入空列表则作用于整个表,空列表示例:[]","advanced":false,"valueTypes":["rpa_list"]},{"key":"col_num_list","label":"列号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"支持单列和多列,单列示例:[1],多列示例:[1,2,3],输入空列表则作用于整个表,空列表示例:[]","advanced":false,"valueTypes":["rpa_list"]},{"key":"row_name_list","label":"行名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"支持单行和多行,单行示例:[1],多行示例:[1,2,3],输入空列表则作用于整个表,空列表示例:[]","advanced":false,"valueTypes":["rpa_list"]},{"key":"row_num_list","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"支持单行和多行,单行示例:[1],多行示例:[1,2,3],输入空列表则作用于整个表,空列表示例:[]","advanced":false,"valueTypes":["rpa_list"]},{"key":"handleType","label":"处理方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"支持将缺失值填充指定的值、填充前一值(前一行/列)、填充后一值(后一行/列)、删除缺失值所在行/列。","advanced":false,"valueTypes":[]},{"key":"value","label":"填充值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"将所有缺失值填充指定的值。","advanced":false,"valueTypes":[]},{"key":"delType","label":"删除条件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"支持指定的行/列中存在缺失值即删除所在行/列、指定的行/列所有值为缺失值才删除所在行/列。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"处理后结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"处理后结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ColumnOperationDf","name":"两列运算","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"对数据表格的指定两列进行加减乘除计算,并将计算结果保存到新的一列。","messageTemplate":"对 $1 的 $2 列和 $4 列进行 $3 运算,新增计算结果列 $6, 然后把结果保存到 $0","baseType":"Bivartable_ColumnOperationDf","functionName":"Bivartable.ColumnOperationDf","functionCalls":[{"function":"Bivartable.ColumnOperationDf","args":["df","name1","operator","name2","ret_type","name","pos_name","direction","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["表格","数据表格","表格数据","表格处理"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"name1","label":"待运算列名1","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"指定需要进行运算的列名。","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"operator","label":"运算符","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"+","placeholder":"","description":"选择运算符。","advanced":false,"valueTypes":[]},{"key":"name2","label":"待运算列名2","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"指定需要进行运算的列名。","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"ret_type","label":"指定数据类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"float","placeholder":"","description":"指定计算结果的数据类型。","advanced":false,"valueTypes":[]},{"key":"name","label":"运算结果列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"指定新增运算结果列的列名。","advanced":false,"valueTypes":["rpa_str"]},{"key":"pos_name","label":"插入位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"将新增的运算结果列,插入到哪一列的左边或右边,仅支持输入列名,为空时,默认在数据表格最后一列插入。","advanced":true,"valueTypes":[]},{"key":"direction","label":"插入方向","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"将新增的运算结果列,插入到指定\"插入位置\"的左边还是右边。","advanced":true,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"运算后数据","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"运算后数据","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_SortDf","name":"排序数据表格","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将数据表格按指定列升序、降序排列。","messageTemplate":"将 $1 的按列名 $2 $3 排序, 然后把结果保存到 $0","baseType":"Bivartable_SortDf","functionName":"Bivartable.SortDf","functionCalls":[{"function":"Bivartable.SortDf","args":["df","name","sort","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","表格","数据表","表格数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"name","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"指定按哪一列进行排序。支持按多列进行排序,示例:“A”、[“A”,”B”]","advanced":false,"valueTypes":["rpa_str","rpa_list","rpa_num"]},{"key":"sort","label":"排序规则","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"True","placeholder":"","description":"根据指定的列按升序或者降序排列。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"排序后数据","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"排序后数据","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ReadTable","name":"读取数据表内容","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取数据表中指定区域的内容。","messageTemplate":"读取数据表 $3 的内容, 然后把结果保存到 $0","baseType":"Bivartable_ReadTable","functionName":"Bivartable.ReadTable","functionCalls":[{"function":"Bivartable.ReadTable","args":["df","sheet","regionType","row","column","start_row","start_column","end_row","end_column"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取数据表内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"第一页","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"regionType","label":"读取区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"start_row","label":"起始单元格号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"start_column","label":"起始单元格列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"end_row","label":"结束单元格行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"end_column","label":"结束单元格列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"获取的表格内容","valueTypes":["rpa_str","rpa_list","rpa_list","rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"获取的表格内容","valueTypes":["rpa_str","rpa_list","rpa_list","rpa_list"]}]},"slots":[]},{"id":"Bivartable_DoCreate","name":"创建二维表","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将指定的数据保存于创建的二维表中,并输出该表。","messageTemplate":"通过二维数据创建二维表,二维表数据为 $1 , 然后把结果保存到 $0","baseType":"Bivartable_DoCreate","functionName":"Bivartable.DoCreate","functionCalls":[{"function":"Bivartable.DoCreate","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["创建二维表","二维表","数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"二维表数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_dict","rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_WriteDfData","name":"写入数据","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"在数据表格的指定行和指定列写入数据。","messageTemplate":"将数据写入到数据表格中的指定 {$$2 == 'name' && $$3 == 'cell' && '行 $4、列 $5'}{$$2 == 'num' && $$3 == 'cell' && '行 $6、列 $7'}{$$2 == 'name' && $$3 == 'row' && '行 $4'}{$$2 == 'num' && $$3 == 'row' && '行 $6'}{$$2 == 'name' && $$3 == 'col' && '列 $5'}{$$2 == 'num' && $$3 == 'col' && '列 $7'}, 然后把结果保存到 $0","baseType":"Bivartable_WriteDfData","functionName":"Bivartable.WriteDfData","functionCalls":[{"function":"Bivartable.WriteDfData","args":["df","writeType","writeRange","row_name","col_name","row_num","col_num","data","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["写入","写入到","写进","录入","数据","资料","数据信息","数据内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"writeType","label":"写入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"name","placeholder":"","description":"行名、列名是数据表格中指定的表头。行号、列号是数据表格中的行序号、列序号,是一个整数。","advanced":false,"valueTypes":[]},{"key":"writeRange","label":"写入区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"cell","placeholder":"","description":"可以写入到数据表格指定单元格、行、列、区域","advanced":false,"valueTypes":[]},{"key":"row_name","label":"行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入数据表格行标签","description":"输入数据表格行标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"col_name","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"请输入数据表格列标签","description":"输入数据表格列标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"row_num","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入所在行序号,第一行序号为1","description":"输入所在行序号,第一行序号为1","advanced":false,"valueTypes":["rpa_int"]},{"key":"col_num","label":"列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入所在列序号,第一列序号为1","description":"输入所在列序号,第一列序号为1","advanced":false,"valueTypes":["rpa_int"]},{"key":"data","label":"写入数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"单元格输入字符串,行或列输入列表","description":"写入区域为单元格输入字符串,写入区域为行或列输入列表","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"写入后结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"写入后结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_FilterDf","name":"筛选数据表格","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"根据条件筛选数据表格中数据,并返回筛选后的数据。","messageTemplate":"以列名 $3 筛选 $1 中数据, 然后把结果保存到 $0","baseType":"Bivartable_FilterDf","functionName":"Bivartable.FilterDf","functionCalls":[{"function":"Bivartable.FilterDf","args":["df","filter_mode","col_name","choice","criteria","rule","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","表格","数据表","表格数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"filter_mode","label":"筛选模式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"ordinary","placeholder":"","description":"持普通模式和高级模式,高级模式支持输入一个筛选表达式。","advanced":false,"valueTypes":[]},{"key":"col_name","label":"筛选列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"输入所需筛选的列名,示例:”A”。仅支持单列筛选,如果进行多列筛选请使用高级模式或连续使用多个数据筛选组件。","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"choice","label":"筛选条件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"可以选择对应的筛选条件和比较值。","advanced":false,"valueTypes":[]},{"key":"criteria","label":"筛选条件","widget":"text","type":"string","displayType":"itemGroup","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"rule","label":"筛选规则","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"多条件支持使用 & 和 | 进行连接,且每个条件都要使用小括号包裹。示例1:df['A'] =='公司A'。示例2:(df['A'] =='公司A')&(df['B'] =='老板')。示例3:df['A'].isin(['公司A','公司B'])。示例4:~df['A'].isin(['公司A','公司B'])。示例5:df['A'].str.contains('公司')","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"筛选结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"筛选结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_SummaryCalculationDf","name":"按列汇总计算","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"对数据表格的指定列进行求和、求均值、计数等。","messageTemplate":"将 $1 的按列名 $2 进行 $3 计算, 然后把结果保存到 $0","baseType":"Bivartable_SummaryCalculationDf","functionName":"Bivartable.SummaryCalculationDf","functionCalls":[{"function":"Bivartable.SummaryCalculationDf","args":["df","name","method","ret_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"name","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"指定需要进行汇总计算的列名,仅支持单列计算。","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"method","label":"计算类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"sum","placeholder":"","description":"选择计算类型。","advanced":false,"valueTypes":[]},{"key":"ret_type","label":"指定数据类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"float","placeholder":"","description":"指定计算结果的数据类型。","advanced":false,"valueTypes":[]}],"output":{"label":"计算结果","key":"var_name","suggestedName":"计算值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"计算结果","defaultValue":"计算值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Bivartable_DoSort","name":"排序","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"对二维表中某列数据进行排序。","messageTemplate":"对 $1 依据列 $2 排序, 升序( $3 ) 并保存, 然后把结果保存到 $0","baseType":"Bivartable_DoSort","functionName":"Bivartable.DoSort","functionCalls":[{"function":"Bivartable.DoSort","args":["df","sortby","basceeding"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["排序","对二维表中某列数据进行排序"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"sortby","label":"排序依据(列名,多列的话,以中文逗号(',')隔开)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"basceeding","label":"升序","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"排序结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"排序结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Bivartable_DoFilter","name":"表格过滤","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"对二维表中数据根据设置条件进行过滤。","messageTemplate":"对 $1 进行过滤,过滤条件为 $2 , 然后把结果保存到 $0","baseType":"Bivartable_DoFilter","functionName":"Bivartable.DoFilter","functionCalls":[{"function":"Bivartable.DoFilter","args":["df","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["表格过滤","过滤","对二维表中数据根据设置条件进行过滤"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"filter","label":"filter:注明DataFrame,比如列学号,分数,必须就是DataFrame['学号'],DataFrame['分数'];(DataFrame['学号'] > 1) & (DataFrame['分数'] >= 80)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"过滤后数据","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"过滤后数据","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_InsertDfData","name":"插入数据","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"在数据表格指定位置插入一行或一列数据,插入数据为空时,将插入一空行或空列。","messageTemplate":"在 $1 插入一 $3 数据 $10, 然后把结果保存到 $0","baseType":"Bivartable_InsertDfData","functionName":"Bivartable.InsertDfData","functionCalls":[{"function":"Bivartable.InsertDfData","args":["df","writeType","writeRange","col_name","col_data_name","col_num","col_data_num","row_name","row_num","data","resetIndex","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"writeType","label":"插入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"num","placeholder":"","description":"行名、列名是数据表格中指定的表头。行号、列号是数据表格中的行序号、列序号,是一个整数。","advanced":false,"valueTypes":[]},{"key":"writeRange","label":"插入行/列","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"col","placeholder":"","description":"在指定的行或列插入数据","advanced":false,"valueTypes":[]},{"key":"col_name","label":"插入位置列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"请输入数据表格列标签","description":"输入插入位置所在列标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"col_data_name","label":"插入数据列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"输入插入数据列名,可以为空。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"col_num","label":"插入位置列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入所在列序号,第一列序号为1","description":"输入插入位置所在列序号,支持1或-1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"col_data_num","label":"插入数据列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"输入插入数据列名,可以为空。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"row_name","label":"插入位置行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入数据表格行标签","description":"输入插入位置所在行标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"row_num","label":"插入位置行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入所在行序号,第一行序号为1","description":"输入插入位置所在行序号,支持1或-1,-n表示倒数第n行","advanced":false,"valueTypes":["rpa_int"]},{"key":"data","label":"插入数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"请输入列表类型,长度和原长度一致","description":"允许输入为空值、空列表,与原数据表格列数一致的列表","advanced":false,"valueTypes":["rpa_list","rpa_none"]},{"key":"resetIndex","label":"重置行名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"是否将数据表格的行名按插入之后的顺序重新生成","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"插入后结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"插入后结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ReadDfData","name":"读取数据","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取数据表格中部分数据。","messageTemplate":"读取数据表格数据, 然后把结果保存到 $0","baseType":"Bivartable_ReadDfData","functionName":"Bivartable.ReadDfData","functionCalls":[{"function":"Bivartable.ReadDfData","args":["df","readType","readRange","row_name","col_name","row_num","col_num","appoint_row_name","appoint_row_num","appoint_col_name","appoint_col_num","range_name","range_num","toList"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"readType","label":"读取方式","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"name","placeholder":"","description":"选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。","advanced":false,"valueTypes":[]},{"key":"readRange","label":"读取区域","widget":"select","type":"string","displayType":"dropDownSelect","required":true,"defaultValue":"cell","placeholder":"","description":"选择按指定的行名、列名读取数据,或者按指定的行号、列号读取数据。","advanced":false,"valueTypes":[]},{"key":"row_name","label":"行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入数据表格行标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"col_name","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"输入数据表格列标签","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"row_num","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"col_num","label":"列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"appoint_row_name","label":"指定行名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"appoint_row_num","label":"指定行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"appoint_col_name","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"appoint_col_num","label":"指定列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"range_name","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"","advanced":false,"valueTypes":[]},{"key":"range_num","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"高级模式支持输入一个表达式,例如:行号1到10可输入\"0:11\"、多行可输入\"[1,3,5]\"、第2行到最后1行\"1:\"、第2行到倒数第2行\"1:-1\"、列名A到D可输入\"'A':'E'\"","advanced":false,"valueTypes":[]},{"key":"toList","label":"结果转为列表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"不勾选读取结果将输入dataFrame对象,勾选将输出为列表","advanced":false,"valueTypes":[]}],"output":{"label":"读取结果保存到","key":"var_name","suggestedName":"读取结果","valueTypes":["rpa_list","rpa_pd"],"fields":[{"key":"var_name","label":"读取结果保存到","defaultValue":"读取结果","valueTypes":["rpa_list","rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ReadDfIndexColumns","name":"读取行名/列名","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取数据表格的行名、列名。","messageTemplate":"读取数据表格的行名、列名,并将 $0, $1 输出至变量","baseType":"Bivartable_ReadDfIndexColumns","functionName":"Bivartable.ReadDfIndexColumns","functionCalls":[{"function":"Bivartable.ReadDfIndexColumns","args":["df"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]}],"output":{"label":"行名","key":"var0","suggestedName":"行名","valueTypes":["rpa_list"],"fields":[{"key":"var0","label":"行名","defaultValue":"行名","valueTypes":["rpa_list"]},{"key":"var1","label":"列名","defaultValue":"列名","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Bivartable_ReadDfShape","name":"读取行数/列数","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取数据表格的行数、列数。","messageTemplate":"读取数据表格的行数、列数,并将 $0, $1 输出至变量","baseType":"Bivartable_ReadDfShape","functionName":"Bivartable.ReadDfShape","functionCalls":[{"function":"Bivartable.ReadDfShape","args":["df"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]}],"output":{"label":"行数","key":"var0","suggestedName":"行数","valueTypes":["rpa_int"],"fields":[{"key":"var0","label":"行数","defaultValue":"行数","valueTypes":["rpa_int"]},{"key":"var1","label":"列数","defaultValue":"列数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Bivartable_DfWriteToFile","name":"写入到文件","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将数据表格写入到Excel、CSV文件。","messageTemplate":"将 $1 写入到 $4, 然后把结果保存到 $0","baseType":"Bivartable_DfWriteToFile","functionName":"Bivartable.DfWriteToFile","functionCalls":[{"function":"Bivartable.DfWriteToFile","args":["df","suffix","folderPath","sheet","addRows","addColumns"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["写入","写入到","写入数据","写进","录入","文件","文档","文件档"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"suffix","label":"文件格式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"xlsx","placeholder":"","description":"支持将数据表格导出至Excel文件、CSV文件。","advanced":false,"valueTypes":[]},{"key":"folderPath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择文件路径","description":"\".xls\"后缀文件仅支持覆盖输入,其他Sheet页数据将会丢失,如果想要保留其他Sheet页数据请将文件后缀转换为\".xlsx\"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"sheet","label":"Sheet页","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Sheet1","placeholder":"请输入工作表名称,例如:Sheet1","description":"输入Excel文件工作表名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"addRows","label":"写入行标签","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将数据中的行标签(行表头)写入到文件中。","advanced":true,"valueTypes":[]},{"key":"addColumns","label":"写入列标签","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将数据中的列标签(列表头)写入到文件中。","advanced":true,"valueTypes":[]}],"output":{"label":"写入后路径","key":"var_name","suggestedName":"路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"写入后路径","defaultValue":"路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Bivartable_DoSave","name":"保存二维表至Excel","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取一个二维表的信息,并以Excel内一张sheet的形式保存到指定变量。","messageTemplate":"$1 保存在文件路径为 $2 的Excel上sheet表中,sheet表名称为 $3 , 然后把结果保存到 $0","baseType":"Bivartable_DoSave","functionName":"Bivartable.DoSave","functionCalls":[{"function":"Bivartable.DoSave","args":["df","filePath","sheetName","indexx"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["保存二维表至Excel","保存二维表"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"filePath","label":"路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"sheetName","label":"sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"indexx","label":"是否添加索引","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"保存结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"保存结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Bivartable_PivotDf","name":"生成数据透视表","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"对数据表格按指定行字段、列字段、值字段设置生成数据透视表。","messageTemplate":"对 $1 的按行字段 $2,列字段 $3, 值字段 $4 生成数据透视表, 然后把结果保存到 $0","baseType":"Bivartable_PivotDf","functionName":"Bivartable.PivotDf","functionCalls":[{"function":"Bivartable.PivotDf","args":["df","row_list","col_list","operator","value","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["生成","产生","生成数据","创建","制作","数据","资料","数据信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"row_list","label":"行字段列表","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"指定数据透视表的行标签名,输入原数据表格的列名。示例:[\"公司\", \"员工\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"col_list","label":"列字段列表","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"指定数据透视表的列标签名,输入原数据表格的列名。示例:[\"职位\", \"年龄\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"operator","label":"值字段设置","widget":"text","type":"string","displayType":"valueFieldConfig","required":true,"defaultValue":"","placeholder":"","description":"设置值字段及值汇总计算类型。","advanced":false,"valueTypes":[]},{"key":"value","label":"填充缺失值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入值缺失时的填充值。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"数据透视表","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"数据透视表","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_GetSumValue","name":"获取统计总和","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"计算二维表中某列的统计总和。","messageTemplate":"$1 先进行分组,分组依据为 $2 ,而后获取列 $3 统计总和, 然后把结果保存到 $0","baseType":"Bivartable_GetSumValue","functionName":"Bivartable.GetSumValue","functionCalls":[{"function":"Bivartable.GetSumValue","args":["df","groupby","sumvaluecols"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["统计","总和","获取统计总和","计算二维表中某列的统计总和"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"groupby","label":"分组依据(列名,多列的话,以中文逗号(',')隔开)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"sumvaluecols","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"总和值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"总和值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Bivartable_GetAvgValue","name":"获取平均值","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"计算二维表中某列的平均值。","messageTemplate":" $1 先分组,分组依据为 $2 ,而后获取列 $3 平均值 , 然后把结果保存到 $0","baseType":"Bivartable_GetAvgValue","functionName":"Bivartable.GetAvgValue","functionCalls":[{"function":"Bivartable.GetAvgValue","args":["df","groupby","avgvaluecols"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["平均值","获取平均值","计算二维表中某列的平均值"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"groupby","label":"分组依据(列名,多列的话,以中文逗号(',')隔开)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"avgvaluecols","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"平均值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"平均值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Bivartable_SpliceColData","name":"拼接两列数据","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将两列数据按指定的连接符拼接成新的列。","messageTemplate":"将 $1 的列名 $3$5 和 $4$6 以连接符 $7 拼接,拼接后列名为 $8, 然后把结果保存到 $0","baseType":"Bivartable_SpliceColData","functionName":"Bivartable.SpliceColData","functionCalls":[{"function":"Bivartable.SpliceColData","args":["df","change_type","col_name_1","col_name_2","col_num_1","col_num_2","connector","new_col_name","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"change_type","label":" ","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"name","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"col_name_1","label":"待拼接列名1","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入待拼接列名","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"col_name_2","label":"待拼接列名2","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入待拼接列名","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"col_num_1","label":"待拼接列号1","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入待拼接列号","advanced":false,"valueTypes":["rpa_int"]},{"key":"col_num_2","label":"待拼接列号2","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入待拼接列号","advanced":false,"valueTypes":["rpa_int"]},{"key":"connector","label":"连接符","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入两列之间的连接符","description":"输入两列数据拼接的连接符。为空时将直接拼接。","advanced":false,"valueTypes":["rpa_str"]},{"key":"new_col_name","label":"新增列列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"为空时列名也进行拼接","description":"两列拼接之后显示的列名,为空时表示列名也参与拼接。","advanced":false,"valueTypes":["rpa_str"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"拼接后数据","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"拼接后数据","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_Dtype","name":"列数据类型转换","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将数据表格对象的指定列或整个表转换为字符串(str)、整数(int)、浮点数(float)。","messageTemplate":"将 $1 的指定列{$$2 == 'name' && '名'}{$$2 == 'num' && '号'}$3 $4,转换为 $5, 然后把结果保存到 $0","baseType":"Bivartable_Dtype","functionName":"Bivartable.Dtype","functionCalls":[{"function":"Bivartable.Dtype","args":["df","change_type","col_name","col_num","dtype","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转换","转变","转换格式","转换类型","变换","数据","资料","数据信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"change_type","label":" ","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"num","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"col_name","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"输入需要转换数据类型的列,为空[]时表示转换整个表,单列输入['A'],多列输入['A','B','C']","advanced":false,"valueTypes":["rpa_list"]},{"key":"col_num","label":"指定列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"输入需要转换数据类型的列,为空[]时表示转换整个表,单列输入[1],多列输入[1,2,3]","advanced":false,"valueTypes":["rpa_list"]},{"key":"dtype","label":"转换为","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"str","placeholder":"","description":"输入需要转换为何种数据类型。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"转换后结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"转换后结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ModifyDfName","name":"修改行名/列名","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"修改数据表格的行名、列名。","messageTemplate":"修改 $1 的行名为和列名, 然后把结果保存到 $0","baseType":"Bivartable_ModifyDfName","functionName":"Bivartable.ModifyDfName","functionCalls":[{"function":"Bivartable.ModifyDfName","args":["df","modifyType","new_row_name_list","new_col_name_list","row_name_list","col_name_list","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["修改","编辑","更改","改动","修正"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"请输入变量或数据表格对象","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"modifyType","label":"修改方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"all","placeholder":"","description":"支持将数据表格的表头名全部一起修改或仅修改其中部分。","advanced":false,"valueTypes":[]},{"key":"new_row_name_list","label":"新行名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"请输入列表类型,长度和原行标签一致","description":"输入与原行名长度一致的列表。为空时,将不修改原行名。","advanced":false,"valueTypes":["rpa_list"]},{"key":"new_col_name_list","label":"新列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"请输入列表类型,长度和原列标签一致","description":"输入与原列名长度一致的列表。为空时,将不修改原列名。","advanced":false,"valueTypes":["rpa_list"]},{"key":"row_name_list","label":"修改行名","widget":"text","type":"string","displayType":"batchIncrease","required":false,"defaultValue":"","placeholder":"","description":"输入原行名和新行名。","advanced":false,"valueTypes":[]},{"key":"col_name_list","label":"修改列名","widget":"text","type":"string","displayType":"batchIncrease","required":false,"defaultValue":"","placeholder":"","description":"输入原列名和新列名。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"修改后结果","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"修改后结果","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_ModifyColName","name":"修改列名","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"修改二维表中某列的名称。","messageTemplate":"对 $1 修改 $2 的列名,新列名为 $3 , 然后把结果保存到 $0","baseType":"Bivartable_ModifyColName","functionName":"Bivartable.ModifyColName","functionCalls":[{"function":"Bivartable.ModifyColName","args":["df","srcname","newname"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列名","修改列名","修改二维表中某列的名称"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"srcname","label":"原列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"newname","label":"新列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"修改结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"修改结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Bivartable_DeleteDuplicateRow","name":"删除重复行","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"删除数据表格对象的指定列或整个表的重复行数据。","messageTemplate":"将 $1 的指定列{$$2 == 'name' && '名'}{$$2 == 'num' && '号'}$3 $4 的重复行进行 $5, 然后把结果保存到 $0","baseType":"Bivartable_DeleteDuplicateRow","functionName":"Bivartable.DeleteDuplicateRow","functionCalls":[{"function":"Bivartable.DeleteDuplicateRow","args":["df","change_type","col_name","col_num","mode","showTable","reset"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表格对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"change_type","label":" ","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"num","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"col_name","label":"指定列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"所选列数据都一致时则删除。输入需要转换数据类型的列,单列输入['A'],多列输入['A','B','C'],输入空列表则转换整个表","advanced":false,"valueTypes":["rpa_list"]},{"key":"col_num","label":"指定列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"所选列数据都一致时则删除。输入需要转换数据类型的列,单列输入[1],多列输入[1,2,3],输入空列表则转换整个表","advanced":false,"valueTypes":["rpa_list"]},{"key":"mode","label":"删除模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"first","placeholder":"","description":"检测到重复行时,可选择保留首行、保留尾行或全部删除。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]},{"key":"reset","label":"重置行名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后,数据表格的行名将按顺序重置为123456.","advanced":true,"valueTypes":[]}],"output":{"label":"删除后数据","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"删除后数据","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_MergeDf","name":"合并数据表格","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将两个数据表格对象按指定规则合并成一个新的数据表格对象(并集、交集等操作)。","messageTemplate":"将 $1 与 $2 以 $4$5$6 为连接键,以 $7 方式合并, 然后把结果保存到 $0","baseType":"Bivartable_MergeDf","functionName":"Bivartable.MergeDf","functionCalls":[{"function":"Bivartable.MergeDf","args":["df1","df2","key_type","on_name","on_left","on_right","merge_type","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","表格","数据表","表格数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df1","label":"左侧对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格1","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"df2","label":"右侧对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据表格2","placeholder":"","description":"可以使用“创建数据表格”组件返回的变量","advanced":false,"valueTypes":["rpa_pd"]},{"key":"key_type","label":"连接键类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"以指定的连接键合并两个数据表格对象。","advanced":false,"valueTypes":[]},{"key":"on_name","label":"指定连接键列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"指定用于连接的键(即列名),该键必须同时存在于左右两个DataFrame对象中,如果为空,并且其他参数也未指定, 那么将会以两个DataFrame的列名交集作为连接键","advanced":false,"valueTypes":["rpa_int","rpa_str","rpa_list"]},{"key":"on_left","label":"左侧连接键列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"指定左侧 DataFrame 中作连接键的列名","advanced":false,"valueTypes":["rpa_int","rpa_str","rpa_list"]},{"key":"on_right","label":"右侧连接键列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"指定右侧 DataFrame 中作连接键的列名","advanced":false,"valueTypes":["rpa_int","rpa_str","rpa_list"]},{"key":"merge_type","label":"合并方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"left","placeholder":"","description":"选择两个数据表格对象的合并方式。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将读取或者处理之后的结果保存至控制台的数据表","advanced":false,"valueTypes":[]}],"output":{"label":"合并后数据","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"合并后数据","defaultValue":"数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_DoOpenExcel","name":"基于Excel创建二维表","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"读取Excel内的信息,并以二维表的形式保存到指定变量。","messageTemplate":"基于读取路径为 $1 的Excel文件,sheet表名称为 $2,创建二维表, 然后把结果保存到 $0","baseType":"Bivartable_DoOpenExcel","functionName":"Bivartable.DoOpenExcel","functionCalls":[{"function":"Bivartable.DoOpenExcel","args":["filePath","sheetName","indexx"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["基于Excel创建二维表"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"filePath","label":"路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"sheetName","label":"sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"indexx","label":"是否添加索引","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"df","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"df","valueTypes":[]}]},"slots":[]},{"id":"Bivartable_DoMerge","name":"合并二维表","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"支持两个二维表以不同的方式(pandas)合并。","messageTemplate":"请参照pandas规则进行合并,在$1 和 $2 依据 how $3 on $4 left_on $5 right_on $6 left_index $7 right_index $8 sort $9 等合并, 然后把结果保存到 $0","baseType":"Bivartable_DoMerge","functionName":"Bivartable.DoMerge","functionCalls":[{"function":"Bivartable.DoMerge","args":["df1","df2","howx","onx","left_onx","right_onx","left_indexx","right_indexx","sortx","suffixesx","copyx","indicatorx","validatex"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["合并二维表","合并"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df1","label":"二维表对象1","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"数据表格1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"df2","label":"二维表对象2","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"数据表格2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"howx","label":"how","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"inner","placeholder":"","description":"连接方式,有inner、left、right、outer,默认为inner","advanced":false,"valueTypes":["rpa_str"]},{"key":"onx","label":"on","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"默认为None,填写时应为列名(字符串),多列以中文逗号(,)隔开","advanced":false,"valueTypes":["rpa_str","rpa_none"]},{"key":"left_onx","label":"left_on","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_none"]},{"key":"right_onx","label":"right_on","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_none"]},{"key":"left_indexx","label":"left_index","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"right_indexx","label":"right_index","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sortx","label":"sort","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"suffixesx","label":"suffixes","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"(\"_x\", \"_y\")","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_tuple"]},{"key":"copyx","label":"copy","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"indicatorx","label":"indicator","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"validatex","label":"validate","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_none"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"合并后二维表","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"合并后二维表","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_WriteTable","name":"数据表写入内容","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将内容写入到数据表中。","messageTemplate":"在数据表 $3 中,写入内容 $8, 然后把结果保存到 $0","baseType":"Bivartable_WriteTable","functionName":"Bivartable.WriteTable","functionCalls":[{"function":"Bivartable.WriteTable","args":["df","sheet","regionType","row","column","start_row","start_column","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据表写入内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"数据表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"第一页","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"regionType","label":"写入区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"start_row","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"start_column","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"data","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"写入后的数据表格","valueTypes":["rpa_pd"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"写入后的数据表格","valueTypes":["rpa_pd"]}]},"slots":[]},{"id":"Bivartable_DoJoint","name":"拼接列","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将目标二维表中指定的A列和B列的字符串形式拼接的列,并将拼接成功与否作为结果输出。","messageTemplate":"将 $1 上列 $2 和列 $3 以字符串形式拼接,并保存成新列 $4 中, 然后把结果保存到 $0","baseType":"Bivartable_DoJoint","functionName":"Bivartable.DoJoint","functionCalls":[{"function":"Bivartable.DoJoint","args":["df","cola","colb","colnew"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["拼接","列拼接","二维表拼接"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"cola","label":"列名A","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"colb","label":"列名B","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"B","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"colnew","label":"字符串形式拼接后的新列名New","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"New","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"拼接结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"拼接结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Bivartable_DoCal","name":"列计算","kind":"vendor","group":"data","categories":["bivartable"],"categorySignature":"bivartable","description":"将目标二维表中指定的A列和B列数据进行指定数值运算方式计算,新建一列保存计算结果,并将计算成功与否作为结果输出。","messageTemplate":"将 $1 上列 $2 与列 $4 进行数值运算 ($3) ,并保存成新列 $5, 然后把结果保存到 $0","baseType":"Bivartable_DoCal","functionName":"Bivartable.DoCal","functionCalls":[{"function":"Bivartable.DoCal","args":["df","cola","cal","colb","colnew"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["计算","列计算","二维表计算"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"df","label":"二维表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"df","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_pd"]},{"key":"cola","label":"列名A","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"cal","label":"运算符","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"+","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"colb","label":"列名B","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"B","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"colnew","label":"数值运算后的新列名New","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"New","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"计算结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"计算结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Clipboard_SetImage","name":"设置剪切板图片","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"将指定图片置于剪切板中。","messageTemplate":"将图片 $0 放入剪切板","baseType":"Clipboard_SetImage","functionName":"Clipboard.SetImage","functionCalls":[{"function":"Clipboard.SetImage","args":["path"],"assignTo":""}],"version":"3.3.5.0","tags":["剪切板图片","剪切板图像","设置剪切板"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Clipboard_SetTextV1","name":"将文本添加到剪切板","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"将指定的文本内容置于剪切板中。","messageTemplate":"设置剪切板文本内容为 $0","baseType":"Clipboard_SetText","functionName":"Clipboard.SetTextV1","functionCalls":[{"function":"Clipboard.SetTextV1","args":["text"],"assignTo":""}],"version":"3.3.5.0","tags":["将文本添加到剪切板","添加到剪切板","添加","增加","新增","添上","加入","文本","文字","字符"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"text","label":"剪切板内容","widget":"textarea","type":"string","displayType":"multipleTextArea","required":false,"defaultValue":"","placeholder":"请输入需添加的内容","description":"请输入要添加到剪切板中的文本内容","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Clipboard_GetText","name":"取剪切板文本","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"获取系统剪切板中的文本内容,并输出到指定变量。","messageTemplate":"获取剪切板文本内容, 然后把结果保存到 $0","baseType":"Clipboard_GetText","functionName":"Clipboard.GetText","functionCalls":[{"function":"Clipboard.GetText","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["剪切板内容","剪切板输出"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Clipboard_SaveImageV1","name":"获取剪切板文件","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"将剪切板的文件内容保存到指定路径。","messageTemplate":"将剪切板文件存储到 $1 ","baseType":"Clipboard_SaveImage","functionName":"Clipboard.SaveImageV1","functionCalls":[{"function":"Clipboard.SaveImageV1","args":["filename","path"],"assignTo":""}],"version":"3.3.5.0","tags":["获取剪切板文件","剪切板文件","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"filename","label":"保存名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件保存名称,需加文件后缀","description":"命名时需输入文件扩展名,如\"123.txt\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择文件保存路径","description":"输入文件保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Clipboard_GetTextV1","name":"获取剪切板文本","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"获取系统剪切板中的文本内容,并输出到指定变量。","messageTemplate":"获取剪切板文本内容, 然后把结果保存到 $0","baseType":"Clipboard_GetText","functionName":"Clipboard.GetTextV1","functionCalls":[{"function":"Clipboard.GetTextV1","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取剪切板文本","剪切板文本","获取","得到","取得","提取","获取到","文本","文字","字符"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"剪切板文本","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"剪切板文本","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Clipboard_ClearClipboard","name":"清空剪切板","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"清空当前剪切板中的内容。","messageTemplate":"清空当前剪切板中的内容","baseType":"Clipboard_ClearClipboard","functionName":"Clipboard.ClearClipboard","functionCalls":[{"function":"Clipboard.ClearClipboard","args":[],"assignTo":""}],"version":"3.3.5.0","tags":["清空剪切板","剪切板"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Clipboard_SetImageV1","name":"将文件添加到剪切板","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"将指定文件添加至剪切板。","messageTemplate":"将文件 $0 添加至剪切板中","baseType":"Clipboard_SetImage","functionName":"Clipboard.SetImageV1","functionCalls":[{"function":"Clipboard.SetImageV1","args":["path"],"assignTo":""}],"version":"3.3.5.0","tags":["将文件添加到剪切板","添加到剪切板","添加","增加","新增","添上","加入","文件","文档","文件档"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"path","label":"选择文件","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择文件路径","description":"选择文件存储路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Clipboard_SetText","name":"设置剪切板文本","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"将指定的文本内容置于剪切板中。","messageTemplate":"设置剪切板文本内容为 $0","baseType":"Clipboard_SetText","functionName":"Clipboard.SetText","functionCalls":[{"function":"Clipboard.SetText","args":["text"],"assignTo":""}],"version":"3.3.5.0","tags":["剪切板内容","设置剪切板"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"text","label":"剪切板内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Clipboard_SaveImage","name":"取剪切板图片","kind":"vendor","group":"desktop","categories":["clipboard"],"categorySignature":"clipboard","description":"将剪切板的图片内容保存到指定路径。","messageTemplate":"将剪切板的图片存储到 $0 ","baseType":"Clipboard_SaveImage","functionName":"Clipboard.SaveImage","functionCalls":[{"function":"Clipboard.SaveImage","args":["path","filename"],"assignTo":""}],"version":"3.3.5.0","tags":["保存剪切板图片","保存剪切板图像"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"保存名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"命名时需输入后缀","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Collection_Create","name":"创建集合","kind":"vendor","group":"data","categories":["collection"],"categorySignature":"collection","description":"创建一个集合,并输出到执行的变量中。","messageTemplate":"创建集合, 然后把结果保存到 $0","baseType":"Collection_Create","functionName":"Collection.Create","functionCalls":[{"function":"Collection.Create","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["集合","{}"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"集合","valueTypes":["rpa_set"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"集合","valueTypes":["rpa_set"]}]},"slots":[]},{"id":"Collection_HasItem","name":"判断集合元素存在","kind":"vendor","group":"data","categories":["judgment","collection"],"categorySignature":"judgment|collection","description":"判断指定元素是否存在于目标集合中,并返回判断结果给指定变量。","messageTemplate":"判断 $2 元素是否存在于 $1 集合中, 然后把结果保存到 $0","baseType":"Collection_HasItem","functionName":"Collection.HasItem","functionCalls":[{"function":"Collection.HasItem","args":["collection","item"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素判断","元素检索","元素存在","判断","判定","判别","判断出","识别","判断存在","检测存在","判断是否存在"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"collection","label":"集合","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"集合","placeholder":"请选择或输入集合变量","description":"选择或输入集合变量","advanced":false,"valueTypes":["rpa_set"]},{"key":"item","label":"判断的对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"元素","placeholder":"请选择或输入判断的对象变量","description":"选择或输入判断的对象变量","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Collection_Count","name":"取集合大小","kind":"vendor","group":"data","categories":["collection"],"categorySignature":"collection","description":"获取目标集合中元素的个数,输出个数到指定变量。","messageTemplate":"集合中元素的个数, 然后把结果保存到 $0","baseType":"Collection_Count","functionName":"Collection.Count","functionCalls":[{"function":"Collection.Count","args":["collection"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["集合元素","元素个数"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"collection","label":"集合","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"集合","placeholder":"请输入集合类型变量或集合","description":"输入集合类型变量或集合","advanced":false,"valueTypes":["rpa_set"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"集合大小","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"集合大小","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Collection_Remove","name":"删除集合元素","kind":"vendor","group":"data","categories":["collection"],"categorySignature":"collection","description":"删除目标集合中的指定元素。","messageTemplate":"移除 $0 集合中的元素 $1","baseType":"Collection_Remove","functionName":"Collection.Remove","functionCalls":[{"function":"Collection.Remove","args":["collection","value"],"assignTo":""}],"version":"3.3.5.0","tags":["删除元素","集合","删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"collection","label":"集合","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"集合","placeholder":"请输入集合类型变量或集合","description":"输入集合类型变量或集合","advanced":false,"valueTypes":["rpa_set"]},{"key":"value","label":"元素","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"varValue","placeholder":"请输入要删除的元素","description":"输入要从集合中删除的元素","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Collection_Add","name":"添加集合元素","kind":"vendor","group":"data","categories":["collection"],"categorySignature":"collection","description":"添加元素到指定的集合中。","messageTemplate":"向 $0 集合中添加元素 $1","baseType":"Collection_Add","functionName":"Collection.Add","functionCalls":[{"function":"Collection.Add","args":["collection","value"],"assignTo":""}],"version":"3.3.5.0","tags":["添加元素","集合","添加","增加","新增","添上","加入"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"collection","label":"集合","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"集合","placeholder":"请输入集合类型变量或集合对象","description":"输入集合类型变量或集合对象","advanced":false,"valueTypes":["rpa_set"]},{"key":"value","label":"元素","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"varValue","placeholder":"请输入要添加的元素","description":"输入要添加到集合中的元素","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"CSV_ReadNew","name":"读取内容","kind":"vendor","group":"data","categories":["CSV"],"categorySignature":"CSV","description":"读取目标csv文件的内容,并输出到指定变量。","messageTemplate":"读取CSV文件 $1 的内容, 然后把结果保存到 $0","baseType":"CSV_Read","functionName":"CSV.ReadNew","functionCalls":[{"function":"CSV.ReadNew","args":["path","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["csv读取","csv内容","读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"encode","label":"字符集编码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"utf-8","placeholder":"","description":"选择和原文件一致的编码规则,否则可能写入后会出现乱码","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"csv内容","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"csv内容","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"CSV_Read","name":"读取内容","kind":"vendor","group":"data","categories":["CSV"],"categorySignature":"CSV","description":"读取目标csv文件的内容,并输出到指定变量。","messageTemplate":"读取CSV文件 $1 的内容, 然后把结果保存到 $0","baseType":"CSV_Read","functionName":"CSV.Read","functionCalls":[{"function":"CSV.Read","args":["path","isAbsolutePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["csv读取","csv内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"isAbsolutePath","label":"是否绝对路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"CSV_Write","name":"写入内容","kind":"vendor","group":"data","categories":["CSV"],"categorySignature":"CSV","description":"保存数据到指定csv文件,如已有数据,则将原数据覆盖,为数据为空则直接写入。","messageTemplate":"保存数据到CSV文件 $0","baseType":"CSV_Write","functionName":"CSV.Write","functionCalls":[{"function":"CSV.Write","args":["path","table","isAbsolutePath"],"assignTo":""}],"version":"3.3.5.0","tags":["写入csv","保存cvs文件"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"table","label":"数据表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objDataTable","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isAbsolutePath","label":"是否绝对路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"CSV_WriteNew","name":"写入内容","kind":"vendor","group":"data","categories":["CSV"],"categorySignature":"CSV","description":"保存数据到指定csv文件,如已有数据则覆盖,如数据为空则直接写入。文件不存在时将自动新建。","messageTemplate":"保存数据到CSV文件 $0","baseType":"CSV_Write","functionName":"CSV.WriteNew","functionCalls":[{"function":"CSV.WriteNew","args":["path","encode","table"],"assignTo":""}],"version":"3.3.5.0","tags":["写入csv","保存cvs文件","写入","写入到","写入数据","写进","录入"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择CSV文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"encode","label":"字符集编码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"utf-8","placeholder":"","description":"选择和原文件一致的编码规则,否则可能写入后会出现乱码","advanced":false,"valueTypes":[]},{"key":"table","label":"数据表对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objDataTable","placeholder":"请输入要写入CSV文件的数据表对象","description":"输入需写入内容,数据格式为二维列表,例如:[[1,2,3],[\"a\",\"b\",\"c\"]]","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"CustomConfig_GetConfig","name":"自定义配置","kind":"vendor","group":"app","categories":["CustomConfig"],"categorySignature":"CustomConfig","description":"。","messageTemplate":"自定义配置, 然后把结果保存到 $0","baseType":"CustomConfig_GetConfig","functionName":"CustomConfig.GetConfig","functionCalls":[{"function":"CustomConfig.GetConfig","args":["jsonlist","configName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"jsonlist","label":"配置信息","widget":"textarea","type":"string","displayType":"multiInput","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"configName","label":"配置名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"string","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"string","valueTypes":[]}]},"slots":[]},{"id":"CV_GetText","name":"获取文本","kind":"vendor","group":"vision","categories":["interface_element"],"categorySignature":"interface_element","description":"用于对通过CV方式,对屏幕中的元素进行截图,并在目标元素中获取文本。","messageTemplate":"在目标截图范围内进行截图,在目标元素 $1 进行获取文本, 然后把结果保存到 $0","baseType":"CV_GetText","functionName":"CV.GetText","functionCalls":[{"function":"CV.GetText","args":["cvSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"cvSelector","label":"目标","widget":"element","type":"object","displayType":"cvselectUi","required":false,"defaultValue":"{}","placeholder":"","description":"屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)","advanced":false,"valueTypes":[]},{"key":"searchRegion","label":"搜索区域","widget":"region","type":"object","displayType":"region","required":false,"defaultValue":"","placeholder":"","description":"可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"CV_SetText","name":"文本输入","kind":"vendor","group":"vision","categories":["interface_element"],"categorySignature":"interface_element","description":"用于对通过CV方式,对屏幕中的元素进行识别,过滤出能进行文本输入的类型元素,并在目标元素中进行文本输入。","messageTemplate":"在目标截图范围内指定目标元素,在目标元素 $0 进行文本输入","baseType":"CV_SetText","functionName":"CV.SetText","functionCalls":[{"function":"CV.SetText","args":["cvSelector","text"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"cvSelector","label":"目标","widget":"element","type":"object","displayType":"cvselectUi","required":false,"defaultValue":"{}","placeholder":"","description":"屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)","advanced":false,"valueTypes":[]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入内容或 ${变量}","description":"填写参数值,支持 ${变量} 引用上游输出","advanced":false,"valueTypes":[]},{"key":"searchRegion","label":"搜索区域","widget":"region","type":"object","displayType":"region","required":false,"defaultValue":"","placeholder":"","description":"可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"CV_MouseHover","name":"移动到元素上","kind":"vendor","group":"vision","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"用于对通过CV方式,对屏幕中的元素进行识别,并将鼠标移动到目标元素的位置。为后续操作做准备。","messageTemplate":"在目标截图范围内,将鼠标移动到的指定元素$0中心位置上","baseType":"CV_MouseHover","functionName":"CV.MouseHover","functionCalls":[{"function":"CV.MouseHover","args":["cvSelector","offsetX","offsetY"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"cvSelector","label":"目标","widget":"element","type":"object","displayType":"cvselectUi","required":false,"defaultValue":"{}","placeholder":"","description":"屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)","advanced":false,"valueTypes":[]},{"key":"offsetX","label":"x轴偏移量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"相对目标中心的水平偏移像素,正数向右、负数向左,0 为正中","advanced":false,"valueTypes":[]},{"key":"offsetY","label":"y轴偏移量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"相对目标中心的垂直偏移像素,正数向下、负数向上,0 为正中","advanced":false,"valueTypes":[]},{"key":"searchRegion","label":"搜索区域","widget":"region","type":"object","displayType":"region","required":false,"defaultValue":"","placeholder":"","description":"可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"CV_MouseClick","name":"元素点击","kind":"vendor","group":"vision","categories":["interface_element"],"categorySignature":"interface_element","description":"用于对通过CV方式,对屏幕中的元素进行识别,并将鼠标点击到目标元素的位置。为后续操作做准备。","messageTemplate":"在目标截图范围内,鼠标点击所选定目标元素 $0","baseType":"CV_MouseClick","functionName":"CV.MouseClick","functionCalls":[{"function":"CV.MouseClick","args":["cvSelector","clickway","offsetX","offsetY"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"cvSelector","label":"目标","widget":"element","type":"object","displayType":"cvselectUi","required":false,"defaultValue":"{}","placeholder":"","description":"屏幕上可见的目标文本,运行时截屏后通过 OCR 定位(填按钮或界面上的文字,如「登录」)","advanced":false,"valueTypes":[]},{"key":"clickway","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"点击方式:单击或双击","advanced":false,"valueTypes":[]},{"key":"offsetX","label":"x轴偏移量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"相对目标中心的水平偏移像素,正数向右、负数向左,0 为正中","advanced":false,"valueTypes":[]},{"key":"offsetY","label":"y轴偏移量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"相对目标中心的垂直偏移像素,正数向下、负数向上,0 为正中","advanced":false,"valueTypes":[]},{"key":"searchRegion","label":"搜索区域","widget":"region","type":"object","displayType":"region","required":false,"defaultValue":"","placeholder":"","description":"可选。点「屏幕框选」框住目标所在区域,运行时只在该区域内查找目标文本,屏幕上有相同文字时可避免点错;留空则全屏查找","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Database_BatchSQLExecute","name":"批量执行SQL语句","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"批量执行SQL。","messageTemplate":"在目标数据库 $1 批量执行 $2 , 然后把结果保存到 $0","baseType":"Database_BatchSQLExecute","functionName":"Database.BatchSQLExecute","functionCalls":[{"function":"Database.BatchSQLExecute","args":["connectionID","sql","paras"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["SQL","结构化查询语言","SQL语句","查询语句","数据库查询"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"目标数据库对象","widget":"select","type":"string","displayType":"databaseType","required":true,"defaultValue":"数据库对象","placeholder":"请输入连接数据库返回的变量","description":"输入连接数据库返回的变量","advanced":false,"valueTypes":["rpa_db_conn"]},{"key":"sql","label":"SQL语句","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入SQL语句","description":"输入SQL语句","advanced":false,"valueTypes":["rpa_str"]},{"key":"paras","label":"sql语句参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[[]]","placeholder":"请输入SQL语句参数列表","description":"输入SQL语句参数列表,例如:[[\"参数1\",\"参数2\"],[\"参数1\",\"参数2\"]]","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"SQL执行结果","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"SQL执行结果","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Database_DBConnect","name":"连接数据库","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"可连接 MySQL、Oracle、SQL Server、DB2、PostgreSQL、SQLite、Access、Gauss数据库,并把连接信息存为变量。","messageTemplate":"连接 $1 类型数据库, 然后把结果保存到 $0","baseType":"Database_DBConnect","functionName":"Database.DBConnect","functionCalls":[{"function":"Database.DBConnect","args":["dtype","DatabaseConfig"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dtype","label":"数据库类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"请选择需要连接的数据库类型。","advanced":false,"valueTypes":[]},{"key":"DatabaseConfig","label":"数据库配置","widget":"text","type":"string","displayType":"databaseConfig","required":false,"defaultValue":"[ {\"name\":\"Charset\",\"label\":\"编码类型\",\"value\":\"utf8\",\"domProps\":{\"placeholder\":\"请输入编码类型\"},\"tip\":\"输入编码类型,常用编码类型为utf-8、gbk、gb2312等\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"DataSource\",\"label\":\"数据库地址\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入数据库地址\"},\"tip\":\"输入数据库地址\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"DbName\",\"label\":\"数据库名\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入数据库名\"},\"tip\":\"输入数据库名\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"Port\",\"label\":\"端口\",\"value\":3306,\"domProps\":{\"placeholder\":\"请输入数据库端口号\"},\"tip\": \"输入数据库端口号\",\"vType\":[{\"types\":[\"rpa_int\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"UserName\",\"label\":\"用户名\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入用户名\"},\"tip\":\"输入用户名\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}, {\"name\":\"Pwd\",\"label\":\"密码\",\"displayType\":\"encryption\",\"value\":\"\",\"domProps\":{\"placeholder\":\"请输入密码\"},\"tip\":\"输入密码\",\"vType\":[{\"types\":[\"rpa_str\"],\"rule\":\"const\"}],\"validatorRules\":{\"compAttrValue\":[{\"message\":\"必填\",\"required\":1}]}}]","placeholder":"","description":"配置需要连接的数据库账号信息。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"数据库对象","valueTypes":["rpa_db_conn"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"数据库对象","valueTypes":["rpa_db_conn"]}]},"slots":[]},{"id":"Database_SingleSQLQuery","name":"执行单SQL查询","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"单SQL查询。","messageTemplate":"在目标数据库 $1 进行单SQL $2 查询, 然后把结果保存到 $0","baseType":"Database_SingleSQLQuery","functionName":"Database.SingleSQLQuery","functionCalls":[{"function":"Database.SingleSQLQuery","args":["connectionID","sql","paras","showdic"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查询","查找","搜索","查询到","检索","SQL","结构化查询语言","SQL语句"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"目标数据库对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据库对象","placeholder":"请输入连接数据库返回的变量","description":"输入连接数据库返回的变量","advanced":false,"valueTypes":["rpa_db_conn"]},{"key":"sql","label":"SQL语句","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入SQL语句","description":"输入SQL语句","advanced":false,"valueTypes":["rpa_str"]},{"key":"paras","label":"sql语句参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入SQL语句参数列表","description":"输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"showdic","label":"是否显示字典","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"SQL查询结果","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"SQL查询结果","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Database_BatchInsertExecute","name":"SQL批量插入数据","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"将数据批量插入数据库中,返回成功或失败结果。","messageTemplate":"在 $1 中执行SQL语句 $2 批量插入数据 $3, 然后把结果保存到 $0","baseType":"Database_BatchInsertExecute","functionName":"Database.BatchInsertExecute","functionCalls":[{"function":"Database.BatchInsertExecute","args":["connectionID","sql","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","SQL","结构化查询语言","SQL语句"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"数据库对象","widget":"select","type":"string","displayType":"databaseType","required":true,"defaultValue":"数据库对象","placeholder":"","description":"使用连接数据组件输出的变量","advanced":false,"valueTypes":["rpa_db_conn"]},{"key":"sql","label":"SQL语句","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入插入数据的SQL语句,示例:INSERT INTO table_name (column1,column2)","advanced":false,"valueTypes":["rpa_str"]},{"key":"data","label":"插入数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[[]]","placeholder":"","description":"输入需插入的数据。示例:[[\"张三\",25],[\"李四\",30]]","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"执行结果","key":"var_name","suggestedName":"批量插入结果","valueTypes":[],"fields":[{"key":"var_name","label":"执行结果","defaultValue":"批量插入结果","valueTypes":[]}]},"slots":[]},{"id":"Database_AllSQLQuery_V1","name":"执行全SQL查询","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"全SQL查询。","messageTemplate":"在目标数据库 $1 进行全SQL $2 查询, 然后把结果保存到 $0","baseType":"Database_AllSQLQuery","functionName":"Database.AllSQLQuery_V1","functionCalls":[{"function":"Database.AllSQLQuery_V1","args":["connectionID","sql","paras","showdic"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"目标数据库对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据库对象","placeholder":"请输入连接数据库返回的变量","description":"输入连接数据库返回的变量","advanced":false,"valueTypes":["rpa_db_conn"]},{"key":"sql","label":"SQL语句","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入SQL语句","description":"输入SQL语句","advanced":false,"valueTypes":["rpa_str"]},{"key":"paras","label":"sql语句参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入SQL语句参数列表","description":"输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"showdic","label":"是否显示字典","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"SQL查询结果","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"SQL查询结果","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Database_CloseDBConnect","name":"关闭连接","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"关闭数据库连接。","messageTemplate":"对 $1 关闭连接 , 然后把结果保存到 $0","baseType":"Database_CloseDBConnect","functionName":"Database.CloseDBConnect","functionCalls":[{"function":"Database.CloseDBConnect","args":["connectionID"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭","退出","终止","关停"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"目标数据库对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据库对象","placeholder":"请输入连接数据库返回的变量","description":"输入连接数据库返回的变量","advanced":false,"valueTypes":["rpa_db_conn"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"数据库对象","valueTypes":["rpa_db_conn"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"数据库对象","valueTypes":["rpa_db_conn"]}]},"slots":[]},{"id":"Database_SQLExecute","name":"执行SQL语句","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"执行SQL。","messageTemplate":"在目标数据库 $1 执行 $2 , 然后把结果保存到 $0","baseType":"Database_SQLExecute","functionName":"Database.SQLExecute","functionCalls":[{"function":"Database.SQLExecute","args":["connectionID","sql","paras"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["SQL","结构化查询语言","SQL语句","查询语句","数据库查询"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"目标数据库对象","widget":"select","type":"string","displayType":"databaseType","required":true,"defaultValue":"数据库对象","placeholder":"请输入连接数据库返回的变量","description":"输入连接数据库返回的变量","advanced":false,"valueTypes":["rpa_db_conn"]},{"key":"sql","label":"SQL语句","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入SQL语句","description":"输入SQL语句","advanced":false,"valueTypes":["rpa_str"]},{"key":"paras","label":"sql语句参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入SQL语句参数列表","description":"输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"SQL执行结果","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"SQL执行结果","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Database_AllSQLQuery","name":"执行全SQL查询","kind":"vendor","group":"data","categories":["Database"],"categorySignature":"Database","description":"全SQL查询。","messageTemplate":"在目标数据库 $1 进行全SQL $2 查询, 然后把结果保存到 $0","baseType":"Database_AllSQLQuery","functionName":"Database.AllSQLQuery","functionCalls":[{"function":"Database.AllSQLQuery","args":["connectionID","sql","paras","showdic"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查询","查找","搜索","查询到","检索","SQL","结构化查询语言","SQL语句"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"connectionID","label":"目标数据库对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据库对象","placeholder":"请输入连接数据库返回的变量","description":"输入连接数据库返回的变量","advanced":false,"valueTypes":["rpa_db_conn"]},{"key":"sql","label":"SQL语句","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入SQL语句","description":"输入SQL语句","advanced":false,"valueTypes":["rpa_str"]},{"key":"paras","label":"sql语句参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入SQL语句参数列表","description":"输入SQL语句参数列表,例如:[\"参数1\",\"参数2\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"showdic","label":"是否显示字典","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"SQL查询结果","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"SQL查询结果","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Databook_WriteContent","name":"写入内容至数据表","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"在数据表写入内容,支持追加、插入、覆盖。","messageTemplate":"{$$0 == 'cell' && '在单元格$2$3写入数据 $4 到数据表格'} {$$0 == 'region' && '从$2$3位置开始写入数据 $4 到数据表格'} {$$0 == 'row' && $$1 == 'append' && '$1一行数据 $4 到数据表格'} {$$0 == 'row' && $$1 == 'insert' && '在第 $3 行 $1数据 $4 到数据表格'} {$$0 == 'row' && $$1 == 'overwrite' && '使用数据 $4 覆盖数据表格第 $3 行的数据'} {$$0 == 'column' && $$1 == 'append' && '$1一列数据 $4 到数据表格'} {$$0 == 'column' && $$1 == 'insert' && '在第 $2 列 $1 数据 $4 到数据表格'} {$$0 == 'column' && $$1 == 'overwrite' && '使用数据 $4 覆盖数据表格第 $2 列的数据'}","baseType":"Databook_WriteContent","functionName":"Databook.WriteContent","functionCalls":[{"function":"Databook.WriteContent","args":["write_type","write_kind","column_name","row_num","content"],"assignTo":""}],"version":"3.3.5.0","tags":["写入数据","写入数据表"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"write_type","label":"写入范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"cell","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"write_kind","label":"写入方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"append","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column_name","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"支持输入A或1,-n表示倒数第n列","description":"支持输入A或1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"row_num","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"支持输入1或-1,-n表示倒数第n行","description":"支持输入1或-1,-n表示倒数第n行","advanced":false,"valueTypes":["rpa_num"]},{"key":"content","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"写入区域为行、列,支持输入列表,如[1,2,3]","description":"写入区域为行、列,支持输入列表,如[1,2,3]写入区域为区域,支持输入二维列表,如[[1,2,3],[4,5,6]] 写入区域为单元格,支持输入文本,如“实在智能”","advanced":false,"valueTypes":["rpa_list","rpa_any"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Databook_DeleteColumn","name":"删除数据表格列","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"删除数据表格指定行或列。","messageTemplate":"删除第 $0 列数据表格内容","baseType":"Databook_DeleteColumn","functionName":"Databook.DeleteColumn","functionCalls":[{"function":"Databook.DeleteColumn","args":["column_names"],"assignTo":""}],"version":"3.3.5.0","tags":["删除列"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"column_names","label":"待删除列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"删除单列输入“A”或1,删除多列用[“A”,“B”,“C”]或[1,2,3],-1表示倒数第一列","description":"删除单列输入“A”或1,删除多列用[“A”,“B”,“C”]或[1,2,3],-1表示倒数第一列","advanced":false,"valueTypes":["rpa_str","rpa_num","rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Databook_Export","name":"导出数据表格","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"将数据表格内容导出为文件。","messageTemplate":"将数据表格内容导出到 $1 文件 $2$3 中, {$$4 == 1 && '并导出列头信息'}, 然后把结果保存到 $0","baseType":"Databook_Export","functionName":"Databook.Export","functionCalls":[{"function":"Databook.Export","args":["export_location","export_path","export_name","if_exists","export_headers"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["写到文件","数据表格导出","导出表格"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"export_location","label":"文件夹","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"desktop","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"export_path","label":"文件夹路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择所在文件夹路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"export_name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"实在数据表格.xlsx","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"if_exists","label":"存在同名文件时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"replace","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"export_headers","label":"导出列头信息","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则将列头作为第一行信息导出","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"导出路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"导出路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Databook_GetColumnInfo","name":"获取列信息","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"获取列名称、描述。","messageTemplate":"{$$1 == 'use_name_get_description' && '获取列名为 $2 的列描述信息'} {$$1 == 'use_description_get_name' && '获取列描述为 $3 的列名称'}, 然后把结果保存到 $0","baseType":"Databook_GetColumnInfo","functionName":"Databook.GetColumnInfo","functionCalls":[{"function":"Databook.GetColumnInfo","args":["get_way","column_name","column_description"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取信息","获取描述"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"get_way","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"use_name_get_description","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column_name","label":"列名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"A或1代表A列,支持负数,-n表示倒数第n列,获取多列请输入如:['A', 'B']","description":"A或1代表A列,支持负数,-n表示倒数第n列,获取多列请输入如:['A', 'B']","advanced":false,"valueTypes":["rpa_str","rpa_num","rpa_list"]},{"key":"column_description","label":"列描述","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入要作为获取条件的列描述信息","description":"请输入要作为获取条件的列描述信息","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列信息","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列信息","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Databook_ReadContent","name":"读取数据表格内容","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"从数据表中读取内容,支持读取单元格、行、列、区域。","messageTemplate":"读取数据表格 {$$1 == 'cell' && '单元格:$2$3'} {$$1 == 'region' && '区域:$2$3:$4$5'} {$$1 == 'row' && '第 $3 行'} {$$1 == 'column' && '第 $2 列'} 的内容, 然后把结果保存到 $0","baseType":"Databook_ReadContent","functionName":"Databook.ReadContent","functionCalls":[{"function":"Databook.ReadContent","args":["read_type","column_name","row_num","end_column_name","end_row_num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取内容","读取数据"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"read_type","label":"读取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"cell","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column_name","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"支持输入A或1,-n表示倒数第n列","description":"支持输入A或1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"row_num","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"支持输入1或-1,-n表示倒数第n行","description":"支持输入1或-1,-n表示倒数第n行","advanced":false,"valueTypes":["rpa_num"]},{"key":"end_column_name","label":"结束列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"支持输入A或1,-n表示倒数第n列","description":"支持输入A或1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"end_row_num","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"支持输入1或-1,-n表示倒数第n行","description":"支持输入1或-1,-n表示倒数第n行","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"保存读取结果至","key":"var_name","suggestedName":"数据表格","valueTypes":["rpa_any"],"fields":[{"key":"var_name","label":"保存读取结果至","defaultValue":"数据表格","valueTypes":["rpa_any"]}]},"slots":[]},{"id":"Databook_Clear","name":"清空数据表格","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"清空数据表格。","messageTemplate":"删除数据表格中所有数据","baseType":"Databook_Clear","functionName":"Databook.Clear","functionCalls":[{"function":"Databook.Clear","args":[],"assignTo":""}],"version":"3.3.5.0","tags":["清空表格"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Databook_SetColumnInfo","name":"设置列描述","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"根据数据表格列名称,设置描述信息。","messageTemplate":"给 $0 列设置描述信息 $1","baseType":"Databook_SetColumnInfo","functionName":"Databook.SetColumnInfo","functionCalls":[{"function":"Databook.SetColumnInfo","args":["column_name","column_description"],"assignTo":""}],"version":"3.3.5.0","tags":["列信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"column_name","label":"列名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"支持输入A或1,-n表示倒数第n列","description":"支持输入A或1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"column_description","label":"列描述","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"列描述","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Databook_Import","name":"导入数据表格","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"导入数据到数据表格。","messageTemplate":"导入文件 $0 的 $1内容到数据表格 {$$2 == 1 && '并使用第一行数据作为列头'}","baseType":"Databook_Import","functionName":"Databook.Import","functionCalls":[{"function":"Databook.Import","args":["excel_path","sheet_name","first_row_as_headers"],"assignTo":""}],"version":"3.3.5.0","tags":["创建数据表格","创建数据","数据导入","导入表格"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"excel_path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"sheet_name","label":"Sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要导入的Sheet页名称,为空时默认导入第一个Sheet页","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"first_row_as_headers","label":"使用第一行数据作为列头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"使用第一行数据作为列头","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Databook_GetRowAndColCount","name":"读取数据表格总行列数","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"读取数据表格总行列数。","messageTemplate":"读取数据表格总行数、列数,然后把结果保存到 $0","baseType":"GetRowAndColCount","functionName":"Databook.GetRowAndColCount","functionCalls":[{"function":"Databook.GetRowAndColCount","args":[],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["读取行数","读取列数"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"行数","key":"var0","suggestedName":"行数","valueTypes":["rpa_int"],"fields":[{"key":"var0","label":"行数","defaultValue":"行数","valueTypes":["rpa_int"]},{"key":"var1","label":"列数","defaultValue":"列数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Databook_DeleteRow","name":"删除数据表格行","kind":"vendor","group":"data","categories":["data_table"],"categorySignature":"data_table","description":"删除数据表格指定行或列。","messageTemplate":"删除第 $0 行数据表格内容","baseType":"Databook_DeleteRow","functionName":"Databook.DeleteRow","functionCalls":[{"function":"Databook.DeleteRow","args":["row_nums"],"assignTo":""}],"version":"3.3.5.0","tags":["删除行"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"row_nums","label":"待删除行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"删除单列输入1,删除多列用[1,2,3],-1表示倒数第一行","description":"删除单列输入1,删除多列用[1,2,3],-1表示倒数第一行","advanced":false,"valueTypes":["rpa_num","rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"DataService_Correct","name":"文本纠错","kind":"vendor","group":"message","categories":["WisdomText"],"categorySignature":"WisdomText","description":"对文本内容进行纠错,并输出到指定变量。","messageTemplate":"将文件 $2 进行文本纠错, 然后把结果保存到 $0","baseType":"DataService_Correct","functionName":"DataService.Correct","functionCalls":[{"function":"DataService.Correct","args":["showTable","filePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","文字","字符","字符串","文本内容"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"showTable","label":"将结果保存到数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将纠错的结果信息显示在控制台“数据表”中","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"待纠错的文件(支持Word、PDF、常见图片格式和扫描件格式文件)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"纠错建议","valueTypes":["rpa_dict_correct"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"纠错建议","valueTypes":["rpa_dict_correct"]}]},"slots":[]},{"id":"DataService_DeleteControllerFiles_v1","name":"删除文件","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"删除实在RPA-控制器/运营平台的【文件管理】云端文件。","messageTemplate":"删除云端 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'}, 然后把结果保存到 $0","baseType":"DataService_DeleteControllerFiles","functionName":"DataService.DeleteControllerFiles_v1","functionCalls":[{"function":"DataService.DeleteControllerFiles_v1","args":["del_type","file_data","data","folder_path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去","文件","文档","文件档"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"del_type","label":"匹配方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择匹配控制器/运营平台中文件的方式","advanced":false,"valueTypes":[]},{"key":"file_data","label":"选择文件路径","widget":"file","type":"object","displayType":"selectControllerFile","required":true,"defaultValue":"{}","placeholder":"请选择文件路径","description":"可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改","advanced":false,"valueTypes":["rpa_dict"]},{"key":"data","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入或选择文件","description":"输入或选择需要在控制器/运营平台中删除的文件名称","advanced":false,"valueTypes":["rpa_str","rpa_int","rpa_list"]},{"key":"folder_path","label":"文件夹路径","widget":"folder","type":"object","displayType":"selectControllerFolder","required":true,"defaultValue":"","placeholder":"请输入或选择所在文件夹路径","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"删除结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"删除结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"DataService_ReportException","name":"上报异常信息","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"向控制器/运营平台上报异常原因,由控制器/运营平台记录并多方式推送异常消息。","messageTemplate":"将异常原因 $0 上报到云端","baseType":"DataService_ReportException","functionName":"DataService.ReportException","functionCalls":[{"function":"DataService.ReportException","args":["reason"],"assignTo":""}],"version":"3.3.5.0","tags":["异常","错误","异常情况","错误信息","异常信息"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"reason","label":"异常原因","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"DataService_AgentCall","name":"调用智能体","kind":"vendor","group":"message","categories":["ai_software_automation"],"categorySignature":"ai_software_automation","description":"调用执行实在Agent已发布可用的智能体。","messageTemplate":"调用 $2 执行,然后把结果保存到 $0","baseType":"DataService_AgentCall","functionName":"DataService.AgentCall","functionCalls":[{"function":"DataService.AgentCall","args":["agent_choice","agent_params"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["智能体","agent","调用Agent","Agent调用","Agent"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"agent_choice","label":"选择智能体","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"","description":"请选择智能体市场内的智能体(暂不支持包含流程节点的)","advanced":false,"valueTypes":[]},{"key":"agent_params","label":"输入参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"","description":"解析并展示当前所选智能体的输入参数","advanced":false,"valueTypes":[]}],"output":{"label":"输出回复内容","key":"var0","suggestedName":"输出回复内容","valueTypes":["rpa_str"],"fields":[{"key":"var0","label":"输出回复内容","defaultValue":"输出回复内容","valueTypes":["rpa_str"]},{"key":"var1","label":"输出文件","defaultValue":"输出文件","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"DataService_AIGenTxt","name":"AI生成文本","kind":"vendor","group":"message","categories":["AIGC"],"categorySignature":"AIGC","description":"通过AI引擎,根据输入的描述内容,生成对应的高质量文本文案。广泛适用于客服对话、评论回复、文章生成等场景。企业:5万字/月; 其他:1万字/月(如需追加,请联系客服)。","messageTemplate":"调用 $1 引擎,{$$1 != 3 && '根据描述 $2 生成文本'}{$$1 == 3 && '生成 $4'}, 然后把结果保存到 $0","baseType":"DataService_AIGenTxt","functionName":"DataService.AIGenTxt","functionCalls":[{"function":"DataService.AIGenTxt","args":["engine","input","is_reference","Friday","title","keyword"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["生成","产生","生成数据","创建","制作","文本","文字","字符"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"engine","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input","label":"描述内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"最多输入800字,请勿输入敏感词汇","advanced":false,"valueTypes":["rpa_str"]},{"key":"is_reference","label":"连续引用","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"开启后,自动将之前的会话引用,实现连续会话","advanced":false,"valueTypes":[]},{"key":"Friday","label":"类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择想要生成文本的主题类型","advanced":false,"valueTypes":[]},{"key":"title","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入主题文本","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"keyword","label":"关键词","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入关键词文本(多个用“,”分开)","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"生成内容","key":"var_name","suggestedName":"生成内容","valueTypes":[],"fields":[{"key":"var_name","label":"生成内容","defaultValue":"生成内容","valueTypes":[]}]},"slots":[]},{"id":"DataService_ProductionQueue","name":"将数据存入队列","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"将数据存至控制器/运营平台已有队列中。","messageTemplate":"将数据 $1 数据存入队列 $2 中, 然后把结果保存到 $0","baseType":"DataService_ProductionQueue","functionName":"DataService.ProductionQueue","functionCalls":[{"function":"DataService.ProductionQueue","args":["data","queue"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"data","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入要放入的数据","description":"要数据存入队列的数据,支持变量、表达式、文本等多种形式","advanced":false,"valueTypes":[]},{"key":"queue","label":"队列名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入队列名称","description":"可至资源管理-队列管理-对应队列详情中,查看队列名称信息","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"DataService_WorkingDay","name":"判断是否工作日","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"从实在RPA-控制器/运营平台的【日历管理】中获取日期,并判断指定的日期是否是工作日。","messageTemplate":"判断 $2 是否工作日, 然后把结果保存到 $0","baseType":"DataService_WorkingDay","functionName":"DataService.WorkingDay","functionCalls":[{"function":"DataService.WorkingDay","args":["working_cal","day"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["判断","判定","判别","判断出","识别"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"working_cal","label":"日历名称","widget":"text","type":"string","displayType":"calendarSelect","required":false,"defaultValue":"","placeholder":"","description":"控制器/运营平台中维护的工作日历","advanced":false,"valueTypes":[]},{"key":"day","label":"指定日期","widget":"text","type":"string","displayType":"datePicker","required":false,"defaultValue":"","placeholder":"选择日期","description":"需要判断的日期,指定某一天","advanced":false,"valueTypes":["rpa_str","rpa_datetime"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"DataService_UploadControllerFiles_v1","name":"上传文件","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"将本地文件上传至实在RPA-控制器/运营平台指定路径下。","messageTemplate":"上传文件 $1 至云端, 然后把结果保存到 $0","baseType":"DataService_UploadControllerFiles","functionName":"DataService.UploadControllerFiles_v1","functionCalls":[{"function":"DataService.UploadControllerFiles_v1","args":["file_path","folder_path","is_cover"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"file_path","label":"上传文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"folder_path","label":"保存至路径","widget":"folder","type":"object","displayType":"selectControllerFolder","required":true,"defaultValue":"","placeholder":"请输入或选择文件夹路径","description":"输入或选择控制器/运营平台中的路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"is_cover","label":"重名时覆盖文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果勾选则直接覆盖源文件,如果不勾选则重名时会上传失败","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"DataService_ServiceNew","name":"数据服务(松塔)","kind":"vendor","group":"message","categories":["data_parse"],"categorySignature":"data_parse","description":"连接松塔·Lite DS产品,把获取到的数据存到松塔的数据库中 并将结果输出到变量(可在松塔中进行数据加工和可视化展示)。","messageTemplate":"在数据服务中为数据表 $1 新增数据, 然后把结果保存到 $0","baseType":"DataService_Service","functionName":"DataService.ServiceNew","functionCalls":[{"function":"DataService.ServiceNew","args":["config","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","服务"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"config","label":"同步数据到(松塔)","widget":"text","type":"string","displayType":"setDataService","required":true,"defaultValue":"{}","placeholder":"","description":"同步采集数据到松塔内,并设置数据表信息。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将本次同步到“松塔”中的数据保存到控制台的“数据表”中显示。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"数据服务表","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"数据服务表","valueTypes":[]}]},"slots":[]},{"id":"DataService_DeleteControllerFiles","name":"删除控制器文件","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"删除实在RPA-控制器的【文件管理】云端文件。","messageTemplate":"删除控制器文件 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'}, 然后把结果保存到 $0","baseType":"DataService_DeleteControllerFiles","functionName":"DataService.DeleteControllerFiles","functionCalls":[{"function":"DataService.DeleteControllerFiles","args":["del_type","file_data","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"del_type","label":"匹配方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择匹配控制器文件的方式。","advanced":false,"valueTypes":[]},{"key":"file_data","label":"控制器文件","widget":"file","type":"object","displayType":"selectControllerFile","required":true,"defaultValue":"{}","placeholder":"请选择控制器文件","description":"可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改","advanced":false,"valueTypes":["rpa_dict"]},{"key":"data","label":"控制器文件","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改","advanced":false,"valueTypes":["rpa_str","rpa_int","rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"删除结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"删除结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"DataService_Diff","name":"文本比对","kind":"vendor","group":"message","categories":["WisdomText"],"categorySignature":"WisdomText","description":"将两份文件内容进行比对,并输出到变量。","messageTemplate":"将标准文件: $2 与比对文件: $3 进行比对, 然后把结果保存到 $0","baseType":"DataService_Diff","functionName":"DataService.Diff","functionCalls":[{"function":"DataService.Diff","args":["showTable","sourceFilePath","targetFilePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"showTable","label":"将结果保存到数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将比对的结果信息显示在控制台“数据表”中","advanced":false,"valueTypes":[]},{"key":"sourceFilePath","label":"标准文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"比对依据的标准文件(支持word、PDF、常见图片格式和扫描件格式文件)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"targetFilePath","label":"比对文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"待寻找差异点的文件(支持word、PDF、常见图片格式和扫描件格式文件)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"比对结果","valueTypes":["rpa_dict_diff"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"比对结果","valueTypes":["rpa_dict_diff"]}]},"slots":[]},{"id":"DataService_Service","name":"数据服务","kind":"vendor","group":"message","categories":["data_parse"],"categorySignature":"data_parse","description":"在松塔的数据服务中为选定的数据表新增数据,并将结果输出。","messageTemplate":"在数据服务中为数据表 $1 新增数据, 然后把结果保存到 $0","baseType":"DataService_Service","functionName":"DataService.Service","functionCalls":[{"function":"DataService.Service","args":["config","showTable"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","服务"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"config","label":"配置数据","widget":"text","type":"string","displayType":"dataService","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"showTable","label":"在数据表中预览数据效果","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后,该组件运行后的采集结果可在控制台的“数据表”tab中进行展示。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"数据表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"数据表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"DataService_LargeModel","name":"大模型","kind":"vendor","group":"message","categories":["ai_software_automation"],"categorySignature":"ai_software_automation","description":"调用大模型回答问题或对自然语言进行处理。","messageTemplate":"调用 $1 模型,根据描述 $4 生成内容, 然后把结果保存到 $0","baseType":"DataService_LargeModel","functionName":"DataService.LargeModel","functionCalls":[{"function":"DataService.LargeModel","args":["model","is_vision_model","img_path","hint_word"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["大模型","模型","model","AI模型"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"model","label":"模型","widget":"text","type":"string","displayType":"LLMModelSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_vision_model","label":"is_vision_model","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"img_path","label":"图片地址","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":false,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"输入图像(小于10Mb,格式仅限jpg;png;jpeg;webp),多模态模型将理解图像内容回答问题","advanced":false,"valueTypes":["rpa_str"]},{"key":"hint_word","label":"提示词","widget":"text","type":"string","displayType":"promptWordTemplate","required":true,"defaultValue":"","placeholder":"","description":"输入提问指令,大模型将根据你的指令输出回答","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"生成内容","key":"var_name","suggestedName":"生成内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"生成内容","defaultValue":"生成内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"DataService_DownloadControllerFiles","name":"下载控制器文件","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"从实在RPA-控制器的【文件管理】下载云端文件至本地。","messageTemplate":"下载控制器文件 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'} 至 $4, 然后把结果保存到 $0","baseType":"DataService_DownloadControllerFiles","functionName":"DataService.DownloadControllerFiles","functionCalls":[{"function":"DataService.DownloadControllerFiles","args":["load_type","file_data","data","file_path","is_cover"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"load_type","label":"匹配方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择匹配控制器文件的方式。","advanced":false,"valueTypes":[]},{"key":"file_data","label":"控制器文件","widget":"file","type":"object","displayType":"selectControllerFile","required":true,"defaultValue":"{}","placeholder":"请选择控制器文件","description":"可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改","advanced":false,"valueTypes":["rpa_dict"]},{"key":"data","label":"控制器文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"可选您账号权限范围内的文件,若选择时未见所需要文件请联系所在企业管理员进行权限修改","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"file_path","label":"文件保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"is_cover","label":"重名时覆盖文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果勾选则直接覆盖源文件;如果不勾选,则会在文件名后添加“副本”(示例:“实在智能(副本).xlsx”)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"DataService_DownloadControllerFiles_v1","name":"下载文件","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"从实在RPA-控制器/运营平台的【文件管理】下载云端文件至本地。","messageTemplate":"下载云端 {$$1 == 1 && '$2'} {$$1 != 1 && '$3'} 至 $5, 然后把结果保存到 $0","baseType":"DataService_DownloadControllerFiles","functionName":"DataService.DownloadControllerFiles_v1","functionCalls":[{"function":"DataService.DownloadControllerFiles_v1","args":["load_type","file_data","data","folder_path","file_path","is_cover"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"load_type","label":"匹配方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择匹配控制器/运营平台中文件的方式","advanced":false,"valueTypes":[]},{"key":"file_data","label":"选择文件路径","widget":"file","type":"object","displayType":"selectControllerFile","required":true,"defaultValue":"{}","placeholder":"请选择文件路径","description":"请选择您账号权限范围内的文件。若未找到所需文件,请联系企业管理员调整权限","advanced":false,"valueTypes":["rpa_dict"]},{"key":"data","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入或选择文件","description":"输入或选择需要在控制器/运营平台中下载的文件名称","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"folder_path","label":"文件夹路径","widget":"folder","type":"object","displayType":"selectControllerFolder","required":true,"defaultValue":"","placeholder":"请输入或选择所在文件夹路径","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"file_path","label":"文件保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"is_cover","label":"重名时覆盖文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果勾选则直接覆盖源文件;如果不勾选,则会在文件名后添加“副本”(示例:“实在智能(副本).xlsx”)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"DataService_ConsumptionQueue","name":"从队列获取数据","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"从控制器/运营平台具体队列中取出数据。","messageTemplate":"从队列 $1 中取出数据, 然后把结果保存到 $0","baseType":"DataService_ConsumptionQueue","functionName":"DataService.ConsumptionQueue","functionCalls":[{"function":"DataService.ConsumptionQueue","args":["queue","num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"queue","label":"队列名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入队列名称","description":"可至资源管理-队列管理-对应队列详情中,查看队列名称信息","advanced":false,"valueTypes":["rpa_str"]},{"key":"num","label":"获取消息","widget":"textarea","type":"string","displayType":"inputComposeLabel","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"队列数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"队列数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"DataService_Review","name":"文本审核","kind":"vendor","group":"message","categories":["WisdomText"],"categorySignature":"WisdomText","description":"审核文本内容,并输出到指定变量。","messageTemplate":"根据文件类型:$3,对文件:$2 中的审核点 $4 进行审核, 然后把结果保存到 $0","baseType":"DataService_Review","functionName":"DataService.Review","functionCalls":[{"function":"DataService.Review","args":["showTable","filePath","reviewTemplate","drowPoint"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","文字","字符","字符串","文本内容"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"showTable","label":"将结果保存到数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将审核的结果信息显示在控制台“数据表”中","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"支持word、PDF、常见图片格式和扫描件格式文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"reviewTemplate","label":"审核模板","widget":"select","type":"string","displayType":"dropDownSelect1","required":false,"defaultValue":"","placeholder":"","description":"支持采购、销售等20余种常用合同种类","advanced":false,"valueTypes":[]},{"key":"drowPoint","label":"配置审核点","widget":"text","type":"string","displayType":"setCheck","required":false,"defaultValue":"","placeholder":"","description":"需要审核的特征点、风险点等","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"审核结果","valueTypes":["rpa_dict_review"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"审核结果","valueTypes":["rpa_dict_review"]}]},"slots":[]},{"id":"DataService_UploadControllerFiles","name":"上传文件至控制器","kind":"vendor","group":"message","categories":["controller"],"categorySignature":"controller","description":"将本地文件上传至实在RPA-控制器指定路径下。","messageTemplate":"上传文件 $1 至控制器, 然后把结果保存到 $0","baseType":"DataService_UploadControllerFiles","functionName":"DataService.UploadControllerFiles","functionCalls":[{"function":"DataService.UploadControllerFiles","args":["file_path","is_cover"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"file_path","label":"上传文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"is_cover","label":"重名时覆盖文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果勾选则直接覆盖源文件,如果不勾选则重名时会上传失败","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"DataService_ChatBot","name":"chatbot对话机器人","kind":"vendor","group":"message","categories":["ai_software_automation"],"categorySignature":"ai_software_automation","description":"通过对话机器人向指定渠道发送消息。","messageTemplate":"通过对话机器人$0 向指定渠道发送消息 $3","baseType":"DataService_ChatBot","functionName":"DataService.ChatBot","functionCalls":[{"function":"DataService.ChatBot","args":["chatbot","botChannel","toUser","text"],"assignTo":""}],"version":"3.3.5.0","tags":["chatbot","对话","机器人"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"chatbot","label":"对话机器人","widget":"select","type":"string","displayType":"dropDownSelect1","required":false,"defaultValue":"","placeholder":"","description":"选择在实在-chatbot平台中启用的对话机器人(如没有,可前往chatbot配置)","advanced":false,"valueTypes":[]},{"key":"botChannel","label":"渠道选择","widget":"select","type":"string","displayType":"dropDownSelect1","required":false,"defaultValue":"","placeholder":"","description":"对话机器人的会话渠道,例如:微信、钉钉等","advanced":false,"valueTypes":[]},{"key":"toUser","label":"发送用户配置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入接收消息用户ID","description":"接收消息用户的账号信息","advanced":false,"valueTypes":["rpa_str"]},{"key":"text","label":"发送消息内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入消息内容","description":"请输入消息内容","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"DataService_KeyWord","name":"关键词抽取","kind":"vendor","group":"message","categories":["WisdomText"],"categorySignature":"WisdomText","description":"抽取文本关键词,并输出到指定变量。","messageTemplate":"根据文件类型: $3 ,对文件: $2 进行关键词 $4 抽取, 然后把结果保存到 $0","baseType":"DataService_KeyWord","functionName":"DataService.KeyWord","functionCalls":[{"function":"DataService.KeyWord","args":["showTable","filePath","keyWordTemplate","drowPoint"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["DataService"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"showTable","label":"将结果保存到数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将抽取的关键词信息显示在控制台“数据表”中","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"支持word、PDF、常见图片格式和扫描件格式文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"keyWordTemplate","label":"抽取模板","widget":"select","type":"string","displayType":"dropDownSelect1","required":false,"defaultValue":"","placeholder":"","description":"支持采购、销售等20余种常用合同种类","advanced":false,"valueTypes":[]},{"key":"drowPoint","label":"配置抽取点","widget":"text","type":"string","displayType":"setCheck","required":false,"defaultValue":"","placeholder":"","description":"需要审核的特征点、风险点等","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"抽取结果","valueTypes":["rpa_dict_keyword"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"抽取结果","valueTypes":["rpa_dict_keyword"]}]},"slots":[]},{"id":"DataService_ZBrain","name":"自定义AI模型","kind":"vendor","group":"message","categories":["ai_software_automation"],"categorySignature":"ai_software_automation","description":"高效易用的AI训练平台。","messageTemplate":"调用Z-Brain云脑中定制的算法模型,对输入数据进行定制处理, 然后把结果保存到 $0","baseType":"DataService_ZBrain","functionName":"DataService.ZBrain","functionCalls":[{"function":"DataService.ZBrain","args":["z_barin","specialTemplate"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Z-Brain","云脑"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"z_barin","label":"Z-Brain模型","widget":"select","type":"string","displayType":"dropDownSelect1","required":false,"defaultValue":"","placeholder":"","description":"选择在实在-云脑平台中发布的算法模型(如没有,可前往云脑配置)","advanced":false,"valueTypes":["rpa_str"]},{"key":"specialTemplate","label":"specialTemplate","widget":"text","type":"string","displayType":"brainTeamplate","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"模型对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"模型对象","valueTypes":[]}]},"slots":[]},{"id":"DataService_AiScreenText","name":"提取屏幕数据(AI)","kind":"vendor","group":"message","categories":["ai_operation_screen"],"categorySignature":"ai_operation_screen","description":"AI识别并提取屏幕中的数据,支持提取表格数据、语义数据、非结构化数据。","messageTemplate":"AI识别提取屏幕数据, 然后把结果保存到 $0","baseType":"DataService_AiScreenText","functionName":"DataService.AiScreenText","functionCalls":[{"function":"DataService.AiScreenText","args":["input_data","log_process"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["识别","智能","采集","处理","语义"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"input_data","label":"输入需求","widget":"text","type":"string","displayType":"aiVisualAnalysis","required":true,"defaultValue":"","placeholder":"请输入待执行的操作,例如:获取屏幕中的数据","description":"最大支持输入500个字符。引用变量时,变量值也将算入字符","advanced":false,"valueTypes":["rpa_str"]},{"key":"log_process","label":"打印模型处理过程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"识别结果","key":"var_name","suggestedName":"AI识别提取屏幕数据","valueTypes":[],"fields":[{"key":"var_name","label":"识别结果","defaultValue":"AI识别提取屏幕数据","valueTypes":[]}]},"slots":[]},{"id":"DataService_AiScreenDate","name":"选择日期时间(AI)","kind":"vendor","group":"message","categories":["ai_operation_screen"],"categorySignature":"ai_operation_screen","description":"AI操作屏幕,按要求选择屏幕中的日期时间或其他选项。","messageTemplate":"AI操作屏幕中的选择器,完成 $0","baseType":"DataService_AiScreenDate","functionName":"DataService.AiScreenDate","functionCalls":[{"function":"DataService.AiScreenDate","args":["input_data","max_step","log_process"],"assignTo":""}],"version":"3.3.5.0","tags":["识别","智能","采集","处理","语义"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"input_data","label":"输入需求","widget":"text","type":"string","displayType":"aiVisualAnalysis","required":true,"defaultValue":"","placeholder":"请描述关于日期选择的操作,例如:在屏幕中的日期选择器中选择2025年1月1日。","description":"最大支持输入500个字符。引用变量时,变量值也将算入字符","advanced":false,"valueTypes":["rpa_str"]},{"key":"max_step","label":"最大执行步骤","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"20","placeholder":"请输入1-100之间的数字","description":"设置AI可执行的最大步骤数,防止陷入错误的循环导致过度消耗。输入范围1-100,空值默认20","advanced":false,"valueTypes":["rpa_int"]},{"key":"log_process","label":"打印模型处理过程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"DataService_AiScreenOperate","name":"操作屏幕(AI)","kind":"vendor","group":"message","categories":["ai_operation_screen"],"categorySignature":"ai_operation_screen","description":"AI操作屏幕完成任务,支持意图识别、图像识别、数据处理等。","messageTemplate":"AI操作屏幕完成任务, 然后把结果保存到 $0","baseType":"DataService_AiScreenOperate","functionName":"DataService.AiScreenOperate","functionCalls":[{"function":"DataService.AiScreenOperate","args":["input_data","max_step","log_process"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["识别","智能","操作","屏幕","提取数据","自定义"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"input_data","label":"输入需求","widget":"text","type":"string","displayType":"aiVisualAnalysis","required":true,"defaultValue":"","placeholder":"请输入待执行的操作,例如:关闭弹窗、获取屏幕中的数据","description":"最大支持输入500个字符。引用变量时,变量值也将算入字符","advanced":false,"valueTypes":["rpa_str"]},{"key":"max_step","label":"最大执行步骤","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"请输入1-100之间的数字","description":"设置AI可执行的最大步骤数,防止陷入错误的循环导致过度消耗。输入范围1-100,空值默认10","advanced":false,"valueTypes":["rpa_int"]},{"key":"log_process","label":"打印模型处理过程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"操作结果","key":"var_name","suggestedName":"AI操作屏幕返回内容","valueTypes":[],"fields":[{"key":"var_name","label":"操作结果","defaultValue":"AI操作屏幕返回内容","valueTypes":[]}]},"slots":[]},{"id":"Dialog_SaveFile","name":"保存文件对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出系统文件保存对话框,可在弹出对话框中选择文件保存路径。","messageTemplate":"弹出保存文件对话框, 然后把结果保存到 $0","baseType":"Dialog_SaveFile","functionName":"Dialog.SaveFile","functionCalls":[{"function":"Dialog.SaveFile","args":["title","wildcard"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件保存","保存对话框"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"保存文件","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"wildcard","label":"通配符","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"*.*","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Dialog_InputBox","name":"输入对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出输入对话框,需用户进行信息输入并确定提交,返回用户在对话框中输入的内容。","messageTemplate":"弹出输入对话框,标题为$1,内容描述为$2,默认内容为$3, 然后把结果保存到 $0","baseType":"Dialog_InputBox","functionName":"Dialog.InputBox","functionCalls":[{"function":"Dialog.InputBox","args":["title","description","text"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","输入对话框","对话框"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"输入对话框","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"description","label":"内容描述","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"text","label":"消息内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Dialog_GetConfig","name":"输入输出对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"自定义流程中的对话框,可用户节点中用户接入,进行信息参数输入,或者输出流程结果的自定义配置。","messageTemplate":"自定义配置, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfig","functionCalls":[{"function":"Dialog.GetConfig","args":["jsonlist","configName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"jsonlist","label":"配置信息","widget":"textarea","type":"string","displayType":"multiInput","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"configName","label":"配置名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Dialog_CsInputBox","name":"输入对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出输入对话框,需用户进行信息输入并确定提交,返回用户在对话框中输入的内容。","messageTemplate":"弹出输入对话框,标题为$1,内容描述为$3,默认内容为$4, 然后把结果保存到 $0","baseType":"Dialog_CsInputBox","functionName":"Dialog.CsInputBox","functionCalls":[{"function":"Dialog.CsInputBox","args":["title","dialog_type","input_title","txt_content","pwd_content","isInput","autoClose","time","clickType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","输入对话框","对话框","输入","录入","键入","输入进","填写"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符","advanced":false,"valueTypes":["rpa_str"]},{"key":"dialog_type","label":"对话框类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"TextBox","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input_title","label":"输入框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"填写输入框标题","description":"对话框中输入框内容的标题,可不设置","advanced":false,"valueTypes":["rpa_str"]},{"key":"txt_content","label":"输入框内容默认值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"填写输入框默认值","description":"输入框内默认显示的文本内容,可不填写;指定内容后用户可对指定内容进行修改,若不修改将使用默认值","advanced":false,"valueTypes":["rpa_str"]},{"key":"pwd_content","label":"输入框内容默认值","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"填写输入框默认值","description":"输入框内默认显示的文本内容,可不填写;指定内容后用户可对指定内容进行修改,若不修改将使用默认值。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"isInput","label":"输入框设为必填项","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"设置输入框内容是否为必填,开启为必填。","advanced":false,"valueTypes":[]},{"key":"autoClose","label":"自动关闭对话框","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当对话框执行中无人操作时自动操作对话框","advanced":true,"valueTypes":[]},{"key":"time","label":"无操作等待(秒)","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"在无用户操作时对话框显示时间","advanced":true,"valueTypes":[]},{"key":"clickType","label":"自动执行点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"当倒计时为0时,自动点击选择的按钮","advanced":true,"valueTypes":[]}],"output":{"label":"保存消息内容至","key":"var_name","suggestedName":"输入内容","valueTypes":["rpa_dict_input"],"fields":[{"key":"var_name","label":"保存消息内容至","defaultValue":"输入内容","valueTypes":["rpa_dict_input"]}]},"slots":[]},{"id":"Dialog_GetConfigV7","name":"人机交互表单","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"使用在线人机交互表单填写数据,然后将数据传给机器人。","messageTemplate":"发起人机交互表单 $1, 然后把结果保存到 $0","baseType":"Dialog_GetConfigV5","functionName":"Dialog.GetConfigV7","functionCalls":[{"function":"Dialog.GetConfigV7","args":["form_type","title","jsonlist","id_task","wait_time","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":1,"icon":"desktop","risk":"high","fields":[{"key":"form_type","label":"form_type","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"title","label":"表单名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"人机表单名称。","advanced":false,"valueTypes":["rpa_str"]},{"key":"jsonlist","label":"配置表单","widget":"text","type":"string","displayType":"customModalLocal","required":true,"defaultValue":"[]","placeholder":"","description":"配置人机交互表单。","advanced":false,"valueTypes":[]},{"key":"id_task","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"wait_time","label":"等待填写时间(分钟)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"30","placeholder":"","description":"用户填写表单最长等待时间。","advanced":false,"valueTypes":["rpa_int","rpa_float"]},{"key":"action","label":"等待超时后","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"等待用户输入超时后的处理机制。","advanced":false,"valueTypes":[]}],"output":{"label":"表单数据存储至","key":"var_name","suggestedName":"人机交互表单结果","valueTypes":[],"fields":[{"key":"var_name","label":"表单数据存储至","defaultValue":"人机交互表单结果","valueTypes":[]}]},"slots":[]},{"id":"Dialog_Notice","name":"消息通知","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出系统消息提示框,无需用户确认,自动消失。可设定提示标题和提示内容。","messageTemplate":"显示消息通知 $0","baseType":"Dialog_Notice","functionName":"Dialog.Notice","functionCalls":[{"function":"Dialog.Notice","args":["text","title","timeout"],"assignTo":""}],"version":"3.3.5.0","tags":["系统提示","消息提示","自动消失的提醒"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"text","label":"消息内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入消息内容","description":"输入消息内容,文本长度不能超过80个字符并且行数不能超过4行。","advanced":false,"valueTypes":["rpa_str"]},{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"提醒","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"timeout","label":"超时(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2000","placeholder":"请输入超时时间","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dialog_OpenFile","name":"打开文件对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出系统文件打开对话框,可选择单个文件,并将文件输出到指定变量。","messageTemplate":"弹出打开文件对话框, 然后把结果保存到 $0","baseType":"Dialog_OpenFile","functionName":"Dialog.OpenFile","functionCalls":[{"function":"Dialog.OpenFile","args":["title","wildcard"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["打开文件","文档打开对话框","用户打开文件","文件","文档","文件档","档案","文件资料"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"打开文件","placeholder":"请输入对话框标题","description":"输入对话框标题","advanced":false,"valueTypes":[]},{"key":"wildcard","label":"通配符","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"*.*","placeholder":"输入通配的文件类型,例如:*.xlsx","description":"输入通配的文件类型,例如:*.xlsx","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件地址","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件地址","valueTypes":[]}]},"slots":[]},{"id":"Dialog_Notice_V2","name":"消息通知","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出系统消息提示框,无需用户确认,自动消失。可设定提示标题和提示内容。","messageTemplate":"显示消息通知 $0","baseType":"Dialog_Notice","functionName":"Dialog.Notice_V2","functionCalls":[{"function":"Dialog.Notice_V2","args":["text","title","time_out"],"assignTo":""}],"version":"3.3.5.0","tags":["系统提示","消息提示","自动消失的提醒"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"text","label":"消息内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入消息内容","description":"输入消息内容,文本长度不能超过80个字符并且行数不能超过4行。","advanced":false,"valueTypes":["rpa_str"]},{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"提醒","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"time_out","label":"超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"请输入超时时间","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dialog_GetConfigV8","name":"自定义对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。","messageTemplate":"自定义配置对话框界面, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfigV8","functionCalls":[{"function":"Dialog.GetConfigV8","args":["configName","jsonlist","id","autoClose","time","clickType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义","自定义配置"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"configName","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"jsonlist","label":"配置对话框界面","widget":"text","type":"string","displayType":"customModalV4","required":true,"defaultValue":"[]","placeholder":"","description":"点击小笔头在弹框中配置对话框界面。","advanced":false,"valueTypes":[]},{"key":"id","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"autoClose","label":"自动关闭对话框","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当对话框执行中无人操作时自动操作对话框","advanced":true,"valueTypes":[]},{"key":"time","label":"无操作等待(秒)","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"在无用户操作时对话框显示时间","advanced":true,"valueTypes":[]},{"key":"clickType","label":"自动执行点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"当倒计时为0时,自动点击选择的按钮","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"自定义对话框结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"自定义对话框结果","valueTypes":[]}]},"slots":[]},{"id":"Dialog_GetConfigV6","name":"自定义对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。","messageTemplate":"自定义配置对话框界面, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfigV6","functionCalls":[{"function":"Dialog.GetConfigV6","args":["configName","jsonlist","id","autoClose","time","clickType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义","自定义配置"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"configName","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"jsonlist","label":"配置对话框界面","widget":"text","type":"string","displayType":"customModalV4","required":true,"defaultValue":"[]","placeholder":"","description":"点击小笔头在弹框中配置对话框界面。","advanced":false,"valueTypes":[]},{"key":"id","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"autoClose","label":"自动关闭对话框","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当对话框执行中无人操作时自动操作对话框","advanced":true,"valueTypes":[]},{"key":"time","label":"无操作等待(秒)","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"在无用户操作时对话框显示时间","advanced":true,"valueTypes":[]},{"key":"clickType","label":"自动执行点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"当倒计时为0时,自动点击选择的按钮","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"自定义对话框结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"自定义对话框结果","valueTypes":[]}]},"slots":[]},{"id":"Dialog_GetConfigV1","name":"自定义对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"自定义流程中的对话框,可用户节点中用户接入,进行信息参数输入,或者输出流程结果的自定义配置。","messageTemplate":"自定义配置, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfigV1","functionCalls":[{"function":"Dialog.GetConfigV1","args":["jsonlist","configName","id"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义","自定义配置"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"jsonlist","label":"配置信息","widget":"text","type":"string","displayType":"customModal","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"configName","label":"配置名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"id","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Dialog_OpenFiles","name":"打开文件对话框(多选)","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出系统文件打开对话框,可选择多个文件,文件以数组的形式输出到指定变量。","messageTemplate":"弹出打开文件对话框(多选), 然后把结果保存到 $0","baseType":"Dialog_OpenFiles","functionName":"Dialog.OpenFiles","functionCalls":[{"function":"Dialog.OpenFiles","args":["title","wildcard"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["打开文件","文档打开对话框","用户打开文件","文件","文档","文件档","档案","文件资料"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"打开文件","placeholder":"请输入对话框标题","description":"输入对话框标题","advanced":false,"valueTypes":[]},{"key":"wildcard","label":"通配符","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"*.*","placeholder":"输入通配的文件类型,例如:*.xlsx","description":"输入通配的文件类型,例如:*.xlsx","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件地址列表","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件地址列表","valueTypes":[]}]},"slots":[]},{"id":"Dialog_GetConfigV2","name":"自定义对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。","messageTemplate":"自定义配置对话框界面, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfigV2","functionCalls":[{"function":"Dialog.GetConfigV2","args":["configName","jsonlist","id"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义","自定义配置"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"configName","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"自定义对话框显示的标题名称,如果输入文字请在写英文双引号中。如:”实在智能”。","advanced":false,"valueTypes":[]},{"key":"jsonlist","label":"配置对话框界面","widget":"text","type":"string","displayType":"customModal","required":false,"defaultValue":"[]","placeholder":"","description":"点击小笔头在弹框中配置对话框界面。","advanced":false,"valueTypes":[]},{"key":"id","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Dialog_Config","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Dialog_Config","valueTypes":[]}]},"slots":[]},{"id":"Dialog_Notice_V1","name":"消息通知","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"弹出系统消息提示框,无需用户确认,自动消失。可设定提示标题和提示内容。","messageTemplate":"显示消息通知 $0","baseType":"Dialog_Notice","functionName":"Dialog.Notice_V1","functionCalls":[{"function":"Dialog.Notice_V1","args":["text","title","timeout"],"assignTo":""}],"version":"3.3.5.0","tags":["系统提示","消息提示","自动消失的提醒"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"text","label":"消息内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入消息内容","description":"输入消息内容,文本长度不能超过80个字符并且行数不能超过4行。","advanced":false,"valueTypes":["rpa_str"]},{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"提醒","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"timeout","label":"超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"请输入超时时间","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dialog_CsMsgBox","name":"消息确认对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"消息提示对话框,需用户进行确认后关闭,可设定系统消息提示的内容和标题。","messageTemplate":"弹出消息对话框,标题为$1, 内容为$3, 然后把结果保存到 $0","baseType":"Dialog_CsMsgBox","functionName":"Dialog.CsMsgBox","functionCalls":[{"function":"Dialog.CsMsgBox","args":["title","msg_type","text","msg_button","autoClose","time","clickType","retryTime"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["消息提醒","用户确认","提示","弹出框"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"msg_type","label":"消息类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"和消息内容一起显示的图标。","advanced":false,"valueTypes":[]},{"key":"text","label":"消息内容","widget":"textarea","type":"string","displayType":"multipleTextArea","required":true,"defaultValue":"","placeholder":"请输入消息内容","description":"输入消息对话框中要显示的内容。","advanced":false,"valueTypes":["rpa_str"]},{"key":"msg_button","label":"消息框按钮","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"消息确认框显示按钮。","advanced":false,"valueTypes":[]},{"key":"autoClose","label":"超时自动关闭","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当对话框执行中,指定超时时间(秒)内无人操作,则自动点击按钮并关闭弹窗","advanced":true,"valueTypes":[]},{"key":"time","label":"超时时间(秒)","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"对话框等待操作的超时时长","advanced":true,"valueTypes":[]},{"key":"clickType","label":"超时自动点击按钮","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"无人操作对话框并到达超时时间后,自动点击按钮关闭弹窗","advanced":true,"valueTypes":[]},{"key":"retryTime","label":"重试次数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"保存按钮变量","key":"var_name","suggestedName":"点击结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"保存按钮变量","defaultValue":"点击结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Dialog_GetConfigV3","name":"自定义对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。","messageTemplate":"自定义配置对话框界面, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfigV3","functionCalls":[{"function":"Dialog.GetConfigV3","args":["configName","jsonlist","id"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义","自定义配置"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"configName","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"自定义对话框显示的标题名称,如果输入文字请在写英文双引号中。如:”实在智能”。","advanced":false,"valueTypes":[]},{"key":"jsonlist","label":"配置对话框界面","widget":"text","type":"string","displayType":"customModal","required":false,"defaultValue":"[]","placeholder":"","description":"点击小笔头在弹框中配置对话框界面。","advanced":false,"valueTypes":[]},{"key":"id","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Dialog_Config","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Dialog_Config","valueTypes":[]}]},"slots":[]},{"id":"Dialog_GetConfigV5","name":"人机交互表单","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"使用在线人机交互表单填写数据,然后将数据传给机器人。","messageTemplate":"发起人机交互表单 $1, 然后把结果保存到 $0","baseType":"Dialog_GetConfigV5","functionName":"Dialog.GetConfigV5","functionCalls":[{"function":"Dialog.GetConfigV5","args":["form_type","title","jsonlist","id_task","wait_time","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":1,"icon":"desktop","risk":"high","fields":[{"key":"form_type","label":"form_type","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"title","label":"表单名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"人机表单名称。","advanced":false,"valueTypes":["rpa_str"]},{"key":"jsonlist","label":"配置表单","widget":"text","type":"string","displayType":"customModalLocal","required":true,"defaultValue":"[]","placeholder":"","description":"配置人机交互表单。","advanced":false,"valueTypes":[]},{"key":"id_task","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"wait_time","label":"等待填写时间(分钟)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"30","placeholder":"","description":"用户填写表单最长等待时间。","advanced":false,"valueTypes":["rpa_int","rpa_float"]},{"key":"action","label":"等待超时后","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"等待用户输入超时后的处理机制。","advanced":false,"valueTypes":[]}],"output":{"label":"表单数据存储至","key":"var_name","suggestedName":"Dialog_Config","valueTypes":[],"fields":[{"key":"var_name","label":"表单数据存储至","defaultValue":"Dialog_Config","valueTypes":[]}]},"slots":[]},{"id":"Dialog_MsgBox","name":"消息确认对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"消息提示对话框,需用户进行确认后关闭,可设定系统消息提示的内容和标题。","messageTemplate":"弹出消息对话框,标题为$1, 内容为$0","baseType":"Dialog_MsgBox","functionName":"Dialog.MsgBox","functionCalls":[{"function":"Dialog.MsgBox","args":["text","title"],"assignTo":""}],"version":"3.3.5.0","tags":["消息提醒","用户确认","提示","弹出框"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"text","label":"消息内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"title","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"消息对话框","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dialog_GetConfigV4","name":"自定义对话框","kind":"vendor","group":"desktop","categories":["dialog"],"categorySignature":"dialog","description":"在流程中配置自定义对话框,并在流程执行过程输入参数信息后再执行,并输出流程结果。","messageTemplate":"自定义配置对话框界面, 然后把结果保存到 $0","baseType":"Dialog_GetConfig","functionName":"Dialog.GetConfigV4","functionCalls":[{"function":"Dialog.GetConfigV4","args":["configName","jsonlist","id","autoClose","time","clickType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户输入","信息输入","输入配置","输出配置","输入输出定义","用户自定义","自定义配置"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"configName","label":"对话框标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入对话框标题","description":"输入对话框标题,文本长度不能超过20个字符。","advanced":false,"valueTypes":["rpa_str"]},{"key":"jsonlist","label":"配置对话框界面","widget":"text","type":"string","displayType":"customModalV4","required":true,"defaultValue":"[]","placeholder":"","description":"点击小笔头在弹框中配置对话框界面。","advanced":false,"valueTypes":[]},{"key":"id","label":"id","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"${randomString}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"autoClose","label":"自动关闭对话框","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当对话框执行中无人操作时自动操作对话框","advanced":true,"valueTypes":[]},{"key":"time","label":"无操作等待(秒)","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"在无用户操作时对话框显示时间","advanced":true,"valueTypes":[]},{"key":"clickType","label":"自动执行点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"当倒计时为0时,自动点击选择的按钮","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Dialog_Config","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Dialog_Config","valueTypes":[]}]},"slots":[]},{"id":"Dict_Create","name":"创建字典","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"创建一个字典,并输出到执行的变量中。","messageTemplate":"创建字典, 然后把结果保存到 $0","baseType":"Dict_Create","functionName":"Dict.Create","functionCalls":[{"function":"Dict.Create","args":["value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字典","{}"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"value","label":"value","widget":"text","type":"string","displayType":"dictConfig","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"字典对象","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"字典对象","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"Dict_Delete","name":"删除键值对","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于删除字典中的特定键值对。","messageTemplate":"针对特定的字典 $0,删除单个键值对","baseType":"Dict_Delete","functionName":"Dict.Delete","functionCalls":[{"function":"Dict.Delete","args":["dictObj","key"],"assignTo":""}],"version":"3.3.5.0","tags":["字典","{}","删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待删除键值对的字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"key","label":"输入键","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入键名","description":"输入键名以删除对应的键值","advanced":false,"valueTypes":["rpa_str","rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dict_Items","name":"获取字典所有键值","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于获取一个字典中的所有键名以及相应的值。","messageTemplate":"获取字典 $1 的所有键名以及相应的值, 然后把结果保存到 $0","baseType":"Dict_Items","functionName":"Dict.Items","functionCalls":[{"function":"Dict.Items","args":["dictObj"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字典","{}","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待获取键值对的字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"键值对列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"键值对列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Dict_Values","name":"获取字典所有值","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于获取一个字典中的所有值。","messageTemplate":"获取字典 $1 的所有值, 然后把结果保存到 $0","baseType":"Dict_Values","functionName":"Dict.Values","functionCalls":[{"function":"Dict.Values","args":["dictObj"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字典","{}","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待获取键值的字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"键值列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"键值列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Dict_Clear","name":"清空字典","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"针对特定的字典,删除其所有的键值对。","messageTemplate":"针对特定的字典,删除其所有键值对","baseType":"Dict_Clear","functionName":"Dict.Clear","functionCalls":[{"function":"Dict.Clear","args":["dictObj"],"assignTo":""}],"version":"3.3.5.0","tags":["字典","{}"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待清空的字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dict_GetItem","name":"获取字典值","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于查询字典中特定键相对应的值。","messageTemplate":"针对特定的字典, 返回其对应的单个值, 然后把结果保存到 $0","baseType":"Dict_GetItem","functionName":"Dict.GetItem","functionCalls":[{"function":"Dict.GetItem","args":["dictObj","key","value_type","default_value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字典","{}","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待获取值的字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"key","label":"输入键","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入键名","description":"输入键名,以获取此键名对应的键值","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"value_type","label":"键不存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"default_value","label":"默认值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"键值对","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"键值对","valueTypes":[]}]},"slots":[]},{"id":"Dict_Keys","name":"获取字典所有键","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于获取一个字典中的所有键名。","messageTemplate":"获取字典 $1 的所有键名, 然后把结果保存到 $0","baseType":"Dict_Keys","functionName":"Dict.Keys","functionCalls":[{"function":"Dict.Keys","args":["dictObj"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字典","{}","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待获取键名的字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"键名列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"键名列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Dict_Update","name":"合并字典","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于将两个字典合并为一个字典。","messageTemplate":"将字典 $1 的全部键值对复制到另一个字典 $0","baseType":"Dict_Update","functionName":"Dict.Update","functionCalls":[{"function":"Dict.Update","args":["dictObj","targetDict"],"assignTo":""}],"version":"3.3.5.0","tags":["字典","{}"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"合并到","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待合并的字典,并使用此变量名为合并后的变量名","advanced":false,"valueTypes":["rpa_dict"]},{"key":"targetDict","label":"原字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入字典类型变量或字典","description":"输入需合并的字典","advanced":false,"valueTypes":["rpa_dict","rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Dict_SetItem","name":"设置字典值","kind":"vendor","group":"data","categories":["dict"],"categorySignature":"dict","description":"用于添加或者修改一个字典中的一对键值。","messageTemplate":"设置 $0 的值为 $1","baseType":"Dict_SetItem","functionName":"Dict.SetItem","functionCalls":[{"function":"Dict.SetItem","args":["dictObj","value"],"assignTo":""}],"version":"3.3.5.0","tags":["字典","{}","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"dictObj","label":"字典选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"字典对象","placeholder":"请输入字典类型变量或字典","description":"输入待设置值的字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"value","label":"value","widget":"text","type":"string","displayType":"dictConfig","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetValuePassword","name":"输入密码框","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"在指定的密码框中输入密码。","messageTemplate":"在目标密码框 $0 中输入密码 $1","baseType":"Element_SetValuePassword","functionName":"Element.SetValuePassword","functionCalls":[{"function":"Element.SetValuePassword","args":["uiSelector","text","isEnter","operation","interval","delaybeforEnter"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","密码","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择密码框元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"text","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"输入密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"在大部分登录场景中,输入完密码后,可以通过点击回车键触发立即登录操作,默认不勾选。","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"20","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"0","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Click","name":"元素点击","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"点击指定元素(模拟鼠标点击)。","messageTemplate":"模拟鼠标,点击指定元素 $0","baseType":"Element_Click","functionName":"Element.Click","functionCalls":[{"function":"Element.Click","args":["uiSelector","operation","clickway","clickfunc","AI_backup"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"selectUi","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickway","label":"鼠标点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"AI_backup","label":"开启AI修复","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Region2_v2","name":"获取元素坐标","kind":"vendor","group":"web","categories":["get_web_data","get_soft_data"],"categorySignature":"get_web_data|get_soft_data","description":"获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。","messageTemplate":"获取指定元素 $1 的区域坐标, 然后把结果保存到 $0","baseType":"Element_Region","functionName":"Element.Region2_v2","functionCalls":[{"function":"Element.Region2_v2","args":["uiSelector","browser_type","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["位置","区域位置","坐标","模块坐标","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"position","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素坐标值","valueTypes":["rpa_dict_region2"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素坐标值","valueTypes":["rpa_dict_region2"]}]},"slots":[]},{"id":"Element_SelectOperation_v1","name":"下拉框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。","messageTemplate":"{$$3 == 1 && '设置下拉框'}{$$3 == 2 && '获取下拉框'} $1 {$$3 == 1 && '$6'}{$$3 == 1 && $$4 == 0 && '并选择第 $5 个选项'}{$$3 == 1 && $$4 != 0 && '并选择内容为 $5 的选项'}{$$3 == 2 && ',然后把结果保存到 $0'}","baseType":"Element_SelectOperation","functionName":"Element.SelectOperation_v1","functionCalls":[{"function":"Element.SelectOperation_v1","args":["uiSelector","browser_type","operation_type","choose","itemsToSelect","ret_type","ret_choose"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["设置选择项","选择项","下拉列表","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标下拉框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标下拉框元素","description":"拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"operation_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"按选项内容:根据选项的文本内容进行匹配选择,可以填写完整的选项值,关键字模糊匹配;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项中对应的下拉框选项的Value值进行关键字模糊匹配","advanced":false,"valueTypes":[]},{"key":"itemsToSelect","label":"选项值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入要匹配的内容","description":"可选择根据选项的文本内容、选项的位置顺序、选项的value值进行精确匹配选择","advanced":false,"valueTypes":["rpa_list"]},{"key":"ret_type","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值","advanced":false,"valueTypes":[]},{"key":"ret_choose","label":"获取内容","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号","advanced":false,"valueTypes":[]}],"output":{"label":"保存获取内容","key":"var_name","suggestedName":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"],"fields":[{"key":"var_name","label":"保存获取内容","defaultValue":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"]}]},"slots":[]},{"id":"Element_Sibling_V2","name":"获取兄弟元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的兄弟元素(可选获取上一个兄弟元素或下一个兄弟元素)。","messageTemplate":"获取 $1 元素的 {$$6 == 0 && '$4'} {$$6 == 1 && '$7'}, 然后把结果保存到 $0","baseType":"Element_Sibling","functionName":"Element.Sibling_V2","functionCalls":[{"function":"Element.Sibling_V2","args":["uiSelector","designated_info","designated_obj","position","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择目标元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"position","label":"兄弟元素位置","widget":"select","type":"string","displayType":"defeasibleDropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"相对于目标元素的位置。","advanced":false,"valueTypes":[]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"兄弟元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"兄弟元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Element_Children_V1","name":"获取子元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的子元素(可选指定获取第几个)。","messageTemplate":"获取 $1 元素的{$$5 == 0 && '第$3个子元素'} {$$5 == 0 && '所有子元素'} {$$5 == 1 && '$6'}, 然后把结果保存到 $0","baseType":"Element_Children","functionName":"Element.Children_V1","functionCalls":[{"function":"Element.Children_V1","args":["uiSelector","browser_type","num","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"num","label":"获取第几个","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。","advanced":false,"valueTypes":["rpa_int"]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"子元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"子元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Element_ElementCaptureSimilar","name":"获取相似元素数组","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取相似元素数组。","messageTemplate":"获取相似元素数组","baseType":"Element_ElementCaptureSimilar","functionName":"Element.ElementCaptureSimilar","functionCalls":[{"function":"Element.ElementCaptureSimilar","args":["uiSelector"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Exists","name":"元素判断","kind":"vendor","group":"web","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"判断指定元素是否存在,是则返回Ture,否则返回False。","messageTemplate":"判断指定元素 $1 是否存在, 然后把结果保存到 $0","baseType":"Element_Exists","functionName":"Element.Exists","functionCalls":[{"function":"Element.Exists","args":["uiSelector","browser_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素存在","存在","判断元素存在","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Element_SelectOperation_v2","name":"下拉框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。","messageTemplate":"{$$4 == 1 && '设置下拉框'}{$$4 == 2 && '获取下拉框'} $1 {$$4 == 1 && '$7'}{$$4 == 1 && $$5 == 0 && '并选择第 $6 个选项'}{$$4 == 1 && $$5 != 0 && '并选择内容为 $6 的选项'}, 然后把结果保存到 $0","baseType":"Element_SetSelect","functionName":"Element.SelectOperation_v2","functionCalls":[{"function":"Element.SelectOperation_v2","args":["uiSelector","designated_info","designated_obj","operation_type","choose","itemsToSelect","ret_type","ret_choose"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["设置选择项","选择项","下拉列表","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标下拉框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标下拉框元素","description":"拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"operation_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"按选项内容:根据选项的文本内容进行精准匹配选择;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项的Value值进行精准匹配","advanced":false,"valueTypes":[]},{"key":"itemsToSelect","label":"选项值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入要匹配的内容","description":"可选择根据选项的文本内容、选项的位置顺序、选项的value值进行精确匹配选择","advanced":false,"valueTypes":["rpa_list"]},{"key":"ret_type","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值","advanced":false,"valueTypes":[]},{"key":"ret_choose","label":"获取内容","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号","advanced":false,"valueTypes":[]}],"output":{"label":"保存获取内容","key":"var_name","suggestedName":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"],"fields":[{"key":"var_name","label":"保存获取内容","defaultValue":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"]}]},"slots":[]},{"id":"Element_GetCheckGround","name":"获取勾选框状态值","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"获取指定元素的勾选状态,并将勾选状态赋值给指定变量,若勾选返回True,未勾选返回False。","messageTemplate":"获取 $1 的勾选状态, 然后把结果保存到 $0","baseType":"Element_GetCheckGround","functionName":"Element.GetCheckGround","functionCalls":[{"function":"Element.GetCheckGround","args":["uiSelector","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","获取勾选值"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"勾选框状态结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"勾选框状态结果","valueTypes":[]}]},"slots":[]},{"id":"Element_SetAttribute_v2","name":"设置网页元素属性","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"设置指定元素的属性,并且设置保存属性的变量名称和值(仅对浏览器网页元素有效)。","messageTemplate":"设置指定元素 $0 的属性","baseType":"Element_SetAttribute","functionName":"Element.SetAttribute_v2","functionCalls":[{"function":"Element.SetAttribute_v2","args":["uiSelector","designated_info","designated_obj","attrName","attrValue"],"assignTo":""}],"version":"3.3.5.0","tags":["属性","设置属性","元素属性","元素","设置","配置","设定","调配","设置好"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或者选择网页元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"","advanced":false,"valueTypes":[]},{"key":"attrValue","label":"属性值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请设置网页元素的属性值","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Children","name":"获取子元素","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"获取设定元素下的所有子元素,以数组形式输出。","messageTemplate":"获取指定元素 $1 下的所有子元素, 然后把结果保存到 $0","baseType":"Element_Children","functionName":"Element.Children","functionCalls":[{"function":"Element.Children","args":["uiSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"子元素列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"子元素列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Element_WaitElement","name":"等待元素","kind":"vendor","group":"web","categories":["waite","web_element_operation","soft_element_operation"],"categorySignature":"waite|web_element_operation|soft_element_operation","description":"判断某个元素是否存在或者消失,根据结果来执行后续的流程。","messageTemplate":"等待 $1 $2 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElement","functionName":"Element.WaitElement","functionCalls":[{"function":"Element.WaitElement","args":["uiSelector","choose","timeout","time_gap"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或者选择元素","description":"输入目标变量或者选择元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"设置等待类型,元素图像出现和元素结构出现为元素显示后结束,元素完全消失为元素消失后结束","advanced":false,"valueTypes":[]},{"key":"timeout","label":"等待超时时间设置(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"10000","placeholder":"请输入等待超时的时间(毫秒)","description":"输入超时等待的时间,单位:毫秒,默认10000毫秒,非必填","advanced":false,"valueTypes":["rpa_int"]},{"key":"time_gap","label":"元素检测间隔(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"200","placeholder":"请输入每次检测的时间间隔(毫秒)","description":"输入每次检测的时间间隔,单位:毫秒,默认200毫秒,非必填","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_WaitElementGround","name":"等待元素","kind":"vendor","group":"web","categories":["waite","interface_element"],"categorySignature":"waite|interface_element","description":"判断设定元素是否存在,存在则返回True,否则返回False。","messageTemplate":"等待元素 $1 $2 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElementGround","functionName":"Element.WaitElementGround","functionCalls":[{"function":"Element.WaitElementGround","args":["uiSelector","choose","timeout","time_gap","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"timeout","label":"等待超时时间设置(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1000","placeholder":"","description":"非必填,默认1000毫秒","advanced":false,"valueTypes":[]},{"key":"time_gap","label":"元素检测间隔(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"200","placeholder":"","description":"(设置每次检测的时间间隔)非必填,默认200毫秒","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素出现结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素出现结果","valueTypes":[]}]},"slots":[]},{"id":"Element_ScrollIntoView_v2","name":"滚动页面","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"将页面滚动到指定元素位置。","messageTemplate":"将页面滚动至元素 $0 所在位置","baseType":"Element_ScrollIntoView","functionName":"Element.ScrollIntoView_v2","functionCalls":[{"function":"Element.ScrollIntoView_v2","args":["uiSelector","designated_info","designated_obj"],"assignTo":""}],"version":"3.3.5.0","tags":["Element","处理","操作"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择需将页面滚动至哪个元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetValue_V1","name":"文本输入","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"对指定元素(如输入框)进行文本输入。","messageTemplate":"将 $1 输入到指定元素 $0 中","baseType":"Element_SetValue","functionName":"Element.SetValue_V1","functionCalls":[{"function":"Element.SetValue_V1","args":["uiSelector","value","input","operation"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"写入文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input","label":"追加输入","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_MouseTo_V3","name":"鼠标移动到元素上","kind":"vendor","group":"web","categories":["web_element_operation","peripheral_device","soft_element_operation"],"categorySignature":"web_element_operation|peripheral_device|soft_element_operation","description":"鼠标移动到元素上。","messageTemplate":"将鼠标移动到指定元素 $0 上","baseType":"Element_MouseTo","functionName":"Element.MouseTo_V3","functionCalls":[{"function":"Element.MouseTo_V3","args":["uiSelector","browser_type","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择目标元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Click_V5","name":"点击界面元素","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。","messageTemplate":"模拟鼠标 $2 $3 界面的 $0","baseType":"Element_Click","functionName":"Element.Click_V5","functionCalls":[{"function":"Element.Click_V5","args":["uiSelector","browser_type","clickway","clickfunc","operation","show_track","click_data","is_verify"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"clickway","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPosition","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"is_verify","label":"校验运行结果","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"1","placeholder":"","description":"开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetCheckGround","name":"设置勾选框状态","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"设置指定元素是否被勾选,返回是和否(某些单选框或复选框不是标准的标签元素,需要模拟鼠标进行点击操作)。","messageTemplate":"设置目标元素 $0 的勾选","baseType":"Element_SetCheckGround","functionName":"Element.SetCheckGround","functionCalls":[{"function":"Element.SetCheckGround","args":["uiSelector","isChecked","web"],"assignTo":""}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","设置勾选项"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isChecked","label":"是否勾选","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Parent_V1","name":"获取父元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的父元素(可选获取层级)。","messageTemplate":"获取 $1 元素 {$$5 == 0 && '第$3层的父元素'} {$$5 == 1 && '$6'}, 然后把结果保存到 $0","baseType":"Element_Parent","functionName":"Element.Parent_V1","functionCalls":[{"function":"Element.Parent_V1","args":["uiSelector","browser_type","level","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择目标子元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"level","label":"获取层级","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"相对于目标子元素第几层级的父元素,仅支持大于0的整数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"父元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"父元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Element_RegionGround","name":"获取元素坐标","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。","messageTemplate":"获取指定元素 $1 的区域坐标, 然后把结果保存到 $0","baseType":"Element_RegionGround","functionName":"Element.RegionGround","functionCalls":[{"function":"Element.RegionGround","args":["uiSelector","position","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["位置","区域位置","坐标","模块坐标","元素"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"selectUi","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素坐标值","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素坐标值","valueTypes":[]}]},"slots":[]},{"id":"Element_SetValue_V2","name":"输入文本框","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。","messageTemplate":"输入文本 $2 到指定输入框 $0","baseType":"Element_SetValue","functionName":"Element.SetValue_V2","functionCalls":[{"function":"Element.SetValue_V2","args":["uiSelector","input_type","text","operation","interval"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"text","label":"输入内容","widget":"textarea","type":"string","displayType":"textArea","required":true,"defaultValue":"","placeholder":"请输入内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"20","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_StopAutoClosePopup","name":"停止智能弹窗侦测","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"停止在网页操作时智能侦测弹窗。","messageTemplate":"停止智能侦测弹窗","baseType":"Element_StopAutoClosePopup","functionName":"Element.StopAutoClosePopup","functionCalls":[{"function":"Element.StopAutoClosePopup","args":[],"assignTo":""}],"version":"3.3.5.0","tags":["弹窗监测","检测弹窗","停止弹窗检测","停止弹窗侦测"],"platformTag":null,"icon":"web","risk":"high","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetButtonEnable","name":"判断元素是否可点击","kind":"vendor","group":"web","categories":["web_element_operation","judgment","soft_element_operation"],"categorySignature":"web_element_operation|judgment|soft_element_operation","description":"判断指定元素是否可点击,可点击则返回True,否则返回False。","messageTemplate":"判断指定元素 $1 是否可点击, 然后把结果保存到 $0","baseType":"Element_GetButtonEnable","functionName":"Element.GetButtonEnable","functionCalls":[{"function":"Element.GetButtonEnable","args":["uiSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","判断","点击"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或选择元素","description":"输入目标变量或选择界面元素作为输入","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_SetValue_V5","name":"输入文本","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。","messageTemplate":"输入文本 $3 到指定输入框 $1{$$10 == 1 && ',然后把结果保存到 $0'}","baseType":"Element_SetValue","functionName":"Element.SetValue_V5","functionCalls":[{"function":"Element.SetValue_V5","args":["uiSelector","browser_type","text","input_type","isEnter","operation","input_method","interval","delaybeforEnter","verifying_input","focus_timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"text","label":"输入内容","widget":"textarea","type":"string","displayType":"textArea","required":true,"defaultValue":"","placeholder":"请输入内容","description":"","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"input_method","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"500","placeholder":"","description":"勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。","advanced":true,"valueTypes":["rpa_int"]},{"key":"verifying_input","label":"校验输入内容","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果","advanced":true,"valueTypes":[]},{"key":"focus_timeout","label":"焦点等待时间(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"100","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"校验结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"校验结果","valueTypes":[]}]},"slots":[]},{"id":"Element_MouseTo","name":"鼠标移动到元素上","kind":"vendor","group":"web","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"鼠标移动到元素上。","messageTemplate":"将鼠标移动到指定元素 $0 上","baseType":"Element_MouseTo","functionName":"Element.MouseTo","functionCalls":[{"function":"Element.MouseTo","args":["uiSelector"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"指定元素","widget":"element","type":"object","displayType":"selectUi","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetText_V5","name":"获取界面元素文本","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。","messageTemplate":"{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $3 '}, 然后把结果保存到 $0","baseType":"Element_GetValue","functionName":"Element.GetText_V5","functionCalls":[{"function":"Element.GetText_V5","args":["choose","uiSelector","cvSelector","designated_info","designated_obj","attr_type","attr_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本","元素","获取区域文字","获取元素文本","获取","得到","取得","提取","获取到","文本","文字","字符"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"choose","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"cvSelector","label":"目标选择","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"attr_type","label":"文本信息类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"选择文本信息类型","advanced":true,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":true,"valueTypes":["rpa_str"]}],"output":{"label":"文本保存到","key":"var_name","suggestedName":"元素文本值","valueTypes":["rpa_str","rpa_list"],"fields":[{"key":"var_name","label":"文本保存到","defaultValue":"元素文本值","valueTypes":["rpa_str","rpa_list"]}]},"slots":[]},{"id":"Element_GetValue","name":"获取元素文本","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取指定元素的文本内容,并输出到指定变量。","messageTemplate":"获取指定元素 $1 的文本内容, 然后把结果保存到 $0","baseType":"Element_GetValue","functionName":"Element.GetValue","functionCalls":[{"function":"Element.GetValue","args":["uiSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Element_WaitElement_v5","name":"等待元素","kind":"vendor","group":"web","categories":["web_element_operation","waite","soft_element_operation"],"categorySignature":"web_element_operation|waite|soft_element_operation","description":"等待某个窗口打开、关闭或激活,根据结果进行选择性操作。","messageTemplate":"等待 $1 $4 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElement","functionName":"Element.WaitElement_v5","functionCalls":[{"function":"Element.WaitElement_v5","args":["uiSelector","designated_info","designated_obj","choose","time_out","appear","disappear","time_gap"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在","等待","延时","延迟","等候","暂停"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择等待元素类型时,可以选择元素出现或消失,其中“元素结构消失”表示当图像和结构都消失时返回true。","advanced":false,"valueTypes":[]},{"key":"time_out","label":"等待时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"","description":"设置等待元素的时间。","advanced":false,"valueTypes":["rpa_num"]},{"key":"appear","label":"元素未出现时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"disappear","label":"元素未消失时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"time_gap","label":"元素检测间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"设置等待过程中检测元素的时间间隔,建议1s 。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_Region2_v3","name":"获取元素坐标","kind":"vendor","group":"web","categories":["get_web_data","get_soft_data"],"categorySignature":"get_web_data|get_soft_data","description":"获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。","messageTemplate":"获取指定元素 $1 的区域坐标, 然后把结果保存到 $0","baseType":"Element_Region","functionName":"Element.Region2_v3","functionCalls":[{"function":"Element.Region2_v3","args":["uiSelector","designated_info","designated_obj","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["位置","区域位置","坐标","模块坐标","元素","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"position","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素坐标值","valueTypes":["rpa_dict_region2"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素坐标值","valueTypes":["rpa_dict_region2"]}]},"slots":[]},{"id":"Element_SimilarElementList","name":"获取相似元素列表","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"获取指定元素的相似元素列表并保存为变量,支持拾取、CSS、XPath等元素定位方式。","messageTemplate":"通过 $2 方式定位获取 $3 $5 $6 的相似元素,然后把结果保存到 $0","baseType":"Element_SimilarElementList","functionName":"Element.SimilarElementList","functionCalls":[{"function":"Element.SimilarElementList","args":["element_position","uiSelector","web","cssSelector","xpath","relate_parent","parent_selector","action","attr_complate","attr_name","reverse","start_index","end_index"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["相似元素","拾取元素","捕获元素","保存元素","xpath","css"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择相似元素。","description":"拾取或选择相似元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择网页对象","description":"输入或选择目标浏览器变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入CSS选择器","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":["rpa_str"]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入XPath选择器","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":["rpa_str"]},{"key":"relate_parent","label":"关联父元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否在特定父元素下获取相似元素。获取win32相似元素,该属性将不生效。","advanced":false,"valueTypes":[]},{"key":"parent_selector","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"action","label":"元素操作","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"selector","placeholder":"","description":"获取元素值,将获取元素value属性值,若没有该属性则返回None。获取元素链接地址,将获取元素href或src属性值,若没有该属性则返回None。","advanced":false,"valueTypes":[]},{"key":"attr_complate","label":"自动补充完整地址","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。","advanced":false,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入元素属性名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"reverse","label":"获取方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"start_index","label":"开始获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"默认为1表示从第1项开始获取。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]},{"key":"end_index","label":"结束获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"-1","placeholder":"","description":"默认为-1表示将获取至倒数第1项。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"元素列表保存至","key":"var0","suggestedName":"相似元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var0","label":"元素列表保存至","defaultValue":"相似元素列表","valueTypes":["rpa_list_element_v1"]},{"key":"var1","label":"元素个数保存至","defaultValue":"元素个数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Element_SimilarElementList_V1","name":"获取相似元素列表","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"获取指定元素的相似元素列表并保存为变量,支持拾取、CSS、XPath等元素定位方式。","messageTemplate":"通过 $2 方式定位获取 $3 $5 $6 的相似元素,然后把结果保存到 $0","baseType":"Element_SimilarElementList","functionName":"Element.SimilarElementList_V1","functionCalls":[{"function":"Element.SimilarElementList_V1","args":["element_position","uiSelector","designated_info","designated_obj","web","cssSelector","xpath","relate_parent","parent_selector","action","attr_complate","attr_name","reverse","start_index","end_index"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["相似元素","拾取元素","捕获元素","保存元素","xpath","css"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择相似元素。","description":"拾取或选择相似元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择网页对象","description":"输入或选择目标浏览器变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入CSS选择器","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":["rpa_str"]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入XPath选择器","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":["rpa_str"]},{"key":"relate_parent","label":"关联父元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否在特定父元素下获取相似元素。获取win32相似元素,该属性将不生效。","advanced":false,"valueTypes":[]},{"key":"parent_selector","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"action","label":"元素操作","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"selector","placeholder":"","description":"获取元素值,将获取元素value属性值,若没有该属性则返回None。获取元素链接地址,将获取元素href或src属性值,若没有该属性则返回None。","advanced":false,"valueTypes":[]},{"key":"attr_complate","label":"自动补充完整地址","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。","advanced":false,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入元素属性名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"reverse","label":"获取方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"start_index","label":"开始获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"默认为1表示从第1项开始获取。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]},{"key":"end_index","label":"结束获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"-1","placeholder":"","description":"默认为-1表示将获取至倒数第1项。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"元素列表保存至","key":"var0","suggestedName":"相似元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var0","label":"元素列表保存至","defaultValue":"相似元素列表","valueTypes":["rpa_list_element_v1"]},{"key":"var1","label":"元素个数保存至","defaultValue":"元素个数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Element_Shot","name":"元素截图","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对指定元素进行截图,然后保存图片。","messageTemplate":"对指定元素 $1 进行截图, 然后把结果保存到 $0","baseType":"Element_Shot","functionName":"Element.Shot","functionCalls":[{"function":"Element.Shot","args":["uiSelector","filePath","filename"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截图","目标截图","元素截图","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择进行截图的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"filePath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"res","placeholder":"请输入或选择文件夹路径","description":"输入或选择截图保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"截图_${randomString}.png","placeholder":"请输入截图名称,为空则随机生成","description":"输入截图的名称,当名称为空时将随机生成一个名称。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"截图保存路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"截图保存路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_CheckBoxOperation_v2","name":"勾选框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。","messageTemplate":"{$$3 == 1 && '设置勾选框'}{$$3 == 0 && '设置勾选框'}{$$3 == 2 && '获取勾选框'} $1 {$$3 == 1 && '并将其 $3'}{$$3 == 0 && '并将其 $3'}, 然后把结果保存到 $0","baseType":"Element_CheckBoxOperation","functionName":"Element.CheckBoxOperation_v2","functionCalls":[{"function":"Element.CheckBoxOperation_v2","args":["uiSelector","browser_type","operation_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","设置勾选项","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标勾选框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标勾选框元素","description":"拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"operation_type","label":"操作类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态;仅获取勾选框状态:读取勾选框状态","advanced":false,"valueTypes":[]}],"output":{"label":"状态保存到","key":"var_name","suggestedName":"勾选框状态结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"状态保存到","defaultValue":"勾选框状态结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_GetLineBarChartData","name":"获取折线图/柱状图数据","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"通过模拟滑动获取网页中折线图/柱状图数据。","messageTemplate":"模拟鼠标在 $1 滑过来获取数据, 然后把结果保存到 $0","baseType":"Element_GetLineBarChartData","functionName":"Element.GetLineBarChartData","functionCalls":[{"function":"Element.GetLineBarChartData","args":["uiSelector","designated_info","designated_obj","remove_whitespace","chart_top","dataSelector","direction","move_speed","move_track","offset"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["折线图","柱状图"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标图表元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"remove_whitespace","label":"去除空白符","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"输出结果中去除所有空白符和换行符","advanced":false,"valueTypes":[]},{"key":"chart_top","label":"图表元素置顶","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"若数据元素挡住了图表元素,勾选则可以解决","advanced":false,"valueTypes":[]},{"key":"dataSelector","label":"数据元素","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":true,"valueTypes":["rpa_element"]},{"key":"direction","label":"移动方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"move_speed","label":"移动速度","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"move_track","label":"移动模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"offset","label":"偏移","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"可通过偏移量设置上下/左右移动范围,输入-1到1,-1向上/左偏移,1向下/右偏移","advanced":true,"valueTypes":["rpa_int","rpa_float"]}],"output":{"label":"保存数据列表至","key":"var_name","suggestedName":"图表数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"保存数据列表至","defaultValue":"图表数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Element_GetText_V4","name":"获取界面元素文本","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。","messageTemplate":"{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $3 '}, 然后把结果保存到 $0","baseType":"Element_GetValue","functionName":"Element.GetText_V4","functionCalls":[{"function":"Element.GetText_V4","args":["choose","uiSelector","cvSelector","designated_info","designated_obj","attr_type","attr_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本","元素","获取区域文字","获取元素文本"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"choose","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"cvSelector","label":"目标选择","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"attr_type","label":"文本信息类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"选择文本信息类型","advanced":true,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":true,"valueTypes":["rpa_str"]}],"output":{"label":"文本保存到","key":"var_name","suggestedName":"元素文本值","valueTypes":["rpa_str","rpa_list"],"fields":[{"key":"var_name","label":"文本保存到","defaultValue":"元素文本值","valueTypes":["rpa_str","rpa_list"]}]},"slots":[]},{"id":"Element_Region","name":"获取元素坐标","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。","messageTemplate":"获取指定元素 $1 的区域坐标, 然后把结果保存到 $0","baseType":"Element_Region","functionName":"Element.Region","functionCalls":[{"function":"Element.Region","args":["uiSelector","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["位置","区域位置","坐标","模块坐标","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"dictRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"dictRet","valueTypes":[]}]},"slots":[]},{"id":"Element_Children_V2","name":"获取子元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标网页元素的子元素(可选指定获取第几个)。","messageTemplate":"获取 $1 元素的{$$6 == 0 && '第$4个子元素'} {$$6 == 0 && '所有子元素'} {$$6 == 1 && '$7'}, 然后把结果保存到 $0","baseType":"Element_Children","functionName":"Element.Children_V2","functionCalls":[{"function":"Element.Children_V2","args":["uiSelector","designated_info","designated_obj","num","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"num","label":"获取第几个","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。","advanced":false,"valueTypes":["rpa_int"]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"子元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"子元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Element_GetText_V2","name":"获取界面元素文本","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。","messageTemplate":"{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $4 '}, 然后把结果保存到 $0","baseType":"Element_GetText","functionName":"Element.GetText_V2","functionCalls":[{"function":"Element.GetText_V2","args":["choose","uiSelector","browser_type","cvSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本","元素","获取区域文字","获取元素文本"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"choose","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"cvSelector","label":"目标选择","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"文本保存到","key":"var_name","suggestedName":"元素文本值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"文本保存到","defaultValue":"元素文本值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_GetAttribute_v1","name":"获取网页元素属性","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。","messageTemplate":"获取指定元素 $1 的属性, 然后把结果保存到 $0","baseType":"Element_GetAttribute","functionName":"Element.GetAttribute_v1","functionCalls":[{"function":"Element.GetAttribute_v1","args":["uiSelector","browser_type","attrName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["属性","获取属性","元素属性","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"拾取或选择网页元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素属性值","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素属性值","valueTypes":[]}]},"slots":[]},{"id":"Element_SetCheck","name":"设置勾选框状态","kind":"vendor","group":"web","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"设置指定勾选框元素是否被勾选(某些单选框或复选框不是标准的标签元素,需要模拟鼠标进行点击操作)。","messageTemplate":"设置指定元素 $0 的勾选","baseType":"Element_SetCheck","functionName":"Element.SetCheck","functionCalls":[{"function":"Element.SetCheck","args":["uiSelector","isChecked"],"assignTo":""}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","设置勾选项","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isChecked","label":"是否勾选","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetValueGround","name":"获取元素文本","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"获取指定目标元素的文本内容,并输出到指定变量。","messageTemplate":"获取目标元素 $1 的文本内容, 然后把结果保存到 $0","baseType":"Element_GetValueGround","functionName":"Element.GetValueGround","functionCalls":[{"function":"Element.GetValueGround","args":["uiSelector","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素文本值","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素文本值","valueTypes":[]}]},"slots":[]},{"id":"Element_SetAttribute_v1","name":"设置网页元素属性","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"设置指定元素的属性,并且设置保存属性的变量名称和值(仅对浏览器网页元素有效)。","messageTemplate":"设置指定元素 $0 的属性","baseType":"Element_SetAttribute","functionName":"Element.SetAttribute_v1","functionCalls":[{"function":"Element.SetAttribute_v1","args":["uiSelector","browser_type","attrName","attrValue"],"assignTo":""}],"version":"3.3.5.0","tags":["属性","设置属性","元素属性","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或者选择网页元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"","advanced":false,"valueTypes":[]},{"key":"attrValue","label":"属性值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请设置网页元素的属性值","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetSelect","name":"获取下拉框选项值","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取指定下拉列表元素的选择项,并将选择的值保存到指定变量。","messageTemplate":"获取指定下拉框 $1 的选项值, 然后把结果保存到 $0","baseType":"Element_GetSelect","functionName":"Element.GetSelect","functionCalls":[{"function":"Element.GetSelect","args":["uiSelector","choose"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["选项","选择项","获取选择值","下拉列表","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Element_Click_V1","name":"元素点击","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"点击指定元素(模拟鼠标点击)。","messageTemplate":"模拟鼠标,点击指定元素 $0","baseType":"Element_Click","functionName":"Element.Click_V1","functionCalls":[{"function":"Element.Click_V1","args":["uiSelector","operation","clickway","clickfunc","AI_backup"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickway","label":"鼠标点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"AI_backup","label":"开启AI修复","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_MouseTo_V2","name":"鼠标移动到元素上","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"鼠标移动到元素上。","messageTemplate":"将鼠标移动到指定元素 $0 上","baseType":"Element_MouseTo","functionName":"Element.MouseTo_V2","functionCalls":[{"function":"Element.MouseTo_V2","args":["uiSelector","browser_type","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择目标元素","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Region2","name":"获取元素坐标","kind":"vendor","group":"web","categories":["get_soft_data","get_web_data"],"categorySignature":"get_soft_data|get_web_data","description":"获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。","messageTemplate":"获取指定元素 $1 的区域坐标, 然后把结果保存到 $0","baseType":"Element_Region","functionName":"Element.Region2","functionCalls":[{"function":"Element.Region2","args":["uiSelector","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["位置","区域位置","坐标","模块坐标","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"position","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素坐标值","valueTypes":["rpa_dict_region"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素坐标值","valueTypes":["rpa_dict_region"]}]},"slots":[]},{"id":"Element_SetValuePassword_V6","name":"输入密码","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"在指定的密码框中输入密码。","messageTemplate":"在目标密码框 $1 中输入密码 $3, 然后把结果保存到 $0","baseType":"Element_SetValuePassword","functionName":"Element.SetValuePassword_V6","functionCalls":[{"function":"Element.SetValuePassword_V6","args":["uiSelector","designated_info","designated_obj","text","input_type","isEnter","operation","input_method","interval","click_data","delaybeforEnter","verifying_input","focus_timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入","密码","录入","键入","输入进","填写"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"text","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"输入密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"input_method","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPositionV2","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"500","placeholder":"","description":"勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。","advanced":true,"valueTypes":["rpa_int"]},{"key":"verifying_input","label":"校验输入内容","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果","advanced":true,"valueTypes":[]},{"key":"focus_timeout","label":"焦点等待时间(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"100","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"校验结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"校验结果","valueTypes":[]}]},"slots":[]},{"id":"Element_GetText_V1","name":"获取区域文字","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"采用智能拾取方式,获取选定区域的文字内容,并保存输出。","messageTemplate":"在目标截图范围内进行截图,在目标元素 $1 进行获取文本, 然后把结果保存到 $0","baseType":"Element_GetText","functionName":"Element.GetText_V1","functionCalls":[{"function":"Element.GetText_V1","args":["uiSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Element_GetText","name":"获取界面元素文本","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。","messageTemplate":"{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $3 '}, 然后把结果保存到 $0","baseType":"Element_GetText","functionName":"Element.GetText","functionCalls":[{"function":"Element.GetText","args":["choose","uiSelector","cvSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本","元素","获取区域文字","获取元素文本"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"choose","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"cvSelector","label":"目标选择","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"文本保存到","key":"var_name","suggestedName":"元素文本值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"文本保存到","defaultValue":"元素文本值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_GetElementNew","name":"获取元素对象","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。","messageTemplate":"通过 $1 方式定位 $3$2 中的元素, 然后把结果保存到 $0","baseType":"Element_GetElement","functionName":"Element.GetElementNew","functionCalls":[{"function":"Element.GetElementNew","args":["element_position","web","default","cssSelector","xpath","verify","relate_parent","parent_selector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取元素对象","保存元素","捕获元素","拾取元素","xp","xpath","css"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"元素定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"通过元素拾取,CSS,XPath等方式定位网页中的元素","advanced":false,"valueTypes":[]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入或选择目标浏览器变量","description":"输入或选择目标浏览器变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"default","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"通过元素拾取定位元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"verify","label":"verify","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"relate_parent","label":"关联父元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否关联父级元素,若勾选则在父级元素范围内查找目标操作元素。","advanced":false,"valueTypes":[]},{"key":"parent_selector","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"元素对象","valueTypes":["rpa_element"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"元素对象","valueTypes":["rpa_element"]}]},"slots":[]},{"id":"Element_GetSelectGround","name":"获取下拉框选项值","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"获取指定下拉元素的所有选择项,并将选择的值保存到指定变量。","messageTemplate":"获取目标元素 $1 的选择, 然后把结果保存到 $0","baseType":"Element_GetSelectGround","functionName":"Element.GetSelectGround","functionCalls":[{"function":"Element.GetSelectGround","args":["uiSelector","choose","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["选项","选择项","获取选择值","下拉列表"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"下拉框选项值","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"下拉框选项值","valueTypes":[]}]},"slots":[]},{"id":"Element_Shot_V1","name":"元素截图","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对指定元素进行截图,然后保存图片。","messageTemplate":"对指定元素 $1 进行截图, 然后把结果保存到 $0","baseType":"Element_Shot","functionName":"Element.Shot_V1","functionCalls":[{"function":"Element.Shot_V1","args":["uiSelector","browser_type","filePath","filename"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截图","目标截图","元素截图","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择进行截图的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"filePath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择文件夹路径","description":"输入或选择截图保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"截图_${randomString}.png","placeholder":"请输入截图名称,为空则随机生成","description":"输入截图的名称,当名称为空时将随机生成一个名称。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"截图保存路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"截图保存路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_SelectOperation","name":"下拉框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。","messageTemplate":"{$$2 == 1 && '设置下拉框'}{$$2 == 2 && '获取下拉框'} $1 {$$2 == 1 && '$5'}{$$2 == 1 && $$3 == 0 && '并选择第 $4 个选项'}{$$2 == 1 && $$3 != 0 && '并选择内容为 $4 的选项'}{$$2 == 2 && ',然后把结果保存到 $0'}","baseType":"Element_SelectOperation","functionName":"Element.SelectOperation","functionCalls":[{"function":"Element.SelectOperation","args":["uiSelector","operation_type","choose","itemsToSelect","ret_type","ret_choose"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["设置选择项","选择项","下拉列表","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标下拉框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标下拉框元素","description":"拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"按选项内容:根据选项的文本内容进行匹配选择,可以填写完整的选项值,关键字模糊匹配;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项中对应的下拉框选项的Value值进行关键字模糊匹配","advanced":false,"valueTypes":[]},{"key":"itemsToSelect","label":"选项值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入要匹配的内容","description":"选项值关键字为数组格式,每个关键词写在 \"\" 中,当有多个关键字时,以英文逗号分隔。如[\"杭州\"]或[\"上海\",\"北京\"]","advanced":false,"valueTypes":["rpa_list"]},{"key":"ret_type","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值","advanced":false,"valueTypes":[]},{"key":"ret_choose","label":"获取内容","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号","advanced":false,"valueTypes":[]}],"output":{"label":"保存获取内容","key":"var_name","suggestedName":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"],"fields":[{"key":"var_name","label":"保存获取内容","defaultValue":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"]}]},"slots":[]},{"id":"Element_GetCheck","name":"获取勾选框状态值","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取指定勾选框元素的勾选状态,然后把勾选状态保存到指定变量,若勾选则保存为True,未勾选则保存为False。","messageTemplate":"获取 $1 的勾选状态, 然后把结果保存到 $0","baseType":"Element_GetCheck","functionName":"Element.GetCheck","functionCalls":[{"function":"Element.GetCheck","args":["uiSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","获取勾选值","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Element_MouseToGround","name":"鼠标移动到元素上","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"鼠标定位至元素上。","messageTemplate":"将鼠标定位至目标元素 $0 上","baseType":"Element_MouseToGround","functionName":"Element.MouseToGround","functionCalls":[{"function":"Element.MouseToGround","args":["uiSelector","web"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetAttribute","name":"设置网页元素属性","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"设置指定元素的属性,并且设置保存属性的变量名称和值(仅对浏览器网页元素有效)。","messageTemplate":"设置指定元素 $0 的属性","baseType":"Element_SetAttribute","functionName":"Element.SetAttribute","functionCalls":[{"function":"Element.SetAttribute","args":["uiSelector","attrName","attrValue"],"assignTo":""}],"version":"3.3.5.0","tags":["属性","设置属性","元素属性","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"拾取或选择网页元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":false,"valueTypes":["rpa_str"]},{"key":"attrValue","label":"属性值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请设置网页元素的属性值","description":"设置网页元素的属性值","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetButtonEnable_v2","name":"判断元素是否可点击","kind":"vendor","group":"web","categories":["web_element_operation","judgment","soft_element_operation"],"categorySignature":"web_element_operation|judgment|soft_element_operation","description":"判断指定元素是否可点击,可点击则返回True,否则返回False。","messageTemplate":"判断指定元素 $1 是否可点击, 然后把结果保存到 $0","baseType":"Element_GetButtonEnable","functionName":"Element.GetButtonEnable_v2","functionCalls":[{"function":"Element.GetButtonEnable_v2","args":["uiSelector","browser_type","identify_hidden_element"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","判断","点击"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或选择元素","description":"输入目标变量或选择界面元素作为输入","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"identify_hidden_element","label":"识别隐藏元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选时,如果隐藏元素的结构存在则返回true,否则返回false;未勾选时,只有在元素结构和图像均存在的情况下才返回true,否则返回false。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_GetElementInfo","name":"获取元素信息","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"获取指定元素的文本内容、属性值、元素位置、链接地址、代码等信息并输出。","messageTemplate":"根据指定界面元素 $1,$4, 然后把结果保存到 $0","baseType":"Element_GetElementInfo","functionName":"Element.GetElementInfo","functionCalls":[{"function":"Element.GetElementInfo","args":["uiSelector","designated_info","designated_obj","action","attr_complate","attr_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","获取","信息","获取元素信息"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"拾取或选择需要获取信息的目标元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"action","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"gettext","placeholder":"","description":"选择需要获取元素的信息类型","advanced":false,"valueTypes":[]},{"key":"attr_complate","label":"自动补充完整地址","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。","advanced":false,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入元素属性名","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"获取信息保存至","key":"var_name","suggestedName":"元素信息","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"获取信息保存至","defaultValue":"元素信息","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_SetValueGround","name":"文本输入","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"设置指定元素的文本内容,并支持 Chrome浏览器最小化运行。","messageTemplate":"设置指定元素 $0 的文本内容为 $1","baseType":"Element_SetValueGround","functionName":"Element.SetValueGround","functionCalls":[{"function":"Element.SetValueGround","args":["uiSelector","value","input","operation","web"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"写入文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input","label":"追加输入","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetAttributeGround","name":"设置网页元素属性","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"设置指定元素的属性,赋值给属性名称和属性值(仅对浏览器网页元素有效)。","messageTemplate":"设置目标元素 $0 的属性","baseType":"Element_SetAttributeGround","functionName":"Element.SetAttributeGround","functionCalls":[{"function":"Element.SetAttributeGround","args":["uiSelector","attrName","attrValue","web"],"assignTo":""}],"version":"3.3.5.0","tags":["属性","设置属性","元素属性"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attrValue","label":"属性值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Region2_v1","name":"获取元素坐标","kind":"vendor","group":"web","categories":["get_soft_data","get_web_data"],"categorySignature":"get_soft_data|get_web_data","description":"获取指定元素的区域位置,返回包含元素所在位置的矩形坐标信息。","messageTemplate":"获取指定元素 $1 的区域坐标, 然后把结果保存到 $0","baseType":"Element_Region","functionName":"Element.Region2_v1","functionCalls":[{"function":"Element.Region2_v1","args":["uiSelector","browser_type","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["位置","区域位置","坐标","模块坐标","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"position","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素坐标值","valueTypes":["rpa_dict_region"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素坐标值","valueTypes":["rpa_dict_region"]}]},"slots":[]},{"id":"Element_DoubleClickSap","name":"双击SAP表格单元格","kind":"vendor","group":"web","categories":["SAP"],"categorySignature":"SAP","description":"双击SAP表格单元格。","messageTemplate":"双击目标元素 $0 ","baseType":"Element_DoubleClickSap","functionName":"Element.DoubleClickSap","functionCalls":[{"function":"Element.DoubleClickSap","args":["uiSelector","rowNo","columnNo"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"rowNo","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"columnNo","label":"列号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_ChildrenGround","name":"获取子元素","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"获取设定元素下的所有子元素,以数组形式输出。","messageTemplate":"获取目标元素 $1 下的所有子元素, 然后把结果保存到 $0","baseType":"Element_ChildrenGround","functionName":"Element.ChildrenGround","functionCalls":[{"function":"Element.ChildrenGround","args":["uiSelector","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"请选择目标元素的子元素范围。","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"子元素列表","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"子元素列表","valueTypes":[]}]},"slots":[]},{"id":"Element_GetElementV1","name":"获取元素对象","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。","messageTemplate":"通过 $1 方式定位 {$$1 == 'default' && '$2'} {$$1 != 'default' && '$4'} 中的元素, 然后把结果保存到 $0","baseType":"Element_GetElement","functionName":"Element.GetElementV1","functionCalls":[{"function":"Element.GetElementV1","args":["element_position","default","designated_info","designated_obj","cssSelector","xpath","verify","relate_parent","parent_selector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取元素对象","保存元素","捕获元素","拾取元素","xp","xpath","css","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"元素定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"通过元素拾取,CSS,XPath等方式定位网页中的元素","advanced":false,"valueTypes":[]},{"key":"default","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"通过元素拾取定位元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"verify","label":"verify","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"relate_parent","label":"关联父元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否关联父级元素,若勾选则在父级元素范围内查找目标操作元素。","advanced":false,"valueTypes":[]},{"key":"parent_selector","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"元素对象","valueTypes":["rpa_element"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"元素对象","valueTypes":["rpa_element"]}]},"slots":[]},{"id":"Element_ExistsV1","name":"判断元素存在","kind":"vendor","group":"web","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"判断指定元素是否存在,是则返回Ture,否则返回False。","messageTemplate":"判断指定元素 $1 是否存在, 然后把结果保存到 $0","baseType":"Element_Exists","functionName":"Element.ExistsV1","functionCalls":[{"function":"Element.ExistsV1","args":["uiSelector","browser_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素存在","存在","判断元素存在","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Element_SetValue_V4","name":"输入文本","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。","messageTemplate":"输入文本 $3 到指定输入框 $1{$$9 == 1 && ',然后把结果保存到 $0'}","baseType":"Element_SetValue","functionName":"Element.SetValue_V4","functionCalls":[{"function":"Element.SetValue_V4","args":["uiSelector","browser_type","text","input_type","isEnter","operation","input_method","delaybeforEnter","verifying_input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"text","label":"输入内容","widget":"textarea","type":"string","displayType":"textArea","required":true,"defaultValue":"","placeholder":"请输入内容","description":"","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"input_method","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。","advanced":true,"valueTypes":[]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"500","placeholder":"","description":"勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。","advanced":true,"valueTypes":["rpa_int"]},{"key":"verifying_input","label":"校验输入内容","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果","advanced":true,"valueTypes":[]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"校验结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"校验结果","valueTypes":[]}]},"slots":[]},{"id":"Element_ScrollIntoView","name":"滚动页面","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"将页面滚动到指定元素位置。","messageTemplate":"将页面滚动至元素 $0 所在位置","baseType":"Element_ScrollIntoView","functionName":"Element.ScrollIntoView","functionCalls":[{"function":"Element.ScrollIntoView","args":["uiSelector"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择需将页面滚动至哪个元素","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Shot_V2","name":"元素截图","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对指定元素进行截图,然后保存图片。","messageTemplate":"对指定元素 $1 进行截图, 然后把结果保存到 $0","baseType":"Element_Shot","functionName":"Element.Shot_V2","functionCalls":[{"function":"Element.Shot_V2","args":["uiSelector","designated_info","designated_obj","filePath","filename","isUseVerifyCode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截图","目标截图","元素截图","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择进行截图的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"filePath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择文件夹路径","description":"输入或选择截图保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"截图_${randomString}.png","placeholder":"请输入截图名称,为空则随机生成","description":"输入截图的名称,当名称为空时将随机生成一个名称。","advanced":false,"valueTypes":["rpa_str"]},{"key":"isUseVerifyCode","label":"仅截取屏幕范围内","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"取消勾选后,将同时截取元素在当前屏幕范围外的部分","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"截图保存路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"截图保存路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_CheckBoxOperation_v1","name":"勾选框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。","messageTemplate":"{$$3 == 1 && '设置勾选框'}{$$3 == 2 && '获取勾选框'} $1 {$$3 == 1 && '并将其 $4'}, 然后把结果保存到 $0","baseType":"Element_CheckBoxOperation","functionName":"Element.CheckBoxOperation_v1","functionCalls":[{"function":"Element.CheckBoxOperation_v1","args":["uiSelector","browser_type","operation_type","isChecked"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","设置勾选项","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标勾选框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标勾选框元素","description":"拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"operation_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isChecked","label":"勾选框状态","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态","advanced":false,"valueTypes":[]}],"output":{"label":"状态保存到","key":"var_name","suggestedName":"勾选框状态结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"状态保存到","defaultValue":"勾选框状态结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_GetPieChartData","name":"获取饼状图数据","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"通过模拟滑动获取网页中饼状图数据。","messageTemplate":"模拟鼠标在 $1 滑过来获取数据, 然后把结果保存到 $0","baseType":"Element_GetPieChartData","functionName":"Element.GetPieChartData","functionCalls":[{"function":"Element.GetPieChartData","args":["uiSelector","designated_info","designated_obj","radius_ratio","remove_whitespace","chart_top","h_offset","v_offset","move_speed"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["饼图"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标图表元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"radius_ratio","label":"半径比","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0.5","placeholder":"","description":"鼠标以画布宽度/高度作为标注,在画布上画圈圈,范围0-1","advanced":false,"valueTypes":["rpa_float","rpa_int"]},{"key":"remove_whitespace","label":"去除空白符","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"输出结果中去除所有空白符和换行符","advanced":false,"valueTypes":[]},{"key":"chart_top","label":"图表元素置顶","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"若数据元素挡住了图表元素,勾选则可以解决","advanced":false,"valueTypes":[]},{"key":"h_offset","label":"圆心横向偏移","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"可通过偏移量设置左右偏移范围,输入-1到1,-1向左偏移,1向右偏移","advanced":true,"valueTypes":["rpa_int","rpa_float"]},{"key":"v_offset","label":"圆心纵向偏移","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"可通过偏移量设置上下/左右移动范围,输入-1到1,-1向上/左偏移,1向下/右偏移","advanced":true,"valueTypes":["rpa_int","rpa_float"]},{"key":"move_speed","label":"移动方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"保存数据列表至","key":"var_name","suggestedName":"图表数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"保存数据列表至","defaultValue":"图表数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Element_SetValue_V6","name":"输入文本","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。","messageTemplate":"输入文本 $3 到指定输入框 $1, 然后把结果保存到 $0","baseType":"Element_SetValue","functionName":"Element.SetValue_V6","functionCalls":[{"function":"Element.SetValue_V6","args":["uiSelector","designated_info","designated_obj","text","input_type","isEnter","operation","input_method","interval","click_data","delaybeforEnter","verifying_input","focus_timeout","force_switch_eng"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入","录入","键入","输入进","填写","文本","文字","字符"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"text","label":"输入内容","widget":"textarea","type":"string","displayType":"textArea","required":true,"defaultValue":"","placeholder":"请输入内容","description":"","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"input_method","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。","advanced":true,"valueTypes":[]},{"key":"force_switch_eng","label":"强制加载美式键盘(ENG)","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"存在需要指定强制加载美式键盘(ENG),确保模拟输入不受中文输入法影响","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPositionV2","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"500","placeholder":"","description":"勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。","advanced":true,"valueTypes":["rpa_int"]},{"key":"verifying_input","label":"校验输入内容","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果","advanced":true,"valueTypes":[]},{"key":"focus_timeout","label":"焦点等待时间(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"100","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"校验结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"校验结果","valueTypes":[]}]},"slots":[]},{"id":"Element_GetButtonEnable_v3","name":"判断元素是否可点击","kind":"vendor","group":"web","categories":["web_element_operation","judgment","soft_element_operation"],"categorySignature":"web_element_operation|judgment|soft_element_operation","description":"判断指定元素是否可点击,可点击则返回True,否则返回False。","messageTemplate":"判断指定元素 $1 是否可点击, 然后把结果保存到 $0","baseType":"Element_GetButtonEnable","functionName":"Element.GetButtonEnable_v3","functionCalls":[{"function":"Element.GetButtonEnable_v3","args":["uiSelector","designated_info","designated_obj","identify_hidden_element"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","判断","点击"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或选择元素","description":"输入目标变量或选择界面元素作为输入","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"identify_hidden_element","label":"识别隐藏元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选时,如果隐藏元素的结构存在则返回true,否则返回false;未勾选时,只有在元素结构和图像均存在的情况下才返回true,否则返回false。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_GetAttributeGround","name":"获取网页元素属性","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"获取指定元素的属性值,赋值给指定变量(仅对浏览器网页元素有效)。","messageTemplate":"获取目标元素 $1 的属性, 然后把结果保存到 $0","baseType":"Element_GetAttributeGround","functionName":"Element.GetAttributeGround","functionCalls":[{"function":"Element.GetAttributeGround","args":["uiSelector","attrName","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["属性","获取属性","元素属性"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素属性值","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素属性值","valueTypes":[]}]},"slots":[]},{"id":"Element_ExistsGround","name":"元素判断","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"判断设定元素是否存在,存在则返回True,否则返回False。","messageTemplate":"判断目标元素 $1 是否存在, 然后把结果保存到 $0","baseType":"Element_ExistsGround","functionName":"Element.ExistsGround","functionCalls":[{"function":"Element.ExistsGround","args":["uiSelector","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素存在","存在","判断元素存在"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":[]}]},"slots":[]},{"id":"Element_SetValuePassword_V5","name":"输入密码","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"在指定的密码框中输入密码。","messageTemplate":"在目标密码框 $1 中输入密码 $3{$$10 == 1 && ',然后把结果保存到 $0'}","baseType":"Element_SetValuePassword","functionName":"Element.SetValuePassword_V5","functionCalls":[{"function":"Element.SetValuePassword_V5","args":["uiSelector","browser_type","text","input_type","isEnter","operation","input_method","interval","delaybeforEnter","verifying_input","focus_timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入","密码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"text","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"输入密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"input_method","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"500","placeholder":"","description":"勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。","advanced":true,"valueTypes":["rpa_int"]},{"key":"verifying_input","label":"校验输入内容","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"开启后,会在输入完成时验证最终输入结果是否正确,并返回验证结果","advanced":true,"valueTypes":[]},{"key":"focus_timeout","label":"焦点等待时间(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"100","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"校验结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"校验结果","valueTypes":[]}]},"slots":[]},{"id":"Element_Sibling","name":"获取兄弟元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的兄弟元素(可选获取上一个兄弟元素或下一个兄弟元素)。","messageTemplate":"获取 $1 元素的 {$$4 == 0 && '$2'} {$$4 == 1 && '$5'}, 然后把结果保存到 $0","baseType":"Element_Sibling","functionName":"Element.Sibling","functionCalls":[{"function":"Element.Sibling","args":["uiSelector","position","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择目标元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"position","label":"兄弟元素位置","widget":"select","type":"string","displayType":"defeasibleDropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"相对于目标元素的位置。","advanced":false,"valueTypes":[]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"兄弟元素列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"兄弟元素列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Element_MouseTo_V1","name":"鼠标移动到元素上","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"鼠标移动到元素上。","messageTemplate":"将鼠标移动到指定元素 $0 上","baseType":"Element_MouseTo","functionName":"Element.MouseTo_V1","functionCalls":[{"function":"Element.MouseTo_V1","args":["uiSelector"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择目标元素","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetTableData","name":"获取SAP表格数据","kind":"vendor","group":"web","categories":["SAP"],"categorySignature":"SAP","description":"获取SAP系统的表格元素的数据,根据设置的范围,以二维数组的形式保存输出到变量。 注:使用该组件需要先关闭SAP软件中的SAP脚本通知弹框选项。","messageTemplate":"获取指定元素 $1 表格内的数据, 然后把结果保存到 $0","baseType":"Element_GetTableData","functionName":"Element.GetTableData","functionCalls":[{"function":"Element.GetTableData","args":["uiSelector","tabelRange","rowNo","columnNo","operation"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"tabelRange","label":"范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"请选择目标元素的范围","advanced":false,"valueTypes":[]},{"key":"rowNo","label":"行号","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"columnNo","label":"列号","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"是否获取表头","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"SAP表格数据","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"SAP表格数据","valueTypes":[]}]},"slots":[]},{"id":"Element_SelectOperation_v3","name":"下拉框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定下拉框进行操作,获取并保存选项值或直接选择并设置下拉框。","messageTemplate":"{$$4 == 1 && '设置下拉框'}{$$4 == 2 && '获取下拉框'} $1 {$$4 == 1 && '$10'}{$$4 == 1 && $$5 == 0 && '并选择第 $7 个选项'}{$$4 == 1 && $$5 == 1 && '并选择内容为 $6 的选项'}{$$4 == 1 && $$5 == 2 && '并按选项值为 $7 的选项'}{$$4 == 1 && ''}{$$4 == 2 && ',然后把结果保存到 $0'}","baseType":"Element_SetSelect","functionName":"Element.SelectOperation_v3","functionCalls":[{"function":"Element.SelectOperation_v3","args":["uiSelector","designated_info","designated_obj","operation_type","choose","select_value_str","select_value_list","match_type","ret_type","ret_choose","get_all_selected"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["设置选择项","选择项","下拉列表","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标下拉框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标下拉框元素","description":"拾取或选择下拉框元素(仅支持HTML原生下拉框和win32下拉框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"operation_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"按选项内容:根据选项的文本内容进行精准、模糊或正则匹配;按选项顺序:根据选项在下拉框从上到下的顺序选择(索引),可填入数值或变量,顺序不能为0;按选项值:根据选项的Value值进行精准匹配","advanced":false,"valueTypes":[]},{"key":"select_value_str","label":"选项值","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入要匹配的内容","description":"文本模式下输入值即可,如值1;代码模式下输入文本类型的值即可,如 \"值1\";若需多选,可在代码模式下输入字符串列表进行匹配,如[\"值1\",\"值2\"]","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"select_value_list","label":"选项值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"请输入要匹配的内容","description":"输入文本类型的值即可,如:[\"值1\"]。","advanced":false,"valueTypes":["rpa_list"]},{"key":"match_type","label":"匹配模式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选项值的匹配方式。","advanced":false,"valueTypes":[]},{"key":"ret_type","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"全部下拉选项:获取全部下拉框的选项值并保存;当前选中项:仅获取当前已选中的项,如当前未选中,则获取空值","advanced":false,"valueTypes":[]},{"key":"ret_choose","label":"获取内容","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"选项内容:获取目标选项的文本内容;顺序位置:获取目标选项的顺序位置序号","advanced":false,"valueTypes":[]},{"key":"get_all_selected","label":"获取多个选中项","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,如果下拉框有多个选中项,返回选中项的列表;不选择,返回第一个选中项","advanced":false,"valueTypes":[]}],"output":{"label":"保存获取内容","key":"var_name","suggestedName":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"],"fields":[{"key":"var_name","label":"保存获取内容","defaultValue":"下拉框选项值","valueTypes":["rpa_list","rpa_str","rpa_int"]}]},"slots":[]},{"id":"Element_Click_V3","name":"点击界面元素","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。","messageTemplate":"模拟鼠标 $2 $3 界面的 $0","baseType":"Element_Click","functionName":"Element.Click_V3","functionCalls":[{"function":"Element.Click_V3","args":["uiSelector","browser_type","clickway","clickfunc","operation","click_data","is_verify"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"clickway","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPosition","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"is_verify","label":"校验运行结果","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"1","placeholder":"","description":"开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetElementV2","name":"获取元素对象","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。","messageTemplate":"通过 $1 方式定位 {$$1 == 'default' && '$2'} {$$1 != 'default' && '$4'} 中的元素, 然后把结果保存到 $0","baseType":"Element_GetElement","functionName":"Element.GetElementV2","functionCalls":[{"function":"Element.GetElementV2","args":["element_position","default","designated_info","designated_obj","cssSelector","xpath","verify","relate_parent","parent_selector","relate_mode","relate_element_parent","relate_element_iframe"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取元素对象","保存元素","捕获元素","拾取元素","xp","xpath","css"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"元素定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"通过元素拾取,CSS,XPath等方式定位网页中的元素","advanced":false,"valueTypes":[]},{"key":"default","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"通过元素拾取定位元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"verify","label":"verify","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"relate_parent","label":"关联父元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否关联父级元素,若勾选则在父级元素范围内查找目标操作元素。","advanced":false,"valueTypes":[]},{"key":"parent_selector","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"relate_mode","label":"关联元素","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"relate_element_parent","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"在父级元素范围内查找目标操作元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"relate_element_iframe","label":"同iframe元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"在关联元素所在的iframe内查找目标操作元素。","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"元素对象","valueTypes":["rpa_element"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"元素对象","valueTypes":["rpa_element"]}]},"slots":[]},{"id":"Element_ScrollIntoViewGround","name":"滚动页面","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"将页面滚动到指定元素位置。","messageTemplate":"将页面滚动至元素 $0 所在位置","baseType":"Element_ScrollIntoViewGround","functionName":"Element.ScrollIntoViewGround","functionCalls":[{"function":"Element.ScrollIntoViewGround","args":["uiSelector","web"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_StartAutoClosePopup","name":"启动智能弹窗侦测","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"在网页操作时启动智能弹窗侦测,实时屏蔽遮挡待操作元素的弹窗。","messageTemplate":"开启全程智能侦测并屏蔽弹窗。","baseType":"Element_StartAutoClosePopup","functionName":"Element.StartAutoClosePopup","functionCalls":[{"function":"Element.StartAutoClosePopup","args":[],"assignTo":""}],"version":"3.3.5.0","tags":["弹窗监测","检测弹窗","开启弹窗检测","开启弹窗侦测","启动","开启","运行","打开","启用"],"platformTag":null,"icon":"web","risk":"high","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SimilarElementList_V2","name":"获取相似元素列表","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"获取指定元素的相似元素列表并保存为变量,支持拾取、CSS、XPath等元素定位方式。","messageTemplate":"通过 $2 方式定位获取 $3 $5 $6 的相似元素,然后把结果保存到 $0","baseType":"Element_SimilarElementList","functionName":"Element.SimilarElementList_V2","functionCalls":[{"function":"Element.SimilarElementList_V2","args":["element_position","uiSelector","designated_info","designated_obj","web","cssSelector","xpath","relate_parent","parent_selector","action","attr_complate","attr_name","reverse","start_index","end_index"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["相似元素","拾取元素","捕获元素","保存元素","xpath","css","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择相似元素。","description":"拾取或选择相似元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择网页对象","description":"输入或选择目标浏览器变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入CSS选择器","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":["rpa_str"]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入XPath选择器","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":["rpa_str"]},{"key":"relate_parent","label":"关联父元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否在特定父元素下获取相似元素。获取win32相似元素,该属性将不生效。","advanced":false,"valueTypes":[]},{"key":"parent_selector","label":"父元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"action","label":"元素操作","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"selector","placeholder":"","description":"获取元素值,将获取元素value属性值,若没有该属性则返回None。获取元素链接地址,将获取元素href或src属性值,若没有该属性则返回None。","advanced":false,"valueTypes":[]},{"key":"attr_complate","label":"自动补充完整地址","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。","advanced":false,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入元素属性名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"reverse","label":"获取方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"start_index","label":"开始获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"默认为1表示从第1项开始获取。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]},{"key":"end_index","label":"结束获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"-1","placeholder":"","description":"默认为-1表示将获取至倒数第1项。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"元素列表保存至","key":"var0","suggestedName":"相似元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var0","label":"元素列表保存至","defaultValue":"相似元素列表","valueTypes":["rpa_list_element_v1"]},{"key":"var1","label":"元素个数保存至","defaultValue":"元素个数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Element_CheckBoxOperation","name":"勾选框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。","messageTemplate":"{$$2 == 1 && '设置勾选框'}{$$2 == 2 && '获取勾选框'} $1 {$$2 == 1 && '并将其 $3'}, 然后把结果保存到 $0","baseType":"Element_CheckBoxOperation","functionName":"Element.CheckBoxOperation","functionCalls":[{"function":"Element.CheckBoxOperation","args":["uiSelector","operation_type","isChecked"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","设置勾选项","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标勾选框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标勾选框元素","description":"拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isChecked","label":"勾选框状态","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态","advanced":false,"valueTypes":[]}],"output":{"label":"状态保存到","key":"var_name","suggestedName":"勾选框状态结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"状态保存到","defaultValue":"勾选框状态结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_Sibling_V1","name":"获取兄弟元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的兄弟元素(可选获取上一个兄弟元素或下一个兄弟元素)。","messageTemplate":"获取 $1 元素的 {$$5 == 0 && '$3'} {$$5 == 1 && '$6'}, 然后把结果保存到 $0","baseType":"Element_Sibling","functionName":"Element.Sibling_V1","functionCalls":[{"function":"Element.Sibling_V1","args":["uiSelector","browser_type","position","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择目标元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"position","label":"兄弟元素位置","widget":"select","type":"string","displayType":"defeasibleDropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"相对于目标元素的位置。","advanced":false,"valueTypes":[]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"兄弟元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"兄弟元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Element_ScrollIntoView_v1","name":"滚动页面","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"将页面滚动到指定元素位置。","messageTemplate":"将页面滚动至元素 $0 所在位置","baseType":"Element_ScrollIntoView","functionName":"Element.ScrollIntoView_v1","functionCalls":[{"function":"Element.ScrollIntoView_v1","args":["uiSelector","browser_type"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择需将页面滚动至哪个元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetButtonEnable_v1","name":"判断元素是否可点击","kind":"vendor","group":"web","categories":["web_element_operation","judgment","soft_element_operation"],"categorySignature":"web_element_operation|judgment|soft_element_operation","description":"判断指定元素是否可点击,可点击则返回True,否则返回False。","messageTemplate":"判断指定元素 $1 是否可点击, 然后把结果保存到 $0","baseType":"Element_GetButtonEnable","functionName":"Element.GetButtonEnable_v1","functionCalls":[{"function":"Element.GetButtonEnable_v1","args":["uiSelector","browser_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","判断","点击"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或选择元素","description":"输入目标变量或选择界面元素作为输入","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_Parent_V2","name":"获取父元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的父元素(可选获取层级)。","messageTemplate":"获取 $1 元素 {$$6 == 0 && '第$4层的父元素'} {$$6 == 1 && '$7'}, 然后把结果保存到 $0","baseType":"Element_Parent","functionName":"Element.Parent_V2","functionCalls":[{"function":"Element.Parent_V2","args":["uiSelector","designated_info","designated_obj","level","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"拾取或选择目标子元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"level","label":"获取层级","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"相对于目标子元素第几层级的父元素,仅支持大于0的整数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"父元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"父元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Element_WaitElement_v3","name":"等待元素","kind":"vendor","group":"web","categories":["web_element_operation","waite","soft_element_operation"],"categorySignature":"web_element_operation|waite|soft_element_operation","description":"判断某个元素是否存在或者消失,根据结果来执行后续的流程。","messageTemplate":"等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElement","functionName":"Element.WaitElement_v3","functionCalls":[{"function":"Element.WaitElement_v3","args":["uiSelector","browser_type","choose","timeout","appear","disappear","time_gap"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"设置元素图像出现、元素结构出现为元素显示后结束,或元素完全消失后结束。","advanced":false,"valueTypes":[]},{"key":"timeout","label":"等待时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"","description":"设置等待元素的最大时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"appear","label":"元素未出现时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"disappear","label":"元素未消失时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"time_gap","label":"元素检测间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"设置等待过程中检测元素的时间间隔,建议1s 。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_WaitElement_v1","name":"等待元素","kind":"vendor","group":"web","categories":["waite","web_element_operation","soft_element_operation"],"categorySignature":"waite|web_element_operation|soft_element_operation","description":"判断某个元素是否存在或者消失,根据结果来执行后续的流程。","messageTemplate":"等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElement","functionName":"Element.WaitElement_v1","functionCalls":[{"function":"Element.WaitElement_v1","args":["uiSelector","browser_type","choose","timeout","time_gap"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或者选择元素","description":"输入目标变量或者选择元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"设置等待类型,元素图像出现和元素结构出现为元素显示后结束,元素完全消失为元素消失后结束","advanced":false,"valueTypes":[]},{"key":"timeout","label":"等待时间(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10000","placeholder":"请输入等待超时的时间(毫秒)","description":"设置等待元素的最大时间","advanced":false,"valueTypes":["rpa_int"]},{"key":"time_gap","label":"元素检测间隔(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"200","placeholder":"请输入每次检测的时间间隔(毫秒)","description":"设置等待过程中检测元素的时间间隔,建议200ms","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_Parent","name":"获取父元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的父元素(可选获取层级)。","messageTemplate":"获取 $1 元素 {$$4 == 0 && '第$2层的父元素'} {$$4 == 1 && '$5'}, 然后把结果保存到 $0","baseType":"Element_Parent","functionName":"Element.Parent","functionCalls":[{"function":"Element.Parent","args":["uiSelector","level","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择目标子元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"level","label":"获取层级","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"相对于目标子元素第几层级的父元素,仅支持大于0的整数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"父元素列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"父元素列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Element_SetSelectGround","name":"设置下拉框选择项","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"设置指定元素的选择项,包括选择方式,以及可选的值,可操作下拉列表等类型。","messageTemplate":"设置指定下拉框 $0 的选项","baseType":"Element_SetSelectGround","functionName":"Element.SetSelectGround","functionCalls":[{"function":"Element.SetSelectGround","args":["uiSelector","itemsToSelect","choose","web"],"assignTo":""}],"version":"3.3.5.0","tags":["设置选择项","选择项","下拉列表","元素"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"itemsToSelect","label":"包含元素","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"包含元素可以设置多个,以英文逗号隔开, 可以设置多个分组元素,在一个分组元素内用英文逗号隔开元素,格式为数组","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_ElementAarray","name":"获取相似元素数组","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取相似元素数组。","messageTemplate":"获取相似元素数组","baseType":"Element_ElementAarray","functionName":"Element.ElementAarray","functionCalls":[{"function":"Element.ElementAarray","args":["uiSelector","browser_type"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetButtonEnable_v4","name":"判断元素是否可点击","kind":"vendor","group":"web","categories":["web_element_operation","judgment","soft_element_operation"],"categorySignature":"web_element_operation|judgment|soft_element_operation","description":"判断指定元素是否可点击,可点击则返回True,否则返回False。","messageTemplate":"判断指定元素 $1 是否可点击, 然后把结果保存到 $0","baseType":"Element_GetButtonEnable","functionName":"Element.GetButtonEnable_v4","functionCalls":[{"function":"Element.GetButtonEnable_v4","args":["uiSelector","designated_info","designated_obj"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","判断","点击","判定","判别","判断出","识别"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请输入目标变量或选择元素","description":"输入目标变量或选择界面元素作为输入","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_Click_V6","name":"点击界面元素","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。","messageTemplate":"模拟鼠标 $3 $4 界面的 $0","baseType":"Element_Click","functionName":"Element.Click_V6","functionCalls":[{"function":"Element.Click_V6","args":["uiSelector","designated_info","designated_obj","clickway","clickfunc","operation","show_track","click_data","aided_key","is_verify"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"clickway","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPositionV2","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"aided_key","label":"辅助按键","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"is_verify","label":"校验运行结果","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"1","placeholder":"","description":"开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_WaitElement_v4","name":"等待元素","kind":"vendor","group":"web","categories":["web_element_operation","waite","soft_element_operation"],"categorySignature":"web_element_operation|waite|soft_element_operation","description":"判断某个元素是否存在或者消失,根据结果来执行后续的流程。","messageTemplate":"等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElement","functionName":"Element.WaitElement_v4","functionCalls":[{"function":"Element.WaitElement_v4","args":["uiSelector","browser_type","choose","time_out","appear","disappear","time_gap"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"设置元素图像出现、元素结构出现为元素显示后结束,或元素完全消失后结束。","advanced":false,"valueTypes":[]},{"key":"time_out","label":"等待时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"","description":"设置等待元素的最大时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"appear","label":"元素未出现时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"disappear","label":"元素未消失时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"time_gap","label":"元素检测间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"设置等待过程中检测元素的时间间隔,建议1s 。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_CheckBoxOperation_v3","name":"勾选框操作","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"对页面中的指定勾选框(复选框)进行操作,获取并保存状态 或 直接设置勾选状态。","messageTemplate":"{$$4 == 1 && '设置勾选框'}{$$4 == 0 && '设置勾选框'}{$$4 == 2 && '获取勾选框'} $1 {$$4 == 1 && '并将其 $4'}{$$4 == 0 && '并将其 $4'}, 然后把结果保存到 $0","baseType":"Element_SetCheck","functionName":"Element.CheckBoxOperation_v3","functionCalls":[{"function":"Element.CheckBoxOperation_v3","args":["uiSelector","designated_info","designated_obj","operation_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["勾选值","单选框","复选框","设置勾选项","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标勾选框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标勾选框元素","description":"拾取或选择勾选框元素(仅支持HTML原生勾选框和win32勾选框)","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"operation_type","label":"操作类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"设为勾选:将勾选框设置为勾选状态;取消勾选:将勾选框设置为未勾选状态;仅获取勾选框状态:读取勾选框状态","advanced":false,"valueTypes":[]}],"output":{"label":"状态保存到","key":"var_name","suggestedName":"勾选框状态结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"状态保存到","defaultValue":"勾选框状态结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_MouseTo_V4","name":"鼠标移动到元素上","kind":"vendor","group":"web","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"鼠标移动到元素上。","messageTemplate":"将鼠标移动到指定元素 $0 上","baseType":"Element_MouseTo","functionName":"Element.MouseTo_V4","functionCalls":[{"function":"Element.MouseTo_V4","args":["uiSelector","designated_info","designated_obj","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择目标元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetAttribute","name":"获取网页元素属性","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。","messageTemplate":"获取指定元素 $1 的属性, 然后把结果保存到 $0","baseType":"Element_GetAttribute","functionName":"Element.GetAttribute","functionCalls":[{"function":"Element.GetAttribute","args":["uiSelector","attrName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["属性","获取属性","元素属性","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"拾取或选择网页元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素属性值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素属性值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_GetElementInfo_V1","name":"获取元素信息","kind":"vendor","group":"web","categories":["web_element_operation","soft_element_operation"],"categorySignature":"web_element_operation|soft_element_operation","description":"获取指定元素的文本内容、属性值、元素位置、链接地址、代码等信息并输出。","messageTemplate":"根据指定界面元素 $1,$4, 然后把结果保存到 $0","baseType":"Element_GetElementInfo","functionName":"Element.GetElementInfo_V1","functionCalls":[{"function":"Element.GetElementInfo_V1","args":["uiSelector","designated_info","designated_obj","action","attr_complate","attr_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","获取","信息","获取元素信息","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"拾取或选择需要获取信息的目标元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"action","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"gettext","placeholder":"","description":"选择需要获取元素的信息类型","advanced":false,"valueTypes":[]},{"key":"attr_complate","label":"自动补充完整地址","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。","advanced":false,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入元素属性名","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"获取信息保存至","key":"var_name","suggestedName":"元素文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"获取信息保存至","defaultValue":"元素文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_ShotGround","name":"元素截图","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"截取指定目标元素的图像,保存到文件系统。","messageTemplate":"对目标元素 $1 进行截图返回图片绝对路径, 然后把结果保存到 $0","baseType":"Element_ShotGround","functionName":"Element.ShotGround","functionCalls":[{"function":"Element.ShotGround","args":["uiSelector","filePath","filename","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截图","目标截图","元素截图","截取"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"截图_${randomString}.png","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图片地址","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图片地址","valueTypes":[]}]},"slots":[]},{"id":"Element_GetText_V3","name":"获取界面元素文本","kind":"vendor","group":"web","categories":["webBrowser","interface_element"],"categorySignature":"webBrowser|interface_element","description":"获取选定元素(如链接、文本、按钮、截屏图片等)中包含的文本信息。","messageTemplate":"{$$1 == 0 && '获取指定界面元素 $2 '}{$$1 == 1 && '截取屏幕的以下区域 $4 '}, 然后把结果保存到 $0","baseType":"Element_GetText","functionName":"Element.GetText_V3","functionCalls":[{"function":"Element.GetText_V3","args":["choose","uiSelector","browser_type","cvSelector","attr_type","attr_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本内容","元素文本","获取文本","元素","获取区域文字","获取元素文本"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"choose","label":"获取类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"界面元素中的文本:选择界面中选择拾取的如按钮,文本,菜单等界面元素。截屏区域的文本:选取屏幕中任意一块包含文字的区域,如图片、屏幕截图等","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"cvSelector","label":"目标选择","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择需获取文本的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"attr_type","label":"文本信息类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"选择文本信息类型","advanced":true,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":true,"valueTypes":["rpa_str"]}],"output":{"label":"文本保存到","key":"var_name","suggestedName":"元素文本值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"文本保存到","defaultValue":"元素文本值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_WaitElement_v2","name":"等待元素","kind":"vendor","group":"web","categories":["waite","web_element_operation","soft_element_operation"],"categorySignature":"waite|web_element_operation|soft_element_operation","description":"判断某个元素是否存在或者消失,根据结果来执行后续的流程。","messageTemplate":"等待 $1 $3 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Element_WaitElement","functionName":"Element.WaitElement_v2","functionCalls":[{"function":"Element.WaitElement_v2","args":["uiSelector","browser_type","choose","timeout","appear","disappear","time_gap"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待元素","等待加载","判断元素存在"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"choose","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"设置元素图像出现、元素结构出现为元素显示后结束,或元素完全消失后结束。","advanced":false,"valueTypes":[]},{"key":"timeout","label":"等待时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"","description":"设置等待元素的最大时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"appear","label":"元素未出现时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"disappear","label":"元素未消失时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"time_gap","label":"元素检测间隔(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"200","placeholder":"","description":"设置等待过程中检测元素的时间间隔,建议200ms 。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Element_SetSelect","name":"设置下拉框选择项","kind":"vendor","group":"web","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"设置指定元素的选择项,包括选择方式,以及可选的值,可操作下拉列表等类型。","messageTemplate":"设置指定下拉框 $0 的选项","baseType":"Element_SetSelect","functionName":"Element.SetSelect","functionCalls":[{"function":"Element.SetSelect","args":["uiSelector","itemsToSelect","choose"],"assignTo":""}],"version":"3.3.5.0","tags":["设置选择项","选择项","下拉列表","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"itemsToSelect","label":"包含元素","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"包含元素可以设置多个,以英文逗号隔开, 可以设置多个分组元素,在一个分组元素内用英文逗号隔开元素,格式为数组","advanced":false,"valueTypes":[]},{"key":"choose","label":"选择方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_Click_V4","name":"点击界面元素","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。","messageTemplate":"模拟鼠标 $2 $3 界面的 $0","baseType":"Element_Click","functionName":"Element.Click_V4","functionCalls":[{"function":"Element.Click_V4","args":["uiSelector","browser_type","clickway","clickfunc","operation","show_track","click_data","is_verify"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"clickway","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPosition","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"is_verify","label":"校验运行结果","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"1","placeholder":"","description":"开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetValue","name":"文本输入","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"对指定元素(如输入框)进行文本输入。","messageTemplate":"将 $1 输入到指定元素 $0 中","baseType":"Element_SetValue","functionName":"Element.SetValue","functionCalls":[{"function":"Element.SetValue","args":["uiSelector","value","input","operation"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"selectUi","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"写入文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input","label":"追加输入","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetHtml","name":"获取网页元素源码","kind":"vendor","group":"web","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取网页元素源码。","messageTemplate":"获取网页元素源码","baseType":"Element_GetHtml","functionName":"Element.GetHtml","functionCalls":[{"function":"Element.GetHtml","args":["selector"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"selector","label":"目标","widget":"element","type":"object","displayType":"selectUi","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetElement","name":"获取元素对象","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"将网页界面元素获取并保存为变量,支持拾取,CSS,XPath等元素定位方式。","messageTemplate":"通过 $1 方式定位 $4$2 中的元素, 然后把结果保存到 $0","baseType":"Element_GetElement","functionName":"Element.GetElement","functionCalls":[{"function":"Element.GetElement","args":["element_position","web","browser_type","default","cssSelector","xpath","verify"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取元素对象","保存元素","捕获元素","拾取元素","xp","xpath","css"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"element_position","label":"元素定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"通过元素拾取,CSS,XPath等方式定位网页中的元素","advanced":false,"valueTypes":[]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入或选择目标浏览器变量","description":"输入或选择目标浏览器变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"default","label":"目标元素","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"通过元素拾取定位元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"cssSelector","label":"CSS选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过CSS选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择或输入变量/数字/表达式","description":"通过XPath选择器定位界面元素","advanced":false,"valueTypes":[]},{"key":"verify","label":"verify","widget":"element","type":"object","displayType":"newVerifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"元素对象","valueTypes":["rpa_element"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"元素对象","valueTypes":["rpa_element"]}]},"slots":[]},{"id":"Element_ClickGround","name":"元素点击","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"点击指定的目标元素,模拟鼠标点击。","messageTemplate":"点击目标元素 $0","baseType":"Element_ClickGround","functionName":"Element.ClickGround","functionCalls":[{"function":"Element.ClickGround","args":["uiSelector","operation","clickway","clickfunc","AI_backup","web"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickway","label":"鼠标点击","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"AI_backup","label":"开启AI修复","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_SetValuePassword_V1","name":"输入密码框","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"在指定的密码框中输入密码。","messageTemplate":"在目标密码框 $0 中输入密码 $2","baseType":"Element_SetValuePassword","functionName":"Element.SetValuePassword_V1","functionCalls":[{"function":"Element.SetValuePassword_V1","args":["uiSelector","browser_type","text","isEnter","operation","delaybeforEnter"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","密码","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择密码框元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"text","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"输入密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"在大部分登录场景中,输入完密码后,可以通过点击回车键触发立即登录操作,默认不勾选。","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"0","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetButtonEnableGround","name":"元素是否可点击","kind":"vendor","group":"web","categories":["interface_element"],"categorySignature":"interface_element","description":"判断指定目标元素是否可点击,可点击则返回True,否则返回False。","messageTemplate":"判断目标元素 $1 是否可点击, 然后把结果保存到 $0","baseType":"Element_GetButtonEnableGround","functionName":"Element.GetButtonEnableGround","functionCalls":[{"function":"Element.GetButtonEnableGround","args":["uiSelector","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"选择通过“启动新浏览器”组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":[]}]},"slots":[]},{"id":"Element_Click_V2","name":"点击界面元素","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"点击软件界面或浏览器中的按钮、图片、链接等界面元素,便于后续的其他自动化操作。","messageTemplate":"模拟鼠标 $1 $2 界面的 $0","baseType":"Element_Click","functionName":"Element.Click_V2","functionCalls":[{"function":"Element.Click_V2","args":["uiSelector","clickway","clickfunc","operation","click_data","is_verify"],"assignTo":""}],"version":"3.3.5.0","tags":["点击","目标点击","元素点击","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"clickway","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"clickfunc","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operation","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPosition","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"is_verify","label":"校验运行结果","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"1","placeholder":"","description":"开启校验,将智能校验点击动作的执行结果,发现组件运行中的异常和错误","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_ChildrenV1","name":"获取子元素","kind":"vendor","group":"web","categories":["web_element_operation"],"categorySignature":"web_element_operation","description":"获取指定目标元素的子元素(可选指定获取第几个)。","messageTemplate":"获取 $1 元素的{$$4 == 0 && '第$2个子元素'} {$$4 == 0 && '所有子元素'} {$$4 == 1 && '$5'}, 然后把结果保存到 $0","baseType":"Element_Children","functionName":"Element.ChildrenV1","functionCalls":[{"function":"Element.ChildrenV1","args":["uiSelector","num","validate","use","filter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"拾取或选择目标子元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"num","label":"获取第几个","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。","advanced":false,"valueTypes":["rpa_int"]},{"key":"validate","label":" ","widget":"element","type":"object","displayType":"verifyElement","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use","label":"使用高级选择器","widget":"boolean","type":"boolean","displayType":"introViewCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"子元素列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"子元素列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Element_FileUploader","name":"上传文件","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"自动点击上传按钮,然后在打开的本地文件管理器中选择文件或文件夹完成上传。","messageTemplate":"通过点击 $0 打开本地的文件管理器,选择 $3 $4 $5","baseType":"Element_FileUploader","functionName":"Element.FileUploader","functionCalls":[{"function":"Element.FileUploader","args":["uiSelector","designated_info","designated_obj","file_type","file_path","folder_path","upload_time","operation","input_method","interval","wait_dialog_time"],"assignTo":""}],"version":"3.3.5.0","tags":["文件夹","文件","文件上传","上传文件","上传","文档","文件档","档案","文件资料"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"file_type","label":"上传类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择上传文件或文件夹","advanced":false,"valueTypes":[]},{"key":"file_path","label":"文件路径","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"输入或选择文件路径","description":"待上传文件或文件夹的路径。可通过选择文件(夹)选择一个或多个文件(夹)。文本模式下:当需要上传多个文件(夹)时,文件路径用英文分号分隔,例如:文件1路径;文件2路径。python模式下:当需要上传多个文件(夹)时,输入文件路径列表,例如:[文件1路径, 文件2路径];或输入字符串类型的多个文件路径的地址拼接,文件路径用英文分号分隔,例如:“文件1路径;文件2路径”。","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"folder_path","label":"文件夹路径","widget":"folder","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"输入或选择文件夹路径","description":"待上传文件或文件夹的路径。可通过选择文件(夹)选择一个或多个文件(夹)。文本模式下:当需要上传多个文件(夹)时,文件路径用英文逗号分隔,例如:文件1路径,文件2路径。python模式下:当需要上传多个文件(夹)时,输入文件路径列表,例如:[文件1路径, 文件2路径];或输入字符串类型的多个文件路径的地址拼接,文件路径用英文逗号分隔,例如:“文件1路径,文件2路径”。","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"upload_time","label":"上传超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60","placeholder":"","description":"文件上传超时时间,如果在此时间内未上传完成,将返回执行失败。","advanced":false,"valueTypes":["rpa_int"]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"input_method","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"输入前自动切换系统中英文输入法,避免第三方输入法导致的输入异常。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"wait_dialog_time","label":"等待对话框出现(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"10","placeholder":"","description":"点击上传按钮后,等待上传对话框出现的时间,超过该时间将报异常报错,单位(秒)。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_GetAttribute_v2","name":"获取网页元素属性","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。","messageTemplate":"获取指定元素 $1 的属性, 然后把结果保存到 $0","baseType":"Element_GetAttribute","functionName":"Element.GetAttribute_v2","functionCalls":[{"function":"Element.GetAttribute_v2","args":["uiSelector","designated_info","designated_obj","attrName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["属性","获取属性","元素属性","元素"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"拾取或选择网页元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素属性值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素属性值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_GetAttribute_v3","name":"获取网页元素属性","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取指定元素的属性值,然后把结果保存到指定变量中(仅对浏览器网页元素有效)。","messageTemplate":"获取指定元素 $1 的属性, 然后把结果保存到 $0","baseType":"Element_GetAttribute","functionName":"Element.GetAttribute_v3","functionCalls":[{"function":"Element.GetAttribute_v3","args":["uiSelector","designated_info","designated_obj","attrName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["属性","获取属性","元素属性","元素","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"拾取或选择网页元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"attrName","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网页元素的属性名","description":"输入网页元素的属性名","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"元素属性值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"元素属性值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Element_SetValue_V3","name":"输入文本框","kind":"vendor","group":"web","categories":["interface_element","webBrowser"],"categorySignature":"interface_element|webBrowser","description":"在指定的界面输入框、文本框、搜索框等元素中输入一段文本内容。","messageTemplate":"输入文本 $1 到指定输入框 $0","baseType":"Element_SetValue","functionName":"Element.SetValue_V3","functionCalls":[{"function":"Element.SetValue_V3","args":["uiSelector","text","input_type","isEnter","operation","interval","delaybeforEnter"],"assignTo":""}],"version":"3.3.5.0","tags":["文本内容","元素文本","设置文本","元素","输入"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"text","label":"输入内容","widget":"textarea","type":"string","displayType":"textArea","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_num"]},{"key":"input_type","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空文本框中原有内容,用新文本覆盖。追加输入:保留原有内容,在末尾添加新文本","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"例如搜索等地方的输入框,输入完成后点击回车键,将触发搜索或下一步动作","advanced":false,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟输入:模拟人工操作键盘按键逐个字符输入;后台接口:不占用键盘按键,调用后台接口实现输入;剪切板粘贴:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"20","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"delaybeforEnter","label":"回车前延时(毫秒)","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"0","placeholder":"","description":"勾选“输入完成回车”时,可以设置输入完成到触发回车的时间间隔,主要是为了避免未输入完成就触发了回车。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Element_DesktopChildren","name":"获取子元素","kind":"vendor","group":"web","categories":["soft_element_operation"],"categorySignature":"soft_element_operation","description":"获取指定目标桌面软件元素的子元素(可选指定获取第几个)。","messageTemplate":"获取 $1 元素的{'$$4' ? '第$4个子元素': '所有子元素'}, 然后把结果保存到 $0","baseType":"Element_DesktopChildren","functionName":"Element.DesktopChildren","functionCalls":[{"function":"Element.DesktopChildren","args":["uiSelector","designated_info","designated_obj","num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素拾取","子元素","全选元素","元素","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择元素","description":"选择包含多个子元素的界面元素,获取该元素包含的所有子元素列表","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择窗口对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"num","label":"获取第几个","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果目标父元素存在多个子元素,可以指定获取第几个(从1开始),为空时将获取所有子元素。","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"元素保存到","key":"var_name","suggestedName":"子元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var_name","label":"元素保存到","defaultValue":"子元素列表","valueTypes":["rpa_list_element_v1"]}]},"slots":[]},{"id":"Excel_WriteColumn","name":"写入列","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将数据写入到目标excel指定的单元格所在列,支持数值/公式等形式,可设置写入后是否保存。","messageTemplate":"在索引或工作表为 $1 中,从 $2 开始写入一列数据","baseType":"Excel_WriteColumn","functionName":"Excel.WriteColumn","functionCalls":[{"function":"Excel.WriteColumn","args":["objExcel","sheet","cellPos","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入列","输入列","写入sheet"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetCellFormat_V3","name":"设置单元格格式","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置Excel单元格的字体、背景、对齐、数字格式等。","messageTemplate":"设置Excel $0 Sheet表 $1 中指定区域的单元格格式","baseType":"Excel_Cs_SetCellFormat","functionName":"Excel.Cs_SetCellFormat_V3","functionCalls":[{"function":"Excel.Cs_SetCellFormat_V3","args":["workbook","sheet","excelRng","format"],"assignTo":""}],"version":"3.3.5.0","tags":["设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"format","label":"单元格格式","widget":"region","type":"object","displayType":"cellRuleControlConfig","required":false,"defaultValue":"{\"FontFormat\": \"宋体\", \"FontSize\": 11, \"BoldAndItalic\": 0, \"FontColor\": \"#000000\", \"BackgroundColor\": \"#FFFFFF,100%\", \"HorizontalAlignment\": 0, \"VerticalAlignment\": 0, \"DigitalFormat\": {\"enumDigitalFormat\": 0, \"formatstring\": \"\"},\"TextControl\":0}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadContentV2","name":"读取Excel内容","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在目标Excel文件读取指定区域内容。","messageTemplate":"在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadContent","functionName":"Excel.Cs_ReadContentV2","functionCalls":[{"function":"Excel.Cs_ReadContentV2","args":["workbook","sheet","excelRng","decimal","visible"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"decimal","label":"读取显示的值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢","advanced":true,"valueTypes":[]},{"key":"visible","label":"去掉隐藏单元格","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的内容将不包含隐藏的单元格","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel内容","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel内容","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_AutoFill","name":"自动填充","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将目标Excel的指定源区域按Excel规则自动填充到目标区域。","messageTemplate":"将 Excel $1 源区域自动填充到目标区域","baseType":"Excel_Cs_AutoFill","functionName":"Excel.Cs_AutoFill","functionCalls":[{"function":"Excel.Cs_AutoFill","args":["workbook","sheet","sourceRange","destination","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"sourceRange","label":"源区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"执行填充前选择的源数据区域,列名支持A或1,-n表示倒数第n列;行号支持1或-1,-n表示倒数第n行","advanced":false,"valueTypes":[]},{"key":"destination","label":"填充区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"待填充数据的目标单元格区域。1、填充固定区域时,起始和结束的列名必须与源区域一致,如起始列都是A列,结束列都是D列;2、填充固定数量时,数量=源区域数量+自动填充的数量。如源区域数量为2,自动填充50行,则数量应填写52。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_NewExcel","name":"新建excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在指定路径下新创建一个excel文件,并赋值给指定变量。","messageTemplate":"在路径 $1 上新建excel, 名称为 $2 , 然后把结果保存到 $0","baseType":"Excel_NewExcel","functionName":"Excel.NewExcel","functionCalls":[{"function":"Excel.NewExcel","args":["filePath","name","isMakedirs","openType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"filePath","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isMakedirs","label":"是否创建该路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"openType","label":"excel驱动","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"如果本地未安装任何Excel软件,可以选择openpyxl驱动方式(仅支持xlsx格式文件),该方式将采用后台静默的方式读写Excel。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objExcelWorkBook","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objExcelWorkBook","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_CopyV2","name":"复制Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"将目标Excel文件指定Sheet内容复制到一个新Sheet。","messageTemplate":"复制Sheet表 $1 到 { $$2=='0' && '当前文件'}{$$2=='1' && '$3'} 并命名为 $4","baseType":"Excel_Cs_Copy","functionName":"Excel.Cs_CopyV2","functionCalls":[{"function":"Excel.Cs_CopyV2","args":["workbook","sheet","option","target","newSheet","override","save"],"assignTo":""}],"version":"3.3.5.0","tags":["复制","拷贝","复件","仿制"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_sheetName","rpa_str"]},{"key":"option","label":"目标","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"可以选择复制到当前文件还是其他文件, 复制到其他文件时,两个文件必须是相同的打开模式(使用软件或不使用软件)","advanced":false,"valueTypes":[]},{"key":"target","label":"目标文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"newSheet","label":"新Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"newSheet","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_sheetName","rpa_str"]},{"key":"override","label":"覆盖同名Sheet","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_WriteRange","name":"写入区域","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将二维数组写入到目标excel中的指定区域,可设定左上开始的第一个单元格位置,自动按数组数量进行填充。","messageTemplate":"将 $3 写入 $2 开始的区域 ","baseType":"Excel_WriteRange","functionName":"Excel.WriteRange","functionCalls":[{"function":"Excel.WriteRange","args":["objExcel","sheet","cellPos","data","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入范围","写入区域","写入excel区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"data","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[[1,'壹'],[2,'贰'],[3,'叁']]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_DeleteColumn","name":"删除列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel指定列。","messageTemplate":"删除Excel $0 Sheet表 $1 中 { $$2 == '连续多列' && '第 $4 列至第 $5列' } { $$2 == '单独一列' && '列名为 $3 ' } { $$2 == '分散多列' && '列名为 $6 ' }","baseType":"Excel_Cs_DeleteColumn","functionName":"Excel.Cs_DeleteColumn","functionCalls":[{"function":"Excel.Cs_DeleteColumn","args":["workbook","sheet","mode","column","startColumn","lastColumn","columns","save"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"mode","label":"删除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"单独一列","placeholder":"","description":"1、单独一列,输入列名;2、连续多列,输入起始和结束列名;3、分散多列,输入列名列表,例如:[\"A\",\"C\",\"E\"]","advanced":false,"valueTypes":[]},{"key":"column","label":"删除列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"如果仅删除一列,请将起始列和结束列都设置为一样。","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"B","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"columns","label":"删除列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"[\"A\",\"C\",\"E\"]","placeholder":"","description":"选择分散多列时,请输入一个列表形式的值,例如[\"A\",\"C\",\"E\"]。选择单独一列时,请输入一个列名,支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_OpenV3","name":"打开Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0","baseType":"Excel_Cs_Open","functionName":"Excel.Cs_OpenV3","functionCalls":[{"function":"Excel.Cs_OpenV3","args":["file","visible","software","show","maximize","password1","password2","share","autoUpdateLink"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件路径","description":"选择或输入Excel文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"visible","label":"使用软件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"选择Microsoft Office或WPS Office时,计算机上必须安装对应软件。如果不勾选该属性,则有部分组件无法使用,详情查看“使用说明”。","advanced":false,"valueTypes":[]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"使用指定软件打开文件","advanced":false,"valueTypes":[]},{"key":"show","label":"可视化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否显示打开的软件","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":true,"valueTypes":[]},{"key":"password1","label":"打开密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入打开密码","description":"用于打开加密Excel文件的密码","advanced":true,"valueTypes":["rpa_password","rpa_str"]},{"key":"password2","label":"编辑密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入编辑密码","description":"用于编辑加密Excel文件的密码","advanced":true,"valueTypes":["rpa_password","rpa_str"]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]},{"key":"autoUpdateLink","label":"自动更新外部链接","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否自动更新 Excel 文件中的外部链接","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_PasteRange","name":"粘贴区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"粘贴目标excel文档中的指定区域。","messageTemplate":"粘贴至 $2 ","baseType":"Excel_PasteRange","functionName":"Excel.PasteRange","functionCalls":[{"function":"Excel.PasteRange","args":["objExcel","sheet","Start"],"assignTo":""}],"version":"3.3.5.0","tags":["粘贴至excel指定区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Start","label":"开始单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_OpenExcel","name":"打开excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"打开指定路径下的excel文件,并赋值到指定变量,可设定前端是否可见。","messageTemplate":"打开excel,路径为 $1, 然后把结果保存到 $0","baseType":"Excel_OpenExcel","functionName":"Excel.OpenExcel","functionCalls":[{"function":"Excel.OpenExcel","args":["filePath","isVisible"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"isVisible","label":"是否可见","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objExcelWorkBook","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objExcelWorkBook","valueTypes":[]}]},"slots":[]},{"id":"Excel_CopyRange","name":"复制区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"复制目标excel文档中的指定区域。","messageTemplate":"复制区域 $2 ","baseType":"Excel_CopyRange","functionName":"Excel.CopyRange","functionCalls":[{"function":"Excel.CopyRange","args":["objExcel","sheet","cellPosRange"],"assignTo":""}],"version":"3.3.5.0","tags":["复制excel的区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPosRange","label":"单元格区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ClearRangeV4","name":"清除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"清除目标Excel指定区域。","messageTemplate":"清除Excel $0 Sheet表 $1 中选择区域的内容","baseType":"Excel_Cs_ClearRange","functionName":"Excel.Cs_ClearRangeV4","functionCalls":[{"function":"Excel.Cs_ClearRangeV4","args":["workbook","sheet","excelRng","clearType","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"clearType","label":"清除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"删除单元格中的所有内容,或者仅删除格式、内容、背景填充、批注或超链接","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_InsertColumn","name":"插入列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标excel指定的单元格所在行的左面,插入一列数据,可设定插入后是否保存。","messageTemplate":"在索引或工作表为 $1 中的 $2 之前插入一列数据","baseType":"Excel_InsertColumn","functionName":"Excel.InsertColumn","functionCalls":[{"function":"Excel.InsertColumn","args":["objExcel","sheet","cellPos","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["插入列","工作簿插入列","excel插入列","表格插入列"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[1,'壹',2]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Copy","name":"复制Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"将目标Excel文件指定Sheet内容复制到一个新Sheet。","messageTemplate":"复制Sheet表 $1 并命名为 $2","baseType":"Excel_Cs_Copy","functionName":"Excel.Cs_Copy","functionCalls":[{"function":"Excel.Cs_Copy","args":["workbook","sheet","newSheet","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"newSheet","label":"新Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"newSheet","placeholder":"请输入新工作表名称,例如:newSheet","description":"","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_GetRowsCount","name":"读取行数","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标excel文档的总行数,并输出给指定变量。","messageTemplate":"获取有数据行的总数, 然后把结果保存到 $0","baseType":"Excel_GetRowsCount","functionName":"Excel.GetRowsCount","functionCalls":[{"function":"Excel.GetRowsCount","args":["objExcel","sheet"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["行数","excel行数","表格行数","工作簿行数"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_ClearRangeV3","name":"清除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"清除目标Excel指定区域。","messageTemplate":"清除Excel $0 Sheet表 $1 中选择区域的内容","baseType":"Excel_Cs_ClearRange","functionName":"Excel.Cs_ClearRangeV3","functionCalls":[{"function":"Excel.Cs_ClearRangeV3","args":["workbook","sheet","range","clearType","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"clearType","label":"清除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"删除单元格中的所有内容,或者仅删除格式、内容、背景填充、批注或超链接","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadContentV3","name":"读取Excel内容","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在目标Excel文件读取指定区域内容。","messageTemplate":"在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadContent","functionName":"Excel.Cs_ReadContentV3","functionCalls":[{"function":"Excel.Cs_ReadContentV3","args":["workbook","sheet","excelRng","valueType","replaceNone"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"valueType","label":"读取格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"原始值:Excel中日期类型数据会读取为浮点数。显示值:Excel中日期类型数据将读取为用户所见的字符串类型,读取速度较慢。保留类型:Excel中日期类型数据将读取为日期对象。推荐使用读取原始值,读取速度最快。","advanced":true,"valueTypes":[]},{"key":"replaceNone","label":"替换None值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"替换None值为空字符串","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel内容","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel内容","valueTypes":[]}]},"slots":[]},{"id":"Excel_GetColumnsCount","name":"读取列数","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标excel文档的总列数,并输出给指定变量。","messageTemplate":"获取有数据列的总数, 然后把结果保存到 $0","baseType":"Excel_GetColumnsCount","functionName":"Excel.GetColumnsCount","functionCalls":[{"function":"Excel.GetColumnsCount","args":["objExcel","sheet"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列数","excel列数","表格列数","工作簿列数"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_Group","name":"组合行列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定行、列进行组合。","messageTemplate":"将Excel $0 Sheet表 $1 中 { $$3 == '0' && '行 $4 到 $5 设置为' } { $$3 == '1' && '列 $6 到 $7 设置为' }{ $$2 == '0' && '组合' } { $$2 == '1' && '取消组合' }","baseType":"Excel_Cs_Group","functionName":"Excel.Cs_Group","functionCalls":[{"function":"Excel.Cs_Group","args":["workbook","sheet","group","groupType","startRow","endRow","startColumn","endColumn","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"group","label":"组合/取消组合","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择组合或取消组合指定的行或列","advanced":false,"valueTypes":[]},{"key":"groupType","label":"组合方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择组合行或组合列","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"支持 1 或 -1,-n 表示倒数第 n 行","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"endRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"支持 1 或 -1,-n 表示倒数第 n 行","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"支持 A 或 1,-n 表示倒数第 n 列","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"endColumn","label":"结束列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"支持 A 或 1,-n 表示倒数第 n 列","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadCell","name":"读取单元格","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件指定单元格的内容。","messageTemplate":"读取Excel $1 中Sheet表 $2,第 $4 行,第 $3 列的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadCell","functionName":"Excel.Cs_ReadCell","functionCalls":[{"function":"Excel.Cs_ReadCell","args":["workbook","sheet","column","row","decimal"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str_col","rpa_int","rpa_str"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"decimal","label":"读取显示的值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel单元格数据","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel单元格数据","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Excel_WriteCell","name":"写入单元格","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将数据写入到目标excel指定的单元格中,支持数值/公式等形式,可设置写入后是否保存。","messageTemplate":"将 $3 写入单元格 $2","baseType":"Excel_WriteCell","functionName":"Excel.WriteCell","functionCalls":[{"function":"Excel.WriteCell","args":["objExcel","sheet","cellPos","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入单元格","输入单元格","写入sheet"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetRangeFontV2","name":"设置区域字体颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定区域的字体颜色。","messageTemplate":"设置Excel $0 Sheet表 $1 中选择区域的字体颜色为 $3","baseType":"Excel_Cs_SetRangeFont","functionName":"Excel.Cs_SetRangeFontV2","functionCalls":[{"function":"Excel.Cs_SetRangeFontV2","args":["workbook","sheet","range","color","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,分别输入起始和结束的列名和行号。高级模式,支持表达式,如区域为A列第一行到C列第三行,则输入A1:C3","advanced":false,"valueTypes":[]},{"key":"color","label":"颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"","description":"支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00","advanced":false,"valueTypes":["rpa_str","rpa_str_color"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_DeletePicture","name":"删除图片","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel文件已插入的图片。","messageTemplate":"删除Excel $0 Sheet表 $1 中图片 $2","baseType":"Excel_Cs_DeletePicture","functionName":"Excel.Cs_DeletePicture","functionCalls":[{"function":"Excel.Cs_DeletePicture","args":["workbook","sheet","name","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"name","label":"图片名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"图片 1","placeholder":"输入图片的名称","description":"通过点击Excel、WPS图片,可以在“名称框”查看图片的名称,如“图片1”、“picture1”","advanced":false,"valueTypes":["rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_NewV4","name":"新建Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0","baseType":"Excel_Cs_New","functionName":"Excel.Cs_NewV4","functionCalls":[{"function":"Excel.Cs_NewV4","args":["path","name","software","show","maximize","share"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入新建Excel保存文件夹路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入新建的Excel文件名称","description":"输入新建的Excel文件名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"选择新建Excel的软件,若未安装相应软件可选择不使用软件","advanced":false,"valueTypes":[]},{"key":"show","label":"是否可视化操作","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"用于控制 Excel的操作是否界面可见","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":true,"valueTypes":[]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_GetColDataNew","name":"读取列","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中,指定单元格所在列的数据,以数组的形式输出到指定变量。","messageTemplate":"读取表格 $1 中,$2 中,第 $3 列内容, 然后把结果保存到 $0","baseType":"Excel_GetColData","functionName":"Excel.GetColDataNew","functionCalls":[{"function":"Excel.GetColDataNew","args":["objExcel","sheet","column"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取表格列","读取excel列","读取工作簿列"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_GetSheetsName","name":"获取sheet名","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"获取目标excel文档中所有工作表sheet的名称,以数组的形式输出到指定变量。","messageTemplate":"获取所有工作表的名称,以数组的形式, 然后把结果保存到 $0","baseType":"Excel_GetSheetsName","functionName":"Excel.GetSheetsName","functionCalls":[{"function":"Excel.GetSheetsName","args":["objExcel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["sheet名称","工作表名","工作簿名称"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_GetEmptyCell","name":"获取第一个空白单元格","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标Excel文件指定行或列中第一个空白的单元格。","messageTemplate":"获取 $3 { $$3=='指定一列' && '$4'}{$$3=='指定一行' && '$5'} 中第一个可用单元格, 然后把结果保存到 $0","baseType":"Excel_Cs_GetEmptyCell","functionName":"Excel.Cs_GetEmptyCell","functionCalls":[{"function":"Excel.Cs_GetEmptyCell","args":["workbook","sheet","range","column","row"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"获取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"指定一列","placeholder":"","description":"读取整个Sheet,将读取当前指定Sheet表已编辑区域的总行数;指定一列,将读取指定列中的第一个空白单元格位置;指定一行,将读取指定行中的第一个空白单元格位置","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel空白单元格位置","valueTypes":["rpa_int_row","rpa_str_col","rpa_int_row"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel空白单元格位置","valueTypes":["rpa_int_row","rpa_str_col","rpa_int_row"]}]},"slots":[]},{"id":"Excel_Cs_GetEditRange","name":"获取已编辑区域","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标Excel文件指定Sheet已编辑区域(起始行、起始列、结束行、结束列)。","messageTemplate":"获取Excel $4 中Sheet表 $5 已编辑区域,然后把结果保存到 $0","baseType":"Excel_Cs_GetEditRange","functionName":"Excel.Cs_GetEditRange","functionCalls":[{"function":"Excel.Cs_GetEditRange","args":["workbook","sheet"],"assignTo":"var0,var1,var2,var3"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]}],"output":{"label":"起始行输出至","key":"var0","suggestedName":"起始行位置","valueTypes":[],"fields":[{"key":"var0","label":"起始行输出至","defaultValue":"起始行位置","valueTypes":[]},{"key":"var1","label":"起始列输出至","defaultValue":"起始列位置","valueTypes":[]},{"key":"var2","label":"结束行输出至","defaultValue":"结束行位置","valueTypes":[]},{"key":"var3","label":"结束列输出至","defaultValue":"结束列位置","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_InsertRow","name":"插入行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置之前插入行,并可以同时写入数据。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $2 行向上插入数据 $4","baseType":"Excel_Cs_InsertRow","functionName":"Excel.Cs_InsertRow","functionCalls":[{"function":"Excel.Cs_InsertRow","args":["workbook","sheet","index","count","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"index","label":"在第几行前","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入在哪一行之前插入。","advanced":false,"valueTypes":["rpa_int"]},{"key":"count","label":"插入几行","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入需要插入多少行。","advanced":false,"valueTypes":["rpa_int"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"","description":"写入内容为列表,例如:[123,\"abc\",\"一二三\"]、[[123,456],[\"abc\",\"edf\"]]。如果写入内容超出插入的行数,将自动截掉多余数据。","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_WriteRange","name":"写入区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定起始位置写入数据,并按数据量依次填充到单元格中。(注:二维列表数据长度得保持一致,示例:[[1,'壹'],[2,'贰'],[3,'叁']]。)。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $2 行,第 $3 列开始写入内容 $4","baseType":"Excel_Cs_WriteRange","functionName":"Excel.Cs_WriteRange","functionCalls":[{"function":"Excel.Cs_WriteRange","args":["workbook","sheet","row","column","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"row","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"column","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_RefreshPivotTable","name":"刷新Excel数据透视表","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"刷新Excel文件中数据透视表的数据。","messageTemplate":"刷新Excel $0 中 $1 $2 的数据","baseType":"Excel_Cs_RefreshPivotTable","functionName":"Excel.Cs_RefreshPivotTable","functionCalls":[{"function":"Excel.Cs_RefreshPivotTable","args":["workbook","sheet","pivotTable","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"pivotTable","label":"透视表名称","widget":"text","type":"string","displayType":"excelRule","required":false,"defaultValue":"","placeholder":"","description":"输入数据透视表名称,或选择新建Excel数据透视表返回的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_NewV2","name":"新建Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0","baseType":"Excel_Cs_New","functionName":"Excel.Cs_NewV2","functionCalls":[{"function":"Excel.Cs_NewV2","args":["path","name","visible","software","maximize"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"文件的存储路径,默认为流程包文件夹","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"如果不写后缀则默认新建“.xlsx”文件,如果想新建其他格式的Excel文件,请指定后缀名。支持相对路径:a\\b.xlsx 等价 a\\b","advanced":false,"valueTypes":["rpa_str"]},{"key":"visible","label":"使用软件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"选择使用,则计算机上必须安装 Microsoft Office 或者 WPS;不选择,则计算机上不需要安装任何软件","advanced":false,"valueTypes":[]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"可以使用指定软件打开文件。请确保该软件已正确安装并可以正常使用","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_SetHeight","name":"设置行高","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定行的行高。","messageTemplate":"设置Excel $0 Sheet表 $1 中行号为 $2 的行高为 $3","baseType":"Excel_Cs_SetHeight","functionName":"Excel.Cs_SetHeight","functionCalls":[{"function":"Excel.Cs_SetHeight","args":["workbook","sheet","rows","height","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"rows","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"可输入多行,例如:[1,2,3],不填设置所有行,行号支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_list","rpa_str"]},{"key":"height","label":"行高","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"14.5","placeholder":"仅支持输入正数","description":"Excel默认值为14.25,WPS为13.5,可自定义设置,单位:磅","advanced":false,"valueTypes":["rpa_num"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_DeletePictureV2","name":"删除图片","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel文件已插入的图片。","messageTemplate":"删除Excel $0 Sheet表 $1 中图片 $2","baseType":"Excel_Cs_DeletePicture","functionName":"Excel.Cs_DeletePictureV2","functionCalls":[{"function":"Excel.Cs_DeletePictureV2","args":["workbook","sheet","condition","name","save"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去","图片","图像","图形"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"condition","label":"删除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"指定删除图片的方式","advanced":false,"valueTypes":[]},{"key":"name","label":"图片名称","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"图片 1","placeholder":"输入图片的名称","description":"通过点击Excel、WPS图片,可以在“名称框”查看图片的名称,如“图片1”、“picture1”","advanced":false,"valueTypes":["rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Encrypt","name":"加密Excel","kind":"vendor","group":"office","categories":["excel_operator"],"categorySignature":"excel_operator","description":"将目标Excel文件进行加密处理。","messageTemplate":"对Excel进行加密","baseType":"Excel_Cs_Encrypt","functionName":"Excel.Cs_Encrypt","functionCalls":[{"function":"Excel.Cs_Encrypt","args":["workbook","password1","password2","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件","加密","数据加密","加密处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"输入或选择新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"password1","label":"打开密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入用于打开的密码","description":"输入用于打开的密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"password2","label":"编辑密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入用于编辑的密码","description":"输入用于编辑的密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_DeleteColumn","name":"删除列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标excel指定的单元格所在列,可设置删除后是否保存。","messageTemplate":"删除列 $2","baseType":"Excel_DeleteColumn","functionName":"Excel.DeleteColumn","functionCalls":[{"function":"Excel.DeleteColumn","args":["objExcel","sheet","cellPos","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["删除列","删除工作簿列","删除excel列","删除表格列"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadColumn","name":"读取列","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件的指定列,并将内容以列表的形式输出到指定变量(示例:[123,\"abc\"])。","messageTemplate":"读取Excel $1 中Sheet表 $2,第 $3 列的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadColumn","functionName":"Excel.Cs_ReadColumn","functionCalls":[{"function":"Excel.Cs_ReadColumn","args":["workbook","sheet","columnName","decimal"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"columnName","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"decimal","label":"读取显示的值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel列数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel列数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Excel_Cs_Move","name":"移动Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"移动目标Excel文件指定Sheet的位置。","messageTemplate":"移动Sheet表 $1","baseType":"Excel_Cs_Move","functionName":"Excel.Cs_Move","functionCalls":[{"function":"Excel.Cs_Move","args":["workbook","sheet","mode","index","name","option","position","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"mode","label":"移动方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"按序号","placeholder":"","description":"按序号移动可以移动到特定的第几位;按名称是可以移动到特定Sheet的之前或之后;按位置可以移动到特定的第几位","advanced":false,"valueTypes":[]},{"key":"index","label":"移动到","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"请输入移动到位置","description":"按序号输入数字,表示移动到第几位。按名称输入Sheet名,表示移动到此Sheet前或后。按位置可以选择移动位置。","advanced":false,"valueTypes":["rpa_int"]},{"key":"name","label":"移动到","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"","placeholder":"请输入移动到位置","description":"按序号输入数字,表示移动到第几位。按名称输入Sheet名,表示移动到此Sheet前或后。按位置可以选择移动位置。","advanced":false,"valueTypes":["rpa_str_sheetName","rpa_str"]},{"key":"option","label":"移动位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"之前","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position","label":"移动到","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"第一位","placeholder":"请输入移动到位置","description":"按序号输入数字,表示移动到第几位。按名称输入Sheet名,表示移动到此Sheet前或后。按位置可以选择移动位置。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_DeleteDuplicates","name":"删除重复","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"以扩展选定区域的方式删除目标Excel文件指定列的重复数据(重复数据所在行其他数据也会删除)。","messageTemplate":"删除Excel $1 Sheet表 $2 中列名为 $3 重复的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_DeleteDuplicates","functionName":"Excel.Cs_DeleteDuplicates","functionCalls":[{"function":"Excel.Cs_DeleteDuplicates","args":["workbook","sheet","columns","header","save"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"columns","label":"待删除列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"输入需要删除重复项的列名,可输入单列、多列(多列数据相同时删除),示例:单列输入“A”,多列输入[\"A\",\"B\",\"C\"]。列名支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col","rpa_list"]},{"key":"header","label":"数据包含标题","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"否","placeholder":"","description":"选择是,则同步删除标题;否则,仅删除数据。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"删除个数","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"删除个数","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Excel_Cs_DeleteRangeV2","name":"删除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel文件指定区域。","messageTemplate":"删除Excel $0 Sheet表 $1 中选择区域","baseType":"Excel_Cs_DeleteRange","functionName":"Excel.Cs_DeleteRangeV2","functionCalls":[{"function":"Excel.Cs_DeleteRangeV2","args":["workbook","sheet","range","mode","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"mode","label":"删除模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"右侧单元格左移","placeholder":"","description":"删除模式与Excel一致,模式有4种:右侧单元格左移、下侧单元格上移、整行、整列。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ExcelFilter","name":"Excel数据筛选","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"根据条件在Excel软件中进行数据筛选。","messageTemplate":"筛选 Excel $0 Sheet表中数据","baseType":"Excel_Cs_ExcelFilter","functionName":"Excel.Cs_ExcelFilter","functionCalls":[{"function":"Excel.Cs_ExcelFilter","args":["workbook","sheet","rule","startRow","endRow","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"rule","label":"筛选规则","widget":"text","type":"string","displayType":"excelRule","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"startRow","label":"筛选起始行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"endRow","label":"筛选结束行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"-1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_InsertColumnV2","name":"插入列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置之前插入列,并可以同时写入数据。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $3 列 { $$2 == 0 && '向左' } { $$2 == 1 && '向右' } 插入数据 $5","baseType":"Excel_Cs_InsertColumn","functionName":"Excel.Cs_InsertColumnV2","functionCalls":[{"function":"Excel.Cs_InsertColumnV2","args":["workbook","sheet","direction","index","count","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"direction","label":"插入方向","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"列插入的方向","advanced":false,"valueTypes":[]},{"key":"index","label":"插入列位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"需要在哪一列开始插入","advanced":false,"valueTypes":[]},{"key":"count","label":"插入几列","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"输入插入列的数量","description":"插入列的数量","advanced":false,"valueTypes":[]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_GetPath","name":"获取Excel路径","kind":"vendor","group":"office","categories":["excel_operator"],"categorySignature":"excel_operator","description":"获取目标Excel文件路径,并输出至指定变量。","messageTemplate":"获取文件 $1 的文件路径, 然后把结果保存到 $0","baseType":"Excel_Cs_GetPath","functionName":"Excel.Cs_GetPath","functionCalls":[{"function":"Excel.Cs_GetPath","args":["workbook"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_str_filepath"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_str_filepath"]}]},"slots":[]},{"id":"Excel_Cs_NewV5","name":"新建Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0","baseType":"Excel_Cs_New","functionName":"Excel.Cs_NewV5","functionCalls":[{"function":"Excel.Cs_NewV5","args":["path","name","override","software","show","maximize","share"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入新建Excel保存文件夹路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入新建的Excel文件名称","description":"输入新建的Excel文件名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"override","label":"覆盖同名文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"旧文件将移入回收站,避免丢失","advanced":false,"valueTypes":[]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"选择新建Excel的软件,若未安装相应软件可选择不使用软件","advanced":false,"valueTypes":[]},{"key":"show","label":"显示Excel界面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"关闭此选项可后台静默运行,速度更快","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":true,"valueTypes":[]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_DeleteRow","name":"删除行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel指定行。","messageTemplate":"删除Excel $0 Sheet表 $1 中 { $$2 == '连续多行' && '第 $4 行至第 $5 行' } { $$2 == '单独一行' && '行号为 $3' } { $$2 == '分散多行' && '行号为 $6 ' }","baseType":"Excel_Cs_DeleteRow","functionName":"Excel.Cs_DeleteRow","functionCalls":[{"function":"Excel.Cs_DeleteRow","args":["workbook","sheet","mode","row","startRow","lastRow","rows","save"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"mode","label":"删除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"单独一行","placeholder":"","description":"1、单独一行,输入行号;2、连续多行,输入起始和结束行号;3、分散多行,输入行号列表,例如:[1,3,5]","advanced":false,"valueTypes":[]},{"key":"row","label":"删除行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"rows","label":"删除行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"[1,3,5]","placeholder":"","description":"选择分散多行时,请输入一个列表形式的值,例如[1,3,5]。选择单独一行时,请输入一个数字。支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Active","name":"激活Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"激活目标Excel文件指定Sheet。","messageTemplate":"激活Sheet表 $1","baseType":"Excel_Cs_Active","functionName":"Excel.Cs_Active","functionCalls":[{"function":"Excel.Cs_Active","args":["workbook","mode","sheet","index","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"mode","label":"激活方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"按名称","placeholder":"","description":"按名称,激活Sheet需输入对应的名称,例如:\"Sheet1\";按序号,激活Sheet需输入对应序号,例如:1","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Sheet名称","advanced":false,"valueTypes":["rpa_str_sheetName","rpa_str"]},{"key":"index","label":"Sheet序号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"Sheet序号格式为:1","advanced":false,"valueTypes":["rpa_int"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_InsertColumnV3","name":"插入列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置之前插入列,并可以同时写入数据。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $2 插入数据 $4","baseType":"Excel_Cs_InsertColumn","functionName":"Excel.Cs_InsertColumnV3","functionCalls":[{"function":"Excel.Cs_InsertColumnV3","args":["workbook","sheet","direction","count","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"direction","label":"插入列位置","widget":"number","type":"number","displayType":"unitInput","required":true,"defaultValue":"[\"A\",0]","placeholder":"","description":"需要在哪一列开始插入","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"count","label":"插入几列","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"输入插入列的数量","description":"插入列的数量","advanced":false,"valueTypes":["rpa_int"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_ReadRangeNew","name":"读取区域","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中的指定区域,并将内容以数组形式输出到指定变量,可设定区域起始格。","messageTemplate":"读取表格 $1 中,$2 中,从第 $3 行,第 $4 列开始,到第 $5 行,第 $6 列结束的内容, 然后把结果保存到 $0","baseType":"Excel_ReadRange","functionName":"Excel.ReadRangeNew","functionCalls":[{"function":"Excel.ReadRangeNew","args":["objExcel","sheet","start_row","start_column","end_row","end_column"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取范围","读取表格范围","读取excel区域","读取工作簿区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start_row","label":"起始单元格行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start_column","label":"起始单元格列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"end_row","label":"结束单元格行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"end_column","label":"结束单元格列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_ConvertColumn","name":"列名转换","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"将列名转换成对应的数字或将数字转换成对应的列名。","messageTemplate":"将 $1 转成 { $$2=='0' && '列名'}{$$2=='1' && '数字'}, 然后把结果保存到 $0","baseType":"Excel_Cs_ConvertColumn","functionName":"Excel.Cs_ConvertColumn","functionCalls":[{"function":"Excel.Cs_ConvertColumn","args":["convertInput","convertType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转换","转变","转换格式","转换类型","变换"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"convertInput","label":"转换内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"输入正确的列名字母或 1-16384 之前的数字","advanced":false,"valueTypes":[]},{"key":"convertType","label":"转换方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择转换方式,将输入转成列名或转成数字","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"转换结果","valueTypes":["rpa_str_col","rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"转换结果","valueTypes":["rpa_str_col","rpa_int"]}]},"slots":[]},{"id":"Excel_Cs_Open","name":"打开Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0","baseType":"Excel_Cs_Open","functionName":"Excel.Cs_Open","functionCalls":[{"function":"Excel.Cs_Open","args":["file","software","visible","maximize","password1","password2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"文件的存储路径,默认为流程包文件夹;支持相对路径:a\\b.xlsx 等价 a\\b","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"software","label":"使用软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"可以用指定软件打开文件","advanced":false,"valueTypes":[]},{"key":"visible","label":"是否可视化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置后台不可见的方式运行","advanced":false,"valueTypes":[]},{"key":"maximize","label":"是否最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件最大化,设置为不可见时,当前选项不生效","advanced":false,"valueTypes":[]},{"key":"password1","label":"打开密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"输入用于打开权限的密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"password2","label":"编辑密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"输入用于编辑权限的密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objExcelWorkBook","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objExcelWorkBook","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_InsertPicture","name":"插入图片","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置插入图片,并可以设置图片大小和位置。","messageTemplate":"在Excel $0 Sheet表 $1 中插入图片 $2","baseType":"Excel_Cs_InsertPicture","functionName":"Excel.Cs_InsertPicture","functionCalls":[{"function":"Excel.Cs_InsertPicture","args":["workbook","sheet","path","row","column","left","top","width","height","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"path","label":"图片路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"输入或选择图片所在路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"row","label":"插入单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入需要相对哪个单元格左上角插入","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"column","label":"插入单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"输入需要相对哪个单元格左上角插入","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"left","label":"向右移动距离","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"支持输入整数","description":"图片距离单元格左侧边缘,向右移动的距离,单位为像素","advanced":false,"valueTypes":["rpa_num"]},{"key":"top","label":"向下移动距离","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"支持输入整数","description":"图片距离单元格上侧边缘,向下移动的距离,单位为像素","advanced":false,"valueTypes":["rpa_num"]},{"key":"width","label":"图片宽度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"100","placeholder":"自定义设置数值,支持正数","description":"设置插入图片的宽度","advanced":false,"valueTypes":["rpa_num"]},{"key":"height","label":"图片高度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"100","placeholder":"自定义设置数值,支持正数","description":"设置插入图片的高度","advanced":false,"valueTypes":["rpa_num"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Insert","name":"插入Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"在目标Excel文件中新建一个Sheet,并激活作为后续流程操作对象。","messageTemplate":"创建 $1 Sheet表","baseType":"Excel_Cs_Insert","functionName":"Excel.Cs_Insert","functionCalls":[{"function":"Excel.Cs_Insert","args":["workbook","name","position","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"name","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Sheet1","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入工作表名称,如Sheet1","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"position","label":"当前Sheet位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"之前","placeholder":"","description":"将插入的Sheet放在当前Sheet位置之前或之后","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_InsertRowV3","name":"插入行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置之前插入行,并可以同时写入数据。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $2 插入数据 $4","baseType":"Excel_Cs_InsertRow","functionName":"Excel.Cs_InsertRowV3","functionCalls":[{"function":"Excel.Cs_InsertRowV3","args":["workbook","sheet","direction","count","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"direction","label":"插入行位置","widget":"number","type":"number","displayType":"unitInput","required":true,"defaultValue":"[1,0]","placeholder":"","description":"需要在哪一行开始插入","advanced":false,"valueTypes":["rpa_int_row","rpa_int","rpa_str"]},{"key":"count","label":"插入几行","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"输入插入行的数量","description":"插入行的数量","advanced":false,"valueTypes":["rpa_int"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetCellFormat_V2","name":"设置单元格格式","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置Excel单元格的字体、背景、对齐、数字格式等。","messageTemplate":"设置Excel $0 Sheet表 $1 中指定区域的单元格格式","baseType":"Excel_Cs_SetCellFormat","functionName":"Excel.Cs_SetCellFormat_V2","functionCalls":[{"function":"Excel.Cs_SetCellFormat_V2","args":["workbook","sheet","range","format"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"format","label":"单元格格式","widget":"region","type":"object","displayType":"cellRuleControlConfig","required":false,"defaultValue":"{\"FontFormat\": \"宋体\", \"FontSize\": 11, \"BoldAndItalic\": 0, \"FontColor\": \"#000000\", \"BackgroundColor\": \"#FFFFFF\", \"HorizontalAlignment\": 0, \"VerticalAlignment\": 0, \"DigitalFormat\": {\"enumDigitalFormat\": 0, \"formatstring\": \"\"}}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadRowCount","name":"读取行数","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件已编辑区域的总行数,并输出至指定变量。","messageTemplate":"获取Excel $1 中Sheet表 $2 已编辑区域的总行数, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadRowCount","functionName":"Excel.Cs_ReadRowCount","functionCalls":[{"function":"Excel.Cs_ReadRowCount","args":["workbook","sheet","range","column","ignoreHidden"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"读取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"整个Sheet","placeholder":"","description":"读取整个Sheet,将读取当前指定Sheet表已编辑区域的总行数;指定一列,将读取指定列的已编辑行数。","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"ignoreHidden","label":"仅读取显示的行数","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"适用于读取范围中有筛选或者隐藏等操作,勾选后仅计算显示的行数","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel行数","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel行数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Excel_Cs_Merge","name":"合并Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"将一个文件的指定Sheet合并到另一个文件指定Sheet。","messageTemplate":"将文件 $0 中 Sheet表 $1 { $$2=='0' && '纵向'}{$$2=='1' && '横向'} 合并到 文件 $3 中 Sheet表 $4","baseType":"Excel_Cs_Merge","functionName":"Excel.Cs_Merge","functionCalls":[{"function":"Excel.Cs_Merge","args":["workbook","sheet","option","destWorkbook","destSheet","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_sheetName","rpa_str"]},{"key":"option","label":"合并方向","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"可以选择合并方向,要合并的两个文件必须使用同一种打开模式(使用软件或不使用软件)","advanced":false,"valueTypes":[]},{"key":"destWorkbook","label":"合并至文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"destSheet","label":"合并至Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_sheetName","rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_InsertRowV2","name":"插入行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置之前插入行,并可以同时写入数据。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $3 行 { $$2 == 0 && '向上' } { $$2 == 1 && '向下' } 插入数据 $5","baseType":"Excel_Cs_InsertRow","functionName":"Excel.Cs_InsertRowV2","functionCalls":[{"function":"Excel.Cs_InsertRowV2","args":["workbook","sheet","direction","index","count","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"direction","label":"插入方向","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"行插入的方向","advanced":false,"valueTypes":[]},{"key":"index","label":"插入行位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"需要在哪一行开始插入","advanced":false,"valueTypes":[]},{"key":"count","label":"插入几行","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"输入插入行的数量","description":"插入行的数量","advanced":false,"valueTypes":[]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量,例如:[123,\"abc\",\"一二三\"]","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadCellFormula","name":"获取单元格公式","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标Excel文件指定单元格的公式。","messageTemplate":"获取Excel $1 中Sheet表 $2,第 $4 行,第 $3 列的公式, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadCellFormula","functionName":"Excel.Cs_ReadCellFormula","functionCalls":[{"function":"Excel.Cs_ReadCellFormula","args":["workbook","sheet","column","row"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str_col","rpa_int","rpa_str"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel单元格公式","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel单元格公式","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Excel_Save","name":"保存excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"保存目标excel文档,按当前文件的文件名和文件路径进行保存,覆盖之前的内容。","messageTemplate":"保存excel","baseType":"Excel_Save","functionName":"Excel.Save","functionCalls":[{"function":"Excel.Save","args":["objExcel"],"assignTo":""}],"version":"3.3.5.0","tags":["保存excel","保存工作簿","保存表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_InsertImage","name":"插入图片","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标excel中插入指定图片,可设定图片的大小和位置。","messageTemplate":"在索引或工作表为 $1 中插入图片 $2","baseType":"Excel_InsertImage","functionName":"Excel.InsertImage","functionCalls":[{"function":"Excel.InsertImage","args":["objExcel","sheet","pictureName","Left","Top","Width","Height"],"assignTo":""}],"version":"3.3.5.0","tags":["插入图片","插入图像","表格插入图片","excel插入图片","工作簿插入图片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pictureName","label":"图片路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"Left","label":"左边距","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Top","label":"上边距","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Width","label":"图片宽度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"100","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Height","label":"图片高度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"100","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_ReadCellNew","name":"读取单元格","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中的单元格,并将内容以字符串形式输出到指定变量。","messageTemplate":"读取表格 $1 中,$2 中,第 $3 行,第 $4 列的内容, 然后把结果保存到 $0","baseType":"Excel_ReadCell","functionName":"Excel.ReadCellNew","functionCalls":[{"function":"Excel.ReadCellNew","args":["objExcel","sheet","row","column"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取单元格","单元格内容"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_ClearRange","name":"清除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"清除目标excel中指定区域的数据和格式,可设定起始单元格位置。","messageTemplate":"清除 $2 区域的数据与格式","baseType":"Excel_ClearRange","functionName":"Excel.ClearRange","functionCalls":[{"function":"Excel.ClearRange","args":["objExcel","sheet","cellPos","isFormat","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["清除范围","清除区域","清除表格区域","清除excel区域","清除工作簿区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isFormat","label":"是否清除格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_InsertPivotView","name":"新建透视图","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"根据目标Excel文件数据指定数据源新建数据透视图。","messageTemplate":"在Excel $0 中新建透视图","baseType":"Excel_Cs_InsertPivotView","functionName":"Excel.Cs_InsertPivotView","functionCalls":[{"function":"Excel.Cs_InsertPivotView","args":["workbook","rule","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"rule","label":"透视图规则","widget":"text","type":"string","displayType":"excelRule","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_WriteRangeNew","name":"写入区域","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将二维数组写入到目标excel中的指定区域,可设定左上开始的第一个单元格位置,自动按数组数量进行填充。","messageTemplate":"在Excel对象 $0 中,$1 中,从第 $2 行,第 $3 列开始写入内容 $4","baseType":"Excel_WriteRange","functionName":"Excel.WriteRangeNew","functionCalls":[{"function":"Excel.WriteRangeNew","args":["objExcel","sheet","start_row","start_column","data","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入范围","写入区域","写入excel区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start_row","label":"起始单元格行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start_column","label":"起始单元格列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"data","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[[1,'壹'],[2,'贰'],[3,'叁']]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Filter","name":"数据筛选","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取Excel指定列中数据,然后根据条件筛选,并返回筛选后的数据。","messageTemplate":"筛选 Excel $2 Sheet表 $3 $4列中数据,然后把结果保存到 $0","baseType":"Excel_Cs_Filter","functionName":"Excel.Cs_Filter","functionCalls":[{"function":"Excel.Cs_Filter","args":["workbook","sheet","column","condition","criteria","onHeader","isMultiFilter","pre_filterData","pre_lineNum"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str"]},{"key":"condition","label":"筛选条件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"指定筛选条件关系,筛选的值为读取内容组件读取的保留类型(Value) 选项的值","advanced":false,"valueTypes":[]},{"key":"criteria","label":"筛选条件","widget":"text","type":"string","displayType":"itemGroup","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"onHeader","label":"筛选首行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"从表格首行(表头)开始进行筛选,不勾选表示剔除第一行开始筛选","advanced":false,"valueTypes":[]},{"key":"isMultiFilter","label":"多列筛选","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"连续使用该组件时,支持在原筛选结果的基础上再次筛选数据。","advanced":false,"valueTypes":[]},{"key":"pre_filterData","label":"原筛选结果","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择Excel筛选数据组件的筛选结果变量","description":"使用“筛选数据”组件返回的筛选结果。数据类型为列表。","advanced":false,"valueTypes":["rpa_any"]},{"key":"pre_lineNum","label":"原所在行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择Excel筛选数据组件的所在行号变量","description":"使用“筛选数据”组件返回的所在行号。数据类型为列表。","advanced":false,"valueTypes":["rpa_any"]}],"output":{"label":"筛选结果","key":"var0","suggestedName":"filterData","valueTypes":[],"fields":[{"key":"var0","label":"筛选结果","defaultValue":"filterData","valueTypes":[]},{"key":"var1","label":"所在行号","defaultValue":"lineNum","valueTypes":[]}]},"slots":[]},{"id":"Excel_SetCellFontColor","name":"单元格字体颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标excel中指定单元格的字体颜色,可选设置后是否保存。","messageTemplate":"设置单元格字体 $2 的颜色为 $3","baseType":"Excel_SetCellFontColor","functionName":"Excel.SetCellFontColor","functionCalls":[{"function":"Excel.SetCellFontColor","args":["objExcel","sheet","cellPos","cellColor","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["字体颜色","单元格字体颜色"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellColor","label":"颜色","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[255,255,255]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_OpenExcelNew","name":"打开excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"打开指定路径下的excel文件,并赋值到指定变量,可设定前端是否可见。","messageTemplate":"打开excel,路径为 $1, 然后把结果保存到 $0","baseType":"Excel_OpenExcel","functionName":"Excel.OpenExcelNew","functionCalls":[{"function":"Excel.OpenExcelNew","args":["filePath","openType","isVisible"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"openType","label":"excel驱动","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"如果本地未安装任何Excel软件,可以选择openpyxl驱动方式(仅支持xlsx格式文件),该方式将采用后台静默的方式读写Excel。","advanced":false,"valueTypes":[]},{"key":"isVisible","label":"是否可见","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objExcelWorkBook","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objExcelWorkBook","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_CopyRange","name":"复制表格内容","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"复制目标Excel文件指定区域的内容。","messageTemplate":"复制Excel $1 Sheet表 $2 中选取的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_CopyRange","functionName":"Excel.Cs_CopyRange","functionCalls":[{"function":"Excel.Cs_CopyRange","args":["workbook","sheet","mode","column","row","startRow","lastRow","startColumn","lastColumn","startColumn2","startRow2","lastColumn2","lastRow2","save"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"mode","label":"复制模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"复制单元格","placeholder":"","description":"通过下拉的选项,选择复制的区域","advanced":false,"valueTypes":[]},{"key":"column","label":"单元格列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"单元格行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"startColumn2","label":"起始列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"startRow2","label":"起始行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"lastColumn2","label":"结束列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"lastRow2","label":"结束行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"复制内容","valueTypes":["rpa_any","rpa_list","rpa_list","rpa_list","rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"复制内容","valueTypes":["rpa_any","rpa_list","rpa_list","rpa_list","rpa_list"]}]},"slots":[]},{"id":"Excel_WriteColumnNew","name":"写入列","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将数据写入到目标excel指定的单元格所在列,支持数值/公式等形式,可设置写入后是否保存。","messageTemplate":"在Excel对象 $0 中的第 $2 列插入一列内容,$4","baseType":"Excel_WriteColumn","functionName":"Excel.WriteColumnNew","functionCalls":[{"function":"Excel.WriteColumnNew","args":["objExcel","sheet","column","row","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入列","输入列","写入sheet"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"起始行","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadContentV4","name":"读取Excel内容","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在目标Excel文件读取指定区域内容。","messageTemplate":"在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0","baseType":"Cs_ReadContent","functionName":"Excel.Cs_ReadContentV4","functionCalls":[{"function":"Excel.Cs_ReadContentV4","args":["workbook","sheet","excelRng","ignoreHidden","valueType","replaceNone"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"ignoreHidden","label":"仅读取可见的内容","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"适用于读取范围中有筛选或者隐藏等操作,勾选后仅读取可见的内容","advanced":false,"valueTypes":[]},{"key":"valueType","label":"读取格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"原始值:Excel中日期类型数据会读取为浮点数。显示值:Excel中日期类型数据将读取为用户所见的字符串类型,读取速度较慢。保留类型:Excel中日期类型数据将读取为日期对象。推荐使用读取原始值,读取速度最快。","advanced":true,"valueTypes":[]},{"key":"replaceNone","label":"替换None值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"替换None值为空字符串","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel内容","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel内容","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_OpenV2","name":"打开Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0","baseType":"Excel_Cs_Open","functionName":"Excel.Cs_OpenV2","functionCalls":[{"function":"Excel.Cs_OpenV2","args":["file","visible","software","maximize","password1","password2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"文件的存储路径,默认为流程包文件夹; 支持相对路径:a\\b.xlsx 等价 a\\b","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"visible","label":"使用软件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"选择使用软件,则计算机上必须安装 Microsoft Office 或者 WPS;不选择,则计算机上不需要安装任何软件","advanced":false,"valueTypes":[]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"可以使用指定软件打开文件","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":false,"valueTypes":[]},{"key":"password1","label":"打开密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"用于打开权限的密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"password2","label":"编辑密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"输入用于编辑权限的密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_SetWidthV1","name":"设置列宽","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定列的列宽。","messageTemplate":"设置Excel $0 Sheet表 $1 中列名为 $2 的列宽为 $3","baseType":"Excel_Cs_SetWidth","functionName":"Excel.Cs_SetWidthV1","functionCalls":[{"function":"Excel.Cs_SetWidthV1","args":["workbook","sheet","columns","setWidthType","width","save"],"assignTo":""}],"version":"3.3.5.0","tags":["设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"columns","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"可输入多列,例如:[\"A\",\"B\",\"C\"],不填设置所有列,列名支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"setWidthType","label":"设置方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"指定列宽","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"width","label":"列宽","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"8.38","placeholder":"仅支持输入正数","description":"Excel默认值为8.38,可自定义设置,单位:字符","advanced":false,"valueTypes":["rpa_num"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetCellFormat","name":"设置单元格格式","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件单元格格式。","messageTemplate":"设置Excel $0 Sheet表 $1 中指定区域的单元格格式为 $3","baseType":"Excel_Cs_SetCellFormat","functionName":"Excel.Cs_SetCellFormat","functionCalls":[{"function":"Excel.Cs_SetCellFormat","args":["workbook","sheet","range","format","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"format","label":"格式代码","widget":"text","type":"string","displayType":"excelRule","required":true,"defaultValue":"G/通用格式","placeholder":"","description":"输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式","advanced":false,"valueTypes":["rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SetRangeColor","name":"区域颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标excel中指定区域的背景颜色,设定区域的起始单元格,可选设置后是否保存。","messageTemplate":"设置区域 $2 的颜色为 $3","baseType":"Excel_SetRangeColor","functionName":"Excel.SetRangeColor","functionCalls":[{"function":"Excel.SetRangeColor","args":["objExcel","sheet","cellPos","cellColor","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["区域背景颜色","范围背景颜色"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellColor","label":"颜色","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[255,255,255]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Interop","name":"Excel动态调用","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"动态调用Excel对象的属性或方法,并获取返回的值。","messageTemplate":"调用对象 $1 的 $5, 然后把结果保存到 $0","baseType":"Excel_Cs_Interop","functionName":"Excel.Cs_Interop","functionCalls":[{"function":"Excel.Cs_Interop","args":["obj","workbook","sheet","range","property","value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"obj","label":"调用对象","widget":"select","type":"string","displayType":"dropDownSelect1","required":false,"defaultValue":"0","placeholder":"","description":"选择调用的对象","advanced":false,"valueTypes":[]},{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入区域地址,例如:A1,A1:B2","description":"输入Excel支持的区域地址,例如:A1,A1:B2","advanced":false,"valueTypes":["rpa_str"]},{"key":"property","label":"属性或方法名","widget":"select","type":"string","displayType":"autoComplete","required":false,"defaultValue":"","placeholder":"","description":"输入Excel对象的属性或方法名称,可以参考微软Excel对象相关文档","advanced":false,"valueTypes":["rpa_str"]},{"key":"value","label":"属性值或方法参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"设置属性,输入对象的属性支持的值(字符串),设置缺省值输入null,如果为空则获取该属性值;调用方法输入参数列表,例:[参数1,参数2]","advanced":false,"valueTypes":["rpa_str","rpa_list","rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"调用结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"调用结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Excel_Cs_InsertPivotTable","name":"新建Excel数据透视表","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"根据目标Excel文件数据指定数据源新建数据透视表。","messageTemplate":"在Excel $1 中新建数据透视表, 然后把结果保存到 $0","baseType":"Excel_Cs_InsertPivotTable","functionName":"Excel.Cs_InsertPivotTable","functionCalls":[{"function":"Excel.Cs_InsertPivotTable","args":["workbook","rule","sourceData","save"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"rule","label":"透视表规则","widget":"text","type":"string","displayType":"excelRule","required":false,"defaultValue":"","placeholder":"","description":"在Excel中配置好数据透视表后,点击“在Excel中拾取”按钮可拾取数据透视表的配置规则。","advanced":false,"valueTypes":[]},{"key":"sourceData","label":"数据源","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入数据源","advanced":false,"valueTypes":["rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"透视表名称","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"透视表名称","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Excel_Cs_CopyRangeV2","name":"复制表格内容","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"复制目标Excel文件指定区域的内容。","messageTemplate":"复制Excel $0 Sheet表 $1 中选取的内容","baseType":"Excel_Cs_CopyRange","functionName":"Excel.Cs_CopyRangeV2","functionCalls":[{"function":"Excel.Cs_CopyRangeV2","args":["workbook","sheet","mode","column","row","startRow","lastRow","startColumn","lastColumn","startColumn2","startRow2","lastColumn2","lastRow2"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"mode","label":"复制模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"复制单元格","placeholder":"","description":"通过下拉的选项,选择复制的区域","advanced":false,"valueTypes":[]},{"key":"column","label":"单元格列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"单元格行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"startColumn2","label":"起始列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"startRow2","label":"起始行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"lastColumn2","label":"结束列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"lastRow2","label":"结束行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_RunMacro","name":"执行宏","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"执行在目标Excel已录制的宏。使用组件前请确保已在Excel中录制宏,本次将要执行哪个宏。","messageTemplate":"执行宏 $1","baseType":"Excel_Cs_RunMacro","functionName":"Excel.Cs_RunMacro","functionCalls":[{"function":"Excel.Cs_RunMacro","args":["workbook","script","args","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"script","label":"宏名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"宏1","placeholder":"","description":"输入在Excel文件中已录制的宏名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"args","label":"宏参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"宏参数格式:[arg1,arg2]","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetHeightV1","name":"设置行高","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定行的行高。","messageTemplate":"设置Excel $0 Sheet表 $1 中行号为 $2 的行高为 $3","baseType":"Excel_Cs_SetHeight","functionName":"Excel.Cs_SetHeightV1","functionCalls":[{"function":"Excel.Cs_SetHeightV1","args":["workbook","sheet","rows","setHeightType","height","save"],"assignTo":""}],"version":"3.3.5.0","tags":["设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"rows","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"可输入多行,例如:[1,2,3],不填设置所有行,行号支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_list"]},{"key":"setHeightType","label":"设置方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"指定行高","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"height","label":"行高","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"14.5","placeholder":"仅支持输入正数","description":"Excel默认值为14.25,WPS为13.5,可自定义设置,单位:磅","advanced":false,"valueTypes":["rpa_num"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Find","name":"Excel查找/替换","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"在Excel软件中指定区域进行数据查找或替换,并返回查找到的数据位置。","messageTemplate":"使用Excel软件查找/替换 $1 中 Sheet表 $2 指定区域的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_Find","functionName":"Excel.Cs_Find","functionCalls":[{"function":"Excel.Cs_Find","args":["workbook","sheet","mode","option","range","row","column","what","lookAt","lookIn","searchOrder","searchDirection","matchCase","matchByte","matchFormat","replacement","replaceFormat","matchFirst","save","returnType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"mode","label":"模式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"组件的功能模式, 选择查找,返回匹配的单元格;选择替换,返回是否替换成功(Bool)。","advanced":false,"valueTypes":[]},{"key":"option","label":"查找区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"在指定区域内查找内容","advanced":false,"valueTypes":[]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str"]},{"key":"what","label":"查找内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要查找的内容,例如:实在智能","description":"输入需要查找的内容,如“实在智能”","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"lookAt","label":"精确匹配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则将查找内容与整个单元格内容完全一致才算匹配成功","advanced":false,"valueTypes":[]},{"key":"lookIn","label":"查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"-4163","placeholder":"","description":"查找内容的范围","advanced":false,"valueTypes":[]},{"key":"searchOrder","label":"查找顺序","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择按行或列的顺序进行查找","advanced":false,"valueTypes":[]},{"key":"searchDirection","label":"查找方向","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择向前或向后查找","advanced":false,"valueTypes":[]},{"key":"matchCase","label":"匹配大小写","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否区分单元格内容中英文字母的大小写","advanced":false,"valueTypes":[]},{"key":"matchByte","label":"匹配字节","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"仅在已选择或安装双字节语言支持时才使用。 勾选则双字节字符仅匹配双字节字符,不勾选则双字节字符与其单字节等效项匹配。","advanced":false,"valueTypes":[]},{"key":"matchFormat","label":"查找格式","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式","advanced":false,"valueTypes":["rpa_str"]},{"key":"replacement","label":"替换为","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"1 输入需要将查找到的内容替换为,示例:“实在智能RPA”。2 可以为空,为空时,表示将查找到的内容替换为空字符。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"replaceFormat","label":"替换格式","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式","advanced":false,"valueTypes":["rpa_str"]},{"key":"matchFirst","label":"查找数量","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择所有项,查找指定区域中的所有匹配成功的单元格,返回列表;选择第一个,则第一个匹配成功后结束查找;","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"returnType","label":"输出格式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"输出格式选择列名和行号,返回列表,第一项为列名,第二项为行号;选择单元格地址,返回字符串,值为单元格地址。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"查找替换结果","valueTypes":["rpa_list","rpa_str","rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"查找替换结果","valueTypes":["rpa_list","rpa_str","rpa_bool"]}]},"slots":[]},{"id":"Excel_Cs_SaveAs","name":"另存为Excel","kind":"vendor","group":"office","categories":["excel_operator"],"categorySignature":"excel_operator","description":"将目标Excel文件另存为。","messageTemplate":"将Excel文件另到 $2 文件名为 $3, 然后把结果保存到 $0","baseType":"Excel_Cs_SaveAs","functionName":"Excel.Cs_SaveAs","functionCalls":[{"function":"Excel.Cs_SaveAs","args":["workbook","path","name","close","cover","share"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"path","label":"另存为路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择Excel文件存储路径","description":"输入或选择Excel文件存储路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请填写另存的Excel文件名称","description":"填写另存的Excel文件名称","advanced":false,"valueTypes":["rpa_str","rpa_str_filename"]},{"key":"close","label":"保存后关闭","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则保存后将当前打开的Excel文件关闭;对于非可视化运行,该选项将会使“文件对象”释放","advanced":false,"valueTypes":[]},{"key":"cover","label":"覆盖相同文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选则直接覆盖原文件,不勾选则直接在文件名上加“副本”,如“实在智能(副本).xlsx”","advanced":false,"valueTypes":[]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_DeleteRangeV3","name":"删除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel文件指定区域。","messageTemplate":"删除Excel $0 Sheet表 $1 中选择区域","baseType":"Excel_Cs_DeleteRange","functionName":"Excel.Cs_DeleteRangeV3","functionCalls":[{"function":"Excel.Cs_DeleteRangeV3","args":["workbook","sheet","excelRng","mode","save"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,为空时表示当前激活Sheet","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"mode","label":"删除模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"右侧单元格左移","placeholder":"","description":"删除模式与Excel一致,模式有4种:右侧单元格左移、下侧单元格上移、整行、整列。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Loop","name":"excel内容循环","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"excel内容循环,并输出给指定变量。","messageTemplate":"excel内容循环","baseType":"Excel_Loop","functionName":"Excel.Loop","functionCalls":[{"function":"Excel.Loop","args":["objExcel"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_GetLastEmptyCell","name":"获取尾部第一个空白单元格","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标Excel文件指定行或列中最后一个空白的单元格。","messageTemplate":"获取 $3 { $$3=='指定一列' && '$4'}{$$3=='指定一行' && '$5'} 中获取尾部第一个空白单元格, 然后把结果保存到 $0","baseType":"Excel_Cs_GetLastEmptyCell","functionName":"Excel.Cs_GetLastEmptyCell","functionCalls":[{"function":"Excel.Cs_GetLastEmptyCell","args":["workbook","sheet","range","column","row"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"获取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"指定一列","placeholder":"","description":"读取整个Sheet,将读取当前指定Sheet表已编辑区域的总行数;指定一列,将读取指定列中的最后一个空白单元格位置;指定一行,将读取指定行中的最后一个空白单元格位置","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel空白单元格位置","valueTypes":["rpa_int_row","rpa_str_col","rpa_int_row"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel空白单元格位置","valueTypes":["rpa_int_row","rpa_str_col","rpa_int_row"]}]},"slots":[]},{"id":"Excel_WriteRowNew","name":"写入行","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将数据写入到目标excel指定的单元格所在行,支持数值/公式等形式,可设置写入后是否保存。","messageTemplate":"在Excel对象 $0 中的第 $2 行插入一行内容,$4","baseType":"Excel_WriteRow","functionName":"Excel.WriteRowNew","functionCalls":[{"function":"Excel.WriteRowNew","args":["objExcel","sheet","row","column","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入行","输入行","写入sheet"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column","label":"起始列","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[1,'壹',2]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_GetRowData","name":"读取行","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中,指定单元格所在行的数据,以数组的形式输出到指定变量。","messageTemplate":"读取单元格 $3 所在行的值, 然后把结果保存到 $0","baseType":"Excel_GetRowData","functionName":"Excel.GetRowData","functionCalls":[{"function":"Excel.GetRowData","args":["objExcel","sheet","cellPos"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取表格行","读取excel行","读取工作簿行"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_SetRangeFont","name":"设置区域字体颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定区域的字体颜色。","messageTemplate":"设置Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的字体颜色为 $6","baseType":"Excel_Cs_SetRangeFont","functionName":"Excel.Cs_SetRangeFont","functionCalls":[{"function":"Excel.Cs_SetRangeFont","args":["workbook","sheet","startColumn","startRow","lastColumn","lastRow","color","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"B","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"color","label":"颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"","description":"支持拾取器拾取输入,也支持手动输入,包括[255,255,255]和\"#FFFFFF\"两种格式","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SetRangeFontColor","name":"区域字体颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标excel中指定区域的字体颜色,设定区域的起始单元格,可选设置后是否保存。","messageTemplate":"设置区域字体 $2 的颜色为 $3","baseType":"Excel_SetRangeFontColor","functionName":"Excel.SetRangeFontColor","functionCalls":[{"function":"Excel.SetRangeFontColor","args":["objExcel","sheet","cellPos","cellColor","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["区域字体颜色","范围字体颜色"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellColor","label":"颜色","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[255,255,255]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadContent","name":"读取Excel内容","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在目标Excel文件读取指定区域内容。","messageTemplate":"在 Excel $1 中 Sheet表 $2 读取指定区域写入内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadContent","functionName":"Excel.Cs_ReadContent","functionCalls":[{"function":"Excel.Cs_ReadContent","args":["workbook","sheet","excelRng","decimal"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"decimal","label":"读取显示的值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel内容","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel内容","valueTypes":[]}]},"slots":[]},{"id":"Excel_ReadRange","name":"读取区域","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中的指定区域,并将内容以数组形式输出到指定变量,可设定区域起始格。","messageTemplate":"读取区域 $3 的值, 然后把结果保存到 $0","baseType":"Excel_ReadRange","functionName":"Excel.ReadRange","functionCalls":[{"function":"Excel.ReadRange","args":["objExcel","sheet","cellPosRange"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取范围","读取表格范围","读取excel区域","读取工作簿区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPosRange","label":"单元格区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_GetColumnId","name":"获取Excel列标识","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标excel的列标识,并输出给指定变量。","messageTemplate":"获取Excel列标识, 然后把结果保存到 $0","baseType":"Excel_GetColumnId","functionName":"Excel.GetColumnId","functionCalls":[{"function":"Excel.GetColumnId","args":["num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"num","label":"列数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入列数,例如:1","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列名","valueTypes":["rpa_str_col"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列名","valueTypes":["rpa_str_col"]}]},"slots":[]},{"id":"Excel_Cs_SetCellFont","name":"设置单元格字体颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定单元格的字体颜色。","messageTemplate":"设置Excel $0 Sheet表 $1 中单元格 $2$3 的字体颜色为 $4","baseType":"Excel_Cs_SetCellFont","functionName":"Excel.Cs_SetCellFont","functionCalls":[{"function":"Excel.Cs_SetCellFont","args":["workbook","sheet","column","row","color","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"color","label":"颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"请输入或选择颜色值","description":"支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00","advanced":false,"valueTypes":["rpa_str","rpa_str_color"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_GetRowDataNew","name":"读取行","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中,指定单元格所在行的数据,以数组的形式输出到指定变量。","messageTemplate":"读取表格 $1 中,$2 中,第 $3 行内容, 然后把结果保存到 $0","baseType":"Excel_GetRowData","functionName":"Excel.GetRowDataNew","functionCalls":[{"function":"Excel.GetRowDataNew","args":["objExcel","sheet","row"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取表格行","读取excel行","读取工作簿行"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_WriteRowV2","name":"写入行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将值或列表数据按行(可以设置行开始位置)写入到目标Excel文件指定位置。支持数值/公式。","messageTemplate":"在Excel $0 中Sheet表 $1 第 $2 行,第 $3 列, 写入内容 $4","baseType":"Excel_Cs_WriteRow","functionName":"Excel.Cs_WriteRowV2","functionCalls":[{"function":"Excel.Cs_WriteRowV2","args":["workbook","sheet","row","column","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"column","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"","description":"请输入一维列表数据,示例:[123,\"abc\",\"一二三\"]。","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadColumnCount","name":"读取列数","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件已编辑区域的总列数,并输出至指定变量。","messageTemplate":"获取Excel $1 中Sheet表 $2 已编辑区域的总列数, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadColumnCount","functionName":"Excel.Cs_ReadColumnCount","functionCalls":[{"function":"Excel.Cs_ReadColumnCount","args":["workbook","sheet","range","row","ignoreHidden"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"读取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"整个Sheet","placeholder":"","description":"读取整个Sheet,将读取当前指定Sheet表已编辑区域的总列数;指定一行,将读取指定行的已编辑列数。","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"ignoreHidden","label":"仅读取显示的列数","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"适用于读取范围中有筛选或者隐藏等操作,勾选后仅计算显示的行数","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel列数","valueTypes":["rpa_int_colNum"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel列数","valueTypes":["rpa_int_colNum"]}]},"slots":[]},{"id":"Excel_DeleteRange","name":"删除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标excel中指定区域的数据,可设定起始单元格位置。","messageTemplate":"删除区域 $2","baseType":"Excel_DeleteRange","functionName":"Excel.DeleteRange","functionCalls":[{"function":"Excel.DeleteRange","args":["objExcel","sheet","cellPos","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["删除范围","删除区域","删除表格区域","删除excel区域","删除工作簿区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Delete","name":"删除Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"删除目标Excel文件指定Sheet。","messageTemplate":"删除Sheet表 $1","baseType":"Excel_Cs_Delete","functionName":"Excel.Cs_Delete","functionCalls":[{"function":"Excel.Cs_Delete","args":["workbook","sheet","save"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_OpenV4","name":"打开Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"打开指定路径下的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"打开文件路径为 $1 的Excel文件, 然后把结果保存到 $0","baseType":"Excel_Cs_Open","functionName":"Excel.Cs_OpenV4","functionCalls":[{"function":"Excel.Cs_OpenV4","args":["file","software","show","maximize","password1","password2","share","autoUpdateLink"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件路径","description":"选择或输入Excel文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"选择打开Excel的软件,若未安装相应软件可选择不使用软件","advanced":false,"valueTypes":[]},{"key":"show","label":"显示Excel界面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"关闭此选项可后台静默运行,速度更快","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":true,"valueTypes":[]},{"key":"password1","label":"打开密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入打开密码","description":"用于打开加密Excel文件的密码","advanced":true,"valueTypes":["rpa_password","rpa_str"]},{"key":"password2","label":"编辑密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入编辑密码","description":"用于编辑加密Excel文件的密码","advanced":true,"valueTypes":["rpa_password","rpa_str"]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]},{"key":"autoUpdateLink","label":"更新外部链接","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择如何更新 Excel 文件中的外部链接","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_WriteColumn","name":"写入列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将值或列表数据按列(可以设置列开始位置)写入到目标Excel文件指定位置。支持数值/公式。","messageTemplate":"在Excel $0 中Sheet表 $1 第 $2 列 第 $3行,写入内容 $4","baseType":"Excel_Cs_WriteColumn","functionName":"Excel.Cs_WriteColumn","functionCalls":[{"function":"Excel.Cs_WriteColumn","args":["workbook","sheet","column","row","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_int","rpa_str","rpa_str_col"]},{"key":"row","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_ActiveSheet","name":"激活sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"激活目标excel中指定的sheet。","messageTemplate":"激活工作表 $1","baseType":"Excel_ActiveSheet","functionName":"Excel.ActiveSheet","functionCalls":[{"function":"Excel.ActiveSheet","args":["objExcel","sheet"],"assignTo":""}],"version":"3.3.5.0","tags":["激活sheet","激活工作簿","激活工作表"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Export","name":"导出Excel为PDF","kind":"vendor","group":"office","categories":["excel_operator"],"categorySignature":"excel_operator","description":"将目标Excel文件导出为PDF。","messageTemplate":"将Excel导出为PDF并存储到 $2,并命名为 $3","baseType":"Excel_Cs_Export","functionName":"Excel.Cs_Export","functionCalls":[{"function":"Excel.Cs_Export","args":["workbook","option","path","name","cover"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"option","label":"Sheet名称","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"全部","placeholder":"","description":"输入包含文件后缀的文件名,示例:\"测试文档.xls”、”测试文档.xlsx”","advanced":false,"valueTypes":[]},{"key":"path","label":"导出路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或填写Excel文件导出路径","description":"选择或填写Excel文件导出路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文件名称","description":"","advanced":false,"valueTypes":["rpa_str","rpa_str_filename"]},{"key":"cover","label":"覆盖相同文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选则直接覆盖原文件,不勾选则直接在文件名上加“副本”,如“实在智能(副本).pdf”","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_WriteCellV2","name":"写入单元格","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将数据写入到目标Excel文件指定单元格。支持数值/公式。","messageTemplate":"在Excel $0 中Sheet表 $1 第 $2列,第 $3 行,写入内容 $4","baseType":"Excel_Cs_WriteCell","functionName":"Excel.Cs_WriteCellV2","functionCalls":[{"function":"Excel.Cs_WriteCellV2","args":["workbook","sheet","column","row","content","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"content","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"实在智能","placeholder":"","description":"请输入一段文本,示例:“实在智能”","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_WriteCellNew","name":"写入单元格","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将数据写入到目标excel指定的单元格中,支持数值/公式等形式,可设置写入后是否保存。","messageTemplate":"在Excel对象 $0 中的单元格,第 $2 行,第 $3 列中写入内容 $4 ","baseType":"Excel_WriteCell","functionName":"Excel.WriteCellNew","functionCalls":[{"function":"Excel.WriteCellNew","args":["objExcel","sheet","row","column","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入单元格","输入单元格","写入sheet"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_MergeCellsV2","name":"合并单元格","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将表格中指定区域合并单元格或取消合并单元格。","messageTemplate":"将Excel $0 Sheet表 $1 中指定区域 { $$2=='0' && '合并'} { $$2=='1' && '取消合并'}","baseType":"Excel_Cs_MergeCells","functionName":"Excel.Cs_MergeCellsV2","functionCalls":[{"function":"Excel.Cs_MergeCellsV2","args":["workbook","sheet","merge","excelRng","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"merge","label":"合并/取消合并","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择合并或取消合并指定的区域","advanced":false,"valueTypes":[]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ShowTableStyle","name":"设置Excel表格样式","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置表格样式选项(超级表、PQ)。","messageTemplate":"设置 Excel $0 Sheet $1中 表格 $3 的显示样式","baseType":"Excel_Cs_ShowTableStyle","functionName":"Excel.Cs_ShowTableStyle","functionCalls":[{"function":"Excel.Cs_ShowTableStyle","args":["workbook","sheet","table","headerRow","totalRow","firstColumn","lastColumn","filterButton","save"],"assignTo":""}],"version":"3.3.5.0","tags":["设置","配置","设定","调配","设置好","表格","数据表","表格数据"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"table","label":"表格名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"在Excel中创建表格(超级表、PQ)后显示的名称","advanced":false,"valueTypes":[]},{"key":"headerRow","label":"标题行","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"取消或启用表格的标题行","advanced":false,"valueTypes":[]},{"key":"totalRow","label":"汇总行","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"取消或启用表格的汇总行","advanced":false,"valueTypes":[]},{"key":"firstColumn","label":"第一列","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"取消或启用表格第一列的特殊格式","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"最后一列","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"取消或启用表格最后一列的特殊格式","advanced":false,"valueTypes":[]},{"key":"filterButton","label":"筛选按钮","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"取消或启用表格的筛选状态","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_CopyRangeV3","name":"复制表格内容","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"复制目标Excel文件指定区域的内容。","messageTemplate":"复制Excel $0 Sheet表 $1 中选取的内容","baseType":"Excel_Cs_CopyRange","functionName":"Excel.Cs_CopyRangeV3","functionCalls":[{"function":"Excel.Cs_CopyRangeV3","args":["workbook","sheet","excelRng"],"assignTo":""}],"version":"3.3.5.0","tags":["复制","拷贝","复件","仿制","表格","数据表","表格数据","数据表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Close","name":"关闭Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"关闭目标Excel文件。","messageTemplate":"关闭 $0","baseType":"Excel_Cs_Close","functionName":"Excel.Cs_Close","functionCalls":[{"function":"Excel.Cs_Close","args":["workbook","save","close"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"close","label":"关闭软件","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择当前,只关闭当前的文件;选择全部,关闭所有已打开的文件","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ClearRangeV2","name":"清除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"清除目标Excel指定区域。","messageTemplate":"清除Excel $0 Sheet表 $1 中选择区域的内容","baseType":"Excel_Cs_ClearRange","functionName":"Excel.Cs_ClearRangeV2","functionCalls":[{"function":"Excel.Cs_ClearRangeV2","args":["workbook","sheet","range","mode","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"mode","label":"是否清除格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"是","placeholder":"","description":"选择是,则清除区域数据的同时,字号大小颜色、单元格颜色等格式,将被还原成默认值;选择否,保留区域格式,只清除数据。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SelectRangeV3","name":"选中区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"选中目标Excel文件指定区域。","messageTemplate":"在Excel $0 Sheet表 $1 中选择区域","baseType":"Excel_Cs_SelectRange","functionName":"Excel.Cs_SelectRangeV3","functionCalls":[{"function":"Excel.Cs_SelectRangeV3","args":["workbook","sheet","excelRng","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,为空时表示当前激活Sheet","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在 Excel 中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_AutoFillV2","name":"自动填充","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将目标Excel的指定源区域按Excel规则自动填充到目标区域。","messageTemplate":"将 Excel $1 源区域自动填充到目标区域","baseType":"Excel_Cs_AutoFill","functionName":"Excel.Cs_AutoFillV2","functionCalls":[{"function":"Excel.Cs_AutoFillV2","args":["workbook","sheet","excelRng","destination","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"excelRng","label":"源区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"destination","label":"填充区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"待填充数据的目标单元格区域。1、填充固定区域时,起始和结束的列名必须与源区域一致,如起始列都是A列,结束列都是D列;2、填充固定数量时,数量=源区域数量+自动填充的数量。如源区域数量为2,自动填充50行,则数量应填写52。向上下填充最大数量为1048576,向左右填充最大数量为16384。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_DeleteRow","name":"删除行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标excel指定的单元格所在行,可设置删除后是否保存。","messageTemplate":"删除行 $2","baseType":"Excel_DeleteRow","functionName":"Excel.DeleteRow","functionCalls":[{"function":"Excel.DeleteRow","args":["objExcel","sheet","cellPos","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["删除行","删除工作簿行","删除excel行","删除表格行"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_WriteCell","name":"写入单元格","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将数据写入到目标Excel文件指定单元格。支持数值/公式。","messageTemplate":"在Excel $0 中Sheet表 $1 第 $2行,第 $3 列,写入内容 $4","baseType":"Excel_Cs_WriteCell","functionName":"Excel.Cs_WriteCell","functionCalls":[{"function":"Excel.Cs_WriteCell","args":["workbook","sheet","row","column","content","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"content","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"实在智能","placeholder":"请输入单元格内容","description":"输入单元格内容","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ClearExcelFilter","name":"清除Excel数据筛选","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"清除Excel软件中数据筛选条件。","messageTemplate":"清除 Excel $0 Sheet表中数据筛选条件","baseType":"Excel_Cs_ClearExcelFilter","functionName":"Excel.Cs_ClearExcelFilter","functionCalls":[{"function":"Excel.Cs_ClearExcelFilter","args":["workbook","sheet","option","column","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"option","label":"清除方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"清除 Excel 中指定范围的筛选条件","advanced":false,"valueTypes":[]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Close","name":"关闭excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"关闭目标excel文档,可选择是否保存再关闭。","messageTemplate":"关闭Excel","baseType":"Excel_Close","functionName":"Excel.Close","functionCalls":[{"function":"Excel.Close","args":["objExcel","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["关闭excel","关闭工作簿","关闭表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_InsertRow","name":"插入行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标excel指定的单元格所在行的上面,插入一行数据,可设定插入后是否保存。","messageTemplate":"在索引或工作表为 $1 中的 $2 之前插入一行数据","baseType":"Excel_InsertRow","functionName":"Excel.InsertRow","functionCalls":[{"function":"Excel.InsertRow","args":["objExcel","sheet","cellPos","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["插入行","工作簿插入行","excel插入行","表格插入行"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Rename","name":"重命名Sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"将目标Excel文件指定Sheet进行重命名。","messageTemplate":"将Sheet表 $1 重命名为 $2","baseType":"Excel_Cs_Rename","functionName":"Excel.Cs_Rename","functionCalls":[{"function":"Excel.Cs_Rename","args":["workbook","sheet","newSheet","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"原Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"newSheet","label":"新Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"newSheet","placeholder":"请输入新工作表名称,例如:newSheet","description":"","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetCellBackground","name":"设置单元格背景颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定单元格的背景颜色。","messageTemplate":"设置Excel $0 Sheet表 $1 中单元格 $2$3 的背景颜色为 $4","baseType":"Excel_Cs_SetCellBackground","functionName":"Excel.Cs_SetCellBackground","functionCalls":[{"function":"Excel.Cs_SetCellBackground","args":["workbook","sheet","column","row","color","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"color","label":"颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"请输入或选择颜色值","description":"支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00","advanced":false,"valueTypes":["rpa_str","rpa_str_color"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SetColumnWidth","name":"设置列宽","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标excel中指定单元格所在列的列宽,可设置设定宽度后是否保存。","messageTemplate":"设置工作表 $1 中单元格 $2 所在列宽为 $3","baseType":"Excel_SetColumnWidth","functionName":"Excel.SetColumnWidth","functionCalls":[{"function":"Excel.SetColumnWidth","args":["objExcel","sheet","cellPos","width","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["列宽","excel列宽","工作簿列宽","表格列宽"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"width","label":"列宽","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"8.38","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SetRowHeight","name":"设置行高","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标excel中指定单元格所在行的行高,可设置设定行高后是否保存。","messageTemplate":"设置工作表 $1 中单元格 $2 所在行高为 $3","baseType":"Excel_SetRowHeight","functionName":"Excel.SetRowHeight","functionCalls":[{"function":"Excel.SetRowHeight","args":["objExcel","sheet","cellPos","height","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["行高","excel行高","工作簿行高","表格行高"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"height","label":"行高","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"8.38","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_ReadCell","name":"读取单元格","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中的单元格,并将内容以字符串形式输出到指定变量。","messageTemplate":"读取单元格 $3 的值, 然后把结果保存到 $0","baseType":"Excel_ReadCell","functionName":"Excel.ReadCell","functionCalls":[{"function":"Excel.ReadCell","args":["objExcel","sheet","cellPos"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取单元格","单元格内容"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_Save","name":"保存Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"保存目标Excel文件,如果文件存在将会覆盖。","messageTemplate":"保存 $0","baseType":"Excel_Cs_Save","functionName":"Excel.Cs_Save","functionCalls":[{"function":"Excel.Cs_Save","args":["workbook","close"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"close","label":"保存后关闭","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则保存后将当前打开的Excel文件关闭;对于非可视化运行,该选项将会使“文件对象”释放","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SetCellColor","name":"单元格背景颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标excel中指定单元格的背景颜色,可选设置后是否保存。","messageTemplate":"设置单元格 $2 的颜色为 $3","baseType":"Excel_SetCellColor","functionName":"Excel.SetCellColor","functionCalls":[{"function":"Excel.SetCellColor","args":["objExcel","sheet","cellPos","cellColor","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["单元格颜色","单元格背景色"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellColor","label":"颜色","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[255,255,255]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_WriteRow","name":"写入行","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将值或列表数据按行(可以设置行开始位置)写入到目标Excel文件指定位置。支持数值/公式。","messageTemplate":"在Excel $0 中Sheet表 $1 第 $3 行,第 $2 列, 写入内容 $4","baseType":"Excel_Cs_WriteRow","functionName":"Excel.Cs_WriteRow","functionCalls":[{"function":"Excel.Cs_WriteRow","args":["workbook","sheet","column","row","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"请输入列表类型数据或变量","description":"输入列表类型数据或变量","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadRangeV2","name":"读取区域","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件的指定区域,并将内容以列表的形式输出到指定变量(示例:[[123,\"abc\"],[456,\"def\"]])。","messageTemplate":"读取Excel $1 Sheet表 $2 的选择区域, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadRange","functionName":"Excel.Cs_ReadRangeV2","functionCalls":[{"function":"Excel.Cs_ReadRangeV2","args":["workbook","sheet","range","decimal"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"decimal","label":"读取显示的值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel区域数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel区域数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Excel_Cs_ClearRange","name":"清除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"清除目标Excel指定区域。","messageTemplate":"清除Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的内容","baseType":"Excel_Cs_ClearRange","functionName":"Excel.Cs_ClearRange","functionCalls":[{"function":"Excel.Cs_ClearRange","args":["workbook","sheet","startRow","startColumn","lastRow","lastColumn","mode","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"mode","label":"是否清除格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"是","placeholder":"","description":"若选择清除区域格式,则字号大小颜色、单元格填充颜色等样式将被还原默认值","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_GetName","name":"获取Sheet名","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"获取目标Excel文件Sheet工作表名称。可以获取当前激活Sheet或全部Sheet,获取当前激活Sheet,将返回一个字符串,示例:\"Sheet1\"。获取全部Sheet,将返回一个列表,示例:[\"Sheet1\",\"Sheet2\",\"Sheet3\"]。","messageTemplate":"获取Sheet表名称, 然后把结果保存到 $0","baseType":"Excel_Cs_GetName","functionName":"Excel.Cs_GetName","functionCalls":[{"function":"Excel.Cs_GetName","args":["workbook","range"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"range","label":"获取范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"全部","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"sheet名称","valueTypes":["rpa_list","rpa_str_sheetName"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"sheet名称","valueTypes":["rpa_list","rpa_str_sheetName"]}]},"slots":[]},{"id":"Excel_Cs_PastRangeV2","name":"粘贴表格内容","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将内容粘贴至目标Excel文件指定区域。","messageTemplate":"粘贴至Excel $0 Sheet表 $1 中选取的区域","baseType":"Excel_Cs_PastRange","functionName":"Excel.Cs_PastRangeV2","functionCalls":[{"function":"Excel.Cs_PastRangeV2","args":["workbook","sheet","column","row","pasteType","pasteOperation","skipBlanks","transpose","save","visible"],"assignTo":""}],"version":"3.3.5.0","tags":["表格","数据表","表格数据","数据表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"pasteType","label":"选择性粘贴","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"-4104","placeholder":"","description":"选择粘贴类型,当打开文件时选择【不使用软件】选项,部分粘贴类型不支持,请参考说明文档","advanced":false,"valueTypes":[]},{"key":"pasteOperation","label":"粘贴运算","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"-4142","placeholder":"","description":"选择粘贴运算方式,当打开文件时选择【不使用软件】选项,该选项暂不支持","advanced":false,"valueTypes":[]},{"key":"skipBlanks","label":"跳过空单元格","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否跳过空单元格,当打开文件时选择【不使用软件】选项,该选项暂不支持","advanced":false,"valueTypes":[]},{"key":"transpose","label":"转置","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否转置,当打开文件时选择【不使用软件】选项,该选项暂不支持","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"visible","label":"粘贴值到可见单元格","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择此项,则只粘贴值且目标区域的行号与源区域保持一致","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadRow","name":"读取行","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件的指定行,并将内容以列表的形式输出到指定变量(示例:[123,\"abc\"])。","messageTemplate":"读取Excel $1 中Sheet表 $2,第 $3 行的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadRow","functionName":"Excel.Cs_ReadRow","functionCalls":[{"function":"Excel.Cs_ReadRow","args":["workbook","sheet","rowIndex","decimal"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"rowIndex","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"decimal","label":"读取显示的值","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后,读取的值与单元格内显示的相同,此选项会导致读取变慢","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel行数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel行数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Excel_Cs_ColumnSplit","name":"Excel分列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定列分列。","messageTemplate":"设置Excel $0 Sheet表 $1 中列名为 $2 的列进行分列","baseType":"Excel_Cs_ColumnSplit","functionName":"Excel.Cs_ColumnSplit","functionCalls":[{"function":"Excel.Cs_ColumnSplit","args":["workbook","sheet","column","textFormat","width","tab","semicolon","comma","space","other","otherChar","consecutiveDelimiter"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"仅支持单列,支持输入A或1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"textFormat","label":"分列规则","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"分隔符号","placeholder":"","description":"分隔符号:通过指定符号分隔,勾选多个存在一个即分隔。固定宽度:根据字符长度分隔。","advanced":false,"valueTypes":[]},{"key":"width","label":"字符长度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"单元格内容长度,通常一个中文字为两个字符,一个数字、英文、字符为一个字符。","advanced":false,"valueTypes":["rpa_num"]},{"key":"tab","label":"Tab键","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"semicolon","label":"分号","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"comma","label":"逗号","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"space","label":"空格","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"other","label":"其他","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"otherChar","label":"otherChar","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"consecutiveDelimiter","label":"连续分隔符号视为单个处理","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Sort","name":"Excel数据排序","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"对目标Excel文件指定区域进行数据排序。","messageTemplate":"对Excel $0 Sheet表 $1 中数据进行排序","baseType":"Excel_Cs_Sort","functionName":"Excel.Cs_Sort","functionCalls":[{"function":"Excel.Cs_Sort","args":["workbook","sheet","sortRange","sortOrder","region","header","rule","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"sortRange","label":"排序范围","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"sortOrder","label":"排序方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择数据排序方式","advanced":false,"valueTypes":[]},{"key":"region","label":"扩展选定区域","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"排序范围选择行或列时有效","advanced":false,"valueTypes":[]},{"key":"header","label":"首行参与排序","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否对首行进行排序","advanced":false,"valueTypes":[]},{"key":"rule","label":"排序规则","widget":"text","type":"string","displayType":"excelRule","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ExcelAddin","name":"数据处理","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"执行在数据处理中录制的数据操作。","messageTemplate":"$1","baseType":"Excel_Cs_ExcelAddin","functionName":"Excel.Cs_ExcelAddin","functionCalls":[{"function":"Excel.Cs_ExcelAddin","args":["workbook","name","code","args","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"name","label":"名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"数据操作","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"code","label":"代码","widget":"textarea","type":"string","displayType":"multipleTextArea","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"args","label":"args","widget":"textarea","type":"string","displayType":"inputItemArray","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadCellBackground","name":"获取单元格背景色","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标Excel文件指定单元格的背景颜色。","messageTemplate":"获取 Excel $1 中Sheet表 $2,第 $4 行,第 $3 列的背景颜色, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadCellBackground","functionName":"Excel.Cs_ReadCellBackground","functionCalls":[{"function":"Excel.Cs_ReadCellBackground","args":["workbook","sheet","column","row","colorType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str_col","rpa_int","rpa_str"]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"colorType","label":"颜色格式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"返回颜色的格式","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel单元格背景色","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel单元格背景色","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Excel_RenameSheet","name":"重命名sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"将目标excel文档中指定名称的sheet改为其他名称,可设定原名和新名。","messageTemplate":"将工作表 $1 重命名为 $2","baseType":"Excel_RenameSheet","functionName":"Excel.RenameSheet","functionCalls":[{"function":"Excel.RenameSheet","args":["objExcel","sheet","newSheet","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["sheet改名","改工作表名称","改工作簿名称"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"原表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"newSheet","label":"新表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"newName","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_InsertPictureV2","name":"插入图片","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置插入图片,并可以设置图片大小和位置。","messageTemplate":"在Excel $0 Sheet表 $1 中插入图片 $2","baseType":"Excel_Cs_InsertPicture","functionName":"Excel.Cs_InsertPictureV2","functionCalls":[{"function":"Excel.Cs_InsertPictureV2","args":["workbook","sheet","path","column","row","left","top","width","height","save"],"assignTo":""}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"path","label":"图片对象","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_str_file"]},{"key":"column","label":"插入单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"插入单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"left","label":"向右移动距离","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"插入图片距离插入单元格左边缘向右移动的距离,单位像素(常用分辨率为1920*1080像素)","advanced":false,"valueTypes":["rpa_int"]},{"key":"top","label":"向下移动距离","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"插入图片距离插入单元格上边缘向下移动的距离,单位像素(常用分辨率为1920*1080像素)","advanced":false,"valueTypes":["rpa_int"]},{"key":"width","label":"图片宽度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"100","placeholder":"","description":"默认读取插入图片的宽度,也可以设置以像素为单位的图片宽度","advanced":false,"valueTypes":["rpa_int"]},{"key":"height","label":"图片高度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"100","placeholder":"","description":"默认读取插入图片的高度,也可以设置以像素为单位的图片高度","advanced":false,"valueTypes":["rpa_int"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_FilterPivotTable","name":"筛选Excel数据透视表","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"筛选Excel文件中数据透视表的数据。","messageTemplate":"筛选Excel $0 中 $1 $2 的数据","baseType":"Excel_Cs_FilterPivotTable","functionName":"Excel.Cs_FilterPivotTable","functionCalls":[{"function":"Excel.Cs_FilterPivotTable","args":["workbook","sheet","pivotTable","field","fieldValue","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"pivotTable","label":"透视表名称","widget":"text","type":"string","displayType":"excelRule","required":true,"defaultValue":"","placeholder":"","description":"输入数据透视表名称,或选择新建Excel数据透视表返回的变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"field","label":"筛选字段","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入筛选字段名称,支持选择字符串类型变量。","advanced":false,"valueTypes":["rpa_str"]},{"key":"fieldValue","label":"筛选内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"输入筛选内容,支持列表类型变量。","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SelectRange","name":"选中区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"选中目标excel中指定区域,可设定起始单元格位置。","messageTemplate":"在索引或工作表为 $1 中选中区域 $2","baseType":"Excel_SelectRange","functionName":"Excel.SelectRange","functionCalls":[{"function":"Excel.SelectRange","args":["objExcel","sheet","cellPos"],"assignTo":""}],"version":"3.3.5.0","tags":["选中范围","选中表格区域","选中excel区域","选中工作簿区域"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"区域","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1:B2","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_SaveAs","name":"另存excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将目标excel文档,按当前文件的文件名,保存到指定的路径。","messageTemplate":"excel另存为 $1","baseType":"Excel_SaveAs","functionName":"Excel.SaveAs","functionCalls":[{"function":"Excel.SaveAs","args":["objExcel","filename","isAbsolutePath"],"assignTo":""}],"version":"3.3.5.0","tags":["另存为excel","另存为工作簿","另存为表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"isAbsolutePath","label":"是否绝对路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_RunMacroV2","name":"执行宏","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"执行在目标Excel已录制的宏。使用组件前请确保已在Excel中录制宏,本次将要执行哪个宏。","messageTemplate":"$2","baseType":"Excel_Cs_RunMacro","functionName":"Excel.Cs_RunMacroV2","functionCalls":[{"function":"Excel.Cs_RunMacroV2","args":["workbook","mode","script","code","args","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","电子表格","Excel文件","表格处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"mode","label":"执行方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择名称,则执行Excel文件对象中已录制的宏;选择代码,则执行输入的VBA代码","advanced":false,"valueTypes":[]},{"key":"script","label":"名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"宏1","placeholder":"","description":"输入在Excel文件中已存在的宏名称或流程所在文件夹Excel组件vb目录下存在的宏模块","advanced":false,"valueTypes":[]},{"key":"code","label":"VBA代码","widget":"textarea","type":"string","displayType":"multipleTextArea","required":false,"defaultValue":"","placeholder":"","description":"请输入要执行的VBA代码","advanced":false,"valueTypes":[]},{"key":"args","label":"宏参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"宏参数 格式:[参数1,参数2]","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Hide","name":"隐藏/显示行列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定行、列进行隐藏。","messageTemplate":"将Excel $0 Sheet表 $1 中 { $$3 == '行' && '行号 $4 设置为' } { $$3 == '列' && '列名 $5 设置为' }{ $$2 == '隐藏' && '隐藏' } { $$2 == '显示' && '显示' }","baseType":"Excel_Cs_Hide","functionName":"Excel.Cs_Hide","functionCalls":[{"function":"Excel.Cs_Hide","args":["workbook","sheet","mode","range","row","column","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"mode","label":"隐藏/显示","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"隐藏","placeholder":"","description":"选择隐藏或显示指定的行或列","advanced":false,"valueTypes":[]},{"key":"range","label":"隐藏区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"行","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"1","placeholder":"支持单行输入1,多行输入[1,3]","description":"(表)支持单行输入1,多行输入[1,3]","advanced":false,"valueTypes":["rpa_int","rpa_list","rpa_int_row","rpa_str"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"dependencyShow","required":true,"defaultValue":"A","placeholder":"支持单列输入A,多列输入[A,C]","description":"(表)支持单列输入A,多列输入[A,C]","advanced":false,"valueTypes":["rpa_str","rpa_str_col","rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_PastRange","name":"粘贴表格内容","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将内容粘贴至目标Excel文件指定区域。","messageTemplate":"粘贴至Excel $0 Sheet表 $1 中选取的区域","baseType":"Excel_Cs_PastRange","functionName":"Excel.Cs_PastRange","functionCalls":[{"function":"Excel.Cs_PastRange","args":["workbook","sheet","column","row","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"row","label":"单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetSlicer","name":"Excel切片器","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置Excel文件中切片器的选项。","messageTemplate":"设置 Excel $0 中切片器 $1 的选项为 $2","baseType":"Cs_SetSlicer","functionName":"Excel.Cs_SetSlicer","functionCalls":[{"function":"Excel.Cs_SetSlicer","args":["workbook","slicerName","slicerOptions","save"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"slicerName","label":"切片器名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"选择切片器,鼠标右键,然后设置切片器选项中查看名称字段","advanced":false,"valueTypes":["rpa_str"]},{"key":"slicerOptions","label":"切片器选项","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入需要选中的切片器选项,需要选择多个,请输入选项列表,例:[选项1,选项2],为空表示选中所有项","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_WriteContent","name":"写入Excel内容","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在目标Excel文件指定区域写入内容。","messageTemplate":"在 Excel $0 的Sheet表 $1 指定区域写入内容 $3","baseType":"Excel_Cs_WriteContent","functionName":"Excel.Cs_WriteContent","functionCalls":[{"function":"Excel.Cs_WriteContent","args":["workbook","sheet","excelRng","content","save"],"assignTo":""}],"version":"3.3.5.0","tags":["写入","写入到","写入数据","写进","录入","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"excelRng","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"content","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"写入单元格时输入文本,例:“实在智能”;写入行或列时输入一维列表数据,示例:[123,\"abc\",\"一二三\"];写入区域时输入二维列表数据,示例:[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_EnableExcelFilter","name":"取消Excel数据筛选","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"取消Excel软件中数据筛选。","messageTemplate":"取消 Excel $0 Sheet表中数据筛选","baseType":"Excel_Cs_EnableExcelFilter","functionName":"Excel.Cs_EnableExcelFilter","functionCalls":[{"function":"Excel.Cs_EnableExcelFilter","args":["workbook","sheet","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SelectRangeV2","name":"选中区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"选中目标Excel文件指定区域。","messageTemplate":"在Excel $0 Sheet表 $1 中选择区域","baseType":"Excel_Cs_SelectRange","functionName":"Excel.Cs_SelectRangeV2","functionCalls":[{"function":"Excel.Cs_SelectRangeV2","args":["workbook","sheet","range","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_FindV2","name":"Excel查找/替换","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"在Excel软件中指定区域进行数据查找或替换,并返回查找到的数据位置。","messageTemplate":"使用Excel软件查找/替换 $1 中 Sheet表 $2 指定区域的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_Find","functionName":"Excel.Cs_FindV2","functionCalls":[{"function":"Excel.Cs_FindV2","args":["workbook","sheet","mode","option","range","row","column","what","lookAt","lookIn","searchOrder","searchDirection","matchCase","matchByte","matchFormat","replacement","replacementType","replaceFormat","matchFirst","save","returnType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"mode","label":"模式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"组件的功能模式, 选择查找,返回匹配的单元格;选择替换,返回是否替换成功(Bool)。","advanced":false,"valueTypes":[]},{"key":"option","label":"查找区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"在指定区域内查找内容, 已编辑区域:四个有内容的单元格围成的矩形区域","advanced":false,"valueTypes":[]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"row","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int","rpa_int_row","rpa_str"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_int_row"]},{"key":"what","label":"查找内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要查找的内容,例如:实在智能","description":"输入需要查找的内容,如“实在智能”","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"lookAt","label":"精确匹配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则将查找内容与整个单元格内容完全一致才算匹配成功","advanced":false,"valueTypes":[]},{"key":"lookIn","label":"查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"-4163","placeholder":"","description":"查找内容的范围","advanced":false,"valueTypes":[]},{"key":"searchOrder","label":"查找顺序","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择按行或列的顺序进行查找","advanced":false,"valueTypes":[]},{"key":"searchDirection","label":"查找方向","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"向后:列由上到下,行由左到右;向前:列由下到上,行由右到左","advanced":false,"valueTypes":[]},{"key":"matchCase","label":"匹配大小写","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否区分单元格内容中英文字母的大小写","advanced":false,"valueTypes":[]},{"key":"matchByte","label":"匹配字节","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"仅在已选择或安装双字节语言支持时才使用。 勾选则双字节字符仅匹配双字节字符,不勾选则双字节字符与其单字节等效项匹配。","advanced":false,"valueTypes":[]},{"key":"matchFormat","label":"查找格式","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式","advanced":false,"valueTypes":["rpa_str"]},{"key":"replacement","label":"替换为","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入需要将查找到的单元格替换的内容,示例:“实在智能RPA”。2 可以为空,为空时,表示将查找到的内容替换为空字符。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"replacementType","label":"替换方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择仅替换查找的内容或替换整个单元格","advanced":false,"valueTypes":["rpa_int"]},{"key":"replaceFormat","label":"替换格式","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"输入Excel中支持的格式代码, 或者点击属性框内excel图标选择在Excel文件中设置好的单元格格式","advanced":false,"valueTypes":["rpa_str"]},{"key":"matchFirst","label":"查找数量","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择所有项,查找指定区域中的所有匹配成功的单元格,返回列表;选择第一个,则第一个匹配成功后结束查找;","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"returnType","label":"输出格式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"单元格(列名,行号):返回列表,列表中的值为列表类型的单元格地址,例如:[[‘A’,1],[‘B’,2],[‘C’,3]];单元格地址,返回列表数据,列表中的值为字符串类型的单元格地址,例如:[‘A1’,’B2’,’C3’]","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"查找替换结果","valueTypes":["rpa_list","rpa_str","rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"查找替换结果","valueTypes":["rpa_list","rpa_str","rpa_bool"]}]},"slots":[]},{"id":"Excel_ExecuteMacro","name":"执行宏","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标excel的指定sheet中执行宏,可自定义宏,并设置宏的参数(仅支持启动宏的.xlsm格式文件)。","messageTemplate":"执行宏 $2 , 然后把结果保存到 $0","baseType":"Excel_ExecuteMacro","functionName":"Excel.ExecuteMacro","functionCalls":[{"function":"Excel.ExecuteMacro","args":["objExcel","macroName","macroArgs"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["宏","执行宏","宏定义"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"macroName","label":"宏定义","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"macroArgs","label":"宏参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_SortV1","name":"Excel数据排序","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"对目标Excel文件指定区域进行数据排序。","messageTemplate":"对Excel $0 Sheet表 $1 中数据进行排序","baseType":"Excel_Cs_Sort","functionName":"Excel.Cs_SortV1","functionCalls":[{"function":"Excel.Cs_SortV1","args":["workbook","sheet","sortRange","sortOrder","region","header","rule","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"sortRange","label":"排序范围","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"sortOrder","label":"排序方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择数据排序方式","advanced":false,"valueTypes":[]},{"key":"region","label":"扩展选定区域","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"排序范围选择行或列时有效","advanced":false,"valueTypes":[]},{"key":"header","label":"首行参与排序","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否对首行进行排序","advanced":false,"valueTypes":[]},{"key":"rule","label":"排序规则","widget":"text","type":"string","displayType":"excelRule","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetRangeBackground","name":"设置区域背景颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定区域的背景颜色。","messageTemplate":"设置Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的背景颜色为 $6","baseType":"Excel_Cs_SetRangeBackground","functionName":"Excel.Cs_SetRangeBackground","functionCalls":[{"function":"Excel.Cs_SetRangeBackground","args":["workbook","sheet","startColumn","startRow","lastColumn","lastRow","color","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"B","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"color","label":"颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"","description":"支持拾取器拾取输入,也支持手动输入,包括[255,255,255]和\"#FFFFFF\"两种格式","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_LoadV2","name":"获取已打开Excel","kind":"vendor","group":"office","categories":["excel_operator"],"categorySignature":"excel_operator","description":"获取当前已打开的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"获取 $1 的Excel文件, 然后把结果保存到 $0","baseType":"Cs_Load","functionName":"Excel.Cs_LoadV2","functionCalls":[{"function":"Excel.Cs_LoadV2","args":["option","file"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"option","label":"获取方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"当前激活Excel,获取当前激活的Excel文件;指定Excel ,获取指定文件名称的Excel文件,若文件未打开则组件执行失败","advanced":false,"valueTypes":[]},{"key":"file","label":"文件名称","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请填写已打开的Excel文件名称","description":"填写已打开的Excel文件名称,或选择已打开的Excel文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_InsertColumn","name":"插入列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定插入位置之前插入列,并可以同时写入数据。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $2 列前插入数据 $4","baseType":"Excel_Cs_InsertColumn","functionName":"Excel.Cs_InsertColumn","functionCalls":[{"function":"Excel.Cs_InsertColumn","args":["workbook","sheet","index","count","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"index","label":"在第几列前","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入在哪一列之前插入。","advanced":false,"valueTypes":["rpa_int"]},{"key":"count","label":"插入几列","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"输入需要插入多少列。","advanced":false,"valueTypes":["rpa_int"]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[123,\"abc\",\"一二三\"]","placeholder":"","description":"写入内容为列表,例如:[123,\"abc\",\"一二三\"]、[[123,456],[\"abc\",\"edf\"]]。如果写入内容超出插入的列数,将自动截掉多余数据。","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_RefreshAll","name":"刷新Excel数据","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"刷新指定工作簿中的所有外部数据区域。","messageTemplate":"刷新 Excel $0 中数据","baseType":"Excel_Cs_RefreshAll","functionName":"Excel.Cs_RefreshAll","functionCalls":[{"function":"Excel.Cs_RefreshAll","args":["workbook","save"],"assignTo":""}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集","Excel","Excel文件","电子表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_CopySheet","name":"复制sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"将目标excel中指定的sheet内容复制到一个并新建的sheet中。","messageTemplate":"复制工作表,将复制的工作表命名为 $2","baseType":"Excel_CopySheet","functionName":"Excel.CopySheet","functionCalls":[{"function":"Excel.CopySheet","args":["objExcel","sheet","newSheet","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["sheet复制","复制工作表","复制工作簿"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"复制工作表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"newSheet","label":"新表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"newName","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_NewV3","name":"新建Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0","baseType":"Excel_Cs_New","functionName":"Excel.Cs_NewV3","functionCalls":[{"function":"Excel.Cs_NewV3","args":["path","name","visible","software","show","maximize","share"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入新建Excel保存文件夹路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入新建的Excel文件名称","description":"输入新建的Excel文件名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"visible","label":"使用软件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"选择Microsoft Office或WPS Office时,计算机上必须安装对应软件。如果不勾选该属性,则有部分组件无法使用,详情查看“使用说明”。","advanced":false,"valueTypes":[]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"使用指定软件新建文件","advanced":false,"valueTypes":[]},{"key":"show","label":"可视化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选则显示打开的软件","advanced":false,"valueTypes":[]},{"key":"maximize","label":"最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件窗口最大化","advanced":true,"valueTypes":[]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_Cs_New","name":"新建Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"在指定的路径下新创建一个Excel文件,创建完后打开Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"在路径 $1 上新建Excel,名称为 $2, 然后把结果保存到 $0","baseType":"Excel_Cs_New","functionName":"Excel.Cs_New","functionCalls":[{"function":"Excel.Cs_New","args":["path","name","software","visible","maximize"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"文件的存储路径,默认为流程包文件夹","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"如果不写后缀则默认新建“.xlsx”文件,如果想新建其他格式的Excel文件,请指定后缀名;支持相对路径:a\\b.xlsx 等价 a\\b","advanced":false,"valueTypes":["rpa_str_filename","rpa_str"]},{"key":"software","label":"使用软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"默认","placeholder":"","description":"可以指定用哪种软件新建Excel文件,请确保该软件已正确安装并可以正常使用","advanced":false,"valueTypes":[]},{"key":"visible","label":"是否可视化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置后台不可见的方式","advanced":false,"valueTypes":[]},{"key":"maximize","label":"是否最大化","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"可以设置是否将软件最大化,设置为不可见时,当前选项不生效","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objExcelWorkBook","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objExcelWorkBook","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_SetWidth","name":"设置列宽","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定列的列宽。","messageTemplate":"设置Excel $0 Sheet表 $1 中列名为 $2 的列宽为 $3","baseType":"Excel_Cs_SetWidth","functionName":"Excel.Cs_SetWidth","functionCalls":[{"function":"Excel.Cs_SetWidth","args":["workbook","sheet","columns","width","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"columns","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"可输入多列,例如:[\"A\",\"B\",\"C\"],不填设置所有列,列名支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str","rpa_str_col","rpa_list"]},{"key":"width","label":"列宽","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"8.38","placeholder":"仅支持输入正数","description":"Excel默认值为8.38,可自定义设置,单位:字符","advanced":false,"valueTypes":["rpa_num"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_DeleteImage","name":"删除图片","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标excel中插入指定图片。","messageTemplate":"删除图片","baseType":"Excel_DeleteImage","functionName":"Excel.DeleteImage","functionCalls":[{"function":"Excel.DeleteImage","args":["objExcel","sheet","pictureName"],"assignTo":""}],"version":"3.3.5.0","tags":["删除图片","删除图像","删除表格图片","删除excel图片","删除工作簿图片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pictureName","label":"图片路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_DeleteRange","name":"删除区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"删除目标Excel文件指定区域。","messageTemplate":"删除Excel $0 Sheet表 $1 中第 $2 行第 $3 列至第 $4 行第 $5 列的单元格","baseType":"Excel_Cs_DeleteRange","functionName":"Excel.Cs_DeleteRange","functionCalls":[{"function":"Excel.Cs_DeleteRange","args":["workbook","sheet","startRow","startColumn","lastRow","lastColumn","mode","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"mode","label":"删除模式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"右侧单元格左移","placeholder":"","description":"删除模式与Excel一致,模式有4种:右侧单元格左移、下侧单元格上移、整行、整列。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_GetPath","name":"获取Excel路径","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"获取目标excel文档的路径,并输出给指定变量。","messageTemplate":"获取文件路径 $1 , 然后把结果保存到 $0","baseType":"Excel_GetPath","functionName":"Excel.GetPath","functionCalls":[{"function":"Excel.GetPath","args":["objExcel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件路径","excel表格路径"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_SelectRange","name":"选中区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"选中目标Excel文件指定区域。","messageTemplate":"在Excel $0 Sheet表 $1 中选取区域第 $2 行第 $3 列开始,到第 $4 行第 $5 列结束","baseType":"Excel_Cs_SelectRange","functionName":"Excel.Cs_SelectRange","functionCalls":[{"function":"Excel.Cs_SelectRange","args":["workbook","sheet","startRow","startColumn","lastRow","lastColumn","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"startColumn","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"lastRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"结束列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_MergeCells","name":"合并单元格","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"将表格中指定区域合并单元格或取消合并单元格。","messageTemplate":"将Excel $0 Sheet表 $1 中指定区域 { $$2=='0' && '合并'} { $$2=='1' && '取消合并'}","baseType":"Excel_Cs_MergeCells","functionName":"Excel.Cs_MergeCells","functionCalls":[{"function":"Excel.Cs_MergeCells","args":["workbook","sheet","merge","range","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"merge","label":"合并/取消合并","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择合并或取消合并指定的区域","advanced":false,"valueTypes":[]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_SetRangeBackgroundV2","name":"设置区域背景颜色","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定区域的背景颜色。","messageTemplate":"设置Excel $0 Sheet表 $1 中选择区域的背景颜色为 $3","baseType":"Excel_Cs_SetRangeBackground","functionName":"Excel.Cs_SetRangeBackgroundV2","functionCalls":[{"function":"Excel.Cs_SetRangeBackgroundV2","args":["workbook","sheet","range","color","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,分别输入起始和结束的列名和行号。高级模式,支持表达式,如区域为A列第一行到C列第三行,则输入A1:C3","advanced":false,"valueTypes":[]},{"key":"color","label":"颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"请输入或选择颜色值","description":"支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00","advanced":false,"valueTypes":["rpa_str","rpa_str_color"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_GetColData","name":"读取列","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标excel文档中,指定单元格所在列的数据,以数组的形式输出到指定变量。","messageTemplate":"读取单元格 $3 所在列的值, 然后把结果保存到 $0","baseType":"Excel_GetColData","functionName":"Excel.GetColData","functionCalls":[{"function":"Excel.GetColData","args":["objExcel","sheet","cellPos"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取表格列","读取excel列","读取工作簿列"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_CloseV2","name":"关闭Excel","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"关闭目标Excel文件。","messageTemplate":"关闭{ $$0=='0' && '文件'}{ $$0=='1' && '软件'} { $$0==0 && '$1'} { $$0==1 && '$5'}","baseType":"Excel_Cs_Close","functionName":"Excel.Cs_CloseV2","functionCalls":[{"function":"Excel.Cs_CloseV2","args":["closeType","workbook","closeAction","filePath","cover","software","kill"],"assignTo":""}],"version":"3.3.5.0","tags":["关闭","退出","终止","关停","Excel","Excel文件","电子表格","Excel表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"closeType","label":"关闭类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择关闭 Excel 文件或软件。","advanced":false,"valueTypes":[]},{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Excel文件","placeholder":"请选择或输入Excel 文件变量","description":"选择Excel对象类型的变量,关闭对应的Excel 文件","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"closeAction","label":"关闭之前","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择关闭 Excel时对其是否进行保存或另存为操作","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"saveAsDialog","required":false,"defaultValue":"","placeholder":"选择或输入文件保存路径","description":"选择或输入文件存储位置","advanced":false,"valueTypes":[]},{"key":"cover","label":"覆盖相同文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后若文件已存在会覆盖已有文件,不勾选若文件已存在会在名称上加“副本”保存","advanced":false,"valueTypes":[]},{"key":"software","label":"选择软件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择要关闭的 Excel 软件","advanced":false,"valueTypes":[]},{"key":"kill","label":"关闭Excel进程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选此选项会强制关闭所选Excel软件的所有进程及其子进程","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_CreateSheet","name":"创建sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"在目标excel文档中新建一个sheet,并激活作为后续流程操作对象。","messageTemplate":"创建 $1 工作表","baseType":"Excel_CreateSheet","functionName":"Excel.CreateSheet","functionCalls":[{"function":"Excel.CreateSheet","args":["objExcel","sheet","location","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["sheet","新建sheet","新开sheet","新建表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"newSheet","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"插入参照表","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"after","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ColumnSplitV2","name":"Excel分列","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"设置目标Excel文件指定列分列。","messageTemplate":"设置Excel $0 Sheet表 $1 中列名为 $2 的列进行分列","baseType":"Excel_Cs_ColumnSplit","functionName":"Excel.Cs_ColumnSplitV2","functionCalls":[{"function":"Excel.Cs_ColumnSplitV2","args":["workbook","sheet","column","dataType","width","tab","semicolon","comma","space","other","otherChar","consecutiveDelimiter","textQualifier","destination","startRow","endRow","splitDataType","fieldInfo","decimalSeparator","thousandsSeparator","trailingMinusNumbers","insertCount"],"assignTo":""}],"version":"3.3.5.0","tags":["Excel","Excel文件","电子表格","Excel表格","表格文件"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"column","label":"列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"仅支持单列,支持输入A或1,-n表示倒数第n列","advanced":false,"valueTypes":["rpa_str","rpa_str_col"]},{"key":"dataType","label":"分列规则","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"分隔符号:通过指定符号分隔,勾选多个存在一个即分隔。固定宽度:根据字符长度分隔。","advanced":false,"valueTypes":[]},{"key":"width","label":"字符长度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"单元格内容长度,通常一个中文字为两个字符,一个数字、英文、字符为一个字符。","advanced":false,"valueTypes":["rpa_num"]},{"key":"tab","label":"Tab键","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"semicolon","label":"分号","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"comma","label":"逗号","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"space","label":"空格","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"other","label":"其他","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"otherChar","label":"otherChar","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"consecutiveDelimiter","label":"连续分隔符号视为单个处理","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"textQualifier","label":"文本识别符号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"-4142","placeholder":"","description":"文本识别符号","advanced":false,"valueTypes":[]},{"key":"destination","label":"分列存放位置","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"分列后数据存放的起始单元格位置","advanced":false,"valueTypes":[]},{"key":"startRow","label":"开始行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"从第几行开始分列数据","advanced":true,"valueTypes":["rpa_int","rpa_str_row"]},{"key":"endRow","label":"结束行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"分列到第几行结束","advanced":true,"valueTypes":["rpa_int","rpa_str_row"]},{"key":"splitDataType","label":"分列数据格式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"可设置常规或自定义每列格式,列索引:若在基础属性中选择按符号分割,则列索引为 1,2,3....;若选择指定宽度,则列索引为0,宽度,宽度*2...;若选择不指定宽度,则按添加的自定义宽度分割","advanced":true,"valueTypes":[]},{"key":"fieldInfo","label":"fieldInfo","widget":"text","type":"string","displayType":"itemGroup","required":false,"defaultValue":"","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"decimalSeparator","label":"小数分隔符","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":".","placeholder":"","description":"用于识别数值型数据的设置, 识别数字时,Excel 使用的小数分隔符。 默认设置为系统设置","advanced":true,"valueTypes":[]},{"key":"thousandsSeparator","label":"千位分隔符","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":",","placeholder":"","description":"用于识别数值型数据的设置,识别数字时,Excel 使用的千位分隔符。 默认设置为系统设置","advanced":true,"valueTypes":[]},{"key":"trailingMinusNumbers","label":"按负号跟踪负数","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"以减号字符开始的数字","advanced":true,"valueTypes":[]},{"key":"insertCount","label":"插入列数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"在所选分列后插入的列数,用于存放拆分的数据,例:填写 1,表示在所要分列后插入 1 列用来存放拆分出的数据。","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_ReadRange","name":"读取区域","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"读取目标Excel文件的指定区域,并将内容以列表的形式输出到指定变量(示例:[[123,\"abc\"],[456,\"def\"]])。","messageTemplate":"读取Excel $1 中Sheet表 $2,从第 $3 行,第 $4 列开始,到从第 $5 行,第 $6 列结束的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_ReadRange","functionName":"Excel.Cs_ReadRange","functionCalls":[{"function":"Excel.Cs_ReadRange","args":["workbook","sheet","startRow","startColumn","lastRow","lastColumn"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"objExcelWorkBook","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":[]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"startRow","label":"起始单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"startColumn","label":"起始单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"lastRow","label":"结束单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"lastColumn","label":"结束单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_WriteRangeV2","name":"写入区域","kind":"vendor","group":"office","categories":["excel_editor"],"categorySignature":"excel_editor","description":"在目标Excel文件指定起始位置写入数据,并按数据量依次填充到单元格中。(注:二维列表数据长度得保持一致,示例:[[1,'壹'],[2,'贰'],[3,'叁']]。)。","messageTemplate":"在Excel $0 Sheet表 $1 中第 $2 列,第 $3 行开始写入内容 $4","baseType":"Excel_Cs_WriteRange","functionName":"Excel.Cs_WriteRangeV2","functionCalls":[{"function":"Excel.Cs_WriteRangeV2","args":["workbook","sheet","column","row","contents","save"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量。","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":[]},{"key":"column","label":"起始列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":[]},{"key":"row","label":"起始行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":[]},{"key":"contents","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]","placeholder":"","description":"请输入二维列表数据,示例:[[123,\"abc\",\"一二三\"],[234,\"edf\",\"四五六\"]]","advanced":false,"valueTypes":["rpa_list"]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_Cs_Load","name":"获取已打开Excel","kind":"vendor","group":"office","categories":["excel_operator"],"categorySignature":"excel_operator","description":"获取当前已打开的Excel文件,并将Excel文件赋值给指定变量,该变量可用于后续文件的读取、编辑等操作。","messageTemplate":"获取 $1 的Excel文件, 然后把结果保存到 $0","baseType":"Excel_Cs_Load","functionName":"Excel.Cs_Load","functionCalls":[{"function":"Excel.Cs_Load","args":["file"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"file","label":"文件名称","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请填写已打开的Excel文件名称","description":"填写已打开的Excel文件名称,或选择已打开的Excel文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Excel文件","valueTypes":["rpa_excel"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Excel文件","valueTypes":["rpa_excel"]}]},"slots":[]},{"id":"Excel_ExportRangeAsPicture","name":"导出区域为图片","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"将目标Excel文件中指定区域导出为图片(png)。","messageTemplate":"将Excel中指定区域导出为图片并存储到 $4,并命名为 $5, 然后把结果保存到 $0","baseType":"Excel_ExportRangeAsPicture","functionName":"Excel.ExportRangeAsPicture","functionCalls":[{"function":"Excel.ExportRangeAsPicture","args":["workbook","sheet","range","path","name","cover"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_excel","rpa_str"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str","rpa_str_sheetName"]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"excelRange","required":false,"defaultValue":"","placeholder":"","description":"支持在Excel中选择区域,高级模式支持输入一个Excel区域选择表达式,例如:A1:B1","advanced":false,"valueTypes":[]},{"key":"path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或填写图片保存路径","description":"选择或填写图片保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"图片名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入图片名称","description":"不填则随机生成图片名称","advanced":false,"valueTypes":["rpa_str","rpa_str_filename"]},{"key":"cover","label":"覆盖相同文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选则直接覆盖原文件,不勾选则直接在文件名上加“副本”,如“实在智能(副本).png”","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图片路径","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图片路径","valueTypes":[]}]},"slots":[]},{"id":"Excel_Cs_Search","name":"查找/替换数据","kind":"vendor","group":"office","categories":["excel_fetch_data"],"categorySignature":"excel_fetch_data","description":"读取目标Excel文件指定区域数据,然后查找或替换,并返回查找到的数据位置。","messageTemplate":"查找/替换 Excel $1 中Sheet表 $2 指定区域的内容, 然后把结果保存到 $0","baseType":"Excel_Cs_Search","functionName":"Excel.Cs_Search","functionCalls":[{"function":"Excel.Cs_Search","args":["workbook","sheet","mode","option","range","row","column","input","wholeWord","replace","matchRange","save","outType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"workbook","label":"文件对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"Excel文件","placeholder":"请输入或选择Excel文件变量","description":"使用新建Excel、打开Excel、获取已打开Excel等组件输出的变量","advanced":false,"valueTypes":["rpa_str","rpa_excel"]},{"key":"sheet","label":"Sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"选填,默认为当前激活 Sheet 页","description":"输入Excel文件工作表名称,选填,默认为当前激活 Sheet 页","advanced":false,"valueTypes":["rpa_str"]},{"key":"mode","label":"模式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"查找","placeholder":"","description":"选择组件的功能模式","advanced":false,"valueTypes":[]},{"key":"option","label":"查找区域","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"已编辑区域","placeholder":"","description":"在指定区域内查找内容","advanced":false,"valueTypes":[]},{"key":"range","label":"选择区域","widget":"region","type":"object","displayType":"chooseRegion","required":false,"defaultValue":"","placeholder":"","description":"普通模式,需要输入起始列名、起始行号,结束列名、结束行号;列名支持输入 A 或 1,-n 表示倒数第 n 列。行号支持输入 1 或 -1,-n 表示倒数第几行。 高级模式,支持输入一个Excel表达式,例如:“A1:B1”。","advanced":false,"valueTypes":[]},{"key":"row","label":"单元格行号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"支持 1 或 -1,-n 表示倒数第 n 行","advanced":false,"valueTypes":["rpa_int"]},{"key":"column","label":"单元格列名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"支持 A 或 1,-n 表示倒数第 n 列","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"查找内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入需要查找的内容,例如:实在智能","description":"输入需要查找的内容,如“实在智能”","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"wholeWord","label":"精确匹配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则将查找内容与整个单元格内容完全一致才算匹配成功","advanced":false,"valueTypes":[]},{"key":"replace","label":"替换为","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"1 输入需要将查找到的内容替换为,示例:“实在智能RPA”。2 可以为空,为空时,表示将查找到的内容替换为空字符。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"matchRange","label":"匹配范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"所有项","placeholder":"","description":"匹配所有项,从头开始匹配到所有后结束。匹配第一个人,从当前位置匹配到第一个后结束。","advanced":false,"valueTypes":[]},{"key":"save","label":"保存文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"outType","label":"输出值类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"单元格位置","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"单元格位置","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Excel_WriteRow","name":"写入行","kind":"vendor","group":"office","categories":["excel"],"categorySignature":"excel","description":"将数据写入到目标excel指定的单元格所在行,支持数值/公式等形式,可设置写入后是否保存。","messageTemplate":"在索引或工作表为 $1 中,从 $2 开 始写入一行数据","baseType":"Excel_WriteRow","functionName":"Excel.WriteRow","functionCalls":[{"function":"Excel.WriteRow","args":["objExcel","sheet","cellPos","value","isSave"],"assignTo":""}],"version":"3.3.5.0","tags":["写入表格","写入行","输入行","写入sheet"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellPos","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[1,'壹',2]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isSave","label":"是否保存","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Excel_DeleteSheet","name":"删除sheet","kind":"vendor","group":"office","categories":["excel_sheet"],"categorySignature":"excel_sheet","description":"删除目标excel中指定的sheet。","messageTemplate":"删除工作表 $1","baseType":"Excel_DeleteSheet","functionName":"Excel.DeleteSheet","functionCalls":[{"function":"Excel.DeleteSheet","args":["objExcel","sheet"],"assignTo":""}],"version":"3.3.5.0","tags":["删除sheet","删除工作簿","删除工作表"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objExcel","label":"工作簿对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objExcelWorkBook","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet","label":"工作表名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Sheet1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"ExceptionUtil_Throws","name":"抛出异常","kind":"vendor","group":"data","categories":["exception"],"categorySignature":"exception","description":"。","messageTemplate":"抛出异常, 然后把结果保存到 $0","baseType":"ExceptionUtil_Throws","functionName":"ExceptionUtil.Throws","functionCalls":[{"function":"ExceptionUtil.Throws","args":["msg"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["抛出异常","异常"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"msg","label":"消息实体","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"bRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"bRet","valueTypes":[]}]},"slots":[]},{"id":"File_Rename","name":"重命名文件","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"将目标文件进行重新命名,可新建或覆盖文件。","messageTemplate":"重命名文件 $0 到 $1","baseType":"File_Rename","functionName":"File.Rename","functionCalls":[{"function":"File.Rename","args":["pathSrc","reName"],"assignTo":""}],"version":"3.3.5.0","tags":["重命名","文件重命名"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"pathSrc","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"reName","label":"重命名名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入重命名的新名称","description":"不修改后缀名","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"File_Delete","name":"删除文件","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"将目标文件进行删除。","messageTemplate":"删除文件 $1, 然后把结果保存到 $0","baseType":"File_Delete","functionName":"File.Delete","functionCalls":[{"function":"File.Delete","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","删除文件"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"File_DecompressFile","name":"解压文件","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"将压缩文件解压至指定路径,支持zip、rar、7z、tar、gz、tar.bz2等格式。","messageTemplate":"将 $1 ,解压至 {$$2 == 1 && '当前目录'}{$$2 == 0 && '$3'}, 然后把结果保存到 $0","baseType":"File_DecompressFile","functionName":"File.DecompressFile","functionCalls":[{"function":"File.DecompressFile","args":["folder_path","direct_type","out_path","pass_word","is_delete","compress_tool"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹","文件","文档","文件档","档案","文件资料"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"压缩包路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"选择或输入 C:\\desktop\\archive.zip","description":"要解压的 .zip 文件完整路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"direct_type","label":"解压目标位置","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"「源文件路径」表示解压到压缩包所在目录;「其他路径」表示解压到下方指定的文件夹。","advanced":false,"valueTypes":[]},{"key":"out_path","label":"解压目标目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"选择或输入 C:\\desktop\\archive-output","description":"选择或输入解压结果保存的文件夹;仅在「解压目标位置=其他路径」时使用。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"pass_word","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入解压密码","description":"输入压缩包的解压密码。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"is_delete","label":"解压完成后删除压缩包","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"解压成功后,删除原压缩文件。","advanced":true,"valueTypes":[]},{"key":"compress_tool","label":"解压方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"default","placeholder":"","description":"选择解压使用的执行方式;不确定时保持默认。","advanced":true,"valueTypes":[]}],"output":{"label":"已解压文件","key":"var_name","suggestedName":"解压后文件列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"已解压文件","defaultValue":"解压后文件列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"File_UploadBusinessResults_v1","name":"上报办理结果","kind":"vendor","group":"file","categories":["automation_portal"],"categorySignature":"automation_portal","description":"上传业务结果文件到门户,可在门户中查看。","messageTemplate":"将业务结果 $2,结果原因 $3,业务文件 $4 上传至门户, 然后把结果保存到 $0","baseType":"File_UploadBusinessResults","functionName":"File.UploadBusinessResults_v1","functionCalls":[{"function":"File.UploadBusinessResults_v1","args":["businessType","business","business_result","business_reason","uploadSrc"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["结果上传","业务","门户","业务结果"],"platformTag":null,"icon":"file","risk":"low","fields":[{"key":"businessType","label":"业务类型","widget":"text","type":"string","displayType":"remotePortalBusinessType","required":false,"defaultValue":"{}","placeholder":"","description":"设置需要关联业务,用来关联业务执行结果。","advanced":false,"valueTypes":[]},{"key":"business","label":"关联业务","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"业务变量","placeholder":"","description":"选择“执行业务上报(门户专用)”组件输出的上报业务变量,用来关联业务执行结果。","advanced":false,"valueTypes":[]},{"key":"business_result","label":"业务结果","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"business_reason","label":"结果原因","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uploadSrc","label":"业务文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"上报结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"上报结果","valueTypes":[]}]},"slots":[]},{"id":"File_GetFileList","name":"获取文件列表","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"查找指定文件夹下的文件。","messageTemplate":"在 $1 下查找关键字 $2, 然后把结果保存到 $0","baseType":"File_GetFileList","functionName":"File.GetFileList","functionCalls":[{"function":"File.GetFileList","args":["folder_path","key_word","ignore","recursive","is_full_path","sort_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入需检索的文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"key_word","label":"检索关键字","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件名或文件后缀关键字","description":"支持输入文件名或文件后缀关键字,为空将检索到所有文件,仅支持一个关键字。","advanced":false,"valueTypes":["rpa_str"]},{"key":"ignore","label":"忽略文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个关键字使用英文逗号分隔","description":"支持输入文件名或文件后缀关键字,如果多个使用英文逗号分隔。","advanced":false,"valueTypes":["rpa_str"]},{"key":"recursive","label":"查找子文件夹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"遍历所有子级文件夹。","advanced":false,"valueTypes":[]},{"key":"is_full_path","label":"获取完整路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"返回文件的完整路径。","advanced":false,"valueTypes":[]},{"key":"sort_type","label":"文件排序","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件列表","valueTypes":["rpa_list_file_v1"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件列表","valueTypes":["rpa_list_file_v1"]}]},"slots":[]},{"id":"File_GetFileList_V1","name":"获取文件列表","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"查找指定文件夹下的文件。","messageTemplate":"在 $1 下查找关键字 $2, 然后把结果保存到 $0","baseType":"File_GetFileList_V1","functionName":"File.GetFileList_V1","functionCalls":[{"function":"File.GetFileList_V1","args":["folder_path","key_word","ignore","recursive","is_full_path","sort_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入需检索的文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"key_word","label":"检索关键字","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件名或文件后缀关键字","description":"支持输入文件名或文件后缀关键字,为空将检索到所有文件,仅支持一个关键字。","advanced":false,"valueTypes":["rpa_str"]},{"key":"ignore","label":"忽略文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个关键字使用英文逗号分隔","description":"支持输入文件名或文件后缀关键字,如果多个使用英文逗号分隔。","advanced":false,"valueTypes":["rpa_str"]},{"key":"recursive","label":"查找子文件夹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"遍历所有子级文件夹。","advanced":false,"valueTypes":[]},{"key":"is_full_path","label":"获取完整路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"返回文件的完整路径。","advanced":false,"valueTypes":[]},{"key":"sort_type","label":"文件排序","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件列表","valueTypes":["rpa_list_file_v1"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件列表","valueTypes":["rpa_list_file_v1"]}]},"slots":[]},{"id":"File_File_Move","name":"移动文件","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"移动目标文件到指定路径,原文件清除。","messageTemplate":"移动文件 $0 到 $1","baseType":"File_File_Move","functionName":"File.File_Move","functionCalls":[{"function":"File.File_Move","args":["pathSrc","pathDest","overwrite"],"assignTo":""}],"version":"3.3.5.0","tags":["移动文件","指定路径","移动"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"pathSrc","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"输入或选择待移动的文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pathDest","label":"目的地路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择移动到的目的地路径","description":"输入或选择移动到的目的地路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"overwrite","label":"是否覆盖","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"File_MoveFolder","name":"移动文件夹","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"移动目标文件夹到指定路径,原文件清除。","messageTemplate":"移动文件夹 $0 到 $1","baseType":"File_MoveFolder","functionName":"File.MoveFolder","functionCalls":[{"function":"File.MoveFolder","args":["pathSrc","pathDest","overwrite"],"assignTo":""}],"version":"3.3.5.0","tags":["移动文件","指定路径","移动"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"pathSrc","label":"文件夹路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件夹路径","description":"输入或选择待移动的文件夹","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"pathDest","label":"目的地路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择移动到的目的地路径","description":"输入或选择移动到的目的地路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"overwrite","label":"是否覆盖","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"File_Write_V1","name":"写入文件","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"将指定文本内容写入目标文件,目标文件不存在时将自动新建。","messageTemplate":"写入内容 $2 至 $1, 然后把结果保存到 $0","baseType":"File_Write","functionName":"File.Write_V1","functionCalls":[{"function":"File.Write_V1","args":["path","content","append","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["写入","写入到","写入数据","写进","录入","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"选择或输入需要写入内容的文件路径,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"content","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要写入的内容","description":"仅支持写入文本内容。","advanced":false,"valueTypes":["rpa_str"]},{"key":"append","label":"追加写入","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选则表示在原文件内容末尾追加写入内容。未勾选则表示替换原文件内容,写入新内容。","advanced":false,"valueTypes":[]},{"key":"encode","label":"编码格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"utf-8","placeholder":"","description":"选择合适编码格式,否则读写时可能出现乱码。","advanced":true,"valueTypes":[]}],"output":{"label":"文件路径","key":"var_name","suggestedName":"文件","valueTypes":["rpa_str_file"],"fields":[{"key":"var_name","label":"文件路径","defaultValue":"文件","valueTypes":["rpa_str_file"]}]},"slots":[]},{"id":"File_PathSize","name":"取文件大小","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"获取目标文件大小,也可以获取整个文件夹的大小(按字节计算),并输出到指定变量。","messageTemplate":"获取文件 $1 的大小, 然后把结果保存到 $0","baseType":"File_PathSize","functionName":"File.PathSize","functionCalls":[{"function":"File.PathSize","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件大小","文件字节"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"File_MakeFolder","name":"创建文件夹","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"在指定目录下创建文件夹。","messageTemplate":"在指定目录 $1,创建文件夹 $2, 然后把结果保存到 $0","baseType":"File_MakeFolder","functionName":"File.MakeFolder","functionCalls":[{"function":"File.MakeFolder","args":["path","name","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"指定目录","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"路径不存在时自动创建","description":"选择或输入指定文件夹路径,例如 C:\\desktop\\实在智能,路径不存在时将自动创建","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文件夹名称","description":"文件夹名称不能包含以下特殊符号:\\/:*?”<>|。","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件夹存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件夹名称后缀将增加“副本”,例如:a-副本。替换,将替换同名文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"文件夹路径","key":"var_name","suggestedName":"新文件夹路径","valueTypes":["rpa_str_folder"],"fields":[{"key":"var_name","label":"文件夹路径","defaultValue":"新文件夹路径","valueTypes":["rpa_str_folder"]}]},"slots":[]},{"id":"File_Copy_V1","name":"复制文件/文件夹","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"复制目标文件/文件夹到指定路径。","messageTemplate":"复制 $2 $3 到 $4, 然后把结果保存到 $0","baseType":"File_Copy","functionName":"File.Copy_V1","functionCalls":[{"function":"File.Copy_V1","args":["file_type","file_path","folder_path","target_path","rename","name","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["复制","拷贝","复件","仿制","文件","文档","文件档","档案"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_type","label":"file_type","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待复制文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择文件路径","description":"选择或输入待复制文件,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"folder_path","label":"待复制文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择文件夹路径","description":"选择或输入待复制文件夹,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"target_path","label":"复制至","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择复制至文件夹路径","description":"选择或输入目标文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"rename","label":"重命名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对复制成功后的文件/文件夹进行重命名。","advanced":false,"valueTypes":[]},{"key":"name","label":"新名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"无需输入文件扩展名","description":"仅需输入新文件/新文件夹名称,如果含有文件扩展名,复制后文件将改变文件格式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"文件路径","key":"var_name","suggestedName":"复制后路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"文件路径","defaultValue":"复制后路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"File_GetFileInfo","name":"获取文件信息","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"获取指定文件的文件信息(种类、大小、根目录、文件夹目录等)。","messageTemplate":"获取 $1 的文件信息, 然后把结果保存到 $0","baseType":"File_GetFileInfo","functionName":"File.GetFileInfo","functionCalls":[{"function":"File.GetFileInfo","args":["file_path","ret_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_path","label":"文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"选择或输入指定文件路径,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"ret_type","label":"信息类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"支持获取文件的全部信息或某一个文件信息。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件信息","valueTypes":["rpa_dict_file_info","rpa_int","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件信息","valueTypes":["rpa_dict_file_info","rpa_int","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str"]}]},"slots":[]},{"id":"File_GetFolderList","name":"获取文件夹列表","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"获取指定文件夹下的子文件夹。可用于文件夹遍历。","messageTemplate":"获取 $1 下子文件夹, 然后把结果保存到 $0","baseType":"File_GetFolderList","functionName":"File.GetFolderList","functionCalls":[{"function":"File.GetFolderList","args":["folder_path","ignore","recursive"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"ignore","label":"忽略文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个关键字使用英文逗号分隔","description":"支持输入文件夹关键字,如果多个使用英文逗号分隔。","advanced":false,"valueTypes":["rpa_str"]},{"key":"recursive","label":"查找最子级文件夹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"递归查找到最子级的文件夹。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件夹列表","valueTypes":["rpa_list_folder_v1"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件夹列表","valueTypes":["rpa_list_folder_v1"]}]},"slots":[]},{"id":"File_ReadXml","name":"读取xml文件","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"读取指定xml文件的全部内容,并输出到指定变量,可设定字符采集编码方式。","messageTemplate":"读取xml文件 $1 , 然后把结果保存到 $0","baseType":"File_ReadXml","functionName":"File.ReadXml","functionCalls":[{"function":"File.ReadXml","args":["path","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["xml读取","xml内容读取","打开","读取","读取到","读取数据","读出","读取信息","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择xml文件路径","description":"选择或输入指定文件路径,例如 C:\\desktop\\实在智能.xml","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"encode","label":"字符集编码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"utf-8","placeholder":"","description":"选择和原文件一致的编码规则,否则可能写入后会出现乱码","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"XML文件内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"XML文件内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"File_OpenFile","name":"打开文件夹","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"桌面上弹开指定文件夹。","messageTemplate":"打开文件夹 $0 ","baseType":"File_OpenFile","functionName":"File.OpenFile","functionCalls":[{"function":"File.OpenFile","args":["path"],"assignTo":""}],"version":"3.3.5.0","tags":["文件夹","文件","文档","文件档","档案","文件资料","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件夹路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件夹路径","description":"选择或输入文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"File_StartBusiness","name":"上报办理业务","kind":"vendor","group":"file","categories":["automation_portal"],"categorySignature":"automation_portal","description":"上传需要办理的业务数据到门户,把数据存到变量给“业务结果上报(门户专用)”组件使用。","messageTemplate":"把要办理的业务 $1 上报, 然后把结果保存到 $0","baseType":"File_StartBusiness","functionName":"File.StartBusiness","functionCalls":[{"function":"File.StartBusiness","args":["business_id","business"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["执行","业务","门户"],"platformTag":null,"icon":"file","risk":"low","fields":[{"key":"business_id","label":"业务主键","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"办理业务的唯一值。","advanced":false,"valueTypes":[]},{"key":"business","label":"业务信息","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"业务变量","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"业务变量","valueTypes":[]}]},"slots":[]},{"id":"File_Read","name":"读取文件","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"读取指定文件的全部内容,并输出到指定变量,可设定字符采集编码方式。","messageTemplate":"读取文件 $1 , 然后把结果保存到 $0","baseType":"File_Read","functionName":"File.Read","functionCalls":[{"function":"File.Read","args":["path","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件读取","内容读取","打开","读取","读取到","读取数据","读出","读取信息","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"选择或输入文件路径,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"encode","label":"字符集编码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"gbk","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"File_MakeDir","name":"创建文件夹","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"在指定路径下创建文件夹。","messageTemplate":"创建文件夹 $1, 然后把结果保存到 $0","baseType":"File_MakeDir","functionName":"File.MakeDir","functionCalls":[{"function":"File.MakeDir","args":["path","name","overwrite"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹","创建文件夹","增加文件夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件夹路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件夹路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件夹名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"overwrite","label":"是否覆盖","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"新文件夹路径","valueTypes":["rpa_str_folder"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"新文件夹路径","valueTypes":["rpa_str_folder"]}]},"slots":[]},{"id":"File_UploadBusinessResults","name":"上报办理结果(门户专用)","kind":"vendor","group":"file","categories":["automation_portal"],"categorySignature":"automation_portal","description":"上传业务结果文件到门户,可在门户中查看。","messageTemplate":"将业务结果 $2,结果原因 $3,业务文件 $4 上传至门户, 然后把结果保存到 $0","baseType":"File_UploadBusinessResults","functionName":"File.UploadBusinessResults","functionCalls":[{"function":"File.UploadBusinessResults","args":["business","business_result","business_reason","uploadSrc"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["结果上传","业务","门户","业务结果"],"platformTag":null,"icon":"file","risk":"low","fields":[{"key":"business","label":"关联业务","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"业务变量","placeholder":"","description":"选择“执行业务上报(门户专用)”组件输出的上报业务变量,用来关联业务执行结果。","advanced":false,"valueTypes":[]},{"key":"business_result","label":"业务结果","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"business_reason","label":"结果原因","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uploadSrc","label":"业务文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"上报结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"上报结果","valueTypes":[]}]},"slots":[]},{"id":"File_Rename_V1","name":"重命名文件/文件夹","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"重命名目标文件/文件夹。","messageTemplate":"重命名 $2 $3 为 $4, 然后把结果保存到 $0","baseType":"File_Rename","functionName":"File.Rename_V1","functionCalls":[{"function":"File.Rename_V1","args":["file_type","file_path","folder_path","name","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_type","label":"file_type","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待重命名文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择源文件路径","description":"选择或输入待重命名文件,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"folder_path","label":"待重命名文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入待重命名文件夹,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"新名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"无需输入文件扩展名","description":"无需文件扩展名,如果新名称包含文件扩展名将一同修改。","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件夹名称后缀将增加“副本”,例如:a-副本。替换,将替换同名文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"文件路径","key":"var_name","suggestedName":"重命名后路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"文件路径","defaultValue":"重命名后路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"File_Write","name":"写入文件","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"将指定内容写入目标文件,并覆盖原有内容。","messageTemplate":"将内容 $1 覆盖写入到文件 $0","baseType":"File_Write","functionName":"File.Write","functionCalls":[{"function":"File.Write","args":["path","content","encode","append"],"assignTo":""}],"version":"3.3.5.0","tags":["写入内容","写入文件","覆盖内容"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"输入或选择文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"content","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要写入的内容","description":"输入要写入的内容","advanced":false,"valueTypes":["rpa_str"]},{"key":"encode","label":"字符集编码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"gbk","placeholder":"","description":"选择和原文件一致的编码规则,否则可能写入后会出现乱码","advanced":false,"valueTypes":[]},{"key":"append","label":"是否追加写入","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"是,将原文结尾追加写入内容。否,将写入内容替换原文。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"File_CreateFile","name":"新建文件","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"在指定目录下新建文件(默认新建TXT文件)。","messageTemplate":"新建文件 $1, 然后把结果保存到 $0","baseType":"File_CreateFile","functionName":"File.CreateFile","functionCalls":[{"function":"File.CreateFile","args":["folder_path","name","action","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"指定目录","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件路径","description":"选择或输入指定文件夹目录,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"suffixNameInput","required":false,"defaultValue":"","placeholder":"请输入文件名称","description":"默认新建TXT文件,支持输入自定义扩展名,如果新建其他格式文件,可能因文件格式问题无法打开。","advanced":false,"valueTypes":[]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]},{"key":"encode","label":"编码格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"utf-8","placeholder":"","description":"选择合适编码格式,否则读写时可能出现乱码。","advanced":true,"valueTypes":[]}],"output":{"label":"文件路径","key":"var_name","suggestedName":"新文件路径","valueTypes":["rpa_str_file"],"fields":[{"key":"var_name","label":"文件路径","defaultValue":"新文件路径","valueTypes":["rpa_str_file"]}]},"slots":[]},{"id":"File_Collectupload","name":"上报采集数据","kind":"vendor","group":"file","categories":["automation_portal"],"categorySignature":"automation_portal","description":"上传业务数据到门户系统,可登录门户在待办中查看数据。","messageTemplate":"把业务信息 $1 上报, 然后把结果保存到 $0","baseType":"File_Collectupload","functionName":"File.Collectupload","functionCalls":[{"function":"File.Collectupload","args":["business"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["执行","业务","门户"],"platformTag":null,"icon":"file","risk":"low","fields":[{"key":"business","label":"业务信息","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果变量","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果变量","valueTypes":[]}]},"slots":[]},{"id":"File_GetFolderList_V1","name":"获取文件夹列表","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"获取指定文件夹下的子文件夹。可用于文件夹遍历。","messageTemplate":"获取 $1 下子文件夹, 然后把结果保存到 $0","baseType":"File_GetFolderList_V1","functionName":"File.GetFolderList_V1","functionCalls":[{"function":"File.GetFolderList_V1","args":["folder_path","ignore","recursive"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"ignore","label":"忽略文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个关键字使用英文逗号分隔","description":"支持输入文件夹关键字,如果多个使用英文逗号分隔。","advanced":false,"valueTypes":["rpa_str"]},{"key":"recursive","label":"查找最子级文件夹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"递归查找到最子级的文件夹。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件夹列表","valueTypes":["rpa_list_folder_v1"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件夹列表","valueTypes":["rpa_list_folder_v1"]}]},"slots":[]},{"id":"File_DeleteFile","name":"删除文件/文件夹","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"删除目标文件/文件夹。","messageTemplate":"删除 $2 $3, 然后把结果保存到 $0","baseType":"File_DeleteFile","functionName":"File.DeleteFile","functionCalls":[{"function":"File.DeleteFile","args":["file_type","file_path","folder_path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_type","label":"删除类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待删除文件","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"支持选择多文件","description":"选择文件/文件夹时支持通过Ctrl或Shift多选文件/文件夹。支持传入文件列表/文件夹列表变量类型。","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"folder_path","label":"待删除文件夹","widget":"folder","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"支持选择多文件夹","description":"选择文件/文件夹时支持通过Ctrl或Shift多选文件/文件夹。支持传入文件列表/文件夹列表变量类型。","advanced":false,"valueTypes":["rpa_str","rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"删除结果","valueTypes":["rpa_list_file_del_v1"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"删除结果","valueTypes":["rpa_list_file_del_v1"]}]},"slots":[]},{"id":"File_PathSizeNew","name":"获取文件大小","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"获取目标文件大小,也可以获取整个文件夹的大小(按字节计算),并输出到指定变量。","messageTemplate":"获取文件 $1 的大小, 然后把结果保存到 $0","baseType":"File_PathSize","functionName":"File.PathSizeNew","functionCalls":[{"function":"File.PathSizeNew","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件大小","文件字节","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"选择或输入指定文件路径,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件大小","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件大小","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"File_CreateFolder","name":"生成上传路径","kind":"vendor","group":"file","categories":["automation_portal","file"],"categorySignature":"automation_portal|file","description":"自动生成一个文件路径,并将路径返回给指定变量。可与结果打包上传组件搭配使用。(注意:该组件一个流程中仅能使用一次)。","messageTemplate":"自动生成一个文件路径, 然后把结果保存到 $0","baseType":"File_CreateFolder","functionName":"File.CreateFolder","functionCalls":[{"function":"File.CreateFolder","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹","上传","路径","结果上传","门户","生成","产生","生成数据","创建","制作"],"platformTag":"win32","icon":"file","risk":"low","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"uploadSrc","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"uploadSrc","valueTypes":[]}]},"slots":[]},{"id":"File_Copy","name":"复制文件","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"将目标文件复制到指定路径下,可指定目标路径。","messageTemplate":"复制文件 $0 到 $1","baseType":"File_Copy","functionName":"File.Copy","functionCalls":[{"function":"File.Copy","args":["pathSrc","pathDest","cover"],"assignTo":""}],"version":"3.3.5.0","tags":["复制文件","指定路径","复制"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"pathSrc","label":"源文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择源文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pathDest","label":"目的地路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择目的地路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"cover","label":"是否覆盖","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"File_CompressFile","name":"压缩文件","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"压缩指定文件或文件夹(压缩后文件格式为zip格式)。","messageTemplate":"将 $2 $3 ,压缩至 {$$4 == 1 && '当前目录'}{$$4== 0 && '$5'}, 然后把结果保存到 $0","baseType":"File_CompressFile","functionName":"File.CompressFile","functionCalls":[{"function":"File.CompressFile","args":["file_type","file_path","folder_path","direct_type","out_path","pass_word","compress_type","is_delete"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件夹","文件","文档","文件档","档案","文件资料"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_type","label":"待压缩内容","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"openFile","placeholder":"","description":"选择要压缩的对象类型:单个文件或文件夹。","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待压缩文件","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"选择或输入待压缩文件,例如 C:\\desktop\\report.docx","description":"待压缩的单个文件完整路径;仅在「待压缩内容=文件」时使用。","advanced":false,"valueTypes":["rpa_str"]},{"key":"folder_path","label":"待压缩文件夹","widget":"folder","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"选择或输入待压缩文件夹,例如 C:\\desktop\\reports","description":"待压缩的文件夹完整路径;仅在「待压缩内容=文件夹」时使用。","advanced":false,"valueTypes":["rpa_str"]},{"key":"direct_type","label":"压缩包保存位置","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"「源文件路径」表示自动保存到待压缩对象所在目录;「其他路径」表示使用下方指定的输出位置。同名压缩包不会覆盖,会自动生成副本。","advanced":false,"valueTypes":[]},{"key":"out_path","label":"压缩包输出位置","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"选择输出目录,或输入 C:\\desktop\\result.zip","description":"选择输出文件夹,或填写以 .zip 结尾的完整压缩包路径;仅在「压缩包保存位置=其他路径」时使用。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"pass_word","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"设置压缩文件密码","description":"如果设置了密码,压缩方式将不生效,统一适用于普通压缩。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"compress_type","label":"压缩方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"普通压缩,压缩速度适中,压缩文件大小适中。压缩最快,压缩速度最快,压缩文件大小最大。压缩最小,压缩速度最慢,压缩文件大小最小。","advanced":true,"valueTypes":[]},{"key":"is_delete","label":"压缩完成后删除文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"压缩成功后,删除原待压缩文件。","advanced":true,"valueTypes":[]}],"output":{"label":"压缩包路径","key":"var_name","suggestedName":"压缩包路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"压缩包路径","defaultValue":"压缩包路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"File_FileExists","name":"判断文件存在","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"判断指定路径下的文件是否存在,存在返回true,不存在返回false。","messageTemplate":"判断文件 $1 是否存在, 然后把结果保存到 $0","baseType":"File_FileExists","functionName":"File.FileExists","functionCalls":[{"function":"File.FileExists","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件存在","文件判断","有无文件"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"输入示例 : C:\\Users\\Administrator\\Desktop","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"File_PathExists","name":"判断路径","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"判断指定路径是否存在,存在返回true,不存在返回false。","messageTemplate":"判断路径 $1 是否存在, 然后把结果保存到 $0","baseType":"File_PathExists","functionName":"File.PathExists","functionCalls":[{"function":"File.PathExists","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["路径存在","路径判断","路径合法"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"path","label":"路径","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入示例 : C:\\Users\\Administrator\\Desktop","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"File_Move","name":"移动文件/文件夹","kind":"vendor","group":"file","categories":["file_parse"],"categorySignature":"file_parse","description":"移动目标文件/文件夹到指定路径。","messageTemplate":"移动 $2 $3 到 $4, 然后把结果保存到 $0","baseType":"File_Move","functionName":"File.Move","functionCalls":[{"function":"File.Move","args":["file_type","file_path","folder_path","target_path","rename","name","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_type","label":"file_type","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待移动文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择文件路径","description":"选择或输入待移动文件,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"folder_path","label":"待移动文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择文件夹路径","description":"选择或输入待移动文件夹,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"target_path","label":"移动至","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择移动至文件夹路径","description":"选择或输入目标文件夹路径,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"rename","label":"重命名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对移动成功后的文件/文件夹进行重命名。","advanced":false,"valueTypes":[]},{"key":"name","label":"新名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"无需输入文件扩展名","description":"仅需输入新文件/新文件夹名称,如果含有文件扩展名,移动后文件将改变文件格式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"文件路径","key":"var_name","suggestedName":"移动后路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"文件路径","defaultValue":"移动后路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"File_EmptyFolder","name":"清空文件夹","kind":"vendor","group":"file","categories":["file"],"categorySignature":"file","description":"删除指定文件夹下所有文件和文件夹。","messageTemplate":"清空文件夹 $1, 然后把结果保存到 $0","baseType":"File_EmptyFolder","functionName":"File.EmptyFolder","functionCalls":[{"function":"File.EmptyFolder","args":["folder_path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"folder_path","label":"待清空文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入文件夹路径","description":"选择或输入指定文件夹目录,例如 C:\\desktop\\实在智能","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"清空结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"清空结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"File_WaitFile","name":"等待文件","kind":"vendor","group":"file","categories":["waite","file"],"categorySignature":"waite|file","description":"等待指定文件创建完成或删除完成。","messageTemplate":"等待文件 $1 $2, 然后把结果保存到 $0","baseType":"File_WaitFile","functionName":"File.WaitFile","functionCalls":[{"function":"File.WaitFile","args":["file_path","status","time_out"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["等待","延时","延迟","等候","暂停","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"file_path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"选择或输入指定文件路径,例如 C:\\desktop\\实在智能.txt","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"status","label":"文件状态","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"等待指定文件在特定时间是否创建完成或删除完成。","advanced":false,"valueTypes":[]},{"key":"time_out","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"60","placeholder":"请输入超时时间","description":"在等待时间内,如果文件状态改变,则返回True,否则返回False。","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"等待结果","key":"var_name","suggestedName":"等待结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"等待结果","defaultValue":"等待结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"File_UploadFolder","name":"结果打包上传","kind":"vendor","group":"file","categories":["automation_portal","controller","file"],"categorySignature":"automation_portal|controller|file","description":"将需要交付的文件或文件夹打包上传至云端,可在后台供用户下载。(注意:使用该组件前请先使用“生成上传路径”组件)。","messageTemplate":"将 $0 路径下文件打包上传至云端","baseType":"File_UploadFolder","functionName":"File.UploadFolder","functionCalls":[{"function":"File.UploadFolder","args":["uploadSrc"],"assignTo":""}],"version":"3.3.5.0","tags":["文件夹","上传","打包","结果上传","门户"],"platformTag":null,"icon":"file","risk":"low","fields":[{"key":"uploadSrc","label":"上传路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入“生成上传路径”组件输出的变量","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"FileTypeConversion_Office2pdf","name":"OFFICE文档转PDF","kind":"vendor","group":"office","categories":["file"],"categorySignature":"file","description":"将指定的office文档转化为pdf文件。","messageTemplate":"将OFFICE文档 $1 转为PDF $2 , 然后把结果保存到 $0","baseType":"FileTypeConversion_Office2pdf","functionName":"FileTypeConversion.Office2pdf","functionCalls":[{"function":"FileTypeConversion.Office2pdf","args":["fileInPath","fileOutPath","isMakedirs"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件转换","格式转换","office转pdf"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"文档地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择文档路径","description":"选择或输入文档路径,例如 C:\\desktop\\实在智能.docx","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"fileOutPath","label":"PDF输出目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择转化后的PDF输出路径","description":"选择或输入输出路径,例如 C:\\desktop","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"isMakedirs","label":"是否创建该路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"PDF文件路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"PDF文件路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"FileTypeConversion_Pdf2image2","name":"PDF转图片","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"将指定的pdf文档转化为图片格式。","messageTemplate":"将PDF $1 转为图片,输出目录在 $2 , 然后把结果保存到 $0","baseType":"FileTypeConversion_Pdf2image2","functionName":"FileTypeConversion.Pdf2image2","functionCalls":[{"function":"FileTypeConversion.Pdf2image2","args":["pdfPath","imageDir","isMakedirs"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件转换","格式转换","pdf转图片","图像"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"pdfPath","label":"PDF地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"imageDir","label":"图片输出目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"isMakedirs","label":"是否创建该路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"FTP_Download","name":"下载文件/文件夹(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"下载FTP服务器中文件、文件夹至本地。","messageTemplate":"下载 {$$2 == 'file' && '文件'}{$$2 == 'folder' && '文件夹'} $3 $4 存储至 $5, 然后把结果保存到 $0","baseType":"FTP_Download","functionName":"FTP.Download","functionCalls":[{"function":"FTP.Download","args":["ftp_obj","file_type","file_path","folder_path","target_path","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"file_type","label":"下载对象","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待下载文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个文件用“;”分隔","description":"支持单个或多个文件下载,多个文件支持用“;”分隔的字符串或列表类型变量,示例:a.txt;b.txt","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"folder_path","label":"待下载文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件夹名称","description":"输入一个在当前工作目录下的文件夹名称","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"target_path","label":"下载至","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择本地存储路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"下载的文件为","key":"var_name","suggestedName":"下载文件列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"下载的文件为","defaultValue":"下载文件列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"FTP_Rename","name":"重命名文件/文件夹(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"重命名FTP服务器中指定文件、文件夹。","messageTemplate":"重命名FTP服务器 $1 中 {$$2 == 'file' && '文件 $3 '}{$$2 == 'folder' && '文件夹 $4 '} 到新名称 $5, 然后把结果保存到 $0","baseType":"FTP_Rename","functionName":"FTP.Rename","functionCalls":[{"function":"FTP.Rename","args":["ftp_obj","file_type","file_path","folder_path","toname"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"file_type","label":"重命名对象","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待重命名文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入待重命名文件","description":"输入待重命名的文件名称,需包含文件扩展名。","advanced":false,"valueTypes":["rpa_str"]},{"key":"folder_path","label":"待重命名文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入待重命名文件夹","description":"输入待重命名的文件名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"toname","label":"新名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入新名称","description":"输入新名称,不需要文件扩展名。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"重命名后路径","key":"var_name","suggestedName":"文件夹ftp路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"重命名后路径","defaultValue":"文件夹ftp路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"FTP_Delete","name":"删除文件/文件夹(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"删除FTP服务器中指定文件、文件夹。","messageTemplate":"删除FTP服务器 $0 中 {$$1 == 'file' && '文件 $2 '}{$$1 == 'folder' && '文件夹 $3 '}","baseType":"FTP_Delete","functionName":"FTP.Delete","functionCalls":[{"function":"FTP.Delete","args":["ftp_obj","file_type","file_path","folder_path"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"file_type","label":"删除对象","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待删除文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个文件用“;”分隔","description":"支持单个或多个文件删除,多个文件支持用“;”分隔的字符串或列表类型变量,示例:a.txt;b.txt","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"folder_path","label":"待删除文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个文件夹用“;”分隔","description":"支持单个或多个文件夹删除,多个文件夹支持用“;”分隔的字符串或列表类型变量,示例:a;b","advanced":false,"valueTypes":["rpa_str","rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"FTP_Disconnect","name":"断开FTP连接","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"断开FTP服务器连接。","messageTemplate":"断开当前FTP服务器 $0","baseType":"FTP_Disconnect","functionName":"FTP.Disconnect","functionCalls":[{"function":"FTP.Disconnect","args":["ftp_obj"],"assignTo":""}],"version":"3.3.5.0","tags":["FTP"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"FTP_Cwd","name":"切换工作目录","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"切换FTP服务器当前的工作目录。","messageTemplate":"切换FTP连接 $0 的工作目录为 $1","baseType":"FTP_Cwd","functionName":"FTP.Cwd","functionCalls":[{"function":"FTP.Cwd","args":["ftp_obj","dir"],"assignTo":""}],"version":"3.3.5.0","tags":["FTP"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"dir","label":"工作目录","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"FTP_GetFileList","name":"获取文件/文件夹(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"获取FTP服务器当前工作目录下所有文件、文件夹。","messageTemplate":"获取FTP服务器 $1 全部{$$2 == 'file' && '文件'}{$$2 == 'folder' && '文件夹'}, 然后把结果保存到 $0","baseType":"FTP_GetFileList","functionName":"FTP.GetFileList","functionCalls":[{"function":"FTP.GetFileList","args":["ftp_obj","file_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"file_type","label":"获取对象","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"获取文件为","key":"var_name","suggestedName":"文件列表","valueTypes":["rpa_list_file","rpa_list_folder"],"fields":[{"key":"var_name","label":"获取文件为","defaultValue":"文件列表","valueTypes":["rpa_list_file","rpa_list_folder"]}]},"slots":[]},{"id":"FTP_CreateDir","name":"创建文件夹(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"在FTP服务器工作目录下创建一个文件夹。","messageTemplate":"在FTP服务器 $1 中创建文件夹 $2, 然后把结果保存到 $0","baseType":"FTP_CreateDir","functionName":"FTP.CreateDir","functionCalls":[{"function":"FTP.CreateDir","args":["ftp_obj","dirname","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"dirname","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件夹名称","description":"文件夹名称不能包含以下特殊符号:\\/:*?”<>|。","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件夹存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"FTP路径输出至","key":"var_name","suggestedName":"文件夹ftp路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"FTP路径输出至","defaultValue":"文件夹ftp路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"FTP_Exist","name":"判断文件存在(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"判断文件在FTP服务器当前工作目录下是否存在。","messageTemplate":"在FTP服务器 $1 中判断文件 $2 是否存在, 然后把结果保存到 $0","baseType":"FTP_Exist","functionName":"FTP.Exist","functionCalls":[{"function":"FTP.Exist","args":["ftp_obj","path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["判断","判定","判别","判断出","识别","文件","文档","文件档"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"path","label":"待判断文件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入待判断文件","description":"输入待判断文件名,需包含文件扩展名。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"判断结果输出至","key":"var_name","suggestedName":"文件存在与否","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"判断结果输出至","defaultValue":"文件存在与否","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"FTP_Upload","name":"上传文件/文件夹(FTP)","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"上传文件、文件夹至FTP服务器中指定目录。","messageTemplate":"上传 $4 $5 到FTP服务器目录 $3, 然后把结果保存到 $0","baseType":"FTP_Upload","functionName":"FTP.Upload","functionCalls":[{"function":"FTP.Upload","args":["ftp_obj","file_type","remote_path","file_path","folder_path","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料","文件夹","目录","目录夹"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_obj","label":"FTP对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"ftp对象","placeholder":"请选择FTP对象","description":"","advanced":false,"valueTypes":[]},{"key":"file_type","label":"上传对象","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"file","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"remote_path","label":"FTP目录","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"相对于工作目录","description":"该目录相对于当前工作目录,默认为空,表示上传至当前工作目录。","advanced":false,"valueTypes":[]},{"key":"file_path","label":"待上传文件","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":false,"defaultValue":"","placeholder":"请选择本地文件","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"folder_path","label":"待上传文件夹","widget":"folder","type":"object","displayType":"multiSelectFileOrDir","required":false,"defaultValue":"","placeholder":"请选择本地文件夹","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"上传的文件为","key":"var_name","suggestedName":"上传文件列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"上传的文件为","defaultValue":"上传文件列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"FTP_Connect","name":"建立FTP连接","kind":"vendor","group":"file","categories":["ftp"],"categorySignature":"ftp","description":"连接FTP服务器,并返回FTP对象。","messageTemplate":"连接 $2:$3, 然后把结果保存到 $0","baseType":"FTP_Connect","functionName":"FTP.Connect","functionCalls":[{"function":"FTP.Connect","args":["ftp_type","address","port","active_conn","conn_type","user","pass_word","pass_word_file","encoding"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["FTP"],"platformTag":"win32","icon":"file","risk":"low","fields":[{"key":"ftp_type","label":"服务器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"ftp","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"address","label":"FTP服务器地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"FTP服务器端口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"21","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"active_conn","label":"启用主动连接","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当客户端和服务端之间存在连接安全问题,如存在防火墙导致服务端无法主动创建数据传输连接时,可以启用连接模式","advanced":false,"valueTypes":[]},{"key":"conn_type","label":"连接方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"user","label":"用户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"pass_word","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pass_word_file","label":"秘钥文件","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"encoding","label":"字符集编码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"utf-8","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"FTP对象保存至","key":"var_name","suggestedName":"ftp对象","valueTypes":["rpa_ftp"],"fields":[{"key":"var_name","label":"FTP对象保存至","defaultValue":"ftp对象","valueTypes":["rpa_ftp"]}]},"slots":[]},{"id":"GoogleTable_GetAllData","name":"获取列信息(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"获取整个工作表的所有数据。","messageTemplate":"获取表格列信息, 然后把结果保存到 $0","baseType":"GoogleTable_GetAllData","functionName":"GoogleTable.GetAllData","functionCalls":[{"function":"GoogleTable.GetAllData","args":["url","startPosition","endPosition","sheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"startPosition","label":"起始位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"endPosition","label":"结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_GetAllSheetsName","name":"获取Sheet名(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"获取电子表格中所有工作表的名称列表。","messageTemplate":"获取sheet页名称, 然后把结果保存到 $0","baseType":"GoogleTable_GetAllSheetsName","functionName":"GoogleTable.GetAllSheetsName","functionCalls":[{"function":"GoogleTable.GetAllSheetsName","args":["url"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_WriteToSheetRegionColumns","name":"写入列(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"向指定列区域写入数据(如A:A)。","messageTemplate":"写入一列数据, 然后把结果保存到 $0","baseType":"GoogleTable_WriteToSheetRegionColumns","functionName":"GoogleTable.WriteToSheetRegionColumns","functionCalls":[{"function":"GoogleTable.WriteToSheetRegionColumns","args":["url","startPosition","endPosition","Values","sheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"startPosition","label":"列开始位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"endPosition","label":"列结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Values","label":"列数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入二维列表数据,示例: [[\"a\",\"b\"]],表示写入1 列数据","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_WriteToSheetRegionRows","name":"写入行(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"向指定行区域写入数据(如1:1)。","messageTemplate":"写入一行数据, 然后把结果保存到 $0","baseType":"GoogleTable_WriteToSheetRegionRows","functionName":"GoogleTable.WriteToSheetRegionRows","functionCalls":[{"function":"GoogleTable.WriteToSheetRegionRows","args":["url","startPosition","endPosition","Values","sheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"startPosition","label":"行开始位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"endPosition","label":"行结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Values","label":"行数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入二维列表数据,示例:[[\"a\",\"b\"]],表示写入1 行数据","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_WriteToSheetCell","name":"写入单元格(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"向单个单元格写入数据。","messageTemplate":"写入单元格, 然后把结果保存到 $0","baseType":"GoogleTable_WriteToSheetCell","functionName":"GoogleTable.WriteToSheetCell","functionCalls":[{"function":"GoogleTable.WriteToSheetCell","args":["url","sheetName","cellName","value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellName","label":"单元格","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"写入的值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_WriteToSheetCellFormula","name":"写入单元格公式(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"向单元格写入公式(如=SUM(A1:A10))。","messageTemplate":"写入单元格公式, 然后把结果保存到 $0","baseType":"GoogleTable_WriteToSheetCellFormula","functionName":"GoogleTable.WriteToSheetCellFormula","functionCalls":[{"function":"GoogleTable.WriteToSheetCellFormula","args":["url","sheetName","cellName","value"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cellName","label":"单元格名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"value","label":"写入的公式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入单元格公式,示例:=SUM(B1:B5)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_GetSheetRowCount","name":"获取行数(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"获取工作表的行数统计。","messageTemplate":"获取sheet页表格行数, 然后把结果保存到 $0","baseType":"GoogleTable_GetSheetRowCount","functionName":"GoogleTable.GetSheetRowCount","functionCalls":[{"function":"GoogleTable.GetSheetRowCount","args":["url","sheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_DownloadSheets","name":"导出Sheet(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"下载整个电子表格为本地文件(支持CSV/Excel格式)。","messageTemplate":"导出sheets文件, 然后把结果保存到 $0","baseType":"GoogleTable_DownloadSheets","functionName":"GoogleTable.DownloadSheets","functionCalls":[{"function":"GoogleTable.DownloadSheets","args":["url","format","isOnlySheet"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"format","label":"导出格式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"支持xlsx、csv、pdf等","advanced":false,"valueTypes":[]},{"key":"isOnlySheet","label":"是否导出当前sheet","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_CopyPasteSheet","name":"复制粘贴(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"复制工作表到当前或跨sheet复制到另一个电子表格。","messageTemplate":"复制粘贴, 然后把结果保存到 $0","baseType":"GoogleTable_CopyPasteSheet","functionName":"GoogleTable.CopyPasteSheet","functionCalls":[{"function":"GoogleTable.CopyPasteSheet","args":["url","sourceSheetName","destSheetName","sourceStart","sourceEnd","destStart","destEnd"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sourceSheetName","label":"源sheet","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"destSheetName","label":"目标sheet","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sourceStart","label":"源起始位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sourceEnd","label":"源结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"destStart","label":"目标起始位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"destEnd","label":"目标结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_GetColumnsByTableTitle","name":"按表头读取列(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"根据表标题获取列数据。","messageTemplate":"按表头读取列, 然后把结果保存到 $0","baseType":"GoogleTable_GetColumnsByTableTitle","functionName":"GoogleTable.GetColumnsByTableTitle","functionCalls":[{"function":"GoogleTable.GetColumnsByTableTitle","args":["url","sheetName","rowNum","tableTitles"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"rowNum","label":"行号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"tableTitles","label":"需要查询的表头列名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入列表数据,示例:[\"a\",\"b\"], 表示的是读取指定行中a和b作为表头的列数据","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_ChangeSheet","name":"激活Sheet(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"。","messageTemplate":"切换sheet页, 然后把结果保存到 $0","baseType":"GoogleTable_ChangeSheet","functionName":"GoogleTable.ChangeSheet","functionCalls":[{"function":"GoogleTable.ChangeSheet","args":["url","sheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_RenameSheet","name":"重命名Sheet(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"更改指定工作表的名称。","messageTemplate":"修改sheet页名称, 然后把结果保存到 $0","baseType":"GoogleTable_RenameSheet","functionName":"GoogleTable.RenameSheet","functionCalls":[{"function":"GoogleTable.RenameSheet","args":["url","originalSheetName","modifySheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"originalSheetName","label":"需修改的sheet","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"modifySheetName","label":"变更后的sheet名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"GoogleTable_WriteToSheetRegionregion","name":"写入区域(Google Sheets)","kind":"vendor","group":"office","categories":["google_sheets"],"categorySignature":"google_sheets","description":"向指定区域写入数据(支持多行多列)。","messageTemplate":"写入区域数据, 然后把结果保存到 $0","baseType":"GoogleTable_WriteToSheetRegionregion","functionName":"GoogleTable.WriteToSheetRegionregion","functionCalls":[{"function":"GoogleTable.WriteToSheetRegionregion","args":["url","startPosition","endPosition","Values","sheetName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"url","label":"url","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"startPosition","label":"开始位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"endPosition","label":"结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Values","label":"区域数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入二维列表数据,示例: [[\"a\",\"b\"],[\"c\",\"d\"]] ,表示写入区域数据,内部的二元数组是行数据","advanced":false,"valueTypes":[]},{"key":"sheetName","label":"sheet页名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Http_Post_V2","name":"POST请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"使用http协议的post方法,将数据提交到指定网页的表单中,并输出到指定变量。","messageTemplate":"使用http协议的post方法请求 $1 , 然后把结果保存到 $0","baseType":"Http_Post","functionName":"Http.Post_V2","functionCalls":[{"function":"Http.Post_V2","args":["url","param","timeout","headers","cookies"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["post","表单填写","数据提交"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"url","label":"链接地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入POST请求地址","description":"输入POST请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"timeout","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60","placeholder":"请输入请求超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求头,数据类型为字典","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入cookies,数据类型为字典","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_any"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_any"]}]},"slots":[]},{"id":"Http_Get","name":"GET请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"使用http协议的get方法,获取指定网页的表单数据,并输出到指定变量。","messageTemplate":"使用http协议的get方法请求 $1 , 然后把结果保存到 $0","baseType":"Http_Get","functionName":"Http.Get","functionCalls":[{"function":"Http.Get","args":["url","param","timeout","headers","cookies","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["get","表单数据","数据获取"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"url","label":"链接地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入GET请求地址","description":"输入GET请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"timeout","label":"超时时间(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60000","placeholder":"请输入请求超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_int"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求头,数据类型为字典","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入cookies,数据类型为字典","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"encode","label":"字符集编码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"utf-8","placeholder":"请输入编码类型","description":"输入编码类型,常用编码类型为utf-8、gbk、gb2312等","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Http_Get_V1","name":"GET请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"使用http协议的get方法,获取指定网页的表单数据,并输出到指定变量。","messageTemplate":"使用http协议的get方法请求 $1 , 然后把结果保存到 $0","baseType":"Http_Get","functionName":"Http.Get_V1","functionCalls":[{"function":"Http.Get_V1","args":["url","param","timeout","headers","cookies","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["get","表单数据","数据获取"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"url","label":"链接地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入GET请求地址","description":"输入GET请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"timeout","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60","placeholder":"请输入请求超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求头,数据类型为字典","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入cookies,数据类型为字典","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"encode","label":"字符集编码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"utf-8","placeholder":"请输入编码类型","description":"输入编码类型,常用编码类型为utf-8、gbk、gb2312等","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Http_Get_V2","name":"GET请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"使用http协议的get方法,获取指定网页的表单数据,并输出到指定变量。","messageTemplate":"使用http协议的get方法请求 $1 , 然后把结果保存到 $0","baseType":"Http_Get","functionName":"Http.Get_V2","functionCalls":[{"function":"Http.Get_V2","args":["url","param","time_out","headers","cookies","encode"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["get","表单数据","数据获取","请求","要求","请求信息","请求数据","请求指令","发送GET请求","GET数据获取","获取GET数据"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"url","label":"链接地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入GET请求地址","description":"输入GET请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"time_out","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60","placeholder":"请输入请求超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求头,数据类型为字典","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入cookies,数据类型为字典","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"encode","label":"字符集编码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"utf-8","placeholder":"请输入编码类型","description":"输入编码类型,常用编码类型为utf-8、gbk、gb2312等","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Http_Http_Request","name":"HTTP 请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"可以使用HTTP协议的方法,将数据发送到服务端,并保存响应结果。","messageTemplate":"使用 $2 方法请求, 然后把结果保存到 $0","baseType":"Http_Http_Request","functionName":"Http.Http_Request","functionCalls":[{"function":"Http.Http_Request","args":["auto_filling","method","url","headers","body","connect_timeout","save_response_to_file","file_path","http_use_webpage","web_page"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["http","http请求","请求","要求","请求信息","请求数据","请求指令","HTTP","超文本传输协议","HTTP协议"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"auto_filling","label":"智能识别填入","widget":"text","type":"string","displayType":"parseCurl","required":false,"defaultValue":"","placeholder":"","description":"请选择操作方法。","advanced":false,"valueTypes":[]},{"key":"method","label":"方法","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"GET","placeholder":"","description":"请选择操作方法。","advanced":false,"valueTypes":[]},{"key":"url","label":"URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入请求地址","description":"请输入请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"headers","label":"协议头","widget":"textarea","type":"string","displayType":"textArea","required":false,"defaultValue":"","placeholder":"请输入请求头,如:\"header1:value\"","description":"协议头,多行,每行格式为: \"协议头名称:协议头内容\"","advanced":false,"valueTypes":["rpa_str","rpa_dict"]},{"key":"body","label":"协议体","widget":"textarea","type":"string","displayType":"textArea","required":false,"defaultValue":"","placeholder":"请输入请求体,如:\"header1:value\"","description":"协议体,填写待发送到服务器的内容","advanced":false,"valueTypes":["rpa_str","rpa_dict"]},{"key":"connect_timeout","label":"连接超时秒数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"30","placeholder":"","description":"输入连接超时秒数","advanced":true,"valueTypes":["rpa_num"]},{"key":"save_response_to_file","label":"响应结果保存到文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将响应结果保存到文件","advanced":true,"valueTypes":[]},{"key":"file_path","label":"文件路径","widget":"file","type":"object","displayType":"saveAsDialog","required":true,"defaultValue":"","placeholder":"选择或输入文件保存路径","description":"保存响应结果的文件路径","advanced":true,"valueTypes":[]},{"key":"http_use_webpage","label":"通过网页发送Http请求","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"请求需要认证信息才可以发送成功,需要选择已完成认证的网页对象,默认不勾选。","advanced":true,"valueTypes":[]},{"key":"web_page","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":true,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_dict_http_response"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_dict_http_response"]}]},"slots":[]},{"id":"Http_Post","name":"POST请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"使用http协议的post方法,将数据提交到指定网页的表单中,并输出到指定变量。","messageTemplate":"使用http协议的post方法请求 $1 , 然后把结果保存到 $0","baseType":"Http_Post","functionName":"Http.Post","functionCalls":[{"function":"Http.Post","args":["url","param","timeout","headers","cookies"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["post","表单填写","数据提交"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"url","label":"链接地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入POST请求地址","description":"输入POST请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"timeout","label":"超时时间(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60000","placeholder":"请输入请求超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_int"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求头,数据类型为字典","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入cookies,数据类型为字典","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_any"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_any"]}]},"slots":[]},{"id":"Http_Post_V3","name":"POST请求","kind":"vendor","group":"message","categories":["network"],"categorySignature":"network","description":"使用http协议的post方法,将数据提交到指定网页的表单中,并输出到指定变量。","messageTemplate":"使用http协议的post方法请求 $1 , 然后把结果保存到 $0","baseType":"Http_Post","functionName":"Http.Post_V3","functionCalls":[{"function":"Http.Post_V3","args":["url","param","time_out","headers","cookies"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["post","表单填写","数据提交","请求","要求","请求信息","请求数据","请求指令","发送POST请求","POST数据提交","提交POST数据"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"url","label":"链接地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入POST请求地址","description":"输入POST请求地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"time_out","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60","placeholder":"请输入请求超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_num"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入请求头,数据类型为字典","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入cookies,数据类型为字典","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"返回数据","valueTypes":["rpa_any"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"返回数据","valueTypes":["rpa_any"]}]},"slots":[]},{"id":"Image_Click","name":"点击图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并单击该图片。","messageTemplate":"查找图像 $0 并点击图像的 $1 位置","baseType":"Image_Click","functionName":"Image.Click","functionCalls":[{"function":"Image.Click","args":["image","position","accuracy","accuracy2","isAbsolutePath","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["图片查找点击","图像点击"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"输入或选择图片路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"相对目标的点击位置(中心、左上角等)","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)","advanced":false,"valueTypes":["rpa_num"]},{"key":"isAbsolutePath","label":"isAbsolutePath","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Image_Move_V2","name":"鼠标移动到图像上","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并将鼠标移到该图片的中心位置。","messageTemplate":"查找图像 $4 并移动至图片的 $5 位置","baseType":"Image_Move","functionName":"Image.Move_V2","functionCalls":[{"function":"Image.Move_V2","args":["image","position","accuracy","show_track","find_range","window_obj","action","shot_position"],"assignTo":""}],"version":"3.3.5.0","tags":["图片位置","移到图像上","移到图片上","鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"find_range","label":"图像查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择模板图片的查找范围:整个屏幕、指定窗口,或先框选一块屏幕区域后只在该区域内查找。","advanced":false,"valueTypes":[],"options":[{"label":"整个屏幕","value":"1"},{"label":"指定窗口","value":"2"},{"label":"指定屏幕范围","value":"3"}]},{"key":"window_obj","label":"窗口标题/对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择窗口或填写标题/进程名","description":"查找范围为「指定窗口」时必填:可填窗口完整标题、标题关键字或进程名;点「选窗口」从可见窗口列表中选择。","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"action","label":"查找区域","widget":"region","type":"object","displayType":"getScreenShot","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。","advanced":false,"valueTypes":[]},{"key":"shot_position","label":"查找区域","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。","advanced":false,"valueTypes":[]},{"key":"image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"要查找的小图模板路径;建议只框选按钮、图标或文字块等目标图案,不要框整屏大图。","advanced":false,"valueTypes":["rpa_str"]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"命中目标图像后,鼠标移动到目标区域的哪个位置。","advanced":false,"valueTypes":[],"options":[{"label":"左上","value":"leftTop"},{"label":"右上","value":"rightTop"},{"label":"左下","value":"leftBottom"},{"label":"右下","value":"rightBottom"},{"label":"中心","value":"center"}]},{"key":"accuracy","label":"相似度","widget":"hidden","type":"string","displayType":"hidden","required":true,"defaultValue":"0.95","placeholder":"请输入相似度阈值","description":"查找当前界面与截图图片 视觉特征差异相似程度的匹配阈值。当相似度100%时,即代表当前界面存在与截图图片完全一致的图像才能执行成功。","advanced":false,"valueTypes":["rpa_num"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"开启后鼠标按轨迹移动到目标位置;关闭后直接跳到目标位置。","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Image_Screenshot","name":"屏幕截图","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"根据选择的坐标区域截取图像,并将截图保存到指定路径。","messageTemplate":"截取 $1 $5 $6 区域为图像, 然后把结果保存到 $0","baseType":"Image_Screenshot","functionName":"Image.Screenshot","functionCalls":[{"function":"Image.Screenshot","args":["pictureSource","shotRange","image_path","action","position","position_img","outImagePath","outImageName"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图像截取","图片截图","截图"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像来源","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择要截图的图像来源,可以是当前屏幕,也可以是指定的图片文件。","advanced":false,"valueTypes":[]},{"key":"shotRange","label":"截图范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择要截图的范围,可以使截取整个屏幕,或手动选择截图区域","advanced":false,"valueTypes":[]},{"key":"image_path","label":"截图保存路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"选择要截图的图片文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"action","label":"action","widget":"region","type":"object","displayType":"getScreenShot","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"position","label":"截图区域","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position_img","label":"position_img","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"outImagePath","label":"截图输出目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"如 D:\\output","description":"输出目录为空,将会保存文件到流程资源目录","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"outImageName","label":"截图文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"留空则自动生成,如 screenshot_1730000000.png","description":"文件名称为空,将会自动生成文件名","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"保存图像位置","key":"var_name","suggestedName":"图像路径","valueTypes":[],"fields":[{"key":"var_name","label":"保存图像位置","defaultValue":"图像路径","valueTypes":[]}]},"slots":[]},{"id":"Image_Base64Decode","name":"图片base64编码转二进制","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"将图片base64编码转二进制。","messageTemplate":"将图片base64编码转二进制 , 然后把结果保存到 $0","baseType":"Image_Base64Decode","functionName":"Image.Base64Decode","functionCalls":[{"function":"Image.Base64Decode","args":["val"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"val","label":"图片base64编码","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入编码","description":"填写参数值,支持 ${变量} 引用上游输出","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图片二进制值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图片二进制值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Image_Find","name":"查找图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在目标界面中查找指定图像,并返回是否存在指定图片。可截图或上传图片,设定相似度。","messageTemplate":"查找图片 $1, 然后把结果保存到 $0","baseType":"Image_Find","functionName":"Image.Find","functionCalls":[{"function":"Image.Find","args":["image","accuracy","accuracy2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查找图片","查找图像位置","图像检索"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"已所选源图为样板,查找当前页面中和样板相似或一致的图片并返回查找结果。","advanced":false,"valueTypes":["rpa_str"]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"查找结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"查找结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Image_Base64Encode","name":"图片转base64编码","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"将图片转为base64编码。","messageTemplate":"将图片 $1 转base64编码, 然后把结果保存到 $0","baseType":"Image_Base64Encode","functionName":"Image.Base64Encode","functionCalls":[{"function":"Image.Base64Encode","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片对象","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"编码方向的源图片路径,支持 ${变量} 引用上游输出(如上游截图的保存路径)","advanced":false,"valueTypes":["rpa_str"]},{"key":"mode","label":"转换方向","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"encode","placeholder":"","description":"编码:图片文件转为 base64 字符串;解码:base64 字符串还原保存为图片文件","advanced":false,"valueTypes":[],"options":[{"label":"图片 → Base64","value":"encode"},{"label":"Base64 → 图片","value":"decode"}]},{"key":"output","label":"图片保存路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"如 D:\\files\\restored.png","description":"解码方向的保存位置(含文件名);留空自动生成临时图片文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"val","label":"Base64编码","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"如 ${图片编码值}","description":"解码方向的 base64 字符串,支持 ${变量} 引用上游输出;自动忽略 data:image/...;base64, 前缀","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图片编码值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图片编码值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Image_Wait_V1","name":"等待图像","kind":"vendor","group":"vision","categories":["waite"],"categorySignature":"waite","description":"等待指定的图像显示,加载等待。","messageTemplate":"等待图像 $5, 然后把结果保存到 $0","baseType":"Image_Wait","functionName":"Image.Wait_V1","functionCalls":[{"function":"Image.Wait_V1","args":["image","accuracy","time_out","find_range","window_obj","action","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片等待","图像等待","图像加载","等待","延时","延迟","等候","暂停"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"find_range","label":"图像查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择模板图片的查找范围:整个屏幕、指定窗口,或先框选一块屏幕区域后只在该区域内查找。","advanced":false,"valueTypes":[],"options":[{"label":"整个屏幕","value":"1"},{"label":"指定窗口","value":"2"},{"label":"指定屏幕范围","value":"3"}]},{"key":"window_obj","label":"窗口标题/对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"选择窗口或填写标题/进程名","description":"查找范围为「指定窗口」时必填:可填窗口完整标题、标题关键字或进程名;点「选窗口」从可见窗口列表中选择。","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"action","label":"查找区域","widget":"region","type":"object","displayType":"getScreenShot","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。","advanced":false,"valueTypes":[]},{"key":"position","label":"查找区域","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"查找范围为「指定屏幕范围」时使用:点右侧「屏幕框选」生成区域坐标 JSON。","advanced":false,"valueTypes":[]},{"key":"image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"要查找的小图模板路径;建议只框选按钮、图标或文字块等目标图案,不要框整屏大图。","advanced":false,"valueTypes":["rpa_str"]},{"key":"accuracy","label":"相似度","widget":"hidden","type":"string","displayType":"hidden","required":true,"defaultValue":"0.95","placeholder":"请输入相似度阈值","description":"查找当前界面与截图图片 视觉特征差异相似程度的匹配阈值。当相似度100%时,即代表当前界面存在与截图图片完全一致的图像才能执行成功。","advanced":false,"valueTypes":["rpa_num"]},{"key":"time_out","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"20","placeholder":"20","description":"等待目标图像出现的秒数;默认 20 秒。","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果及坐标","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果及坐标","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"Image_Exists","name":"判断图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内查找图片,判断是否存在,存在返回true,失败返回false。","messageTemplate":"判断是否存在图片 $1, 然后把结果保存到 $0","baseType":"Image_Exists","functionName":"Image.Exists","functionCalls":[{"function":"Image.Exists","args":["image","accuracy","accuracy2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片查找","图像存在","图像判断"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0.1","placeholder":"输入内容或 ${变量}","description":"模板相似度阈值(0~1,越大越严格):0.9 表示屏幕上至少 90% 像素与模板一致才算找到。框选的模板与实际界面光照/渲染略有差异时可适当调低,如无特殊需求建议 0.8。","advanced":false,"valueTypes":[]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0.2","placeholder":"输入内容或 ${变量}","description":"填写参数值,支持 ${变量} 引用上游输出","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Image_Location","name":"图像位置","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并返回图片在屏幕中的坐标位置。","messageTemplate":"查找图片 $1 并返回位置坐标, 然后把结果保存到 $0","baseType":"Image_Location","functionName":"Image.Location","functionCalls":[{"function":"Image.Location","args":["image","accuracy","accuracy2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片位置","图像位置","图像坐标"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"以所选源图为样板,查找当前页面中和样板相似或一致的图片并返回坐标。 ","advanced":false,"valueTypes":["rpa_str"]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图像坐标值","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图像坐标值","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"Image_Location_V1","name":"获取图像位置","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并返回图片在屏幕中的坐标位置。","messageTemplate":"查找图像 $5 并返回位置坐标, 然后把结果保存到 $0","baseType":"Image_Location","functionName":"Image.Location_V1","functionCalls":[{"function":"Image.Location_V1","args":["image","accuracy","find_range","window_obj","action","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片位置","图像位置","图像坐标","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"find_range","label":"图像查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"请选择查找目标图像的范围","advanced":false,"valueTypes":[]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"目标窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"action","label":"action","widget":"region","type":"object","displayType":"getScreenShot","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"position","label":"position","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str"]},{"key":"accuracy","label":"相似度","widget":"hidden","type":"string","displayType":"hidden","required":true,"defaultValue":"0.95","placeholder":"请输入相似度阈值","description":"查找当前界面与截图图片 视觉特征差异相似程度的匹配阈值。当相似度100%时,即代表当前界面存在与截图图片完全一致的图像才能执行成功。","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图像坐标值","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图像坐标值","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"Image_Find_V1","name":"查找图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在目标界面中查找指定图像,并返回是否存在指定图片。可截图或上传图片,设定相似度。","messageTemplate":"查找图像 $5, 然后把结果保存到 $0","baseType":"Image_Find","functionName":"Image.Find_V1","functionCalls":[{"function":"Image.Find_V1","args":["image","accuracy","find_range","window_obj","action","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查找图片","查找图像位置","图像检索"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"find_range","label":"图像查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"请选择查找目标图像的范围","advanced":false,"valueTypes":[]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"action","label":"action","widget":"region","type":"object","displayType":"getScreenShot","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"position","label":"position","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"模板图片文件的完整路径,用于匹配识别;点右侧「屏幕截取」可框选屏幕上的目标图案","advanced":false,"valueTypes":["rpa_str"]},{"key":"accuracy","label":"模板相似度","widget":"hidden","type":"string","displayType":"hidden","required":true,"defaultValue":"0.95","placeholder":"请输入相似度阈值","description":"查找 当前界面 与 截图图片 视觉特征差异相似程度的匹配阈值。当相似度100%时,即代表当前界面存在与截图图片完全一致的图像才能执行成功。","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"查找结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"查找结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Image_Exists_V1","name":"判断图像","kind":"vendor","group":"vision","categories":["judgment"],"categorySignature":"judgment","description":"在指定范围内查找图片,判断是否存在,存在返回true,失败返回false。","messageTemplate":"判断是否存在图片 $1, 然后把结果保存到 $0","baseType":"Image_Exists","functionName":"Image.Exists_V1","functionCalls":[{"function":"Image.Exists_V1","args":["image","accuracy"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片查找","图像存在","图像判断"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"目标图像","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"similaritySlider","required":true,"defaultValue":"0.8","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"find_range","label":"图像查找范围","widget":"select","displayType":"dropDownSelect","defaultValue":"1","required":false,"options":[{"label":"整个屏幕","value":"1"},{"label":"指定窗口","value":"2"}],"description":"在整个虚拟桌面(含副屏)中查找,或仅在指定窗口范围内查找","type":"string"},{"key":"timeout","label":"等待超时(秒)","widget":"number","displayType":"text-expression","defaultValue":"0","required":false,"description":"大于 0 时在该时间内每隔 0.3 秒重试查找,超时仍未找到才返回 false","type":"string"},{"key":"window_obj","label":"窗口对象","widget":"text","displayType":"text-expression","defaultValue":"","required":false,"description":"目标窗口标题,留空则作用于当前活动窗口;点「选窗口」从可见窗口列表中选择","type":"string"}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Image_CropImg","name":"截取图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"按设定的大小和位置截取指定图片,并将截取的图片保存到指定路径,可设定截取的起始坐标点。","messageTemplate":"返回图片按照给定坐标截图, 然后把结果保存到 $0","baseType":"Image_CropImg","functionName":"Image.CropImg","functionCalls":[{"function":"Image.CropImg","args":["file_path","imagePath","xstart","xend","ystart","yend"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图像截取","图片截图","截图"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"file_path","label":"源图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"imagePath","label":"截图输出目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件夹路径","description":"文件夹的完整路径;点右侧按钮浏览选择,支持 ${变量} 引用","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"xstart","label":"x坐标起点","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入坐标点","description":"裁剪区域左上角的 x 坐标(图片上的像素)","advanced":false,"valueTypes":["rpa_int"]},{"key":"xend","label":"x坐标终点","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入坐标点","description":"裁剪区域右下角的 x 坐标,需大于起点 x","advanced":false,"valueTypes":["rpa_int"]},{"key":"ystart","label":"y坐标起点","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入坐标点","description":"裁剪区域左上角的 y 坐标(图片上的像素)","advanced":false,"valueTypes":["rpa_int"]},{"key":"yend","label":"y坐标终点","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入坐标点","description":"裁剪区域右下角的 y 坐标,需大于起点 y","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图像路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图像路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Image_Click_V1","name":"点击图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并单击该图片。","messageTemplate":"查找图像 $0 并点击图像的 $1 位置","baseType":"Image_Click","functionName":"Image.Click_V1","functionCalls":[{"function":"Image.Click_V1","args":["image","position","accuracy","accuracy2","isAbsolutePath","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["图片查找点击","图像点击"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"输入或选择图片路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"相对目标的点击位置(中心、左上角等)","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)","advanced":false,"valueTypes":["rpa_num"]},{"key":"isAbsolutePath","label":"isAbsolutePath","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Image_Click_V3","name":"鼠标点击图像","kind":"vendor","group":"vision","categories":["image","peripheral_device"],"categorySignature":"image|peripheral_device","description":"在指定范围内检索图片,并单击该图片。","messageTemplate":"查找图像 $4 并点击图像的 $5 位置","baseType":"Image_Click","functionName":"Image.Click_V3","functionCalls":[{"function":"Image.Click_V3","args":["image","click_key","position","accuracy","show_track","find_range","window_obj","action","shot_position"],"assignTo":""}],"version":"3.3.5.0","tags":["图片查找点击","图像点击","鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"find_range","label":"图像查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"请选择查找目标图像的范围","advanced":false,"valueTypes":[]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"action","label":"action","widget":"region","type":"object","displayType":"getScreenShot","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"shot_position","label":"shot_position","widget":"region","type":"object","displayType":"screenShotValue","required":false,"defaultValue":"","placeholder":"{\"x\":0,\"y\":0,\"width\":100,\"height\":50}","description":"区域坐标 JSON;点右侧「屏幕框选」在屏幕上框选生成","advanced":false,"valueTypes":[]},{"key":"image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str"]},{"key":"click_key","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"left","placeholder":"","description":"从选项中选择一项","advanced":false,"valueTypes":[]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"相对目标的点击位置(中心、左上角等)","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"相似度","widget":"hidden","type":"string","displayType":"hidden","required":true,"defaultValue":"0.95","placeholder":"请输入相似度阈值","description":"查找当前界面与截图图片 视觉特征差异相似程度的匹配阈值。当相似度100%时,即代表当前界面存在与截图图片完全一致的图像才能执行成功。","advanced":false,"valueTypes":["rpa_num"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Image_RelativePosition","name":"对比图像相对位置","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"获取截图在整体图片中的位置坐标。","messageTemplate":"获取图像 $1 中,$2 的相对位置坐标, 然后把结果保存到 $0","baseType":"Image_RelativePosition","functionName":"Image.RelativePosition","functionCalls":[{"function":"Image.RelativePosition","args":["source","template"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"source","label":"被搜索图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"template","label":"查找目标(小图)","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"相对坐标值","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"相对坐标值","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Image_Click_V2","name":"点击图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并单击该图片。","messageTemplate":"查找图像 $0 并点击图像的 $1 位置","baseType":"Image_Click","functionName":"Image.Click_V2","functionCalls":[{"function":"Image.Click_V2","args":["image","position","accuracy","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["图片查找点击","图像点击"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"输入或选择图片路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"相对目标的点击位置(中心、左上角等)","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"相似度","widget":"text","type":"string","displayType":"similaritySlider","required":true,"defaultValue":"0.95","placeholder":"请输入相似度阈值","description":"查找 当前界面 与 截图图片 视觉特征差异相似程度的匹配阈值。当相似度100%时,即代表当前界面存在与截图图片完全一致的图像才能执行成功。","advanced":false,"valueTypes":["rpa_num"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Image_Wait","name":"等待图像","kind":"vendor","group":"vision","categories":["waite","image"],"categorySignature":"waite|image","description":"等待指定的图像显示,加载等待。","messageTemplate":"等待图片 $1 , 然后把结果保存到 $0","baseType":"Image_Wait","functionName":"Image.Wait","functionCalls":[{"function":"Image.Wait","args":["image","accuracy","accuracy2","timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片等待","图像等待","图像加载"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图像路径","description":"输入或选择图像路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"timeout","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"20","placeholder":"请输入超时等待的时间(秒)","description":"输入超时等待的时间,单位:毫秒,默认20秒,非必填","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"结果及坐标","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"结果及坐标","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"Image_Move","name":"移动到图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并将鼠标移到该图片的中心位置。","messageTemplate":"查找图片 $0 并移动至图片的 $1 位置","baseType":"Image_Move","functionName":"Image.Move","functionCalls":[{"function":"Image.Move","args":["image","position","accuracy","accuracy2","isAbsolutePath","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["图片位置","移到图像上","移到图片上"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"已所选源图为样板,查找当前页面中和样板相似或一致的图片并将鼠标移动到图片的指定位置","advanced":false,"valueTypes":["rpa_str"]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"相对目标的点击位置(中心、左上角等)","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)","advanced":false,"valueTypes":["rpa_num"]},{"key":"isAbsolutePath","label":"isAbsolutePath","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Image_Move_V1","name":"移动到图像","kind":"vendor","group":"vision","categories":["image"],"categorySignature":"image","description":"在指定范围内检索图片,并将鼠标移到该图片的中心位置。","messageTemplate":"查找图片 $0 并移动至图片的 $1 位置","baseType":"Image_Move","functionName":"Image.Move_V1","functionCalls":[{"function":"Image.Move_V1","args":["image","position","accuracy","accuracy2","isAbsolutePath","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["图片位置","移到图像上","移到图片上"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"已所选源图为样板,查找当前页面中和样板相似或一致的图片并将鼠标移动到图片的指定位置","advanced":false,"valueTypes":["rpa_str"]},{"key":"position","label":"点击位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"center","placeholder":"","description":"相对目标的点击位置(中心、左上角等)","advanced":false,"valueTypes":[]},{"key":"accuracy","label":"模板相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片总体像素点误差差异判断相似度的阈值指标,与特征相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2) ","advanced":false,"valueTypes":["rpa_num"]},{"key":"accuracy2","label":"特征相似度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.2","placeholder":"请输入相似度阈值","description":"即需要查找的图片与模板图片的针对局部图像特征相似程度的阈值指标,与模板相似度共同决定组件运行结果。用户可自定义配置一个0~1区间的相似度取值(如0.55即55%相似度),0为完全不相似、1为完全一致,越大则命中阈值越高。(如无特殊需求,建议默认0.2)","advanced":false,"valueTypes":["rpa_num"]},{"key":"isAbsolutePath","label":"isAbsolutePath","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Ini_DeleteKey","name":"删除INI文件键","kind":"vendor","group":"data","categories":["INI"],"categorySignature":"INI","description":"删除INI配置文件下的指定小节的键值。","messageTemplate":"删除配置文件 $0 的 $1 小节 $2 键","baseType":"Ini_DeleteKey","functionName":"Ini.DeleteKey","functionCalls":[{"function":"Ini.DeleteKey","args":["file","section","key"],"assignTo":""}],"version":"3.3.5.0","tags":["删除键值","INI","删除INI小节的键值","删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择INI文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"section","label":"小节名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要删除键所在的小节名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"key","label":"键名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要删除的键名","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Ini_Write","name":"写入INI文件键值","kind":"vendor","group":"data","categories":["INI"],"categorySignature":"INI","description":"写入INI文件指定小节下的键值。","messageTemplate":"写入配置文件 $0 键值 $2 为 $3","baseType":"Ini_Write","functionName":"Ini.Write","functionCalls":[{"function":"Ini.Write","args":["file","section","key","value"],"assignTo":""}],"version":"3.3.5.0","tags":["写键值","INI","INI键值","写入","写入到","写入数据","写进","录入"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择INI文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"section","label":"小节名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入INI文件指定的小节名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"key","label":"键名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要写入键值的键名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"value","label":"键值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要写入的键值","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Ini_ListSection","name":"枚举INI文件小节","kind":"vendor","group":"data","categories":["INI"],"categorySignature":"INI","description":"枚举INI配置文件中的所有小节。","messageTemplate":"枚举配置文件 $1 的所有小节, 然后把结果保存到 $0","baseType":"Ini_ListSection","functionName":"Ini.ListSection","functionCalls":[{"function":"Ini.ListSection","args":["file"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["枚举","INI","INI小节"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择INI文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"所有小节名","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"所有小节名","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Ini_DeleteSection","name":"删除INI文件小节","kind":"vendor","group":"data","categories":["INI"],"categorySignature":"INI","description":"删除INI配置文件下的指定小节。","messageTemplate":"删除配置文件 $0 的 $1 小节","baseType":"Ini_DeleteSection","functionName":"Ini.DeleteSection","functionCalls":[{"function":"Ini.DeleteSection","args":["file","section"],"assignTo":""}],"version":"3.3.5.0","tags":["删除小节","INI","删除INI小节","删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择INI文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"section","label":"小节名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要删除的小节名","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Ini_ListKey","name":"枚举INI文件键","kind":"vendor","group":"data","categories":["INI"],"categorySignature":"INI","description":"枚举INI配置文件中的所有键。","messageTemplate":"枚举配置文件 $1 的所有键, 然后把结果保存到 $0","baseType":"Ini_ListKey","functionName":"Ini.ListKey","functionCalls":[{"function":"Ini.ListKey","args":["file","section"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["枚举键","INI","INI键值"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择INI文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"section","label":"小节名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要枚举键的小节名","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"小节下的所有键名","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"小节下的所有键名","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Ini_Read","name":"读取INI文件键值","kind":"vendor","group":"data","categories":["INI"],"categorySignature":"INI","description":"读取INI文件指定小节下的键值。","messageTemplate":"读取配置文件 $1 , 然后把结果保存到 $0","baseType":"Ini_Read","functionName":"Ini.Read","functionCalls":[{"function":"Ini.Read","args":["file","section","key","defaultValue"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读键值","INI","INI小节","读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"file","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择INI文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"section","label":"小节名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入INI文件指定的小节名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"key","label":"键名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要读取键值的键名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"defaultValue","label":"默认值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"若未找到指定键值时返回的默认值","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"读取的键值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"读取的键值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"JSON_Stringify","name":"将JSON转换为文本","kind":"vendor","group":"data","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将指定的JSON对象转换为文本,并输出到指定变量。","messageTemplate":"将 $1 JSON对象转为字符串, 然后把结果保存到 $0","baseType":"JSON_Stringify","functionName":"JSON.Stringify","functionCalls":[{"function":"JSON.Stringify","args":["string","fuctype"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","json","json转换","字符串","转换","转变","转换格式","转换类型","变换","文本","文字","字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"待转换JSON对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入JSON对象,例如:{\"name\":\"张三\",\"age\":24}","description":"{\"a\":1,\"b\":2}","advanced":false,"valueTypes":[]},{"key":"fuctype","label":"是否转ASCII码","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"是否对中文进行编码","advanced":false,"valueTypes":[]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"转换结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"转换结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"JSON_Parse","name":"将文本转换为JSON","kind":"vendor","group":"data","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将指定的文本转换为JSON对象,并输出到指定变量。","messageTemplate":"将字符串 $1 转为JSON, 然后把结果保存到 $0","baseType":"JSON_Parse","functionName":"JSON.Parse","functionCalls":[{"function":"JSON.Parse","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["类型转换","json","json转换","字符串","转换","转变","转换格式","转换类型","变换","文本","文字","字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"待转换文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入待转换文本,例如:{\"a\":1,\"b\":2}","description":"输入待转换为JSON的文本,例如:{\"a\":1,\"b\":2}","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"转换结果","valueTypes":[],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"转换结果","valueTypes":[]}]},"slots":[]},{"id":"Keyboard_PressNew","name":"键盘模拟按键","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟按下键盘上指定的按键,可以是组合键也可以是单独按键。","messageTemplate":"键盘 $0 键 执行 $1 操作, 同时按住 $2 辅助","baseType":"Keyboard_Press","functionName":"Keyboard.PressNew","functionCalls":[{"function":"Keyboard.PressNew","args":["key","type","auxiliary_key","input_us"],"assignTo":""}],"version":"3.3.5.0","tags":["Keyboard"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"key","label":"模拟按键","widget":"text","type":"string","displayType":"keyboardInput","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"type","label":"按键类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"press","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"auxiliary_key","label":"辅助按键","widget":"select","type":"string","displayType":"multipleDropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input_us","label":"自动切换系统输入法","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"按键前自动切换系统英文输入法,避免第三方输入法导致按键异常。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_DriveSend_V2","name":"键盘驱动输入","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"调起键盘驱动时系统键盘输入内容设置(调起键盘驱动后系统键盘输入内容到系统光标所在位置。)注意:使用此组件需要管理员权限,管理员权限下无法使用 word 和 Excel 类组件。","messageTemplate":"系统键盘型号 $0,键盘输入内容 $2","baseType":"Keyboard_DriveSend","functionName":"Keyboard.DriveSend_V2","functionCalls":[{"function":"Keyboard.DriveSend_V2","args":["keyboard_type","drive_name","words","interval"],"assignTo":""}],"version":"3.3.5.0","tags":["文本输入","键盘输入","输入内容","输入","录入","键入","输入进","填写"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"keyboard_type","label":"系统键盘型号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"系统硬件键盘型号,查看路径:控制面板(小图标)->键盘->硬件 (注: 对当前光标位置进行输入)","advanced":false,"valueTypes":[]},{"key":"drive_name","label":"驱动名称","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"AiKeyboard","placeholder":"","description":"按名称选择输入设备驱动程序","advanced":false,"valueTypes":[]},{"key":"words","label":"键盘输入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入内容","description":"不支持中文输入","advanced":false,"valueTypes":["rpa_str"]},{"key":"interval","label":"输入间隔(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"500","placeholder":"请设置输入字符的间隔时间","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_Press","name":"键盘按键","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟按下键盘上指定的按键,可以是组合键也可以是单独按键。","messageTemplate":"键盘 $0 键 执行 $1","baseType":"Keyboard_Press","functionName":"Keyboard.Press","functionCalls":[{"function":"Keyboard.Press","args":["key","type","sameTime"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"key","label":"模拟按键","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"enter","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"type","label":"按键类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"press","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sameTime","label":"辅助按键","widget":"select","type":"string","displayType":"multipleDropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_Send_V1","name":"键盘输入","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"在目标区域模拟键盘输入设定的文本内容。","messageTemplate":"键盘输入$0","baseType":"Keyboard_Send","functionName":"Keyboard.Send_V1","functionCalls":[{"function":"Keyboard.Send_V1","args":["words","interval","fuctype"],"assignTo":""}],"version":"3.3.5.0","tags":["文本输入","键盘输入","输入内容","输入","录入","键入","输入进","填写"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"words","label":"输入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"interval","label":"输入间隔(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"fuctype","label":"输入方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":" 后台接口输入:不占用键盘按键,调用后台接口实现输入 。 人工模拟输入:模拟人工操作键盘按键逐个字符输入。 剪切板粘贴输入:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框。","advanced":false,"valueTypes":[]},{"key":"window_title","label":"输入目标窗口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"留空则输入到当前焦点窗口","description":"选择目标窗口后,运行时会先把该窗口带到前台再输入内容","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_Send","name":"键盘输入","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"在目标区域模拟键盘输入设定的文本内容。","messageTemplate":"键盘输入$0","baseType":"Keyboard_Send","functionName":"Keyboard.Send","functionCalls":[{"function":"Keyboard.Send","args":["words","interval","fuctype"],"assignTo":""}],"version":"3.3.5.0","tags":["文本输入","键盘输入","输入内容"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"words","label":"输入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"interval","label":"输入间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.01","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"fuctype","label":"输入方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":" 后台接口输入:不占用键盘按键,调用后台接口实现输入 。 人工模拟输入:模拟人工操作键盘按键逐个字符输入。 剪切板粘贴输入:模拟Ctrl+V操作,将内容瞬间粘贴到目标文本框。","advanced":false,"valueTypes":[]},{"key":"window_title","label":"输入目标窗口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"留空则输入到当前焦点窗口","description":"选择目标窗口后,运行时会先把该窗口带到前台再输入内容","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_EnableManualOperation","name":"开启模拟人工操作","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"对区间内涉及鼠标操作的指令,自动设置为模拟人工操作。","messageTemplate":"开启模拟人工操作","baseType":"Keyboard_EnableManualOperation","functionName":"Keyboard.EnableManualOperation","functionCalls":[{"function":"Keyboard.EnableManualOperation","args":["random_move","random_click","random_sleep","min_time","max_time"],"assignTo":""}],"version":"3.3.5.0","tags":["开启模拟人工操作","拟人操作","真人操作","开启","人工操作","模拟"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"random_move","label":"随机移动鼠标","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"按照随机路线和速度移动鼠标","advanced":false,"valueTypes":[]},{"key":"random_click","label":"随机位置点击元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作、随机位置点击元素","advanced":false,"valueTypes":[]},{"key":"random_sleep","label":"操作随机停顿","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工,在操作之间随机停顿","advanced":false,"valueTypes":[]},{"key":"min_time","label":"最短停顿时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"max_time","label":"最长停顿时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"3","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_DriveSend_V1","name":"键盘驱动输入","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"调起键盘驱动时系统键盘输入内容设置(调起键盘驱动后系统键盘输入内容到系统光标所在位置。)注意:使用此组件需要管理员权限,管理员权限下无法使用 word 和 Excel 类组件。","messageTemplate":"系统键盘型号 $0,键盘输入内容 $2","baseType":"Keyboard_DriveSend","functionName":"Keyboard.DriveSend_V1","functionCalls":[{"function":"Keyboard.DriveSend_V1","args":["keyboard_type","drive_name","words","interval"],"assignTo":""}],"version":"3.3.5.0","tags":["文本输入","键盘输入","输入内容"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"keyboard_type","label":"系统键盘型号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"系统硬件键盘型号,查看路径:控制面板(小图标)->键盘->硬件 (注: 对当前光标位置进行输入)","advanced":false,"valueTypes":[]},{"key":"drive_name","label":"驱动名称","widget":"text","type":"string","displayType":"keyboardDriverSelect","required":false,"defaultValue":"","placeholder":"","description":"按名称选择输入设备驱动程序","advanced":false,"valueTypes":[]},{"key":"words","label":"键盘输入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入内容","description":"不支持中文输入","advanced":false,"valueTypes":["rpa_str"]},{"key":"interval","label":"输入间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.5","placeholder":"请设置输入字符的间隔时间","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_DisableManualOperation","name":"关闭模拟人工操作","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"对区间内涉及鼠标操作的指令,关闭模拟人工操作。","messageTemplate":"关闭已开启的模拟人工操作","baseType":"Keyboard_DisableManualOperation","functionName":"Keyboard.DisableManualOperation","functionCalls":[{"function":"Keyboard.DisableManualOperation","args":[],"assignTo":""}],"version":"3.3.5.0","tags":["关闭模拟人工操作","拟人操作","真人操作","关闭","人工操作","模拟","退出","终止","关停"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Keyboard_DriveSend","name":"键盘驱动输入","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"调起键盘驱动时系统键盘输入内容设置(调起键盘驱动后系统键盘输入内容到系统光标所在位置。)注意:使用此组件需要管理员权限,管理员权限下无法使用 word 和 Excel 类组件。","messageTemplate":"系统键盘型号 $0,键盘输入内容 $1","baseType":"Keyboard_DriveSend","functionName":"Keyboard.DriveSend","functionCalls":[{"function":"Keyboard.DriveSend","args":["keyboard_type","words","interval"],"assignTo":""}],"version":"3.3.5.0","tags":["文本输入","键盘输入","输入内容"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"keyboard_type","label":"系统键盘型号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"系统硬件键盘型号,查看路径:控制面板(小图标)->键盘->硬件 (注: 对当前光标位置进行输入)","advanced":false,"valueTypes":[]},{"key":"words","label":"键盘输入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入内容","description":"不支持中文输入","advanced":false,"valueTypes":["rpa_str"]},{"key":"interval","label":"输入间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0.5","placeholder":"请设置输入字符的间隔时间","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"List_DeleteList","name":"删除列表项","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"删除列表中的指定数据,并输出该列表。","messageTemplate":"删除 $1 中 $2 为 $3 $4 的项, 然后把结果保存到 $0","baseType":"List_DeleteList","functionName":"List.DeleteList","functionCalls":[{"function":"List.DeleteList","args":["arrayRet","deleteType","position","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入需要删除列表项的列表","advanced":false,"valueTypes":["rpa_list"]},{"key":"deleteType","label":"删除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"支持删除指定位置或指定数据","advanced":false,"valueTypes":[]},{"key":"position","label":"删除位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"0表示第一位,-n表示倒数第n位","description":"需删除数据的位置,输入整数,0表示第一位,-n表示倒数第n位","advanced":false,"valueTypes":["rpa_int"]},{"key":"data","label":"删除数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"请输入列表中待删除项数据","description":"输入列表中待删除项数据","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_GetIndex","name":"获取列表项的位置","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"获取指定数据在列表中的位置序号,存在则返回序号,不存在则返回-1。","messageTemplate":"查询 $2 在 $1 中位置序号, 然后把结果保存到 $0","baseType":"List_GetIndex","functionName":"List.GetIndex","functionCalls":[{"function":"List.GetIndex","args":["arrayRet","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","索引","位置","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表","placeholder":"","description":"输入或选择列表类型数据或变量","advanced":false,"valueTypes":["rpa_list"]},{"key":"data","label":"查询列表项","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入需要查询的数据,如果存在多个仅返回第一个所在位置","advanced":false,"valueTypes":[]}],"output":{"label":"列表项位置","key":"var_name","suggestedName":"列表项位置","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"列表项位置","defaultValue":"列表项位置","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"List_ListMerge","name":"列表合并","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"将选定的两个列表合并为一个新列表,并输出该列表。","messageTemplate":"合并 $1 和 $2 中的所有项, 然后把结果保存到 $0","baseType":"List_ListMerge","functionName":"List.ListMerge","functionCalls":[{"function":"List.ListMerge","args":["arrayRet1","arrayRet2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","合并"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet1","label":"列表1选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据列表1","placeholder":"请输入列表类型变量或列表","description":"输入待合并的列表1","advanced":false,"valueTypes":["rpa_list"]},{"key":"arrayRet2","label":"列表2选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据列表2","placeholder":"请输入列表类型变量或列表","description":"输入待合并的列表2","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_ClearList","name":"清空列表","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"将选定的列表中所有数据清空。","messageTemplate":"将 $0 清空","baseType":"List_ClearList","functionName":"List.ClearList","functionCalls":[{"function":"List.ClearList","args":["arrayRet"],"assignTo":""}],"version":"3.3.5.0","tags":["列表"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入待清空的列表类型变量","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"List_ListLength","name":"获取列表长度","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"获取选定列表的长度,并输出该长度数据。","messageTemplate":"获取 $1 的长度, 然后把结果保存到 $0","baseType":"List_ListLength","functionName":"List.ListLength","functionCalls":[{"function":"List.ListLength","args":["arrayRet"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","长度","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入需要获取的列表","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表长度","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表长度","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"List_ListSorted","name":"列表排序","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"将选定的列表中的项进行排序,并输出该表。","messageTemplate":"重新排序 $1 的项, 然后把结果保存到 $0","baseType":"List_ListSorted","functionName":"List.ListSorted","functionCalls":[{"function":"List.ListSorted","args":["arrayRet","sortedType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","排序"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入待排序的列表","advanced":false,"valueTypes":["rpa_list"]},{"key":"sortedType","label":"排序方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"设置列表项排序规则","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_ListDuplication","name":"列表去重","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"去除选定列表中的重复项,并输出去重后的列表。","messageTemplate":"去除 $1 中的重复项之间的重复值, 然后把结果保存到 $0","baseType":"List_ListDuplication","functionName":"List.ListDuplication","functionCalls":[{"function":"List.ListDuplication","args":["arrayRet"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","去重"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入待去重的列表","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_InsertList","name":"新增列表项","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"在列表中选定的位置增加一项数据,并输出该列表。","messageTemplate":"在 $1 的 $2 新增一项数据为 $4, 然后把结果保存到 $0","baseType":"List_InsertList","functionName":"List.InsertList","functionCalls":[{"function":"List.InsertList","args":["arrayRet","insertType","position","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入需要新增列表项的列表","advanced":false,"valueTypes":["rpa_list"]},{"key":"insertType","label":"添加方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"支持将新增列表项插入到指定位置","advanced":false,"valueTypes":[]},{"key":"position","label":"添加位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入正整数","description":"如果索引位置超出列表,则默认添加在列表末尾","advanced":false,"valueTypes":["rpa_int"]},{"key":"data","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入新增列表项数据","description":"输入新增列表项数据,可以支持任意Python数据类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_ListIntersection","name":"获取两列表的重复项","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"获取选定的两个列表之间的重复项,并输出重复的数据。","messageTemplate":"获取 $1 和 $2 之间的重复值, 然后把结果保存到 $0","baseType":"List_ListIntersection","functionName":"List.ListIntersection","functionCalls":[{"function":"List.ListIntersection","args":["arrayRet1","arrayRet2"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet1","label":"列表1选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据列表1","placeholder":"请输入列表类型变量或列表","description":"输入待获取重复项的列表1","advanced":false,"valueTypes":["rpa_list"]},{"key":"arrayRet2","label":"列表2选取","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"数据列表2","placeholder":"请输入列表类型变量或列表","description":"输入待获取重复项的列表2","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"重复项列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"重复项列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_CreateList","name":"创建列表","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"将指定的数据保存于创建的列表中,并输出该列表。","messageTemplate":"创建列表,列表数据为 $1, 然后把结果保存到 $0","baseType":"List_CreateList","functionName":"List.CreateList","functionCalls":[{"function":"List.CreateList","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"请输入列表,例如:[1,2,3]","description":"输入列表数据,例如:[1,2,3]","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"List_GetListItem","name":"获取指定位置项的数据","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"获取选定列表中指定位置项的数据,并输出该数据。","messageTemplate":"获取 $1 中位置为 $2 的项, 然后把结果保存到 $0","baseType":"List_GetListItem","functionName":"List.GetListItem","functionCalls":[{"function":"List.GetListItem","args":["arrayRet","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","获取","得到","取得","提取","获取到","数据","资料","数据信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入需要获取位置项的列表","advanced":false,"valueTypes":["rpa_list"]},{"key":"position","label":"数据位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"0表示第一位,-n表示倒数第n位","description":"需获取数据的位置,输入整数,0表示第一位,-n表示倒数第n位","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"某项数据","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"某项数据","valueTypes":[]}]},"slots":[]},{"id":"List_SetListItem","name":"修改指定位置项的数据","kind":"vendor","group":"data","categories":["List"],"categorySignature":"List","description":"获取选定列表中指定位置项的数据,并输出该数据。","messageTemplate":"将 $1 中处于位置 $2 的数据修改为 $3, 然后把结果保存到 $0","baseType":"List_SetListItem","functionName":"List.SetListItem","functionCalls":[{"function":"List.SetListItem","args":["arrayRet","position","data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","修改","编辑","更改","改动","修正","数据","资料","数据信息"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"arrayRet","label":"列表数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"列表1","placeholder":"请输入列表类型变量或列表","description":"输入需要获取位置项的列表","advanced":false,"valueTypes":["rpa_list"]},{"key":"position","label":"修改位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"0表示第一位,-n表示倒数第n位","description":"需修改数据的位置,输入整数,0表示第一位,-n表示倒数第n位","advanced":false,"valueTypes":["rpa_int"]},{"key":"data","label":"修改为","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"A","placeholder":"请输入修改后的数据","description":"输入修改后的数据","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Log_Error","name":"打印错误日志","kind":"vendor","group":"data","categories":["log","base_command"],"categorySignature":"log|base_command","description":"打印流程中错误或异常的日志信息到输出区域。","messageTemplate":"把 $0 在输出区域打印出来","baseType":"Log_Error","functionName":"Log.Error","functionCalls":[{"function":"Log.Error","args":["msg"],"assignTo":""}],"version":"3.3.5.0","tags":["日志","错误","log","error","日志记录","日志信息","日志数据","记录日志"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"msg","label":"输出信息","widget":"textarea","type":"string","displayType":"logInput","required":false,"defaultValue":"","placeholder":"请输入或选择需要打印信息的变量","description":"输入或选择需要打印信息的变量","advanced":false,"valueTypes":["rpa_any"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Log_Info","name":"打印普通日志","kind":"vendor","group":"data","categories":["log","base_command"],"categorySignature":"log|base_command","description":"打印流程中的日志信息到输出区域。","messageTemplate":"把 $0 在输出区域打印出来","baseType":"Log_Info","functionName":"Log.Info","functionCalls":[{"function":"Log.Info","args":["msg"],"assignTo":""}],"version":"3.3.5.0","tags":["日志","日志记录","日志信息","日志数据","记录日志"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"msg","label":"输出信息","widget":"textarea","type":"string","displayType":"logInput","required":false,"defaultValue":"","placeholder":"请输入或选择需要打印信息的变量","description":"输入或选择需要打印信息的变量","advanced":false,"valueTypes":["rpa_any"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mail_UnmarkSeen","name":"标为未读","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"登录目标邮箱,并将指定邮件设为未读状态,需设定邮箱账户信息、邮件服务器信息。","messageTemplate":"登录邮箱并设置第 $0 封邮件未读","baseType":"Mail_UnmarkSeen","functionName":"Mail.UnmarkSeen","functionCalls":[{"function":"Mail.UnmarkSeen","args":["index","hostname","username","password","ssl","port"],"assignTo":""}],"version":"3.3.5.0","tags":["标为未读","邮件状态","登录邮件","未读"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"index","label":"第几封邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"hostname","label":"imap地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"username","label":"用户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ssl","label":"是否使用ssl","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"port","label":"端口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"25","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mail_DoReplyMail_v1","name":"回复邮件(Outlook)","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"使用Outlook客户端回复邮件。","messageTemplate":"回复 $2,主题为 $4, 然后把结果保存到 $0","baseType":"Mail_DoReplyMail","functionName":"Mail.DoReplyMail_v1","functionCalls":[{"function":"Mail.DoReplyMail_v1","args":["account_obj","emails","reply_type","subject","content","attachment"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"select","type":"string","displayType":"dynamicSelect","required":false,"defaultValue":"","placeholder":"","description":"选择Outlook客户端里的邮箱账户","advanced":false,"valueTypes":[]},{"key":"emails","label":"待回复邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入待回复邮件","description":"输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。","advanced":false,"valueTypes":["rpa_list_email_v1","rpa_str"]},{"key":"reply_type","label":"回复模式","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"0","placeholder":"","description":"回复发件人,指仅回复原发件人。回复所有人,指将回复给原邮件发件人和其他收件人,抄送原邮件抄送人。","advanced":false,"valueTypes":[]},{"key":"subject","label":"回复主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入回复主题","description":"邮件标题。为空时,默认主题为“回复:{原主题}”。","advanced":false,"valueTypes":[]},{"key":"content","label":"回复正文","widget":"textarea","type":"string","displayType":"quillInputV3","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attachment","label":"附件","widget":"boolean","type":"boolean","displayType":"multifileSwitch","required":false,"defaultValue":"","placeholder":"","description":"添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M","advanced":false,"valueTypes":[]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"回复成功与否","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"回复成功与否","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Mail_RecvConnect","name":"连接邮箱","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"连接配置目标邮箱,实现后续流程对邮箱进行控制或操作,可设定邮箱账号和邮件服务器信息。","messageTemplate":"连接指定邮箱,返回邮箱控制对象, 然后把结果保存到 $0","baseType":"Mail_RecvConnect","functionName":"Mail.RecvConnect","functionCalls":[{"function":"Mail.RecvConnect","args":["protocol","host","account","password","port","is_ssl"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["连接","连接邮箱","配置邮箱","mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"protocol","label":"使用协议","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"pop3","placeholder":"","description":"如为163邮箱,请尽量使用pop3协议,部分邮箱不支持pop3协议,请使用IMAP协议","advanced":false,"valueTypes":[]},{"key":"host","label":"服务器地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"account","label":"邮箱账号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如协议为imap,请采用授权码进行登录","advanced":false,"valueTypes":[]},{"key":"port","label":"端口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"25","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_ssl","label":"SSL加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"邮箱对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"邮箱对象","valueTypes":[]}]},"slots":[]},{"id":"Mail_RecvMailGet","name":"取第几封邮件","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"收集目标邮箱中的指定序号邮件,并输出到指定变量。","messageTemplate":"从 $1 中获取第 $2 封邮件, 然后把结果保存到 $0","baseType":"Mail_RecvMailGet","functionName":"Mail.RecvMailGet","functionCalls":[{"function":"Mail.RecvMailGet","args":["recvObject","limit","attach_path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["指定邮件","某封邮件","收取指定邮件"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"recvObject","label":"操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objMail","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"limit","label":"第几封邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"最新的邮件为第一封","advanced":false,"valueTypes":[]},{"key":"attach_path","label":"附件存放目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"邮件内容","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"邮件内容","valueTypes":[]}]},"slots":[]},{"id":"Mail_ExOperateMail","name":"操作邮件","kind":"vendor","group":"message","categories":["Exchange"],"categorySignature":"Exchange","description":"对Exchange邮箱中指定的邮件进行标记已/未读、删除等操作。","messageTemplate":"以 {$$0 == 'exchange' && '$1'} {$$0 == 'custom' && '$0'} 连接将满足条件的邮件 $5","baseType":"Mail_ExOperateMail","functionName":"Mail.ExOperateMail","functionCalls":[{"function":"Mail.ExOperateMail","args":["connect_type","target_obj","server_address","username","password","operate_type","inbox_type","subject_key","recipient_key"],"assignTo":""}],"version":"3.3.5.0","tags":["邮件操作","mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"connect_type","label":"连接类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"exchange","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target_obj","label":"选择操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"server_address","label":"服务器地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"username","label":"邮箱账户","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"operate_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"read","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"inbox_type","label":"邮件类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"inbox","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"subject_key","label":"目标邮件标题包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"recipient_key","label":"收件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mail_RecvGetList","name":"邮件筛选","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"从邮箱中过滤筛选出指定条件的邮件,支持主题筛选、发件人筛选,并将筛选结果输出到指定变量。","messageTemplate":"根据主题和发件人,从 $1 中筛选出符合条件的邮件列表, 然后把结果保存到 $0","baseType":"Mail_RecvGetList","functionName":"Mail.RecvGetList","functionCalls":[{"function":"Mail.RecvGetList","args":["recvObject","From","Subject","attach_path","Day"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件过滤","邮件筛选","主题过滤","发件人过滤"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"recvObject","label":"操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objMail","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"From","label":"发件人","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Subject","label":"标题包含内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attach_path","label":"附件存放目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"Day","label":"查询最近天数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"3","placeholder":"","description":"无法查询超过30天的邮件","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"邮件列表","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"邮件列表","valueTypes":[]}]},"slots":[]},{"id":"Mail_ReplyMail_v1","name":"回复邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"回复指定电子邮件,使用该组件前可以先使用“查找邮件”组件。","messageTemplate":"回复 $2,主题为 $4, 然后把结果保存到 $0","baseType":"Mail_ReplyMail","functionName":"Mail.ReplyMail_v1","functionCalls":[{"function":"Mail.ReplyMail_v1","args":["account_obj","emails","reply_type","subject","content","attachment"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"emails","label":"待回复邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。","advanced":false,"valueTypes":[]},{"key":"reply_type","label":"回复模式","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"0","placeholder":"","description":"发送给原邮件发件人和其他收件人,抄送原邮件抄送人。","advanced":false,"valueTypes":[]},{"key":"subject","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"邮件标题。为空时,默认主题为“回复:{原主题}”。","advanced":false,"valueTypes":[]},{"key":"content","label":"正文","widget":"textarea","type":"string","displayType":"quillInput","required":false,"defaultValue":"","placeholder":"","description":"默认文本域输入框支持文本正文,点击富文本编辑图标可以输入富文本正文。","advanced":false,"valueTypes":[]},{"key":"attachment","label":"邮件附件","widget":"boolean","type":"boolean","displayType":"multifile","required":false,"defaultValue":"","placeholder":"","description":"上传回复邮件的附件。","advanced":false,"valueTypes":[]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"回复结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"回复结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_UnionSend","name":"发送邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"发送电子邮件。","messageTemplate":"将主题为 $3 的邮件发送至 $2 , 然后把结果保存到 $0","baseType":"Mail_UnionSend","functionName":"Mail.UnionSend","functionCalls":[{"function":"Mail.UnionSend","args":["account_obj","receiver","subject","content","attachment","Cc","Bcc"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"可选择历史添加的邮箱账户或通过账户管理新增账户。邮箱账户一般为邮箱地址,例如:name@example.com","advanced":false,"valueTypes":[]},{"key":"receiver","label":"收件人","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入邮箱地址,多个收件人用\";\"分隔","description":"单个收件人,输入一个字符串,示例:\"a@example.com\"。多个收件人,输入一个分号分割的字符串,示例:\"a@example.com;b@example.com;c@example.com\"。","advanced":false,"valueTypes":[]},{"key":"subject","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入邮件标题","description":"邮件标题。为空时,默认主题为“(无主题)”。","advanced":false,"valueTypes":[]},{"key":"content","label":"正文","widget":"textarea","type":"string","displayType":"quillInput","required":false,"defaultValue":"","placeholder":"请输入邮件内容","description":"默认文本域输入框支持文本正文,点击富文本编辑图标可以输入富文本正文。","advanced":false,"valueTypes":[]},{"key":"attachment","label":"邮件附件","widget":"boolean","type":"boolean","displayType":"multifile","required":false,"defaultValue":"","placeholder":"请选择附件","description":"上传邮件的附件。","advanced":false,"valueTypes":[]},{"key":"Cc","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"单个抄送人,输入一个字符串,示例:“a@example.com”。多个抄送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。","advanced":true,"valueTypes":[]},{"key":"Bcc","label":"密送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"单个密送人,输入一个字符串,示例:“a@example.com”。多个密送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。","advanced":true,"valueTypes":[]}],"output":{"label":"发送结果保存到","key":"var_name","suggestedName":"发送结果","valueTypes":[],"fields":[{"key":"var_name","label":"发送结果保存到","defaultValue":"发送结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_FindMail_v1","name":"查找邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"根据条件查找电子邮件。查找到的邮件结果可用于回复邮件等操作。","messageTemplate":"查找邮箱 $1 的电子邮件, 然后把结果保存到 $0","baseType":"Mail_FindMail","functionName":"Mail.FindMail_v1","functionCalls":[{"function":"Mail.FindMail_v1","args":["account_obj","is_data","folder_name","is_to_send_data","To_data","From_data","is_Subject_Body_data","Subject_data","Body_data","is_Date_data","Date_data","is_attachment_data","attachment","email_num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"is_data","label":"查找范围","widget":"region","type":"object","displayType":"searchRange","required":false,"defaultValue":"","placeholder":"","description":"收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"is_to_send_data","label":"筛选收发件人","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配收发件人邮箱地址","advanced":false,"valueTypes":[]},{"key":"To_data","label":"收件人包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配收件人邮箱地址。","advanced":false,"valueTypes":[]},{"key":"From_data","label":"发件人包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配收件人邮箱地址。","advanced":false,"valueTypes":[]},{"key":"is_Subject_Body_data","label":"筛选主题和正文","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配邮件主题和正文","advanced":false,"valueTypes":[]},{"key":"Subject_data","label":"主题包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件主题。","advanced":false,"valueTypes":[]},{"key":"Body_data","label":"正文包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件正文。","advanced":false,"valueTypes":[]},{"key":"is_Date_data","label":"筛选日期","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配邮件日期","advanced":false,"valueTypes":[]},{"key":"Date_data","label":"开始时间","widget":"region","type":"object","displayType":"dateRangeFilter","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件日期。","advanced":false,"valueTypes":[]},{"key":"is_attachment_data","label":"限制附件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否限制附件","advanced":false,"valueTypes":[]},{"key":"attachment","label":"attachment","widget":"radio","type":"string","displayType":"coloredRadio","required":false,"defaultValue":"1","placeholder":"","description":"指定查找是否含有附件的邮件。","advanced":false,"valueTypes":[]},{"key":"email_num","label":"返回查找结果","widget":"radio","type":"string","displayType":"radioInputNumber","required":false,"defaultValue":"1","placeholder":"","description":"获取查询到的第几封邮件。","advanced":false,"valueTypes":[]}],"output":{"label":"查找结果保存到","key":"var_name","suggestedName":"邮件列表","valueTypes":["rpa_list_email_v1"],"fields":[{"key":"var_name","label":"查找结果保存到","defaultValue":"邮件列表","valueTypes":["rpa_list_email_v1"]}]},"slots":[]},{"id":"Mail_DoMoveMail","name":"移动邮件","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"将邮件从A邮箱移动到B邮箱,可设定过滤条件,账号,和目标邮箱等。","messageTemplate":"移动 $5 文件夹邮件到 $7 文件夹,$7文件夹得提前创建好, 然后把结果保存到 $0","baseType":"Mail_DoMoveMail","functionName":"Mail.DoMoveMail","functionCalls":[{"function":"Mail.DoMoveMail","args":["Account","BCC","CC","Filter","SrcFolder","SendByEmail","DstFile"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件移动","邮件转移","邮件搬家"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"Account","label":"账户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"BCC","label":"加密抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"CC","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Filter","label":"标题包含内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"SrcFolder","label":"文件夹","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"SendByEmail","label":"发送人email","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"DstFile","label":"目标文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"移动结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"移动结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_UnionConnect","name":"连接邮箱","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"设置邮箱账户信息,连接邮箱。可用于后续邮件组件的操作。","messageTemplate":"连接邮箱账户 $1, 然后把结果保存到 $0","baseType":"Mail_UnionConnect","functionName":"Mail.UnionConnect","functionCalls":[{"function":"Mail.UnionConnect","args":["account_obj"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["连接","连接邮箱","配置邮箱","mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"请输入邮箱账户","description":"可选择历史添加的邮箱账户或通过账户管理新增账户。邮箱账户一般为邮箱地址,例如:name@example.com","advanced":false,"valueTypes":[]}],"output":{"label":"邮箱连接对象","key":"var_name","suggestedName":"邮箱对象","valueTypes":[],"fields":[{"key":"var_name","label":"邮箱连接对象","defaultValue":"邮箱对象","valueTypes":[]}]},"slots":[]},{"id":"Mail_ExConnect","name":"连接Exchange邮箱","kind":"vendor","group":"message","categories":["Exchange"],"categorySignature":"Exchange","description":"创建新的Exchange邮箱账户连接,并将该链接保存为对象变量,便于后续流程对该链接邮箱的控制或操作。","messageTemplate":"创建一个新的Exchange连接,连接并控制邮箱, 然后把结果保存到 $0","baseType":"Mail_ExConnect","functionName":"Mail.ExConnect","functionCalls":[{"function":"Mail.ExConnect","args":["server_address","username","password"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["连接","连接邮箱","配置邮箱","mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"server_address","label":"服务器地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"username","label":"邮箱账户","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Exchange邮箱对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Exchange邮箱对象","valueTypes":[]}]},"slots":[]},{"id":"Mail_RecvClose","name":"关闭连接","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"关闭控制邮箱,不再进行控制。","messageTemplate":"关闭邮箱 $0","baseType":"Mail_RecvClose","functionName":"Mail.RecvClose","functionCalls":[{"function":"Mail.RecvClose","args":["recvObject"],"assignTo":""}],"version":"3.3.5.0","tags":["断开邮箱"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"recvObject","label":"操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objMail","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mail_DoSendMail","name":"发送邮件","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"模拟发送邮件到指定接收邮箱,可设定邮件的内容。","messageTemplate":"发送邮件, 然后把结果保存到 $0","baseType":"Mail_DoSendMail","functionName":"Mail.DoSendMail","functionCalls":[{"function":"Mail.DoSendMail","args":["Account","RecvByEmail","BCC","CC","Subject","Body","filePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"Account","label":"发件人账户","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"RecvByEmail","label":"收件人账户","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"BCC","label":"加密抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"CC","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Subject","label":"邮件标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Body","label":"正文","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"附件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"发送结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"发送结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_RecvCount","name":"取收件箱邮件数","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"统计目标邮箱的邮件数(根据目标邮箱设置),并输出到指定变量。","messageTemplate":"从 $1 中统计邮件数, 然后把结果保存到 $0","baseType":"Mail_RecvCount","functionName":"Mail.RecvCount","functionCalls":[{"function":"Mail.RecvCount","args":["recvObject"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件数","邮件统计","数量统计"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"recvObject","label":"操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"objMail","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"收件箱数量","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"收件箱数量","valueTypes":[]}]},"slots":[]},{"id":"Mail_DoGetMailMessage_v2","name":"获取邮件(Outlook)","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"查找Outlook客户端中的邮件。","messageTemplate":"查找邮箱 $1 的电子邮件, 然后把结果保存到 $0","baseType":"Mail_DoGetMailMessage","functionName":"Mail.DoGetMailMessage_v2","functionCalls":[{"function":"Mail.DoGetMailMessage_v2","args":["account_obj","is_data","folder_name","is_to_send_data","To_data","From_data","is_Subject_Body_data","Subject_data","Body_data","is_Date_data","Date_data","is_attachment_data","attachment","email_num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查找邮件","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"select","type":"string","displayType":"dynamicSelect","required":false,"defaultValue":"","placeholder":"","description":"选择Outlook客户端里的邮箱账户。","advanced":false,"valueTypes":[]},{"key":"is_data","label":"查找范围","widget":"region","type":"object","displayType":"searchRange","required":false,"defaultValue":"","placeholder":"","description":"收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"is_to_send_data","label":"筛选收发件人","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配收发件人邮箱地址","advanced":false,"valueTypes":[]},{"key":"To_data","label":"收件人包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"请输入收件人关键字","description":"支持模糊匹配收件人邮箱地址和收件人用户名。","advanced":false,"valueTypes":[]},{"key":"From_data","label":"发件人包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"请输入发件人关键字","description":"支持模糊匹配发件人邮箱地址和收件人用户名。","advanced":false,"valueTypes":[]},{"key":"is_Subject_Body_data","label":"筛选主题和正文","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配主题和正文","advanced":false,"valueTypes":[]},{"key":"Subject_data","label":"主题包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"请输入主题关键字","description":"支持模糊匹配邮件主题。","advanced":false,"valueTypes":[]},{"key":"Body_data","label":"正文包含","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"请输入正文关键字","description":"支持模糊匹配邮件正文。","advanced":false,"valueTypes":[]},{"key":"is_Date_data","label":"筛选日期","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配邮件日期","advanced":false,"valueTypes":[]},{"key":"Date_data","label":"开始时间","widget":"region","type":"object","displayType":"dateRangeFilter","required":false,"defaultValue":"","placeholder":"","description":"支持模糊匹配邮件日期。","advanced":false,"valueTypes":[]},{"key":"is_attachment_data","label":"限制附件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否限制附件","advanced":false,"valueTypes":[]},{"key":"attachment","label":"attachment","widget":"radio","type":"string","displayType":"coloredRadio","required":false,"defaultValue":"2","placeholder":"","description":"指定查找是否含有附件的邮件。","advanced":false,"valueTypes":[]},{"key":"email_num","label":"返回查找结果","widget":"radio","type":"string","displayType":"radioInputNumber","required":false,"defaultValue":"1","placeholder":"","description":"将返回查询到的邮件列表,数据类型为列表,可以通过邮件对象访问到收件人、发件人、主题、正文等内容。","advanced":false,"valueTypes":[]}],"output":{"label":"查找结果保存到","key":"var_name","suggestedName":"邮件列表","valueTypes":["rpa_list_email_v1"],"fields":[{"key":"var_name","label":"查找结果保存到","defaultValue":"邮件列表","valueTypes":["rpa_list_email_v1"]}]},"slots":[]},{"id":"Mail_DoGetMailMessage_v1","name":"查找邮件(Outlook)","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"查找Outlook客户端中的邮件。","messageTemplate":"查找邮箱 $1 的电子邮件, 然后把结果保存到 $0","baseType":"Mail_DoGetMailMessage","functionName":"Mail.DoGetMailMessage_v1","functionCalls":[{"function":"Mail.DoGetMailMessage_v1","args":["account_obj","email_folder","folder_name","search_range","To_data","From_data","Subject_data","Body_data","attachment","email_num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"select","type":"string","displayType":"dynamicSelect","required":false,"defaultValue":"","placeholder":"","description":"选择Outlook客户端里的邮箱账户。","advanced":false,"valueTypes":[]},{"key":"email_folder","label":"邮箱文件夹","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"0","placeholder":"请输入邮箱文件夹名称","description":"选择邮箱的文件夹。其他文件夹仅支持用户手动创建的文件夹。","advanced":false,"valueTypes":[]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"search_range","label":"查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"To_data","label":"收件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入收件人关键字","description":"支持模糊匹配收件人邮箱地址和收件人用户名。","advanced":false,"valueTypes":[]},{"key":"From_data","label":"发件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入发件人关键字","description":"支持模糊匹配发件人邮箱地址和收件人用户名。","advanced":false,"valueTypes":[]},{"key":"Subject_data","label":"主题包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入主题关键字","description":"支持模糊匹配邮件主题。","advanced":false,"valueTypes":[]},{"key":"Body_data","label":"正文包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入正文关键字","description":"支持模糊匹配邮件正文。","advanced":false,"valueTypes":[]},{"key":"attachment","label":"附件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"指定查找是否含有附件的邮件。","advanced":false,"valueTypes":[]},{"key":"email_num","label":"返回查找结果","widget":"radio","type":"string","displayType":"radioInputNumber","required":false,"defaultValue":"1","placeholder":"","description":"将返回查询到的邮件列表,数据类型为列表,可以通过邮件对象访问到收件人、发件人、主题、正文等内容。","advanced":false,"valueTypes":[]}],"output":{"label":"查找结果保存到","key":"var_name","suggestedName":"邮件列表","valueTypes":["rpa_list_email_v1"],"fields":[{"key":"var_name","label":"查找结果保存到","defaultValue":"邮件列表","valueTypes":["rpa_list_email_v1"]}]},"slots":[]},{"id":"Mail_UnionSend_v1","name":"发送邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"发送电子邮件。","messageTemplate":"将主题为 $3 的邮件发送至 $2 , 然后把结果保存到 $0","baseType":"Mail_UnionSend","functionName":"Mail.UnionSend_v1","functionCalls":[{"function":"Mail.UnionSend_v1","args":["account_obj","receiver","subject","content","attachment","Cc","Bcc"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"可选择历史添加的邮箱账户或通过账户管理新增账户。邮箱账户一般为邮箱地址,例如:name@example.com","advanced":false,"valueTypes":[]},{"key":"receiver","label":"收件人","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入邮箱地址,多个收件人用\";\"分隔","description":"单个收件人,输入一个字符串,示例:\"a@example.com\"。多个收件人,输入一个分号分割的字符串,示例:\"a@example.com;b@example.com;c@example.com\"。","advanced":false,"valueTypes":["rpa_str"]},{"key":"subject","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入邮件标题","description":"邮件标题。为空时,默认主题为“(无主题)”。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content","label":"正文","widget":"textarea","type":"string","displayType":"quillInputV3","required":false,"defaultValue":"","placeholder":"请输入邮件内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"attachment","label":"邮件附件","widget":"boolean","type":"boolean","displayType":"multifileSwitch","required":false,"defaultValue":"","placeholder":"请选择附件","description":"添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M","advanced":false,"valueTypes":[]},{"key":"Cc","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"单个抄送人,输入一个字符串,示例:“a@example.com”。多个抄送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。","advanced":true,"valueTypes":[]},{"key":"Bcc","label":"密送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"单个密送人,输入一个字符串,示例:“a@example.com”。多个密送人,输入一个分号分割的字符串,示例:“a@example.com;b@example.com;c@example.com”。","advanced":true,"valueTypes":[]}],"output":{"label":"发送结果保存到","key":"var_name","suggestedName":"发送结果","valueTypes":[],"fields":[{"key":"var_name","label":"发送结果保存到","defaultValue":"发送结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_ReplyMail","name":"回复邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"回复指定电子邮件,使用该组件前可以先使用“查找邮件”组件。","messageTemplate":"回复 $2,主题为 $4, 然后把结果保存到 $0","baseType":"Mail_ReplyMail","functionName":"Mail.ReplyMail","functionCalls":[{"function":"Mail.ReplyMail","args":["account_obj","emails","reply_type","subject","content","attachment"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"emails","label":"待回复邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。","advanced":false,"valueTypes":[]},{"key":"reply_type","label":"回复模式","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"0","placeholder":"","description":"发送给原邮件发件人和其他收件人,抄送原邮件抄送人。","advanced":false,"valueTypes":[]},{"key":"subject","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"邮件标题。为空时,默认主题为“回复:{原主题}”。","advanced":false,"valueTypes":[]},{"key":"content","label":"正文","widget":"textarea","type":"string","displayType":"quillInput","required":false,"defaultValue":"","placeholder":"","description":"默认文本域输入框支持文本正文,点击富文本编辑图标可以输入富文本正文。","advanced":false,"valueTypes":[]},{"key":"attachment","label":"邮件附件","widget":"boolean","type":"boolean","displayType":"multifile","required":false,"defaultValue":"","placeholder":"","description":"上传回复邮件的附件。","advanced":false,"valueTypes":[]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"回复结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"回复结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_Send_V1","name":"发送邮件","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"将邮件内容和附件发送到指定邮箱,可设定发送邮件的账号信息、邮件服务器信息、邮件内容信息等。","messageTemplate":"发送邮件, 标题为 $8 , 然后把结果保存到 $0","baseType":"Mail_Send","functionName":"Mail.Send_V1","functionCalls":[{"function":"Mail.Send_V1","args":["host","port","account","password","to","Cc","Bcc","subject","content","attachment","is_ssl"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"host","label":"邮件服务器","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"例:imap.163.com, pop3.163.com","advanced":false,"valueTypes":[]},{"key":"port","label":"端口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"25","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"account","label":"发件人账号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"to","label":"收信邮箱","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如需发送多人,请用分号隔开","advanced":false,"valueTypes":[]},{"key":"Cc","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如需抄送多人,请用分号隔开","advanced":false,"valueTypes":[]},{"key":"Bcc","label":"加密抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如需加密抄送多人,请用分号隔开","advanced":false,"valueTypes":[]},{"key":"subject","label":"邮件标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"content","label":"邮件正文","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attachment","label":"邮件附件","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"is_ssl","label":"SSL加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"发送结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"发送结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_FindMail_v2","name":"获取邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"根据条件查找电子邮件。查找到的邮件结果可用于回复邮件等操作。","messageTemplate":"查找邮箱 $1 的电子邮件, 然后把结果保存到 $0","baseType":"Mail_FindMail","functionName":"Mail.FindMail_v2","functionCalls":[{"function":"Mail.FindMail_v2","args":["account_obj","is_data","folder_name","is_Date_data","Date_data","is_to_send_data","To_data","From_data","is_Subject_Body_data","Subject_data","Body_data","is_attachment_data","attachment","email_num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查找邮件","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"is_data","label":"查找范围","widget":"region","type":"object","displayType":"searchRange","required":false,"defaultValue":"","placeholder":"","description":"收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"is_Date_data","label":"筛选日期","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配邮件日期","advanced":false,"valueTypes":[]},{"key":"Date_data","label":"开始时间","widget":"region","type":"object","displayType":"dateRangeFilter","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件日期。","advanced":false,"valueTypes":[]},{"key":"is_to_send_data","label":"筛选收发件人","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配收发件人邮箱地址","advanced":false,"valueTypes":[]},{"key":"To_data","label":"收件人","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配收件人邮箱地址。","advanced":false,"valueTypes":[]},{"key":"From_data","label":"发件人","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配收件人邮箱地址。","advanced":false,"valueTypes":[]},{"key":"is_Subject_Body_data","label":"筛选主题和正文","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否模糊匹配邮件主题和正文","advanced":false,"valueTypes":[]},{"key":"Subject_data","label":"主题","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件主题。","advanced":false,"valueTypes":[]},{"key":"Body_data","label":"正文","widget":"text","type":"string","displayType":"coloredText","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件正文。","advanced":false,"valueTypes":[]},{"key":"is_attachment_data","label":"限制附件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否限制附件","advanced":false,"valueTypes":[]},{"key":"attachment","label":"attachment","widget":"radio","type":"string","displayType":"coloredRadio","required":false,"defaultValue":"2","placeholder":"","description":"指定查找是否含有附件的邮件。","advanced":false,"valueTypes":[],"options":[{"label":"包含附件","value":"1"},{"label":"不包含附件","value":"0"},{"label":"不限","value":"2"}]},{"key":"email_num","label":"返回查找结果","widget":"radio","type":"string","displayType":"radioInputNumberV2","required":false,"defaultValue":"1","placeholder":"","description":"获取查询到的第几封邮件。","advanced":false,"valueTypes":[]}],"output":{"label":"查找结果保存到","key":"var_name","suggestedName":"邮件列表","valueTypes":["rpa_list_email_v1"],"fields":[{"key":"var_name","label":"查找结果保存到","defaultValue":"邮件列表","valueTypes":["rpa_list_email_v1"]}]},"slots":[]},{"id":"Mail_ExSearchMail","name":"查找邮件","kind":"vendor","group":"message","categories":["Exchange"],"categorySignature":"Exchange","description":"根据选定的条件,检索查找Exchange邮箱中的邮件,并将结果保存到指定变量。","messageTemplate":"根据指定条件查找 {$$1 == 'exchange' && '$2'} {$$1 == 'custom' && '$1'} 连接 $6 中的邮件, 然后把结果保存到 $0","baseType":"Mail_ExSearchMail","functionName":"Mail.ExSearchMail","functionCalls":[{"function":"Mail.ExSearchMail","args":["connect_type","target_obj","server_address","username","password","inbox_type","search_scope","recipient_key","sender_key","subject_key","body_key"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件查找"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"connect_type","label":"连接类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"exchange","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target_obj","label":"选择操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"server_address","label":"服务器地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"username","label":"邮箱账户","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"inbox_type","label":"邮件类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"inbox","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"search_scope","label":"查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"unread","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"recipient_key","label":"收件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sender_key","label":"发件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"subject_key","label":"邮件标题包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"body_key","label":"邮件内容包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"邮件内容","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"邮件内容","valueTypes":[]}]},"slots":[]},{"id":"Mail_DoGetMailMessage","name":"查看邮件","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"查看指定的邮件并赋值到邮件变量,可设定邮件过滤条件。","messageTemplate":"查看 邮箱账户 $1 文件夹 $2 标题内容包含 $3 邮件, 然后把结果保存到 $0","baseType":"Mail_DoGetMailMessage","functionName":"Mail.DoGetMailMessage","functionCalls":[{"function":"Mail.DoGetMailMessage","args":["account","folder","filter","unRead","markRead","sortByTime","num","attach_path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查看邮件","查看指定邮件"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account","label":"账户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"folder","label":"文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filter","label":"标题包含内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"unRead","label":"是否未读","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"markRead","label":"标记是否已读","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sortByTime","label":"是否按时间排序","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"num","label":"读取多少封邮件,0为所有","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attach_path","label":"附件存放目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"邮件列表","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"邮件列表","valueTypes":[]}]},"slots":[]},{"id":"Mail_ExSendMail","name":"发送邮件","kind":"vendor","group":"message","categories":["Exchange"],"categorySignature":"Exchange","description":"将指定的邮件内容通过Exchange邮箱发送给指定的收件人,并将发送结果保存为变量。","messageTemplate":"以 {$$1 == 'exchange' && '$2'} {$$1 == 'custom' && '$1'} 连接向指定收件人发送邮件, 然后把结果保存到 $0","baseType":"Mail_ExSendMail","functionName":"Mail.ExSendMail","functionCalls":[{"function":"Mail.ExSendMail","args":["connect_type","target_obj","server_address","username","password","target_email","cc","subject","body","filePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"connect_type","label":"连接类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"exchange","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target_obj","label":"选择操作对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"server_address","label":"服务器地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"username","label":"邮箱账户","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target_email","label":"收件人邮箱","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如需发送多人,请使用数组或用分号隔开","advanced":false,"valueTypes":[]},{"key":"cc","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如需发送多人,请使用数组或用分号隔开","advanced":false,"valueTypes":[]},{"key":"subject","label":"邮件标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"body","label":"邮件内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"邮件附件","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"发送结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"发送结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_OperateMail","name":"操作邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"操作指定电子邮件,使用该组件前请先使用“查找邮件”。","messageTemplate":"{$$3 == 0 && '将 $2 标记为已读'}{$$3 == 1 && '将 $2 标记为未读'}{$$3 == 2 && '将 $2 的附件保存至 $4'}{$$3 == 3 && '将 $2 删除'}{$$3 == 4 && '将 $2 移动到文件夹 $5'}, 然后把结果保存到 $0","baseType":"Mail_OperateMail","functionName":"Mail.OperateMail","functionCalls":[{"function":"Mail.OperateMail","args":["account_obj","emails","operation","attech_path","email_folder","folder_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Mail","处理","操作"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"emails","label":"待操作邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入“查找邮件”组件返回的变量。","advanced":false,"valueTypes":["rpa_list_email_v1"]},{"key":"operation","label":"操作","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"收件协议为POP协议时,仅支持下载附件操作","advanced":false,"valueTypes":[]},{"key":"attech_path","label":"附件保存至","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"email_folder","label":"邮箱文件夹","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"INBOX","placeholder":"","description":"选择邮箱的文件夹。","advanced":false,"valueTypes":[]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘。","advanced":false,"valueTypes":[]}],"output":{"label":"操作结果保存到","key":"var_name","suggestedName":"操作结果","valueTypes":[],"fields":[{"key":"var_name","label":"操作结果保存到","defaultValue":"操作结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_MarkSeen","name":"标为已读","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"登录目标邮箱,并将指定邮件设为已读状态,需设定邮箱账户信息、邮件服务器信息。","messageTemplate":"登录邮箱并设置第 $0 封邮件已读","baseType":"Mail_MarkSeen","functionName":"Mail.MarkSeen","functionCalls":[{"function":"Mail.MarkSeen","args":["index","hostname","username","password","ssl","port"],"assignTo":""}],"version":"3.3.5.0","tags":["标为已读","邮件状态","登录邮件","已读"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"index","label":"第几封邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"hostname","label":"imap地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"username","label":"用户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ssl","label":"是否使用ssl","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"port","label":"端口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"25","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mail_DoMoveMail_v1","name":"操作邮件(Outlook)","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"操作Outlook客户端中的邮件。","messageTemplate":"{$$3 == 0 && '将 $2 标记为已读'}{$$3 == 1 && '将 $2 标记为未读'}{$$3 == 2 && '将 $2 的附件保存至 $4'}{$$3 == 3 && '删除邮件 $2'}{$$3 == 4 && '将 $2 移动到文件夹 $5'}, 然后把结果保存到 $0","baseType":"Mail_DoMoveMail","functionName":"Mail.DoMoveMail_v1","functionCalls":[{"function":"Mail.DoMoveMail_v1","args":["account_obj","emails","operation","attech_path","email_folder","folder_name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"select","type":"string","displayType":"dynamicSelect","required":false,"defaultValue":"","placeholder":"","description":"选择Outlook客户端里的邮箱账户。","advanced":false,"valueTypes":[]},{"key":"emails","label":"待操作邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入“查找邮件(Outlook)”组件返回的变量或邮件标题,支持批量操作。","advanced":false,"valueTypes":["rpa_list"]},{"key":"operation","label":"操作","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"收件协议为POP协议时,仅支持下载附件操作","advanced":false,"valueTypes":[]},{"key":"attech_path","label":"附件保存至","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"将附件保存到本地文件夹。为空时,将保存到流程的根目录。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"email_folder","label":"移动至","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"INBOX","placeholder":"","description":"将邮件移动到别的邮箱文件夹。示例:“收件箱”。","advanced":false,"valueTypes":[],"options":[{"label":"收件箱","value":"INBOX"},{"label":"已发送","value":"Sent"},{"label":"其他文件夹","value":"Other"}]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘。","advanced":false,"valueTypes":[]}],"output":{"label":"操作结果保存到","key":"var_name","suggestedName":"操作成功与否","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"操作结果保存到","defaultValue":"操作成功与否","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Mail_ReplyMail_v2","name":"回复邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"回复指定电子邮件,使用该组件前可以先使用“查找邮件”组件。","messageTemplate":"回复 $2,主题为 $4, 然后把结果保存到 $0","baseType":"Mail_ReplyMail","functionName":"Mail.ReplyMail_v2","functionCalls":[{"function":"Mail.ReplyMail_v2","args":["account_obj","emails","reply_type","subject","content","attachment"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Mail","处理","操作"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"emails","label":"待回复邮件","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入“查找邮件”组件返回的变量,仅回复查找邮件的第一封邮件。","advanced":false,"valueTypes":["rpa_list_email_v1"]},{"key":"reply_type","label":"回复模式","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"0","placeholder":"","description":"发送给原邮件发件人和其他收件人,抄送原邮件抄送人。","advanced":false,"valueTypes":[]},{"key":"subject","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"邮件标题。为空时,默认主题为“回复:{原主题}”。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content","label":"正文","widget":"textarea","type":"string","displayType":"quillInputV3","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"attachment","label":"邮件附件","widget":"boolean","type":"boolean","displayType":"multifileSwitch","required":false,"defaultValue":"","placeholder":"","description":"添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M","advanced":false,"valueTypes":[]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"回复结果","valueTypes":[],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"回复结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_Send","name":"发送邮件","kind":"vendor","group":"message","categories":["SMTP/POP"],"categorySignature":"SMTP/POP","description":"将邮件内容和附件发送到指定邮箱,可设定发送邮件的账号信息、邮件服务器信息、邮件内容信息等。","messageTemplate":"发送邮件/附件 $7 , 然后把结果保存到 $0","baseType":"Mail_Send","functionName":"Mail.Send","functionCalls":[{"function":"Mail.Send","args":["host","account","password","to","subject","content","attachment","port","is_ssl","isAbsolutePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"host","label":"SMTP服务器","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"account","label":"邮箱账号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"password","label":"登录密码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"to","label":"收信邮箱","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"subject","label":"邮件标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"content","label":"邮件正文","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attachment","label":"邮件附件","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"port","label":"端口","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"25","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_ssl","label":"SSL加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isAbsolutePath","label":"是否相对路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objMail","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objMail","valueTypes":[]}]},"slots":[]},{"id":"Mail_DoReplyMail","name":"回复邮件","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"对指定的邮件进行模拟回复,可设置过滤条件,设定邮件的收发账户和发送内容等。","messageTemplate":"回复邮件, 然后把结果保存到 $0","baseType":"Mail_DoReplyMail","functionName":"Mail.DoReplyMail","functionCalls":[{"function":"Mail.DoReplyMail","args":["Account","BCC","CC","Filter","SrcFolder","SendByEmail","Subject","ReplyBody","ReplyAll","filePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件回复","邮件发送","邮件","mail"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"Account","label":"账户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"BCC","label":"加密抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"CC","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Filter","label":"标题包含内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"SrcFolder","label":"文件夹","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"SendByEmail","label":"发送人email","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Subject","label":"回复邮件标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ReplyBody","label":"回复内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ReplyAll","label":"是否回复所有人","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"附件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"回复结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"回复结果","valueTypes":[]}]},"slots":[]},{"id":"Mail_DoSendMail_v1","name":"发送邮件(Outlook)","kind":"vendor","group":"message","categories":["Outlook"],"categorySignature":"Outlook","description":"使用Outlook客户端发送邮件。","messageTemplate":"将主题为 $4 的邮件发送至 $2 , 然后把结果保存到 $0","baseType":"Mail_DoSendMail","functionName":"Mail.DoSendMail_v1","functionCalls":[{"function":"Mail.DoSendMail_v1","args":["account_obj","RecvByEmail","CC","Subject","Body","filePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["邮件发送","mail","邮件","抄送"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"select","type":"string","displayType":"dynamicSelect","required":false,"defaultValue":"","placeholder":"","description":"选择Outlook客户端里的邮箱账户","advanced":false,"valueTypes":[]},{"key":"RecvByEmail","label":"收件人","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"多个收件人用\";\"分隔","description":"输入收件人邮箱地址,支持多个收件人,用\";\"分隔","advanced":false,"valueTypes":["rpa_str"]},{"key":"CC","label":"抄送","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"多个抄送人用\";\"分隔","description":"输入收件人邮箱地址,支持多个收件人,用\";\"分隔","advanced":false,"valueTypes":["rpa_str"]},{"key":"Subject","label":"主题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入邮件标题","description":"输入邮件标题","advanced":false,"valueTypes":["rpa_str"]},{"key":"Body","label":"正文","widget":"textarea","type":"string","displayType":"quillInputV3","required":false,"defaultValue":"","placeholder":"请输入邮件内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"附件","widget":"boolean","type":"boolean","displayType":"multifileSwitch","required":false,"defaultValue":"","placeholder":"请选择附件","description":"添加邮件附件支持以单个形式选入或批量形式选入,单个选入时需逐个添加附件路径,批量选入时可在输入框中批量选择文件或选择路径列表变量,单个附件最大不超过20M","advanced":false,"valueTypes":[]}],"output":{"label":"结果保存到","key":"var_name","suggestedName":"发送成功与否","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"结果保存到","defaultValue":"发送成功与否","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Mail_FindMail","name":"查找邮件","kind":"vendor","group":"message","categories":["email"],"categorySignature":"email","description":"根据条件查找电子邮件。查找到的邮件结果可用于回复邮件等操作。","messageTemplate":"查找邮箱 $1 的电子邮件, 然后把结果保存到 $0","baseType":"Mail_FindMail","functionName":"Mail.FindMail","functionCalls":[{"function":"Mail.FindMail","args":["account_obj","email_folder","folder_name","search_range","To_data","From_data","Subject_data","Body_data","attachment","email_num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"account_obj","label":"邮箱账户","widget":"text","type":"string","displayType":"mailSelection","required":false,"defaultValue":"{}","placeholder":"","description":"一般为邮箱地址,示例:name@example.com。","advanced":false,"valueTypes":[]},{"key":"email_folder","label":"邮箱文件夹","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"INBOX","placeholder":"","description":"选择邮箱的文件夹,收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"folder_name","label":"文件夹名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入用户自定义文件夹,腾讯企业邮箱,QQ邮箱,谷歌邮箱请输入’其他文件夹/自定义文件夹‘,收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"search_range","label":"查找范围","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"ALL","placeholder":"","description":"收件协议为POP时,该属性不生效。","advanced":false,"valueTypes":[]},{"key":"To_data","label":"收件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配收件人邮箱地址。","advanced":false,"valueTypes":[]},{"key":"From_data","label":"发件人包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配收件人邮箱地址。","advanced":false,"valueTypes":[]},{"key":"Subject_data","label":"主题包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件主题。","advanced":false,"valueTypes":[]},{"key":"Body_data","label":"正文包含","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"模糊匹配邮件正文。","advanced":false,"valueTypes":[]},{"key":"attachment","label":"附件","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"email_num","label":"返回查找结果","widget":"radio","type":"string","displayType":"radioInputNumber","required":false,"defaultValue":"1","placeholder":"","description":"获取查询到的第几封邮件。","advanced":false,"valueTypes":[]}],"output":{"label":"查找结果保存到","key":"var_name","suggestedName":"邮件列表","valueTypes":["rpa_list_email_v1"],"fields":[{"key":"var_name","label":"查找结果保存到","defaultValue":"邮件列表","valueTypes":["rpa_list_email_v1"]}]},"slots":[]},{"id":"Mark_Mark","name":"图片打标","kind":"vendor","group":"vision","categories":["mark"],"categorySignature":"mark","description":"。","messageTemplate":"对图片做信息提取, 然后把结果保存到 $0","baseType":"Mark_Mark","functionName":"Mark.Mark","functionCalls":[{"function":"Mark.Mark","args":["imagePath","labels"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片打标","打标"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imagePath","label":"图片全路径","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入内容或 ${变量}","description":"填写参数值,支持 ${变量} 引用上游输出","advanced":false,"valueTypes":[]},{"key":"labels","label":"信息标签","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"[]","placeholder":"输入内容或 ${变量}","description":"填写参数值,支持 ${变量} 引用上游输出","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrElement","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrElement","valueTypes":[]}]},"slots":[]},{"id":"Math_Cos","name":"余弦值","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的余弦值,并输出到指定变量。","messageTemplate":"将 $1 的余弦值, 然后把结果保存到 $0","baseType":"Math_Cos","functionName":"Math.Cos","functionCalls":[{"function":"Math.Cos","args":["data","unit"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["余弦值","计算","数学计算","cos"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"unit","label":"单位","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"余弦值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"余弦值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Tan","name":"正切值","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的正切值,并输出到指定变量。","messageTemplate":"将 $1 的正切值, 然后把结果保存到 $0","baseType":"Math_Tan","functionName":"Math.Tan","functionCalls":[{"function":"Math.Tan","args":["data","unit"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正切值","计算","数学计算","tan"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"unit","label":"单位","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"正切值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"正切值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Scale","name":"进制转换","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"将目标数据,进行进制转换。","messageTemplate":"将 $2 进行进制转换, 然后把结果保存到 $0","baseType":"Math_Scale","functionName":"Math.Scale","functionCalls":[{"function":"Math.Scale","args":["sourceNumScale","sourceNum","targetNumScale"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转换","转变","转换格式","转换类型","变换"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"sourceNumScale","label":"源数据进制","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"10","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"sourceNum","label":"源数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"请输入源数据","description":"","advanced":false,"valueTypes":[]},{"key":"targetNumScale","label":"目标进制","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"10","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"转换结果值","valueTypes":["rpa_str","rpa_str","rpa_str","rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"转换结果值","valueTypes":["rpa_str","rpa_str","rpa_str","rpa_num"]}]},"slots":[]},{"id":"Math_Round","name":"四舍五入","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的四舍五入值,可指定保留几位小数,并将结果输出到指定变量。","messageTemplate":"将 $1 四舍五入并保留 $2 位小数, 然后把结果保存到 $0","baseType":"Math_Round","functionName":"Math.Round","functionCalls":[{"function":"Math.Round","args":["data","digit"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["四舍五入取整计算","数据计算","ROUNDUP"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"浮点数超过15位,请使用字符串,例如:“1.1234567890123456”","advanced":false,"valueTypes":["rpa_num"]},{"key":"digit","label":"保留小数点后位数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"请输入位数","description":"请输入整数","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"计算结果","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"计算结果","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Pow","name":"x的y次幂","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算以x为底数的y次幂的值,并输出到指定变量。","messageTemplate":"计算 $1 的 $2 次幂, 然后把结果保存到 $0","baseType":"Math_Pow","functionName":"Math.Pow","functionCalls":[{"function":"Math.Pow","args":["x","y"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["x","y次幂","幂计算","数学计算"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"x","label":"x输入值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入x的数值","description":"底数x的数值","advanced":false,"valueTypes":["rpa_num"]},{"key":"y","label":"y输入值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入y的数值","description":"指数y的数值","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"计算结果","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"计算结果","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Int","name":"取整","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的取整值,并输出到指定变量。","messageTemplate":"将 $1 的取整, 然后把结果保存到 $0","baseType":"Math_Int","functionName":"Math.Int","functionCalls":[{"function":"Math.Int","args":["data","position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["取整计算","数据计算","INT"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"position","label":"取整方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"向上:取大于目标数据的整数;向下:取小于目标数据的整数;","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"整数值","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"整数值","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Math_Sqrt","name":"平方根","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的平方根值,并输出到指定变量。","messageTemplate":"将 $1 的平方根, 然后把结果保存到 $0","baseType":"Math_Sqrt","functionName":"Math.Sqrt","functionCalls":[{"function":"Math.Sqrt","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["平方根值","计算","数学计算","√~"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"计算结果","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"计算结果","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Oct","name":"转8进制","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"将目标数据(十进制),转换为8进制数据。","messageTemplate":"将目标数据转换为8进制, 然后把结果保存到 $0","baseType":"Math_Oct","functionName":"Math.Oct","functionCalls":[{"function":"Math.Oct","args":["num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据转换","十进制","8进制"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"num","label":"10进制","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Math_Sin","name":"正弦值","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的正弦值,并输出到指定变量。","messageTemplate":"将 $1 的正弦值, 然后把结果保存到 $0","baseType":"Math_Sin","functionName":"Math.Sin","functionCalls":[{"function":"Math.Sin","args":["data","unit"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正弦值","计算","数学计算","sin"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"unit","label":"单位","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"正弦值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"正弦值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Abs","name":"绝对值","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算目标数据的绝对值,并输出到指定变量。","messageTemplate":"将 $1 的绝对值, 然后把结果保存到 $0","baseType":"Math_Abs","functionName":"Math.Abs","functionCalls":[{"function":"Math.Abs","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["绝对值","计算","数学计算"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"绝对值","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"绝对值","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Hex","name":"转16进制","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"将目标数据(十进制),转换为16进制数据。","messageTemplate":"将目标数据转换为16进制, 然后把结果保存到 $0","baseType":"Math_Hex","functionName":"Math.Hex","functionCalls":[{"function":"Math.Hex","args":["num"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据转换","十进制","16进制"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"num","label":"10进制","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Math_Exp","name":"e的n次幂","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"计算以e为底数的n次幂的值,并输出到指定变量。","messageTemplate":"将自然对数e取 $1 的次幂, 然后把结果保存到 $0","baseType":"Math_Exp","functionName":"Math.Exp","functionCalls":[{"function":"Math.Exp","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["e","n次幂","幂计算","数学计算"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入n的数值","description":"指数n的数值","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"计算结果","valueTypes":["rpa_num"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"计算结果","valueTypes":["rpa_num"]}]},"slots":[]},{"id":"Math_Sgn","name":"取正负符号","kind":"vendor","group":"data","categories":["math"],"categorySignature":"math","description":"获取目标数据的正负符号,并输出到指定变量,数据为正数时返回1,数据为负数时返回-1。","messageTemplate":"取 $1 的正负符号, 然后把结果保存到 $0","baseType":"Math_Sgn","functionName":"Math.Sgn","functionCalls":[{"function":"Math.Sgn","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正负号","数据计算"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"data","label":"目标数据","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入数值","description":"","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"正负符号","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"正负符号","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"MessageNotification_Feishu_Message","name":"发送消息至飞书","kind":"vendor","group":"message","categories":["notification"],"categorySignature":"notification","description":"通过飞书机器人发送内容到飞书群。使用该组件前,请在飞书群里预先配置好自定义机器人。","messageTemplate":"发送内容到飞书群","baseType":"MessageNotification_Feishu_Message","functionName":"MessageNotification.Feishu_Message","functionCalls":[{"function":"MessageNotification.Feishu_Message","args":["webhook","key","test_message","message_type","app_id","app_secret","content_text","content_markdown","image_path","content_custom","mentioned_type","mentioned_list"],"assignTo":""}],"version":"3.3.5.0","tags":["飞书","飞书机器人","飞书通知","发送飞书消息","发送消息至飞书","Webhook","MessageNotification"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"webhook","label":"机器人地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入机器人webhook地址","description":"输入已在飞书群添加好的自定义机器人Webhook地址。","advanced":false,"valueTypes":["rpa_str"]},{"key":"key","label":"密钥","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入已在飞书群添加好的自定义机器人密钥。","advanced":false,"valueTypes":["rpa_str"]},{"key":"test_message","label":"发送测试消息","widget":"text","type":"string","displayType":"webhookTestBtn","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"message_type","label":"内容格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"发送内容的格式。","advanced":false,"valueTypes":[]},{"key":"app_id","label":"App ID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入企业自建应用App ID","description":"app_id与app_secret需要登录飞书开发者后台;进入企业自建应用详情页,获取App ID和App Secret。","advanced":false,"valueTypes":["rpa_str"]},{"key":"app_secret","label":"App Secret","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入企业自建应用App Secret","description":"app_id与app_secret需要登录飞书开发者后台;进入企业自建应用详情页,获取App ID和App Secret。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content_text","label":"文本内容","widget":"code","type":"string","displayType":"codeInput","required":true,"defaultValue":"","placeholder":"请输入文本内容","description":"输入需要发送的消息文本。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content_markdown","label":"富文本内容","widget":"code","type":"string","displayType":"jsonEditor","required":true,"defaultValue":"","placeholder":"","description":"支持输入一个字典对象,格式查看飞书开发者文档,或组件使用说明文档。内容中含有布尔类型True、False,请确保符合Python语法,首字母大写。","advanced":false,"valueTypes":["rpa_str"]},{"key":"image_path","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"选择图片路径,最大不能超过2M,支持JPG,PNG格式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content_custom","label":"消息卡片","widget":"code","type":"string","displayType":"jsonEditor","required":true,"defaultValue":"","placeholder":"","description":"输入一个字典对象,格式请查看飞书开发者文档,或组件使用说明文档。内容中含有布尔类型True、False,请确保符合Python语法,首字母大写。","advanced":false,"valueTypes":["rpa_str"]},{"key":"mentioned_type","label":"@群成员","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"指定成员,可以输入需@user_id,@多个人时以英文逗号分割,例如:6mw5**d7,8ww5**d7","advanced":false,"valueTypes":[]},{"key":"mentioned_list","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入成员user_id,@多个用户使用英文逗号分隔","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"MessageNotification_DingTalk_Message","name":"发送消息至钉钉","kind":"vendor","group":"message","categories":["notification"],"categorySignature":"notification","description":"通过钉钉机器人发送内容到钉钉群。使用该组件前,请在钉钉群里预先配置好自定义机器人。","messageTemplate":"发送内容到钉钉群","baseType":"MessageNotification_DingTalk_Message","functionName":"MessageNotification.DingTalk_Message","functionCalls":[{"function":"MessageNotification.DingTalk_Message","args":["webhook","key","test_message","message_type","content_text","content_markdown","content_custom","mentioned_type","mentioned_mobile_list"],"assignTo":""}],"version":"3.3.5.0","tags":["钉钉","钉钉机器人","钉钉通知","发送钉钉消息","发送消息至钉钉","Webhook","MessageNotification"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"webhook","label":"机器人地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入机器人webhook地址","description":"输入自定义机器人Webhook地址。","advanced":false,"valueTypes":["rpa_str"]},{"key":"key","label":"密钥","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入自定义机器人密钥(安全设置-加签)。","advanced":false,"valueTypes":["rpa_str"]},{"key":"test_message","label":"发送测试消息","widget":"text","type":"string","displayType":"webhookTestBtn","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"message_type","label":"内容格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"发送内容的格式。","advanced":false,"valueTypes":[]},{"key":"content_text","label":"文本内容","widget":"code","type":"string","displayType":"codeInput","required":true,"defaultValue":"","placeholder":"请输入文本消息内容","description":"输入需要发送的消息文本。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content_markdown","label":"MarkDown内容","widget":"code","type":"string","displayType":"jsonEditor","required":true,"defaultValue":"","placeholder":"","description":"Markdown格式支持情况请查看钉钉开发者文档,或者组件使用说明文档。","advanced":false,"valueTypes":["rpa_str"]},{"key":"content_custom","label":"自定义内容","widget":"code","type":"string","displayType":"jsonEditor","required":true,"defaultValue":"","placeholder":"","description":"支持输入一个JSON字符串,JSON格式请查看钉钉开发者文档,或者组件使用说明文档","advanced":false,"valueTypes":["rpa_str"]},{"key":"mentioned_type","label":"@群成员","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"输入成员手机号,@多个用户使用英文逗号分隔","description":"指定成员,可以输入需@手机号,@多个人时以英文逗号分割,例如:18312345678,18312345679","advanced":false,"valueTypes":[]},{"key":"mentioned_mobile_list","label":" ","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"MessageNotification_WXWork_Message","name":"发送消息至企业微信","kind":"vendor","group":"message","categories":["notification"],"categorySignature":"notification","description":"通过企业微信机器人发送内容到企业微信群。使用该组件前,请在企业微信群里预先配置好机器人。","messageTemplate":"发送内容到企业微信群","baseType":"MessageNotification_WXWork_Message","functionName":"MessageNotification.WXWork_Message","functionCalls":[{"function":"MessageNotification.WXWork_Message","args":["webhook","test_message","message_type","content_text","content_markdown","image_path","file_path","content_custom","mentioned_type","mentioned_mobile_list"],"assignTo":""}],"version":"3.3.5.0","tags":["企业微信","企业微信机器人","企微机器人","企业微信通知","发送企业微信消息","发送消息至企业微信Webhook","MessageNotification"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"webhook","label":"机器人地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入机器人webhook地址","description":"输入已在企业微信群添加好的自定义机器人Webhook地址。","advanced":false,"valueTypes":["rpa_str"]},{"key":"test_message","label":"发送测试消息","widget":"text","type":"string","displayType":"webhookTestBtn","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"message_type","label":"内容格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"发送内容的格式。","advanced":false,"valueTypes":[]},{"key":"content_text","label":"文本内容","widget":"code","type":"string","displayType":"codeInput","required":true,"defaultValue":"","placeholder":"请输入文本内容","description":"文本内容最长不超过2048个字符","advanced":false,"valueTypes":["rpa_str"]},{"key":"content_markdown","label":"MarkDown内容","widget":"code","type":"string","displayType":"jsonEditor","required":true,"defaultValue":"","placeholder":"","description":"Markdown内容最长不超过1500个字符","advanced":false,"valueTypes":["rpa_str"]},{"key":"image_path","label":"图片路径","widget":"region","type":"object","displayType":"screenShot","required":true,"defaultValue":"","placeholder":"请输入或选择图片路径","description":"选择图片路径,最大不能超过2M,支持JPG,PNG格式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"file_path","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择文件路径","description":"选择文件路径,最大不能超过20M。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"content_custom","label":"自定义内容","widget":"code","type":"string","displayType":"jsonEditor","required":true,"defaultValue":"","placeholder":"","description":"输入一个字典对象,字典格式请查看企业微信开发者文档(点击机器人头像->编辑按钮->配置说明),或者组件使用说明文档。","advanced":false,"valueTypes":["rpa_str"]},{"key":"mentioned_type","label":"@群成员","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"指定成员,可以输入需@手机号,@多个人时以英文逗号分割,例如:18312345678,18312345679","advanced":false,"valueTypes":[]},{"key":"mentioned_mobile_list","label":" ","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_ConnectPhone","name":"连接手机","kind":"vendor","group":"mobile","categories":["connect_mobile"],"categorySignature":"connect_mobile","description":"连接移动设备管理中的指定的移动设备。","messageTemplate":"在移动设备管理列表中选择自定义移动设备$1,将该移动设备保存至手机对象并建立连接,, 然后把结果保存到 $0","baseType":"Mobile_ConnectPhone","functionName":"Mobile.ConnectPhone","functionCalls":[{"function":"Mobile.ConnectPhone","args":["mobileInfo"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileInfo","label":"自定义设备名称","widget":"select","type":"string","displayType":"mobileDeviceDropDownSelect","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"连接手机","valueTypes":["rpa_mobile"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"连接手机","valueTypes":["rpa_mobile"]}]},"slots":[]},{"id":"Mobile_MobileElementAarray","name":"获取手机相似元素数组","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"获取手机相似元素数组。","messageTemplate":"获取手机相似元素数组","baseType":"Mobile_MobileElementAarray","functionName":"Mobile.MobileElementAarray","functionCalls":[{"function":"Mobile.MobileElementAarray","args":["uiSelector","mobileDevice"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"mobileDevice","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_Call","name":"拨打电话","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"通过已连接的手机拨打指定号码。","messageTemplate":"通过移动设备 $0 向号码 $1 拨打电话","baseType":"Mobile_Call","functionName":"Mobile.Call","functionCalls":[{"function":"Mobile.Call","args":["mobileDevice","number","brand"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"number","label":"需拨打的号码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"填写需要拨打的电话号码","advanced":false,"valueTypes":["rpa_str"]},{"key":"brand","label":"手机品牌","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如是华为品牌手机,请输入\"华为\",其他品牌可填入品牌名称或不填。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_MobileSetText_V1","name":"手机键盘输入","kind":"vendor","group":"mobile","categories":["anthro_operation"],"categorySignature":"anthro_operation","description":"使用手机模拟键盘输入指定内容。部分设备需安装ADB Keyboard,请在设置中心 - 扩展程序中下载。","messageTemplate":"在移动设备 $0 中,模拟手机键盘输入 $1","baseType":"Mobile_MobileSetText","functionName":"Mobile.MobileSetText_V1","functionCalls":[{"function":"Mobile.MobileSetText_V1","args":["mobileDevice","text","isEnter"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"输入完成后点击键盘回车键,根据不同场景触发确认、搜索、换行等事件","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_ClickButton","name":"系统导航键","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"点击手机底部的默认按键(Home、返回、菜单键)。","messageTemplate":"在移动设备 $0 上,点击 $1 键按键","baseType":"Mobile_ClickButton","functionName":"Mobile.ClickButton","functionCalls":[{"function":"Mobile.ClickButton","args":["mobileDevice","phoneKey"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"phoneKey","label":"手机按键","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_SetInputV1","name":"手机输入文本","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"在手机指定输入框中输入文本。","messageTemplate":"在移动设备 $1 中,将目标元素 $2 的文本内容设置为 $3, 然后把结果保存到 $0","baseType":"Mobile_SetInput","functionName":"Mobile.SetInputV1","functionCalls":[{"function":"Mobile.SetInputV1","args":["mobileDevice","uiSelector","text","input","isEnter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"拾取或选择输入框","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"text","label":"输入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空原内容后输入\n追加输入:在已有内容结尾输入","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"输入完成后点击键盘回车键,根据不同场景触发确认、搜索、换行等事件","advanced":false,"valueTypes":[]}],"output":{"label":"输入文本","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输入文本","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_ConnectPhoneV3","name":"连接手机","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"连接手机管理器中的设备,作为手机自动化类组件操作对象。","messageTemplate":"以 $2 连接方式,{$$2 == 0 && '连接 $3 等手机'}{$$2 != 0 && '连接手机'}, 然后把结果保存到 $0 $1","baseType":"Mobile_ConnectPhone","functionName":"Mobile.ConnectPhoneV3","functionCalls":[{"function":"Mobile.ConnectPhoneV3","args":["conn_type","mobileInfo","ignore_phone","conn_mode","auto_unlock","unlock_type","design_password","num_password","mix_password"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"conn_type","label":"连接方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"指定手机:\n指定单台或多台手机管理器中的手机。\n\n运行前手动选择手机:\n运行连接手机组件时,手动选择手机管理器中的单台或多台手机。\n\n任意连接的单台手机:\n手机管理器中,只能有一台手机与当前电脑连接,仅适用于单手机自动化场景。\n\n所有手机:\n连接所有手机管理器中的手机。","advanced":false,"valueTypes":[]},{"key":"mobileInfo","label":"手机连接对象","widget":"select","type":"string","displayType":"newMobileDeviceDropDownSelectV2","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ignore_phone","label":"忽略连接失败的手机","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"部分手机连接失败时,继续保持其他手机运行,并将连接失败设备以列表形式输出","advanced":false,"valueTypes":[]},{"key":"conn_mode","label":"连接模式","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"auto_unlock","label":"连接时自动解锁","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"unlock_type","label":"解锁方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"design_password","label":"design_password","widget":"secret","type":"string","displayType":"designPassword","required":false,"defaultValue":"","placeholder":"","description":"根据解锁顺序,至少点击连接4个点","advanced":false,"valueTypes":[]},{"key":"num_password","label":"数字密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"请输入4~16位数字密码","description":"4~16位数字密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"mix_password","label":"混合密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"请输入4~16位字母和数字密码","description":"4~16位字母和数字密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"手机操作对象","key":"var0","suggestedName":"手机操作对象","valueTypes":["rpa_list_mobile","rpa_list_mobile","rpa_mobile","rpa_list_mobile"],"fields":[{"key":"var0","label":"手机操作对象","defaultValue":"手机操作对象","valueTypes":["rpa_list_mobile","rpa_list_mobile","rpa_mobile","rpa_list_mobile"]},{"key":"var1","label":"连接失败的手机","defaultValue":"连接失败的手机","valueTypes":["rpa_list_mobile"]}]},"slots":[]},{"id":"Mobile_GetAttribute","name":"手机元素属性拾取","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"获取手机某元素的属性内容。","messageTemplate":"在移动设备 $1 中,获取目标元素 $2 中的文本, 然后把结果保存到 $0","baseType":"Mobile_GetAttribute","functionName":"Mobile.GetAttribute","functionCalls":[{"function":"Mobile.GetAttribute","args":["mobileDevice","uiSelector","name","isVerifyPage","isVerifyElementImage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"name","label":"属性名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入属性名称","description":"index:父级下索引\npackage:包名\nclass:类名\nbounds:坐标范围\nresource-id:唯一标识\ntext:文本\nenabled:可用\nclickable:可点击\nlong-clickable:可长按\ncheckable:可勾选\nfocusable:可获取焦点\nscrollable:可滚动\ndisplayed:可显示\npassword:内容可隐藏","advanced":false,"valueTypes":["rpa_str"]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"手机元素属性","key":"var_name","suggestedName":"手机元素属性值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"手机元素属性","defaultValue":"手机元素属性值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_Exists","name":"手机元素判断","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"判断手机中指定元素是否存在。","messageTemplate":"判断指定元素 $2 是否存在, 然后把结果保存到 $0","baseType":"Mobile_Exists","functionName":"Mobile.Exists","functionCalls":[{"function":"Mobile.Exists","args":["mobileDevice","uiSelector","isVerifyPage","isVerifyElementImage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素存在","存在","判断元素存在","元素","手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"判断结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"判断结果","valueTypes":[]}]},"slots":[]},{"id":"Mobile_MobileElementList","name":"获取手机相似元素列表","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"获取手机中,与指定元素相似的其他元素信息。","messageTemplate":"在移动设备 $2 中,以元素拾取定位方式,获取 $3 的相似元素,然后把结果保存到 $0","baseType":"Mobile_MobileElementList","functionName":"Mobile.MobileElementList","functionCalls":[{"function":"Mobile.MobileElementList","args":["mobileDevice","selector"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["相似元素","拾取元素","捕获元素","保存元素","手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"selector","label":"目标选择","widget":"text","type":"string","displayType":"captureSimilarElementsWithPhone","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"相似元素列表","key":"var0","suggestedName":"相似元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var0","label":"相似元素列表","defaultValue":"相似元素列表","valueTypes":["rpa_list_element_v1"]},{"key":"var1","label":"相似元素总数","defaultValue":"相似元素总数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Mobile_FileTransfer","name":"手机文件传输","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"在手机和电脑之间,进行文件传输。","messageTemplate":"以 $1 为传输目标,{$$1 == 0 && '将 $2 传输到 $3'}{$$1 == 1 && '将 $5 传输到 $6'}","baseType":"Mobile_FileTransfer","functionName":"Mobile.FileTransfer","functionCalls":[{"function":"Mobile.FileTransfer","args":["mobileDevice","transfer_direction","pc_path","mobile_save_path","mobile_custom_path","mobile_path","pc_save_path","pc_custom_path","overwrite","auto_create","del_origin"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"transfer_direction","label":"传输目标","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pc_path","label":"电脑文件","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"请选择或输入电脑文件所在路径,及文件名称+后缀","description":"多个文件路径之间,使用英文\";\"分割","advanced":false,"valueTypes":["rpa_str"]},{"key":"mobile_save_path","label":"手机保存路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"/sdcard/Download/","placeholder":"","description":"根目录:/sdcard/ 或 /storage/emulated/0/\n下载:/sdcard/Download/\n文档:/sdcard/Documents/\n相册:/sdcard/DCIM/Camera/\n截图:/sdcard/DCIM/Screenshots/ 或 /sdcard/Pictures/Screenshots/\n临时:/data/local/tmp/","advanced":false,"valueTypes":[]},{"key":"mobile_custom_path","label":"手机自定义路径","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入电脑保存路径","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"mobile_path","label":"手机文件","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入手机文件所在路径,及文件名称+后缀","description":"多个文件路径之间,使用英文\";\"分割","advanced":false,"valueTypes":["rpa_str"]},{"key":"pc_save_path","label":"电脑保存路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"Desktop","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pc_custom_path","label":"电脑自定义路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入电脑保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"overwrite","label":"覆盖同名文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"auto_create","label":"路径不存在时,自动创建","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"del_origin","label":"传输完成后删除原文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_GetPhoneInfomation","name":"获取手机连接详情","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"获取手机连接的详细信息,并存入指定的字典类型变量。","messageTemplate":"获取移动设备 $1 的连接详情, 然后把结果保存到 $0","baseType":"Mobile_GetPhoneInfomation","functionName":"Mobile.GetPhoneInfomation","functionCalls":[{"function":"Mobile.GetPhoneInfomation","args":["mobileDevice"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机连接详情","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机连接详情","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"Mobile_ClickLocation","name":"手机屏幕坐标点击","kind":"vendor","group":"mobile","categories":["anthro_operation"],"categorySignature":"anthro_operation","description":"模拟手势点击操作。","messageTemplate":"点击移动设备屏幕 $0 的 $1 位置","baseType":"Mobile_ClickLocation","functionName":"Mobile.ClickLocation","functionCalls":[{"function":"Mobile.ClickLocation","args":["mobileDevice","location","type"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"location","label":"获取坐标","widget":"region","type":"object","displayType":"mouseRecordPhone","required":false,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"type","label":"点击方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_SaveFilePhone","name":"保存文件到手机","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"将电脑中的文件保存至手机中的指定位置。","messageTemplate":"将本地 $1 下的文件保存至移动设备 $0 中的指定路径下","baseType":"Mobile_SaveFilePhone","functionName":"Mobile.SaveFilePhone","functionCalls":[{"function":"Mobile.SaveFilePhone","args":["mobileDevice","filePath","phonePath"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"mobileDevice","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"电脑文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"phonePath","label":"手机储存文件位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_SetInput","name":"设置文本|填写输入框","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"在手机指定输入框中输入文本。","messageTemplate":"在移动设备 $1 中,将目标元素 $2 的文本内容设置为 $3, 然后把结果保存到 $0","baseType":"Mobile_SetInput","functionName":"Mobile.SetInput","functionCalls":[{"function":"Mobile.SetInput","args":["mobileDevice","uiSelector","text","input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"text","label":"写入文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"追加输入","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_MobileCvClick","name":"手机智能元素点击","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"通过AI能力,获取手机页面中的元素,并对元素进行点击操作。","messageTemplate":"在移动设备 $0 中,通过AI能力获取目标元素 $1 ,并进行 $2 操作","baseType":"Mobile_MobileCvClick","functionName":"Mobile.MobileCvClick","functionCalls":[{"function":"Mobile.MobileCvClick","args":["mobileDevice","cvSelector","clickway","offsetX","offsetY"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"cvSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelectorCv","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"clickway","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"offsetX","label":"x轴偏移量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"offsetY","label":"y轴偏移量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_TouchSlideV1","name":"触摸滑动","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"模拟手势滑动屏幕。","messageTemplate":"以$1方式,{$$1 == 0 && '从$3$4$6起始,角度方向$7,滑动距离$8,'}{$$1 == 0 && $$13 == 1 && '持续滑动至$15$16出现'} {$$1 == 0 && $$13 == 0 && '进行滑动'}{$$1 == 1 && '单点触控,滑动 $11 段'}","baseType":"Mobile_TouchSlide","functionName":"Mobile.TouchSlideV1","functionCalls":[{"function":"Mobile.TouchSlideV1","args":["mobileDevice","slide_type","start_type","start_selector","start_image","start_image_data","start_location","angle","distance","slide_time","touch_type","single_touch","press_slide","slide_target","target_type","target_selector","target_image","target_image_data","slide_times","human_speed","human_curvature","auto_resolution","isVerifyPage","isVerifyElementImage"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"slide_type","label":"滑动方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"按方向:以坐标/元素/图像为目标,设置方向、距离和时间,进行单方向滑动\n\n按坐标:指定坐标,进行多段距离、多点触控滑动","advanced":false,"valueTypes":[]},{"key":"start_type","label":"起始位置","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start_selector","label":"目标元素","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"start_image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"start_image_data","label":"start_image_data","widget":"region","type":"object","displayType":"clickPositionV3","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_dict"]},{"key":"start_location","label":"起始坐标","widget":"region","type":"object","displayType":"mouseRecordPhone","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"","advanced":false,"valueTypes":["rpa_list"]},{"key":"angle","label":"角度方向(度)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"0:向右\n90:向上\n180:向左\n270:向下","advanced":false,"valueTypes":["rpa_int"]},{"key":"distance","label":"滑动距离","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"slide_time","label":"滑动时间","widget":"hidden","type":"string","displayType":"hidden","required":true,"defaultValue":"0.5","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int","rpa_float"]},{"key":"touch_type","label":"触控方式","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"single_touch","label":"single_touch","widget":"number","type":"number","displayType":"touchCoord","required":true,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_list"]},{"key":"press_slide","label":"长按拖动","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"slide_target","label":"持续滑动至指定目标出现","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"在指定查找次数内滑动,直到目标出现在界面后,自动停止","advanced":false,"valueTypes":[]},{"key":"target_type","label":"指定出现目标","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target_selector","label":"目标元素","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"target_image","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"target_image_data","label":"target_image_data","widget":"region","type":"object","displayType":"clickPositionV3","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_dict"]},{"key":"slide_times","label":"滑动查找次数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"3","placeholder":"","description":"滑动指定次数后,仍未找到目标,则自动停止,并执行组件异常处理逻辑","advanced":false,"valueTypes":["rpa_int"]},{"key":"human_speed","label":"模拟真人滑动速率","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"在滑动过程中,随机变化滑动速度","advanced":false,"valueTypes":[]},{"key":"human_curvature","label":"模拟真人滑动曲率","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"在滑动过程中,轻微增加滑动轨迹曲率","advanced":false,"valueTypes":[]},{"key":"auto_resolution","label":"自适应屏幕分辨率","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"以当前设备为基础,根据其他设备分辨率宽高比例,调整坐标和滑动距离。适用于宽高比近似手机操作","advanced":false,"valueTypes":[]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_GetPhoneFiles","name":"从手机中获取文件","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"将手机中的文件保存至电脑中的指定位置。","messageTemplate":"从移动设备 $0 中获取文件,保存到本地 $2 文件夹中","baseType":"Mobile_GetPhoneFiles","functionName":"Mobile.GetPhoneFiles","functionCalls":[{"function":"Mobile.GetPhoneFiles","args":["mobileDevice","phonePath","filePath"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"mobileDevice","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"phonePath","label":"手机储存文件位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"电脑文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_OpenMobileApp","name":"打开手机APP","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"通过名称或包名打开手机应用。","messageTemplate":"在移动设备 $0 中,打开 $1 应用","baseType":"Mobile_OpenMobileApp","functionName":"Mobile.OpenMobileApp","functionCalls":[{"function":"Mobile.OpenMobileApp","args":["mobileDevice","package","homepage"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"package","label":"包名","widget":"text","type":"string","displayType":"getMobileApp","required":true,"defaultValue":"","placeholder":"手机打开应用,点击获取包名,自动填入","description":"手机打开应用后,点击“获取包名”按钮,自动填入","advanced":false,"valueTypes":["rpa_str"]},{"key":"homepage","label":"打开前先关闭APP","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果APP已打开,则先关闭,确保流程从APP主页执行\n关闭对象不存在,则跳过此操作","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_TouchSlide","name":"触摸滑动","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"模拟人触摸滑动手机屏幕。","messageTemplate":"在移动设备 $0 中,以开始位置 $1,结束位置 $3 进行 $2 滑动的操作","baseType":"Mobile_TouchSlide","functionName":"Mobile.TouchSlide","functionCalls":[{"function":"Mobile.TouchSlide","args":["mobileDevice","location","direction","locationEnd","SlidingMode"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"location","label":"起始坐标","widget":"region","type":"object","displayType":"mouseRecordPhone","required":false,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"direction","label":"滑动方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"locationEnd","label":"截止坐标","widget":"region","type":"object","displayType":"mouseRecordPhone","required":false,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"SlidingMode","label":"滑动方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择方向时,起始坐标必填,截止坐标可不填;选择坐标时,起始坐标必填,滑动方向可不填。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_GetMobileUiTree","name":"获取手机UI树","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"获取手机当前界面元素层级的XML结构信息。","messageTemplate":"在移动设备 $2 中,获取界面元素层级的XML结构,然后把结果保存到 $0","baseType":"Mobile_GetMobileUiTree","functionName":"Mobile.GetMobileUiTree","functionCalls":[{"function":"Mobile.GetMobileUiTree","args":["mobileDevice","save_file","folder_path","filename","is_cover"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["UI","树","XML","元素结构","手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"save_file","label":"将元素层级信息保存到文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将页面元素层级信息以XML格式保存","advanced":false,"valueTypes":[]},{"key":"folder_path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或填写文件保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文件名称","description":"不填写名称时,系统随机生成,文件后缀固定为.xml","advanced":false,"valueTypes":["rpa_str"]},{"key":"is_cover","label":"覆盖同名文件","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选:覆盖同名文件\n不勾选:在名称后添加“(副本)”进行区分","advanced":false,"valueTypes":[]}],"output":{"label":"页面元素结构","key":"var0","suggestedName":"页面元素XML结构","valueTypes":["rpa_str"],"fields":[{"key":"var0","label":"页面元素结构","defaultValue":"页面元素XML结构","valueTypes":["rpa_str"]},{"key":"var1","label":"文件路径","defaultValue":"文件路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_GetScreenOrientation","name":"获取手机屏幕方向","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"获取手机当前的屏幕方向:竖屏(portrait)、横屏(landscape)。","messageTemplate":"获取移动设备 $1 屏幕方向信息,, 然后把结果保存到 $0","baseType":"Mobile_GetScreenOrientation","functionName":"Mobile.GetScreenOrientation","functionCalls":[{"function":"Mobile.GetScreenOrientation","args":["mobileDevice"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机屏幕方向","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机屏幕方向","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_GetElement","name":"获取手机元素对象","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"获取指定页面中指定元素对象。","messageTemplate":"在移动设备 $1 中,以 $2 定位方式,获取 $3$4 的相似元素, 然后把结果保存到 $0","baseType":"Mobile_GetElement","functionName":"Mobile.GetElement","functionCalls":[{"function":"Mobile.GetElement","args":["mobileDevice","element_position","selector","xpath","isVerifyPage","isVerifyElementImage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["元素","元素对象","拾取元素","xpath","手机","获取元素对象"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"element_position","label":"定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"图形化操作拾取元素,通过元素层级结构进行定位,可调整属性值,定位动态变化的元素","advanced":false,"valueTypes":[]},{"key":"selector","label":"目标选择","widget":"text","type":"string","displayType":"captureSimilarElementsWithPhone","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"元素对象","key":"var_name","suggestedName":"元素对象","valueTypes":["rpa_element"],"fields":[{"key":"var_name","label":"元素对象","defaultValue":"元素对象","valueTypes":["rpa_element"]}]},"slots":[]},{"id":"Mobile_MobileCvSetText","name":"智能设置文本|填写输入框","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"通过AI能力,获取手机页面中的元素,若该元素可进行文本输入,则输入设置的文本内容。","messageTemplate":"在移动设备 $0 中,将目标元素 $1 的文本内容设置为 $2","baseType":"Mobile_MobileCvSetText","functionName":"Mobile.MobileCvSetText","functionCalls":[{"function":"Mobile.MobileCvSetText","args":["mobileDevice","cvSelector","text"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"mobileDevice","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"cvSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelectorCv","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_ClosePhone","name":"关闭连接手机","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"断开已连接的移动设备。","messageTemplate":"选择已连接的移动设备$0,并断开连接","baseType":"Mobile_ClosePhone","functionName":"Mobile.ClosePhone","functionCalls":[{"function":"Mobile.ClosePhone","args":["mobileDevice"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_SetInputV2","name":"手机输入文本","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"在手机指定输入框中输入文本。","messageTemplate":"在移动设备 $2 中,将目标元素 $3 的文本内容设置为 $4,然后把结果保存到 $0","baseType":"Mobile_SetInput","functionName":"Mobile.SetInputV2","functionCalls":[{"function":"Mobile.SetInputV2","args":["mobileDevice","uiSelector","text","verifying_input","input","isEnter","isVerifyPage","isVerifyElementImage"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标输入框","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"拾取或选择输入框","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"text","label":"输入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"verifying_input","label":"校验输入内容","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"输入完成后,检查输入框内容与实际输入是否相同","advanced":false,"valueTypes":[]},{"key":"input","label":"输入方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"替换原文:清空原内容后输入\n追加输入:在已有内容结尾输入","advanced":false,"valueTypes":[]},{"key":"isEnter","label":"输入完成回车","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"输入完成后点击键盘回车键,根据不同场景触发确认、搜索、换行等事件","advanced":false,"valueTypes":[]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"输入文本","key":"var0","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var0","label":"输入文本","defaultValue":"文本内容","valueTypes":["rpa_str"]},{"key":"var1","label":"校验结果","defaultValue":"校验结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Mobile_SetScreenOrientation","name":"设置手机屏幕方向","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"设置手机当前的屏幕方向:竖屏或横屏。","messageTemplate":"将移动设备 $0 的屏幕方向设置为 $1","baseType":"Mobile_SetScreenOrientation","functionName":"Mobile.SetScreenOrientation","functionCalls":[{"function":"Mobile.SetScreenOrientation","args":["mobileDevice","direction"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"direction","label":"屏幕方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_ImageClick","name":"点击手机图像","kind":"vendor","group":"mobile","categories":["anthro_operation"],"categorySignature":"anthro_operation","description":"点击指定区域内匹配图像。","messageTemplate":"查找图像 $2 使用 $4 方式, {$$4 == 0 && \"点击 $5 次,间隔 $6 秒。\"}{$$4 == 2 && \"持续时间 $7 秒。\"}{$$8 == 1 && \"将目标图像文件保存到 $0\"}","baseType":"Mobile_ImageClick","functionName":"Mobile.ImageClick","functionCalls":[{"function":"Mobile.ImageClick","args":["mobileDevice","image_selector","click_data","click_way","click_num","click_interval","stay_time","match_status"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机","图片","手势"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"image_selector","label":"目标图像","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"click_data","label":"click_data","widget":"region","type":"object","displayType":"clickPositionV3","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_dict"]},{"key":"click_way","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_num","label":"点击次数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"click_interval","label":"点击间隔(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"stay_time","label":"持续时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"match_status","label":"匹配到多个图像时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"目标图像","key":"var_name","suggestedName":"图像坐标列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"目标图像","defaultValue":"图像坐标列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Mobile_CloseMobileApp","name":"关闭手机APP","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"通过名称或包名关闭手机应用。","messageTemplate":"在移动设备 $0 中,关闭 $1 应用","baseType":"Mobile_CloseMobileApp","functionName":"Mobile.CloseMobileApp","functionCalls":[{"function":"Mobile.CloseMobileApp","args":["mobileDevice","package"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"package","label":"包名","widget":"text","type":"string","displayType":"getMobileApp","required":true,"defaultValue":"","placeholder":"手机打开应用,点击获取包名,自动填入","description":"手机打开应用后,点击“获取包名”按钮,自动填入","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_ElementShot","name":"手机元素截图","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"对指定的元素进行截图,并图片保存至指定的文件夹中。","messageTemplate":"在移动设备 $1 中,将目标元素 $2 进行截图,将图片保存至指定路径下, 然后把结果保存到 $0","baseType":"Mobile_ElementShot","functionName":"Mobile.ElementShot","functionCalls":[{"function":"Mobile.ElementShot","args":["mobileDevice","uiSelector","filePath","filename","isVerifyPage","isVerifyElementImage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"filePath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${res}","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"截图_${randomString}.png","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机元素图片","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机元素图片","valueTypes":[]}]},"slots":[]},{"id":"Mobile_ScreenShot","name":"手机截屏","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"截屏手机当前页面,并将截图保存至指定的文件夹中。","messageTemplate":"对移动设备 $0 的当前页面进行截图,将图片保存至指定路径下","baseType":"Mobile_ScreenShot","functionName":"Mobile.ScreenShot","functionCalls":[{"function":"Mobile.ScreenShot","args":["mobileDevice","filePath","filename"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"filePath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"${res}","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"截图_${randomString}.png","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_GetClipboardText","name":"获取手机剪切板文本","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"获取手机剪切板文本内容。","messageTemplate":"获取移动设备 $1 上剪切板的文本内容, 然后把结果保存到 $0","baseType":"Mobile_GetClipboardText","functionName":"Mobile.GetClipboardText","functionCalls":[{"function":"Mobile.GetClipboardText","args":["mobileDevice"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机剪切板文本","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机剪切板文本","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_ConnectPhoneV2","name":"连接手机","kind":"vendor","group":"mobile","categories":["connect_mobile"],"categorySignature":"connect_mobile","description":"连接手机管理器中的设备,作为手机自动化类组件操作对象。","messageTemplate":"以 $2 连接方式, {$$2 == 1 && '连接手机'}{$$2 != 1 && '连接 $3 等手机'}, 然后把结果保存到 $0 $1","baseType":"Mobile_ConnectPhone","functionName":"Mobile.ConnectPhoneV2","functionCalls":[{"function":"Mobile.ConnectPhoneV2","args":["conn_type","mobileInfo","ignore_phone"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"conn_type","label":"连接方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"指定手机:\n指定单台或多台手机管理器中的手机。\n运行前手动选择手机:\n运行连接手机组件时,手动选择手机管理器中的单台或多台手机。\n任意连接的单台手机:\n手机管理器中,只能有一台手机与当前电脑连接,仅适用于单手机自动化场景。\n所有手机:\n连接所有手机管理器中的手机。","advanced":false,"valueTypes":[]},{"key":"mobileInfo","label":"手机连接对象","widget":"select","type":"string","displayType":"newMobileDeviceDropDownSelectV2","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ignore_phone","label":"忽略连接失败的手机","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"部分手机连接失败时,继续保持其他手机运行,并将连接失败设备以列表形式输出","advanced":false,"valueTypes":[]}],"output":{"label":"手机操作对象","key":"var0","suggestedName":"手机操作对象","valueTypes":["rpa_list_mobile","rpa_list_mobile","rpa_mobile","rpa_list_mobile"],"fields":[{"key":"var0","label":"手机操作对象","defaultValue":"手机操作对象","valueTypes":["rpa_list_mobile","rpa_list_mobile","rpa_mobile","rpa_list_mobile"]},{"key":"var1","label":"连接失败的手机","defaultValue":"连接失败的手机","valueTypes":["rpa_list_mobile"]}]},"slots":[]},{"id":"Mobile_GetText","name":"手机元素文本拾取","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"获取手机元素中的文本内容。","messageTemplate":"在移动设备 $1 中,获取目标元素 $2 中的文本内容, 然后把结果保存到 $0","baseType":"Mobile_GetText","functionName":"Mobile.GetText","functionCalls":[{"function":"Mobile.GetText","args":["mobileDevice","uiSelector","isVerifyPage","isVerifyElementImage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机元素文本","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机元素文本","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Mobile_MobileSetText","name":"手机键盘输入","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"模拟手机键盘输入指定内容。","messageTemplate":"在移动设备 $0 中,模拟手机键盘输入 $1","baseType":"Mobile_MobileSetText","functionName":"Mobile.MobileSetText","functionCalls":[{"function":"Mobile.MobileSetText","args":["mobileDevice","text"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_MobileElementList_V1","name":"获取手机相似元素列表","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"获取手机中,与指定元素相似的其他元素信息。","messageTemplate":"在移动设备 $2 中,以 $3 定位方式,获取 $4$5 的相似元素,然后把结果保存到 $0","baseType":"Mobile_MobileElementList","functionName":"Mobile.MobileElementList_V1","functionCalls":[{"function":"Mobile.MobileElementList_V1","args":["mobileDevice","element_position","selector","xpath","action","attr_complate","attr_name","reverse","start_index","end_index","is_engine","isVerifyPage","isVerifyElementImage"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":["相似元素","拾取元素","捕获元素","保存元素","手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"element_position","label":"定位方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"default","placeholder":"","description":"图形化操作拾取元素,通过元素层级结构进行定位,可调整属性值,定位动态变化的元素","advanced":false,"valueTypes":[]},{"key":"selector","label":"目标选择","widget":"text","type":"string","displayType":"captureSimilarElementsWithPhone","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"xpath","label":"XPath选择器","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"action","label":"元素操作","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"attr_complate","label":"自动补充完整地址","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当地址缺少http://、https://,或为相对地址时,自动补充为完整地址。","advanced":false,"valueTypes":[]},{"key":"attr_name","label":"属性名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入元素属性名","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"reverse","label":"获取方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"start_index","label":"开始获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"默认为1表示从第1项开始获取。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]},{"key":"end_index","label":"结束获取位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"-1","placeholder":"","description":"默认为-1表示将获取至倒数第1项。支持选择整型变量。","advanced":true,"valueTypes":["rpa_int"]},{"key":"is_engine","label":"is_engine","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"相似元素列表","key":"var0","suggestedName":"相似元素列表","valueTypes":["rpa_list_element_v1"],"fields":[{"key":"var0","label":"相似元素列表","defaultValue":"相似元素列表","valueTypes":["rpa_list_element_v1"]},{"key":"var1","label":"相似元素总数","defaultValue":"相似元素总数","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Mobile_ElementClick","name":"手机元素点击","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"点击手机页面内的各种元素(如:按钮、图标、链接等)。","messageTemplate":"在移动设备 $0 中,获取目标元素 $1,并进行 $2 操作","baseType":"Mobile_ElementClick","functionName":"Mobile.ElementClick","functionCalls":[{"function":"Mobile.ElementClick","args":["mobileDevice","uiSelector","clickfunc","click_data","isVerifyPage","isVerifyElementImage"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"clickfunc","label":"点击方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPositionV2","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":true,"valueTypes":[]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_GetChildren","name":"获取手机子元素","kind":"vendor","group":"mobile","categories":["element_operation"],"categorySignature":"element_operation","description":"获取指定的手机元素对象,并以数组的形式输出。","messageTemplate":"在移动设备 $1 中,获取目标元素 $2 下的所有子元素, 然后把结果保存到 $0","baseType":"Mobile_GetChildren","functionName":"Mobile.GetChildren","functionCalls":[{"function":"Mobile.GetChildren","args":["mobileDevice","uiSelector","isVerifyPage","isVerifyElementImage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"phoneSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"isVerifyPage","label":"是否校验页面","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前手机页面是否与元素拾取时所在页面一致","advanced":true,"valueTypes":[]},{"key":"isVerifyElementImage","label":"是否校验元素图像","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"校验当前定位到的元素区域内是否存在拾取时保存的元素图像","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"手机子元素列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"手机子元素列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Mobile_SetClipboardText","name":"设置手机剪切板文本","kind":"vendor","group":"mobile","categories":["mobile"],"categorySignature":"mobile","description":"设置手机剪切板中的文本内容。","messageTemplate":"将移动设备剪切板的文本内容设置为 $1","baseType":"Mobile_SetClipboardText","functionName":"Mobile.SetClipboardText","functionCalls":[{"function":"Mobile.SetClipboardText","args":["mobileDevice","text"],"assignTo":""}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileDevice","label":"手机连接对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"手机操作对象","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_mobile"]},{"key":"text","label":"剪切板内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mobile_ConnectPhoneV1","name":"连接手机","kind":"vendor","group":"mobile","categories":["connect_mobile"],"categorySignature":"connect_mobile","description":"连接移动设备管理中的指定的移动设备。","messageTemplate":"在移动设备管理列表中选择自定义移动设备$1,将该移动设备保存至手机对象并建立连接,, 然后把结果保存到 $0","baseType":"Mobile_ConnectPhone","functionName":"Mobile.ConnectPhoneV1","functionCalls":[{"function":"Mobile.ConnectPhoneV1","args":["mobileInfo","time_out"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["手机"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"mobileInfo","label":"手机选择","widget":"select","type":"string","displayType":"newMobileDeviceDropDownSelect","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"time_out","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"60","placeholder":"请输入超时时间(秒)","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"连接手机","valueTypes":["rpa_mobile"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"连接手机","valueTypes":["rpa_mobile"]}]},"slots":[]},{"id":"Mouse_ClickCombine_v1","name":"鼠标点击","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标各种点击动作,可设定左键或右键单击或双击。","messageTemplate":"鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}","baseType":"Mouse_ClickCombine","functionName":"Mouse.ClickCombine_v1","functionCalls":[{"function":"Mouse.ClickCombine_v1","args":["click_time","click_key","target","uiSelector","browser_type","clickPosition","position","location","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标单击","鼠标双击","点击","右键"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"click_time","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"click","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_key","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"left","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target","label":"目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"clickPosition","label":"点击位置","widget":"boolean","type":"boolean","displayType":"placementCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"终点位置","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_Click","name":"鼠标点击","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标各种点击动作,可设定左键或右键单击或双击。","messageTemplate":"鼠标 $0 $1 ","baseType":"Mouse_Click","functionName":"Mouse.Click","functionCalls":[{"function":"Mouse.Click","args":["side","click","keys"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标单击","鼠标双击","点击","右键"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"side","label":"鼠标按键","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"left","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"click","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"keys","label":"辅助按键","widget":"select","type":"string","displayType":"multipleDropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_ClickCombine_v4","name":"鼠标点击","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标各种点击动作,可设定左键或右键单击或双击。","messageTemplate":"鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$7'}","baseType":"Mouse_Click","functionName":"Mouse.ClickCombine_v4","functionCalls":[{"function":"Mouse.ClickCombine_v4","args":["click_time","click_key","target","uiSelector","designated_info","designated_obj","click_data","position","location","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标单击","鼠标双击","点击","右键","鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"click_time","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"click","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_key","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"left","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target","label":"目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPositionV2","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"终点位置","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_DragToV2","name":"鼠标拖拽","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"按住鼠标将一个坐标位置的目标,或具体界面元素目标拖拽到另一个指定坐标位置。","messageTemplate":"模拟鼠标从 {$$0 == 0 && \"起点位置 $7\"}{$$0 == 1 && \"目标元素 $4\"} 按住鼠标 $2 拖到终点位置 $8 位置上","baseType":"Mouse_DragTo","functionName":"Mouse.DragToV2","functionCalls":[{"function":"Mouse.DragToV2","args":["dragType","speed","side","position","uiSelector","designated_info","designated_obj","Start","End"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标拖动","鼠标圈选","拖拽","鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"dragType","label":"拖拽目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"支持从指定位置开始拖拽或拖拽指定的元素目标","advanced":false,"valueTypes":[]},{"key":"speed","label":"鼠标移动速度","widget":"number","type":"number","displayType":"movingSpeed","required":false,"defaultValue":"35","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"side","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"拖拽时按下鼠标指定键","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择指定的拖拽目标","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"Start","label":"获取起始坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值","advanced":false,"valueTypes":[]},{"key":"End","label":"获取结束坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_ClickCombine_v2","name":"鼠标点击","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标各种点击动作,可设定左键或右键单击或双击。","messageTemplate":"鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}","baseType":"Mouse_ClickCombine","functionName":"Mouse.ClickCombine_v2","functionCalls":[{"function":"Mouse.ClickCombine_v2","args":["click_time","click_key","target","uiSelector","browser_type","clickPosition","position","location","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标单击","鼠标双击","点击","右键"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"click_time","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"click","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_key","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"left","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target","label":"目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"clickPosition","label":"点击位置","widget":"boolean","type":"boolean","displayType":"placementCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"终点位置","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_RollTo","name":"鼠标滚动","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标向上或向下滚动,可设置滚动次数并配合辅助按键。","messageTemplate":"按住 $2 键 滚动鼠标滚轮 $1 次 ","baseType":"Mouse_RollTo","functionName":"Mouse.RollTo","functionCalls":[{"function":"Mouse.RollTo","args":["Type","RollNum","keys"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"Type","label":"滚动方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"down","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"RollNum","label":"滚动次数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入鼠标滚动次数或变量","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"keys","label":"辅助按键","widget":"select","type":"string","displayType":"multipleDropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_MoveToV1","name":"移动鼠标","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标的各类点击操作,点击特定位置或当前页面的特定元素。","messageTemplate":"将鼠标移动到 $2 的位置上 ","baseType":"Mouse_MoveTo","functionName":"Mouse.MoveToV1","functionCalls":[{"function":"Mouse.MoveToV1","args":["position","speed","location"],"assignTo":""}],"version":"3.3.5.0","tags":["移动鼠标","鼠标定位"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"speed","label":"鼠标移动速度","widget":"number","type":"number","displayType":"movingSpeed","required":false,"defaultValue":"35","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"获取坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_DragTo","name":"鼠标拖拽","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"按住鼠标从一个坐标点拖拽到另一个坐标点。","messageTemplate":"将鼠标从起点 $1 拖拽至 $2","baseType":"Mouse_DragTo","functionName":"Mouse.DragTo","functionCalls":[{"function":"Mouse.DragTo","args":["position","Start","End","side","keys"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标拖动","鼠标圈选","拖拽"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"Start","label":"获取起始坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"End","label":"获取结束坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"side","label":"鼠标按键","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"keys","label":"辅助按键","widget":"select","type":"string","displayType":"multipleDropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_ClickCombine_v3","name":"鼠标点击","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标各种点击动作,可设定左键或右键单击或双击。","messageTemplate":"鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}","baseType":"Mouse_ClickCombine","functionName":"Mouse.ClickCombine_v3","functionCalls":[{"function":"Mouse.ClickCombine_v3","args":["click_time","click_key","target","uiSelector","browser_type","click_data","position","location","show_track"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标单击","鼠标双击","点击","右键"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"click_time","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"click","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_key","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"left","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target","label":"目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"browserTypeInput","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"click_data","label":"点击位置","widget":"region","type":"object","displayType":"clickPosition","required":false,"defaultValue":"","placeholder":"","description":"选择随机偏移,则会随机点击界面元素的任意位置","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"终点位置","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_DragToV1","name":"鼠标拖拽","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"按住鼠标将一个坐标位置的目标,或具体界面元素目标拖拽到另一个指定坐标位置。","messageTemplate":"模拟鼠标从 {$$0 == 0 && \"起点位置 $5\"}{$$0 == 1 && \"目标元素 $4\"} 按住鼠标 $2 拖到终点位置 $6 位置上","baseType":"Mouse_DragTo","functionName":"Mouse.DragToV1","functionCalls":[{"function":"Mouse.DragToV1","args":["dragType","speed","side","position","uiSelector","Start","End"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标拖动","鼠标圈选","拖拽"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"dragType","label":"拖拽目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"支持从指定位置开始拖拽或拖拽指定的元素目标","advanced":false,"valueTypes":[]},{"key":"speed","label":"鼠标移动速度","widget":"number","type":"number","displayType":"movingSpeed","required":false,"defaultValue":"35","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"side","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"拖拽时按下鼠标指定键","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择指定的拖拽目标","advanced":false,"valueTypes":["rpa_element"]},{"key":"Start","label":"获取起始坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值","advanced":false,"valueTypes":[]},{"key":"End","label":"获取结束坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"输入或拾取坐标点,[x,y]x表示横坐标值,y表示纵坐标值","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_MoveToV2","name":"移动鼠标","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标的各类点击操作,点击特定位置或当前页面的特定元素。","messageTemplate":"将鼠标移动到 $3 的位置上 ","baseType":"Mouse_MoveTo","functionName":"Mouse.MoveToV2","functionCalls":[{"function":"Mouse.MoveToV2","args":["position","move_type","speed","location"],"assignTo":""}],"version":"3.3.5.0","tags":["移动鼠标","鼠标定位","鼠标","鼠标设备","鼠标操作","鼠标事件","鼠标控制"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"move_type","label":"鼠标移动方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"speed","label":"移动速度","widget":"number","type":"number","displayType":"singleMovingSpeed","required":false,"defaultValue":"35","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"获取坐标","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_DragToNew","name":"鼠标拖拽","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"按住鼠标从一个坐标点拖拽到另一个坐标点。","messageTemplate":"将鼠标从起点 $1 拖拽至 $2","baseType":"Mouse_DragTo","functionName":"Mouse.DragToNew","functionCalls":[{"function":"Mouse.DragToNew","args":["position","Start","End","speed","side","keys"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标拖动","鼠标圈选","拖拽"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"Start","label":"获取起始坐标","widget":"region","type":"object","displayType":"mouseRecord","required":false,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"End","label":"获取结束坐标","widget":"region","type":"object","displayType":"mouseRecord","required":false,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"speed","label":"鼠标移动速度","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"请设置鼠标移动速度,可设置变速。","advanced":false,"valueTypes":[]},{"key":"side","label":"鼠标按键","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"keys","label":"辅助按键","widget":"select","type":"string","displayType":"multipleDropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_ClickCombine","name":"鼠标点击","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"模拟鼠标各种点击动作,可设定左键或右键单击或双击。","messageTemplate":"鼠标 $1 $0 {$$2 == 0 && '$3'} {$$2 == 1 && '$6'}","baseType":"Mouse_ClickCombine","functionName":"Mouse.ClickCombine","functionCalls":[{"function":"Mouse.ClickCombine","args":["click_time","click_key","target","uiSelector","clickPosition","position","location"],"assignTo":""}],"version":"3.3.5.0","tags":["鼠标单击","鼠标双击","点击","右键"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"click_time","label":"点击类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"click","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"click_key","label":"鼠标按键","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"left","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"target","label":"目标类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取或选择需点击的元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"clickPosition","label":"点击位置","widget":"boolean","type":"boolean","displayType":"placementCheckbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"终点位置","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Mouse_MoveTo","name":"移动鼠标","kind":"vendor","group":"desktop","categories":["peripheral_device"],"categorySignature":"peripheral_device","description":"设定目标点的X、Y坐标,移动鼠标到指定的坐标位置。","messageTemplate":"将鼠标移动到 $1 的位置上 ","baseType":"Mouse_MoveTo","functionName":"Mouse.MoveTo","functionCalls":[{"function":"Mouse.MoveTo","args":["position","location"],"assignTo":""}],"version":"3.3.5.0","tags":["移动鼠标","鼠标定位"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"position","label":"坐标相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"鼠标相对于屏幕左上角或激活窗口左上角的位置","advanced":false,"valueTypes":[]},{"key":"location","label":"获取坐标","widget":"region","type":"object","displayType":"mouseRecord","required":false,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"NLP_BatchAnalyseProductReview","name":"商品评论分析(批量)","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对导入Excel表中的商品评论内容进行分析,然后把该评论的好差评分类结果、差评的细分标签结果(如有)保存指定路径的Excel文件中。","messageTemplate":"对商品评论内容进行批量分析,然后把评论的分析结果保存到指定路径的Excel文件中","baseType":"NLP_BatchAnalyseProductReview","functionName":"NLP.BatchAnalyseProductReview","functionCalls":[{"function":"NLP.BatchAnalyseProductReview","args":["downloadFile","reviewExcel","produceType","showTable","fileName","fileAddr"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"downloadFile","label":"downloadFile","widget":"text","type":"string","displayType":"label","required":false,"defaultValue":"商品评论模板下载","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"reviewExcel","label":"商品评论Excel导入","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"选择录入好的评论Excel导入(请严格按照模板格式录入数据)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"produceType","label":"商品类别","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"dress","placeholder":"","description":"商品所属的类别,如女装、皮鞋等","advanced":false,"valueTypes":[]},{"key":"showTable","label":"在数据表中预览分析结果","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"将分析的评论结果信息显示在控制台“数据表”中","advanced":false,"valueTypes":[]},{"key":"fileName","label":"分析结果导出名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"商品评论分析结果.xlsx","placeholder":"请输入结果文件名称,需加后缀","description":"用于存储分析结果文件,需指定文件后缀“.xlsx”","advanced":false,"valueTypes":["rpa_str"]},{"key":"fileAddr","label":"分析结果保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择文件保存路径","description":"选择分析结果文件存储路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"NLP_KeyWordsAnalysis","name":"关键词","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对目标文本内容进行关键词提取,并将提取结果输出到指定变量。","messageTemplate":"将标题 $1 和 文章内容 $2 进行关键词分析, 然后把结果保存到 $0","baseType":"NLP_KeyWordsAnalysis","functionName":"NLP.KeyWordsAnalysis","functionCalls":[{"function":"NLP.KeyWordsAnalysis","args":["sTtile","sPaper"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP","处理","操作"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sTtile","label":"标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析文章标题","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"sPaper","label":"文章","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文章内容","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"关键词","valueTypes":["rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"关键词","valueTypes":["rpa_list","rpa_str"]}]},"slots":[]},{"id":"NLP_EmotionalAnalysis","name":"情感分析","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对目标文本内容进行情感分析,返回如正向、负向,中性等,并将结果输出到指定变量。","messageTemplate":"将文本 $1 进行情感分析, 然后把结果保存到 $0","baseType":"NLP_EmotionalAnalysis","functionName":"NLP.EmotionalAnalysis","functionCalls":[{"function":"NLP.EmotionalAnalysis","args":["sentence"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本情感","情感识别","nlp"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sentence","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"分析结果","valueTypes":["rpa_dict_emo","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"分析结果","valueTypes":["rpa_dict_emo","rpa_str"]}]},"slots":[]},{"id":"NLP_SplitText","name":"实体抽取","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对目标文本进行实体分析抽取,如:名称、地址、时间等实体名词,并赋值到指定的变量。","messageTemplate":"将文本 $1 中的实体如名称、地址、时间等分析抽取, 然后把结果保存到 $0","baseType":"NLP_SplitText","functionName":"NLP.SplitText","functionCalls":[{"function":"NLP.SplitText","args":["sentence"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP","处理","操作"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sentence","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"实体对象","valueTypes":["rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"实体对象","valueTypes":["rpa_list","rpa_str"]}]},"slots":[]},{"id":"NLP_AnalyseProductReview","name":"商品评论分析","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对商品评论内容进行分析,然后把该评论的好差评分类结果保存到输出变量中。","messageTemplate":"对商品评论内容进行分析,然后把结果保存到 $0","baseType":"NLP_AnalyseProductReview","functionName":"NLP.AnalyseProductReview","functionCalls":[{"function":"NLP.AnalyseProductReview","args":["review_text","produce_type"],"assignTo":"var0,var1,var2"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"review_text","label":"商品评论文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的评论文本","description":"顾客对商品的评论内容,如”这件衣服很舒服“","advanced":false,"valueTypes":["rpa_str"]},{"key":"produce_type","label":"商品类别","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"dress","placeholder":"","description":"商品所属的类别,如女装、皮鞋等","advanced":false,"valueTypes":[]}],"output":{"label":"评论分析结果","key":"var0","suggestedName":"评论分析结果","valueTypes":[],"fields":[{"key":"var0","label":"评论分析结果","defaultValue":"评论分析结果","valueTypes":[]},{"key":"var1","label":"好差评结果","defaultValue":"好差评结果","valueTypes":[]},{"key":"var2","label":"细分标签(针对差评)","defaultValue":"差评标签","valueTypes":[]}]},"slots":[]},{"id":"NLP_SemanticSimilarity","name":"语义相似度","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对比分析两段文本的语义相似度,并将相似度结果输出到指定变量。","messageTemplate":"将文本 $1 和 $2 进行语义相似度分析, 然后把结果保存到 $0","baseType":"NLP_SemanticSimilarity","functionName":"NLP.SemanticSimilarity","functionCalls":[{"function":"NLP.SemanticSimilarity","args":["sA","sB"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["相似度对比","相似分析","nlp"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sA","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文本2","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"sB","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文本2","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"相似度","valueTypes":["rpa_float","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"相似度","valueTypes":["rpa_float","rpa_str"]}]},"slots":[]},{"id":"NLP_SplitWords","name":"分词","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对目标文本内容进行分词处理,并将分词结果输出到指定变量。","messageTemplate":"将句子 $1 进行分词, 然后把结果保存到 $0","baseType":"NLP_SplitWords","functionName":"NLP.SplitWords","functionCalls":[{"function":"NLP.SplitWords","args":["sentence"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本分词","分词处理","nlp"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sentence","label":"句子","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"分词结果","valueTypes":["rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"分词结果","valueTypes":["rpa_list","rpa_str"]}]},"slots":[]},{"id":"NLP_PerspectiveAnalysis","name":"观点分析","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"对目标文本内容进行观点抽取,包括多个观点和观点的情感,并将结果输出到指定变量。","messageTemplate":"将文本 $1 进行观点分析, 然后把结果保存到 $0","baseType":"NLP_PerspectiveAnalysis","functionName":"NLP.PerspectiveAnalysis","functionCalls":[{"function":"NLP.PerspectiveAnalysis","args":["sentence"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP","处理","操作"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sentence","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"分析结果","valueTypes":["rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"分析结果","valueTypes":["rpa_list","rpa_str"]}]},"slots":[]},{"id":"NLP_XunFei_NLPBaseServer","name":"第三方NLP模型","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"调用第三方(讯飞)NLP基础能力模型,对目标文本进行如NER、语义依存、分词、词性标注等处理,并返回处理结果。","messageTemplate":"用户APPID $1 用户APIKey $2 对文本 $3 进行 $4, 然后把结果保存到 $0","baseType":"NLP_XunFei_NLPBaseServer","functionName":"NLP_XunFei.NLPBaseServer","functionCalls":[{"function":"NLP_XunFei.NLPBaseServer","args":["APPID","APIKey","text","func"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP"],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"APPID","label":"用户APPID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APPID","description":"在讯飞开放平台生成的APPID","advanced":false,"valueTypes":["rpa_str"]},{"key":"APIKey","label":"用户APIKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APIKey","description":"在讯飞开放平台生成的APIKey","advanced":false,"valueTypes":["rpa_str"]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"func","label":"自然语言处理方法","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"处理结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"处理结果","valueTypes":[]}]},"slots":[]},{"id":"NLP_XunFei_MachineTranslation","name":"机器翻译","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"调用第三方模型(讯飞)对目标文本内容进行机器翻译,并将结果输出到指定变量。","messageTemplate":"用户APPID $1 用户APIKey$2 用户Secret $3 对文本 $4 进行 $5 到 $6 的翻译, 然后把结果保存到 $0","baseType":"NLP_XunFei_MachineTranslation","functionName":"NLP_XunFei.MachineTranslation","functionCalls":[{"function":"NLP_XunFei.MachineTranslation","args":["APPID","APIKey","Secret","text","BeforLanguage","AfterLanguage"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP","处理","操作"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"APPID","label":"用户APPID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APPID","description":"在讯飞开放平台生成的APPID","advanced":false,"valueTypes":["rpa_str"]},{"key":"APIKey","label":"用户APIKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APIKey","description":"在讯飞开放平台生成的APIKey","advanced":false,"valueTypes":["rpa_str"]},{"key":"Secret","label":"用户Secret","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞Secret","description":"在讯飞开放平台的Secret","advanced":false,"valueTypes":["rpa_str"]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要翻译的文本","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"BeforLanguage","label":"翻译前语言","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入翻译前的语言种类","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"AfterLanguage","label":"翻译后语言","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入翻译后的语言种类","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"机器翻译","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"机器翻译","valueTypes":[]}]},"slots":[]},{"id":"NLP_XunFei_FeelingAnalysis","name":"第三方情感分析模型","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"调用第三方模型(讯飞)对目标文本内容进行情感分析,返回如正向、负向,中性等情感极性,并输出到指定变量。","messageTemplate":"用户APPID $1 用户APIKey $2 对文本 $3 进行情感分析, 然后把结果保存到 $0","baseType":"NLP_XunFei_FeelingAnalysis","functionName":"NLP_XunFei.FeelingAnalysis","functionCalls":[{"function":"NLP_XunFei.FeelingAnalysis","args":["APPID","APIKey","text"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"APPID","label":"用户APPID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APPID","description":"在讯飞开放平台生成的APPID","advanced":false,"valueTypes":["rpa_str"]},{"key":"APIKey","label":"用户APIKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APIKey","description":"在讯飞开放平台生成的APIKey","advanced":false,"valueTypes":["rpa_str"]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"分析结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"分析结果","valueTypes":[]}]},"slots":[]},{"id":"NLP_XunFei_KeywordExtraction","name":"关键字提取","kind":"vendor","group":"message","categories":["NLP"],"categorySignature":"NLP","description":"调用第三方模型(讯飞),对目标文本内容进关键字提取。","messageTemplate":"讯飞的APPID $1 讯飞的APIKey $2 对文本 $3 进行关键字提取, 然后把结果保存到 $0","baseType":"NLP_XunFei_KeywordExtraction","functionName":"NLP_XunFei.KeywordExtraction","functionCalls":[{"function":"NLP_XunFei.KeywordExtraction","args":["APPID","APIKey","text"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["NLP"],"platformTag":"win32","icon":"message","risk":"high","fields":[{"key":"APPID","label":"用户APPID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APPID","description":"在讯飞开放平台生成的APPID","advanced":false,"valueTypes":["rpa_str"]},{"key":"APIKey","label":"用户APIKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入讯飞APIKey","description":"在讯飞开放平台生成的APIKey","advanced":false,"valueTypes":["rpa_str"]},{"key":"text","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要分析的文本","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"关键词","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"关键词","valueTypes":[]}]},"slots":[]},{"id":"OCR_RotateVerificationCodeV1","name":"旋转图片验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动滑块按钮使图片的展示角度为正,并自动完成验证。","messageTemplate":"识别要旋转的图片 $0 以及滑动条区域 $1 ,并拖动滑块按钮 $2 ,自动完成验证","baseType":"OCR_RotateVerificationCode","functionName":"OCR.RotateVerificationCodeV1","functionCalls":[{"function":"OCR.RotateVerificationCodeV1","args":["verifyPicUiSelector","sliderBarSelector","sliderButtonSelector","browser_type"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","旋转","滑块验证码(旋转式)"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"旋转图片目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择窗口中要旋转的图片。","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderBarSelector","label":"滑动条区域","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择窗口中的滑动条可滑动的区域元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderButtonSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择窗口可拖动的滑块按钮。","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_PuzzleVerificationCode_v1","name":"推理拼图验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动并交换两个拼图块的位置使图片复原,完成验证码解锁。","messageTemplate":"识别完整图片 $0,并自动完成验证","baseType":"OCR_PuzzleVerificationCode","functionName":"OCR.PuzzleVerificationCode_v1","functionCalls":[{"function":"OCR.PuzzleVerificationCode_v1","args":["verifyPicUiSelector","browser_type","rowNum","columnNum"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","推理拼图","推理拼图验证码"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"完整图片目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择待拼图的完整图片元素(非小图)","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"rowNum","label":"拼图行数","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"2","placeholder":"","description":"请输入拼图的行数","advanced":false,"valueTypes":[]},{"key":"columnNum","label":"拼图列数","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"4","placeholder":"","description":"请输入拼图的列数","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_MergeCardOCR","name":"卡证文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"结构化识别身份证、银行卡、营业执照、护照、户口本等常用卡片及证照的文字内容。","messageTemplate":"$2 识别常用卡片及证照的文字内容, 然后把结果保存到 $0","baseType":"OCR_MergeCardOCR","functionName":"OCR.MergeCardOCR","functionCalls":[{"function":"OCR.MergeCardOCR","args":["imageType","image_url","category","AppKey","SecretKey","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]},{"key":"front","label":"是否是正面","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_CalculationCode","name":"算术验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别目标验证码图片信息,并输出到指定变量。","messageTemplate":"$1 识别算术验证码的内容, 然后把结果保存到 $0","baseType":"OCR_CalculationCode","functionName":"OCR.CalculationCode","functionCalls":[{"function":"OCR.CalculationCode","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_IdCardV2","name":"OCR身份证","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标身份证图片信息,并输出到指定变量。","messageTemplate":"$1 识别身份证的内容, 然后把结果保存到 $0","baseType":"OCR_IdCard","functionName":"OCR.IdCardV2","functionCalls":[{"function":"OCR.IdCardV2","args":["path","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR身份证","身份证识别","身份证信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"front","label":"是否是正面","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_ClickVerificationCodeV2","name":"点选验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别依次点选文字或图标类验证码,然后自动完成验证。","messageTemplate":"识别文字背景图 $0 以及“依次点击”文字说明 $1,自动完成验证","baseType":"OCR_ClickVerificationCode","functionName":"OCR.ClickVerificationCodeV2","functionCalls":[{"function":"OCR.ClickVerificationCodeV2","args":["verifyPicUiSelector","verifySeqUiSelector","designated_info","designated_obj","code_num","category"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","点选","点选验证码"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"文字背景图","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择包含要点选文字的背景图片元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"verifySeqUiSelector","label":"文字说明","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择包含点选次序的文字说明元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"code_num","label":"点选数字","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择要点选的字数区间","advanced":false,"valueTypes":[]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_SourceCommonEnglishNumbersCodeV2","name":"普通验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别目标验证码图片信息,并输出到指定变量。","messageTemplate":"识别 $1 $3$4 验证码信息, 然后把结果保存到 $0","baseType":"OCR_SourceCommonEnglishNumbersCode","functionName":"OCR.SourceCommonEnglishNumbersCodeV2","functionCalls":[{"function":"OCR.SourceCommonEnglishNumbersCodeV2","args":["imageType","pictureSource","image_path","uiSelector","designated_info","designated_obj","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"识别类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"数英混合","placeholder":"","description":"根据验证码图片内容,选择对应的验证码识别类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"uiSelector","label":"图片目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"识别结果","key":"var_name","suggestedName":"验证码","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"识别结果","defaultValue":"验证码","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"OCR_BusinessCardV2","name":"OCR名片","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标名片图片信息,并输出到指定变量。","messageTemplate":"$1 识别名片的内容, 然后把结果保存到 $0","baseType":"OCR_BusinessCard","functionName":"OCR.BusinessCardV2","functionCalls":[{"function":"OCR.BusinessCardV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR名片","名片识别","名片信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SimpleSliderVerificationCode","name":"滑块验证码(滑动条式)","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动滑动按钮,完成验证码解锁。","messageTemplate":"识取验证码中的滑块及滑动区域,拖动滑块完成验证码解锁","baseType":"OCR_SimpleSliderVerificationCode","functionName":"OCR.SimpleSliderVerificationCode","functionCalls":[{"function":"OCR.SimpleSliderVerificationCode","args":["buttonUiSelector","sliderUiSelector","showDeviation","deviation"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","滑动","滑动条样式"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"buttonUiSelector","label":"滑动按钮目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的可拖动的滑块","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderUiSelector","label":"滑动条目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的滑动条区域","advanced":false,"valueTypes":["rpa_element"]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选表示启用,不勾选表示关闭","advanced":false,"valueTypes":[]},{"key":"deviation","label":"偏移量校正值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"输入内容或 ${变量}","description":"请视滑动条拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_VehicleInvoiceV2","name":"OCR机动车发票","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标机动车发票图片信息,并输出到指定变量。","messageTemplate":"$1 识别机动车发票的内容, 然后把结果保存到 $0","baseType":"OCR_VehicleInvoice","functionName":"OCR.VehicleInvoiceV2","functionCalls":[{"function":"OCR.VehicleInvoiceV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR机动车发票","机动车发票识别","机动车发票信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceMergeCardOCR","name":"识别卡证文字","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"结构化识别身份证、银行卡、营业执照、护照、户口本等常用卡片及证照的文字内容。","messageTemplate":"识别 $2 中常用卡片及证照的文字内容, 然后把结果保存到 $0","baseType":"OCR_SourceMergeCardOCR","functionName":"OCR.SourceMergeCardOCR","functionCalls":[{"function":"OCR.SourceMergeCardOCR","args":["imageType","pictureSource","image_path","image_url","category","AppKey","SecretKey","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]},{"key":"front","label":"身份证朝向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_dict_identity_card_shizai","rpa_dict_identity_card_juhe","rpa_dict_identity_card_reverse_juhe","rpa_dict","rpa_dict","rpa_dict_bank_card_juhe","rpa_dict","rpa_dict_business_license_shizai","rpa_dict_business_license_juhe","rpa_dict","rpa_dict","rpa_dict_business_card_juhe","rpa_dict_passport_juhe","rpa_dict","rpa_dict","rpa_dict","rpa_dict_account_page_juhe","rpa_dict","rpa_dict","rpa_dict_house_cert_juhe","rpa_dict_real_estate_cert_juhe","rpa_dict_official_seal_juhe","rpa_list","rpa_none"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_dict_identity_card_shizai","rpa_dict_identity_card_juhe","rpa_dict_identity_card_reverse_juhe","rpa_dict","rpa_dict","rpa_dict_bank_card_juhe","rpa_dict","rpa_dict_business_license_shizai","rpa_dict_business_license_juhe","rpa_dict","rpa_dict","rpa_dict_business_card_juhe","rpa_dict_passport_juhe","rpa_dict","rpa_dict","rpa_dict","rpa_dict_account_page_juhe","rpa_dict","rpa_dict","rpa_dict_house_cert_juhe","rpa_dict_real_estate_cert_juhe","rpa_dict_official_seal_juhe","rpa_list","rpa_none"]}]},"slots":[]},{"id":"OCR_SliderVerificationCodeV5","name":"滑动拼图验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别验证码的拼图位置,并拖动滑块按钮完成验证,或返回拼图终点位置。","messageTemplate":"识别背景图 $3 {$$1 == 2 && $$5 == 1 && '以及拼图块 $6 的位置'}{$$9 == 1 && '并模拟拖动滑块按钮 $4 ,自动完成验证'}{$$9 == 2 && '并识别滑块按钮 $4 的终点位置,然后把结果保存到 $0'}","baseType":"OCR_SliderVerificationCodeV2","functionName":"OCR.SliderVerificationCodeV5","functionCalls":[{"function":"OCR.SliderVerificationCodeV5","args":["category","service","backgroundUiSelector","buttonUiSelector","need_slider","sliderUiSelector","designated_info","designated_obj","ret","showDeviation","deviation","drag"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"service","label":"选择服务","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择调用的云服务类型","advanced":false,"valueTypes":[]},{"key":"backgroundUiSelector","label":"背景图","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码中的背景图元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码下方的滑动按钮元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"need_slider","label":"识别拼图块","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后,需要选择拼图块元素,并在运行时进行识别,可根据实际情况配置","advanced":false,"valueTypes":[]},{"key":"sliderUiSelector","label":"拼图块","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码的拼图块","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"ret","label":"验证方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"返回结果的校验方式","advanced":false,"valueTypes":[]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)","advanced":false,"valueTypes":[]},{"key":"deviation","label":"deviation","widget":"number","type":"number","displayType":"sliderBar","required":false,"defaultValue":"0","placeholder":"","description":"请视验证码滑块拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值","advanced":false,"valueTypes":["rpa_int"]},{"key":"drag","label":"IE浏览器适配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"返回数据","key":"var_name","suggestedName":"拼图终点坐标","valueTypes":["rpa_dict_pintu_coordinate"],"fields":[{"key":"var_name","label":"返回数据","defaultValue":"拼图终点坐标","valueTypes":["rpa_dict_pintu_coordinate"]}]},"slots":[]},{"id":"OCR_SliderVerificationCodeV4","name":"滑动拼图验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别验证码的拼图位置,并拖动滑块按钮完成验证,或返回拼图终点位置。","messageTemplate":"识别背景图 $3 {$$1 == 2 && '以及拼图块 $4 的位置'},{$$8 == 1 && '并模拟拖动滑块按钮 $5 ,自动完成验证'}{$$8 == 2 && '并识别滑块按钮 $5 的终点位置,然后把结果保存到 $0'}","baseType":"OCR_SliderVerificationCodeV2","functionName":"OCR.SliderVerificationCodeV4","functionCalls":[{"function":"OCR.SliderVerificationCodeV4","args":["category","service","backgroundUiSelector","sliderUiSelector","buttonUiSelector","designated_info","designated_obj","ret","showDeviation","deviation","drag"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"service","label":"选择服务","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择调用的云服务类型","advanced":false,"valueTypes":[]},{"key":"backgroundUiSelector","label":"背景图","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码中的背景图元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderUiSelector","label":"拼图块","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码的拼图块","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码下方的滑动按钮元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"ret","label":"验证方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"返回结果的校验方式","advanced":false,"valueTypes":[]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)","advanced":false,"valueTypes":[]},{"key":"deviation","label":"deviation","widget":"number","type":"number","displayType":"sliderBar","required":false,"defaultValue":"0","placeholder":"","description":"请视验证码滑块拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值","advanced":false,"valueTypes":["rpa_int"]},{"key":"drag","label":"IE浏览器适配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"返回数据","key":"var_name","suggestedName":"拼图终点坐标","valueTypes":["rpa_dict_pintu_coordinate"],"fields":[{"key":"var_name","label":"返回数据","defaultValue":"拼图终点坐标","valueTypes":["rpa_dict_pintu_coordinate"]}]},"slots":[]},{"id":"OCR_SourceMergeOtherOCR","name":"识别其他场景文字","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"识别 $2 中文本内容, 然后把结果保存到 $0","baseType":"OCR_SourceMergeOtherOCR","functionName":"OCR.SourceMergeOtherOCR","functionCalls":[{"function":"OCR.SourceMergeOtherOCR","args":["imageType","pictureSource","image_path","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":["rpa_str"]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"OCR_MergeOtherOCR","name":"其他场景文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"$2 识别文本内容, 然后把结果保存到 $0","baseType":"OCR_MergeOtherOCR","functionName":"OCR.MergeOtherOCR","functionCalls":[{"function":"OCR.MergeOtherOCR","args":["imageType","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SliderCode","name":"滑块验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别目标验证码图片信息,并输出到指定变量。","messageTemplate":"背景图片 $2 识别滑块验证码的内容, 然后把结果保存到 $0","baseType":"OCR_SliderCode","functionName":"OCR.SliderCode","functionCalls":[{"function":"OCR.SliderCode","args":["imageFrontPath","imageBackPath","needFrontPath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageFrontPath","label":"滑块图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"imageBackPath","label":"背景图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"needFrontPath","label":"是否需要滑块图片","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"False","placeholder":"","description":"勾选表示启用该选项","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"滑动距离","valueTypes":["rpa_dict","rpa_int"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"滑动距离","valueTypes":["rpa_dict","rpa_int"]}]},"slots":[]},{"id":"OCR_BusinessLicenseV3","name":"OCR营业执照(自研)","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标营业执照图片信息,并输出到指定变量。","messageTemplate":"$1 识别营业执照的内容, 然后把结果保存到 $0","baseType":"OCR_BusinessLicense","functionName":"OCR.BusinessLicenseV3","functionCalls":[{"function":"OCR.BusinessLicenseV3","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR营业执照","营业执照识别","营业执照信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceMergeGeneralOCR","name":"通用文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"识别 $1 中 $3 文本的内容, 然后把结果保存到 $0","baseType":"OCR_SourceMergeGeneralOCR","functionName":"OCR.SourceMergeGeneralOCR","functionCalls":[{"function":"OCR.SourceMergeGeneralOCR","args":["pictureSource","image_path","uiSelector","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":[]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":["rpa_str"]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"OCR_PassportV2","name":"OCR护照","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标护照图片信息,并输出到指定变量。","messageTemplate":"$1 识别护照的内容, 然后把结果保存到 $0","baseType":"OCR_Passport","functionName":"OCR.PassportV2","functionCalls":[{"function":"OCR.PassportV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR护照","护照识别","护照信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_MergeGeneralOCR","name":"通用文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"$1 识别文本的内容, 然后把结果保存到 $0","baseType":"OCR_MergeGeneralOCR","functionName":"OCR.MergeGeneralOCR","functionCalls":[{"function":"OCR.MergeGeneralOCR","args":["image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_KeyValueIdentification","name":"识别键值对结构","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对提供的图像进行键值对文本识别,然后输出结构化字典数据。","messageTemplate":"识别 $1 $2$3$4 中键值对数据结构, 然后把结果保存到 $0","baseType":"OCR_KeyValueIdentification","functionName":"OCR.KeyValueIdentification","functionCalls":[{"function":"OCR.KeyValueIdentification","args":["pictureSource","image_path","uiSelector","image_url"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择图像源的方式","advanced":false,"valueTypes":[]},{"key":"image_path","label":"本地图片路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"uiSelector","label":"屏幕目标区域","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"拾取屏幕指定区域的图像","advanced":false,"valueTypes":["rpa_element"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"键值对","valueTypes":["rpa_dict_jianzhidui"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"键值对","valueTypes":["rpa_dict_jianzhidui"]}]},"slots":[]},{"id":"OCR_RotateVerificationCodeV2","name":"旋转图片验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动滑块按钮使图片的展示角度为正,并自动完成验证。","messageTemplate":"识别要旋转的图片 $0 以及滑动条区域 $1 ,并拖动滑块按钮 $2 ,自动完成验证","baseType":"OCR_RotateVerificationCode","functionName":"OCR.RotateVerificationCodeV2","functionCalls":[{"function":"OCR.RotateVerificationCodeV2","args":["verifyPicUiSelector","sliderBarSelector","sliderButtonSelector","designated_info","designated_obj"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","旋转","滑块验证码(旋转式)","图片","图像","图形","图象","相片"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"旋转图片目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择窗口中要旋转的图片。","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderBarSelector","label":"滑动条区域","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择窗口中的滑动条可滑动的区域元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderButtonSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择窗口可拖动的滑块按钮。","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_RotateVerificationCode","name":"滑块验证码(旋转式)","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动滑动按钮旋转图片,完成旋转类型验证码解锁。","messageTemplate":"识取验证码中的待旋转图,计算旋转角度后拖动滑动按钮,完成验证码解锁。","baseType":"OCR_RotateVerificationCode","functionName":"OCR.RotateVerificationCode","functionCalls":[{"function":"OCR.RotateVerificationCode","args":["verifyPicUiSelector","sliderButtonSelector","sliderBarSelector"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","旋转","滑块验证码(旋转式)"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"待旋转图片目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中可旋转的背景图","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderButtonSelector","label":"滑动按钮目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中可拖动的滑块","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderBarSelector","label":"滑动条目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的滑动条区域","advanced":false,"valueTypes":["rpa_element"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_ClickVerificationCodeV1","name":"点选验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别依次点选文字或图标类验证码,然后自动完成验证。","messageTemplate":"识别文字背景图 $0 以及“依次点击”文字说明 $1,自动完成验证","baseType":"OCR_ClickVerificationCode","functionName":"OCR.ClickVerificationCodeV1","functionCalls":[{"function":"OCR.ClickVerificationCodeV1","args":["verifyPicUiSelector","verifySeqUiSelector","browser_type","code_num","category"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","点选","点选验证码"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"文字背景图","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择包含要点选文字的背景图片元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"verifySeqUiSelector","label":"文字说明","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"选择包含点选次序的文字说明元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"code_num","label":"点选数字","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择要点选的字数区间","advanced":false,"valueTypes":[]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_AmountIdentification","name":"识别价格金额","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"各类型用户需要通过OCR识别,获取网页或图片中特定位置的价格或金额信息并保存。","messageTemplate":"识别 $1 中 {$$1 == 0 && '$2'} 的价格或金额内容, 然后把结果保存到 $0","baseType":"OCR_AmountIdentification","functionName":"OCR.AmountIdentification","functionCalls":[{"function":"OCR.AmountIdentification","args":["pictureSource","uiSelector","image_path","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","金额","发票"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像来源","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"该组件需要截取或选择仅包含金额部分的信息,否则可能识别错误,例如\"¥50.2元\"、\"$3.9M\"","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"屏幕目标区域","widget":"region","type":"object","displayType":"screenshotSelectUi","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"目标仅限制金额数字显示区域,否则可能识别错误,例如:“¥52.0”、“52元”","advanced":false,"valueTypes":["rpa_element"]},{"key":"image_path","label":"本地图片路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"金额保存到","key":"var_name","suggestedName":"识别的价格","valueTypes":[],"fields":[{"key":"var_name","label":"金额保存到","defaultValue":"识别的价格","valueTypes":[]}]},"slots":[]},{"id":"OCR_PuzzleVerificationCode","name":"推理拼图验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动并交换两个拼图块的位置使图片复原,完成验证码解锁。","messageTemplate":"识别完整图片 $0,并自动完成验证","baseType":"OCR_PuzzleVerificationCode","functionName":"OCR.PuzzleVerificationCode","functionCalls":[{"function":"OCR.PuzzleVerificationCode","args":["verifyPicUiSelector","rowNum","columnNum"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","推理拼图","推理拼图验证码"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"完整图片目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中整个拼图区域","advanced":false,"valueTypes":["rpa_element"]},{"key":"rowNum","label":"拼图行数","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"2","placeholder":"","description":"请输入拼图的行数","advanced":false,"valueTypes":["rpa_int"]},{"key":"columnNum","label":"拼图列数","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"4","placeholder":"","description":"请输入拼图的列数","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_GeneralTextV2","name":"OCR高精度文本","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标图片的高精度通用文本信息,并输出到指定变量。","messageTemplate":"$1 识别文本的内容, 然后把结果保存到 $0","baseType":"OCR_GeneralText","functionName":"OCR.GeneralTextV2","functionCalls":[{"function":"OCR.GeneralTextV2","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR高精度通用文本的","高精度通用文本的识别","高精度通用文本的信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"data","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_VatInvoiceV2","name":"OCR增值税发票","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标增值税发票图片信息,并输出到指定变量。","messageTemplate":"$1 识别增值税发票的内容, 然后把结果保存到 $0","baseType":"OCR_VatInvoice","functionName":"OCR.VatInvoiceV2","functionCalls":[{"function":"OCR.VatInvoiceV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR增值税发票","增值税发票识别","增值税发票信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_DrivingLicenseV2","name":"OCR行驶证","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标行驶证图片信息,并输出到指定变量。","messageTemplate":"$1 识别行驶证的内容, 然后把结果保存到 $0","baseType":"OCR_DrivingLicense","functionName":"OCR.DrivingLicenseV2","functionCalls":[{"function":"OCR.DrivingLicenseV2","args":["path","detectDirection","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR行驶证","行驶证识别","行驶证信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"detectDirection","label":"是否检测图片方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"勾选后自动检测图片旋转方向再识别,适合倾斜或倒置的图片","advanced":false,"valueTypes":[]},{"key":"front","label":"是否是正面","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_AccountPageV2","name":"OCR户口页","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标户口本图片信息,并输出到指定变量。","messageTemplate":"$1 识别户口页的内容, 然后把结果保存到 $0","baseType":"OCR_AccountPage","functionName":"OCR.AccountPageV2","functionCalls":[{"function":"OCR.AccountPageV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR户口本","户口本识别","户口本信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SimpleSliderVerificationCodeV2","name":"滑动条验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别滑动条验证码的滑动区域位置,并拖动滑块按钮完成验证,或返回滑块终点位置。","messageTemplate":"识别滑动条区域 $1{$$5 == 1 && '并模拟拖动滑块按钮 $2 ,自动完成验证'}{$$5 == 2 && '以及滑块按钮 $2 的相对位置,然后把结果保存到 $0'}","baseType":"OCR_SimpleSliderVerificationCode","functionName":"OCR.SimpleSliderVerificationCodeV2","functionCalls":[{"function":"OCR.SimpleSliderVerificationCodeV2","args":["sliderUiSelector","buttonUiSelector","designated_info","designated_obj","ret","showDeviation","deviation","uniform_speed","bobs"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["验证码","滑动","滑动条样式"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"sliderUiSelector","label":"滑动条区域","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择滑动条元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择滑动按钮元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"ret","label":"验证方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"返回结果的校验方式","advanced":false,"valueTypes":[]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)","advanced":false,"valueTypes":[]},{"key":"deviation","label":"deviation","widget":"number","type":"number","displayType":"sliderBar","required":false,"defaultValue":"0","placeholder":"","description":"请视滑动条拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值","advanced":false,"valueTypes":["rpa_int"]},{"key":"uniform_speed","label":"IE浏览器适配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项","advanced":true,"valueTypes":["rpa_int"]},{"key":"bobs","label":"轨迹上下浮动","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选表示启用,不勾选表示关闭","advanced":true,"valueTypes":[]}],"output":{"label":"返回数据","key":"var_name","suggestedName":"滑块终点坐标","valueTypes":["rpa_dict_huakuai_coordinate"],"fields":[{"key":"var_name","label":"返回数据","defaultValue":"滑块终点坐标","valueTypes":["rpa_dict_huakuai_coordinate"]}]},"slots":[]},{"id":"OCR_PlateLicenseV2","name":"OCR车牌","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标车牌图片信息,并输出到指定变量。","messageTemplate":"$1 识别车牌的内容, 然后把结果保存到 $0","baseType":"OCR_PlateLicense","functionName":"OCR.PlateLicenseV2","functionCalls":[{"function":"OCR.PlateLicenseV2","args":["path","multiCrop"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR车牌","车牌识别","车牌信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"multiCrop","label":"是否只返回高置信度且大于 7位的车牌号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"勾选表示启用该选项","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BankCardV2","name":"OCR银行卡","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标银行卡图片信息,并输出到指定变量。","messageTemplate":"$1识别银行卡的内容, 然后把结果保存到 $0","baseType":"OCR_BankCard","functionName":"OCR.BankCardV2","functionCalls":[{"function":"OCR.BankCardV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR银行卡","银行卡识别","银行卡信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BankCardV3","name":"OCR银行卡(自研)","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标银行卡图片信息,并输出到指定变量。","messageTemplate":"$1识别银行卡的内容, 然后把结果保存到 $0","baseType":"OCR_BankCard","functionName":"OCR.BankCardV3","functionCalls":[{"function":"OCR.BankCardV3","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR银行卡","银行卡识别","银行卡信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_IdCardV3","name":"OCR身份证(自研)","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标身份证图片信息,并输出到指定变量。","messageTemplate":"$1 识别身份证的内容, 然后把结果保存到 $0","baseType":"OCR_IdCard","functionName":"OCR.IdCardV3","functionCalls":[{"function":"OCR.IdCardV3","args":["path","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR身份证","身份证识别","身份证信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"front","label":"是否是正面","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_VatInvoiceV3","name":"OCR增值税发票(自研)","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标增值税发票图片信息,并输出到指定变量。","messageTemplate":"$1 识别增值税发票的内容, 然后把结果保存到 $0","baseType":"OCR_VatInvoice","functionName":"OCR.VatInvoiceV3","functionCalls":[{"function":"OCR.VatInvoiceV3","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR增值税发票","增值税发票识别","增值税发票信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceCommonEnglishNumbersCode","name":"普通验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别目标验证码图片信息,并输出到指定变量。","messageTemplate":"识别 $1 中类型为 $4 的验证码信息, 然后把结果保存到 $0","baseType":"OCR_SourceCommonEnglishNumbersCode","functionName":"OCR.SourceCommonEnglishNumbersCode","functionCalls":[{"function":"OCR.SourceCommonEnglishNumbersCode","args":["pictureSource","image_path","uiSelector","imageType","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"验证码图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"uiSelector","label":"验证码目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"imageType","label":"识别类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"验证码的样式类型","advanced":false,"valueTypes":[]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"验证码","valueTypes":["rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"验证码","valueTypes":["rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str","rpa_str"]}]},"slots":[]},{"id":"OCR_MergePaperOCR","name":"票据文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对财税报销、税务核算等场景所涉及的各类票据进行结构化识别,包括增值税发票、定额发票、火车票、出租车票、飞机行程单、保单等常见票据。","messageTemplate":"$2 识别常用票据的文字内容, 然后把结果保存到 $0","baseType":"OCR_MergePaperOCR","functionName":"OCR.MergePaperOCR","functionCalls":[{"function":"OCR.MergePaperOCR","args":["imageType","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceMergeCarOCR","name":"识别汽车场景文字","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对汽车场景下所涉及的各类卡证、票据进行结构化识别,包括行驶证、驾驶证、车牌、VIN码、车辆合格证等。","messageTemplate":"识别 $2 中对汽车购买及使用过程中所涉及的卡证进行文字识别, 然后把结果保存到 $0","baseType":"OCR_SourceMergeCarOCR","functionName":"OCR.SourceMergeCarOCR","functionCalls":[{"function":"OCR.SourceMergeCarOCR","args":["imageType","pictureSource","image_path","image_url","category","AppKey","SecretKey","multiCrop","detectDirection","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":["rpa_str"]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":["rpa_str"]},{"key":"multiCrop","label":"是否只返回高置信度且大于7位的车牌号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"勾选表示启用该选项","advanced":false,"valueTypes":[]},{"key":"detectDirection","label":"是否检测图片方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"勾选后自动检测图片旋转方向再识别,适合倾斜或倒置的图片","advanced":false,"valueTypes":[]},{"key":"front","label":"是否是正面","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_dict_driving_license_juhe","rpa_dict","rpa_dict","rpa_dict_driver_license_juhe","rpa_dict_driver_license_shizai","rpa_dict_plate_license_juhe","rpa_dict","rpa_dict_vin_juhe","rpa_dict","rpa_dict","rpa_dict_vehicle_lnvoice_juhe","rpa_dict","rpa_none"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_dict_driving_license_juhe","rpa_dict","rpa_dict","rpa_dict_driver_license_juhe","rpa_dict_driver_license_shizai","rpa_dict_plate_license_juhe","rpa_dict","rpa_dict_vin_juhe","rpa_dict","rpa_dict","rpa_dict_vehicle_lnvoice_juhe","rpa_dict","rpa_none"]}]},"slots":[]},{"id":"OCR_DriverLicenseV2","name":"OCR驾驶证","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标驾驶证图片信息,并输出到指定变量。","messageTemplate":"$1 识别驾照的内容, 然后把结果保存到 $0","baseType":"OCR_DriverLicense","functionName":"OCR.DriverLicenseV2","functionCalls":[{"function":"OCR.DriverLicenseV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR驾驶证","驾驶证识别","驾驶证信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SliderVerificationCodeV2","name":"滑块验证码(拼图样式)","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"对滑块验证码进行识别,然后滑动滑块至缺口处,完成验证码解锁。","messageTemplate":"拖动滑块按钮 $3, {$$0 == 2 && \"使拼图块 $2 与背景图 $1 重合\"}{$$0 == 1 && \"使拼图块与背景图 $1 重合\"}","baseType":"OCR_SliderVerificationCode","functionName":"OCR.SliderVerificationCodeV2","functionCalls":[{"function":"OCR.SliderVerificationCodeV2","args":["category","backgroundUiSelector","sliderUiSelector","buttonUiSelector","showDeviation","deviation","drag"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"根据不同的场景,不同AI引擎的识别率存在差异,可切换使用。","advanced":false,"valueTypes":[]},{"key":"backgroundUiSelector","label":"背景图目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的背景图","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderUiSelector","label":"拼图块目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中跟随滑块移动的拼图块","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑动按钮目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中可拖动的滑块","advanced":false,"valueTypes":["rpa_element"]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差","advanced":false,"valueTypes":[]},{"key":"deviation","label":"偏移量校正值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入校正数值(单位:像素)","description":"滑块相对鼠标位置,偏左—输入正值;偏右—输入负值(单位:像素)。","advanced":false,"valueTypes":["rpa_int"]},{"key":"drag","label":"拖动增强","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"仅用于IE浏览器下部分不能拖动的场景,其他场景请不要勾选","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_SliderVerificationCodeV1","name":"滑块验证码(拼图样式)","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"对滑块验证码进行识别,然后滑动滑块至缺口处,完成验证码解锁。","messageTemplate":"识别滑块验证码信息,然后滑动滑块至缺口处,完成验证码解锁。","baseType":"OCR_SliderVerificationCode","functionName":"OCR.SliderVerificationCodeV1","functionCalls":[{"function":"OCR.SliderVerificationCodeV1","args":["backgroundUiSelector","buttonUiSelector","category","showDeviation","deviation"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"backgroundUiSelector","label":"背景图目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的背景图","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑动按钮目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中可拖动的滑块","advanced":false,"valueTypes":["rpa_element"]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"根据不同的场景,不同AI引擎的识别率存在差异,可切换使用。","advanced":false,"valueTypes":[]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)","advanced":false,"valueTypes":[]},{"key":"deviation","label":"偏移量校正值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"请输入校正数值(单位:像素)","description":"滑块相对鼠标位置:偏左—输入正值;偏右—输入负值;","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_RealEstateCertV2","name":"OCR不动产权证","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标房产证图片信息,并输出到指定变量。","messageTemplate":"$1 识别不动产权证的内容, 然后把结果保存到 $0","baseType":"OCR_RealEstateCert","functionName":"OCR.RealEstateCertV2","functionCalls":[{"function":"OCR.RealEstateCertV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR表格","表格识别","表格信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SliderVerificationCode","name":"滑块验证码(拼图样式)","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"对滑块验证码进行识别,然后滑动滑块至缺口处,完成验证码解锁。","messageTemplate":"识别滑块验证码信息,然后滑动滑块至缺口处,完成验证码解锁。","baseType":"OCR_SliderVerificationCode","functionName":"OCR.SliderVerificationCode","functionCalls":[{"function":"OCR.SliderVerificationCode","args":["sliderUiSelector","backgroundUiSelector","buttonUiSelector","category"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"sliderUiSelector","label":"滑块目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"请选择验证码中的滑块元素","advanced":false,"valueTypes":[]},{"key":"backgroundUiSelector","label":"背景图目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"请选择验证码中的背景图元素","advanced":false,"valueTypes":[]},{"key":"buttonUiSelector","label":"滑动按钮目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"请选择验证码下方的滑动按钮元素","advanced":false,"valueTypes":[]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_TrainTicketV2","name":"OCR火车票","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标火车票图片信息,并输出到指定变量。","messageTemplate":"$1 识别火车票的内容, 然后把结果保存到 $0","baseType":"OCR_TrainTicket","functionName":"OCR.TrainTicketV2","functionCalls":[{"function":"OCR.TrainTicketV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR火车票","火车票识别","火车票信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_TaxiInvoiceV2","name":"OCR出租车发票","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标出租车发票图片信息,并输出到指定变量。","messageTemplate":"$1 识别出租车发票的内容, 然后把结果保存到 $0","baseType":"OCR_TaxiInvoice","functionName":"OCR.TaxiInvoiceV2","functionCalls":[{"function":"OCR.TaxiInvoiceV2","args":["data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR出租车发票","出租车发票识别","出租车发票信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"data","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_OfficialSealV2","name":"OCR公章","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标公章图片信息,并输出到指定变量。","messageTemplate":"$1 识别公章的内容, 然后把结果保存到 $0","baseType":"OCR_OfficialSeal","functionName":"OCR.OfficialSealV2","functionCalls":[{"function":"OCR.OfficialSealV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR公章","公章识别","公章信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_MergeCarOCR","name":"汽车场景文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对汽车场景下所涉及的各类卡证、票据进行结构化识别,包括行驶证、驾驶证、车牌、VIN码、车辆合格证等。","messageTemplate":"$2 对汽车购买及使用过程中所涉及的卡证进行文字识别, 然后把结果保存到 $0","baseType":"OCR_MergeCarOCR","functionName":"OCR.MergeCarOCR","functionCalls":[{"function":"OCR.MergeCarOCR","args":["imageType","image_url","category","AppKey","SecretKey","multiCrop","detectDirection","front"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]},{"key":"multiCrop","label":"是否只返回高置信度且大于7位的车牌号","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"勾选表示启用该选项","advanced":false,"valueTypes":[]},{"key":"detectDirection","label":"是否检测图片方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"勾选后自动检测图片旋转方向再识别,适合倾斜或倒置的图片","advanced":false,"valueTypes":[]},{"key":"front","label":"是否是正面","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"是否只识别正面图像","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceMergeEducationOCR","name":"识别教育场景文字","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对教育场景下所涉及的作业/试卷中公式、手写文字等内容进行结构化识别。","messageTemplate":"识别 $2 中对教育场景所涉及的手写文字, 公示等进行文字识别, 然后把结果保存到 $0","baseType":"OCR_SourceMergeEducationOCR","functionName":"OCR.SourceMergeEducationOCR","functionCalls":[{"function":"OCR.SourceMergeEducationOCR","args":["imageType","pictureSource","image_path","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":["rpa_str"]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_list","rpa_str"]}]},"slots":[]},{"id":"OCR_SliderVerificationCodeV3","name":"滑动拼图验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别验证码的拼图位置,并拖动滑块按钮完成验证,或返回拼图终点位置。","messageTemplate":"识别背景图 $2 {$$1 == 2 && '以及拼图块 $3 的位置'},{$$6 == 1 && '并模拟拖动滑块按钮 $4 ,自动完成验证'}{$$6 == 2 && '并识别滑块按钮 $4 的终点位置,然后把结果保存到 $0'}","baseType":"OCR_SliderVerificationCode","functionName":"OCR.SliderVerificationCodeV3","functionCalls":[{"function":"OCR.SliderVerificationCodeV3","args":["category","backgroundUiSelector","sliderUiSelector","buttonUiSelector","browser_type","ret","showDeviation","deviation","drag"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"backgroundUiSelector","label":"背景图","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码中的背景图元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"sliderUiSelector","label":"拼图块","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码的拼图块","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择验证码下方的滑动按钮元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"ret","label":"验证方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"返回结果的校验方式","advanced":false,"valueTypes":[]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)","advanced":false,"valueTypes":[]},{"key":"deviation","label":"deviation","widget":"number","type":"number","displayType":"sliderBar","required":false,"defaultValue":"0","placeholder":"","description":"请视验证码滑块拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值","advanced":false,"valueTypes":["rpa_int"]},{"key":"drag","label":"IE浏览器适配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项","advanced":true,"valueTypes":["rpa_int"]}],"output":{"label":"返回数据","key":"var_name","suggestedName":"拼图终点坐标","valueTypes":["rpa_dict_pintu_coordinate"],"fields":[{"key":"var_name","label":"返回数据","defaultValue":"拼图终点坐标","valueTypes":["rpa_dict_pintu_coordinate"]}]},"slots":[]},{"id":"OCR_MergeEducationOCR","name":"教育场景文字识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对教育场景下所涉及的作业/试卷中公式、手写文字等内容进行结构化识别。","messageTemplate":"$2 对教育场景所涉及的手写文字, 公示等进行文字识别, 然后把结果保存到 $0","baseType":"OCR_MergeEducationOCR","functionName":"OCR.MergeEducationOCR","functionCalls":[{"function":"OCR.MergeEducationOCR","args":["imageType","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_ClickVerificationCode","name":"点选验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"对点选验证码进行识别,然后依次点击相应位置,完成验证码解锁。","messageTemplate":"识别验证码信息,然后依次点击相应位置,完成验证码解锁。","baseType":"OCR_ClickVerificationCode","functionName":"OCR.ClickVerificationCode","functionCalls":[{"function":"OCR.ClickVerificationCode","args":["code_num","verifyPicUiSelector","verifySeqUiSelector","category"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","点选","点选验证码"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"code_num","label":"验证码图内字数","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"验证码中需要点击识别的字数范围","advanced":false,"valueTypes":[]},{"key":"verifyPicUiSelector","label":"验证码图片目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的背景图","advanced":false,"valueTypes":["rpa_element"]},{"key":"verifySeqUiSelector","label":"点选文字目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码提示中要识别的文字","advanced":false,"valueTypes":["rpa_element"]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_SourceCommonEnglishNumbersCodeV1","name":"普通验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别目标验证码图片信息,并输出到指定变量。","messageTemplate":"识别 $1 $3$4 验证码信息, 然后把结果保存到 $0","baseType":"OCR_SourceCommonEnglishNumbersCode","functionName":"OCR.SourceCommonEnglishNumbersCodeV1","functionCalls":[{"function":"OCR.SourceCommonEnglishNumbersCodeV1","args":["imageType","pictureSource","image_path","uiSelector","browser_type","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"识别类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"数英混合","placeholder":"","description":"根据验证码图片内容,选择对应的验证码识别类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"uiSelector","label":"图片目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"识别结果","key":"var_name","suggestedName":"验证码","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"识别结果","defaultValue":"验证码","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"OCR_HouseCertV2","name":"OCR房产证","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标房产证图片信息,并输出到指定变量。","messageTemplate":"$1 房产证识别, 然后把结果保存到 $0","baseType":"OCR_HouseCert","functionName":"OCR.HouseCertV2","functionCalls":[{"function":"OCR.HouseCertV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR房产证","房产证识别","房产证信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_PuzzleVerificationCode_v2","name":"推理拼图验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"拖动并交换两个拼图块的位置使图片复原,完成验证码解锁。","messageTemplate":"识别完整图片 $0,并自动完成验证","baseType":"OCR_PuzzleVerificationCode","functionName":"OCR.PuzzleVerificationCode_v2","functionCalls":[{"function":"OCR.PuzzleVerificationCode_v2","args":["verifyPicUiSelector","designated_info","designated_obj","rowNum","columnNum"],"assignTo":""}],"version":"3.3.5.0","tags":["验证码","推理拼图","推理拼图验证码"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"verifyPicUiSelector","label":"完整图片目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择待拼图的完整图片元素(非小图)","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后需在下方指定目标网页或窗口;不勾选则作用于当前活动窗口","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"目标网页或窗口对象;留空则作用于当前活动窗口","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"rowNum","label":"拼图行数","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"2","placeholder":"","description":"请输入拼图的行数","advanced":false,"valueTypes":[]},{"key":"columnNum","label":"拼图列数","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"4","placeholder":"","description":"请输入拼图的列数","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"OCR_CommonEnglishNumbersCode","name":"普通验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别目标验证码图片信息,并输出到指定变量。","messageTemplate":"$1 识别普通验证码的内容, 然后把结果保存到 $0","baseType":"OCR_CommonEnglishNumbersCode","functionName":"OCR.CommonEnglishNumbersCode","functionCalls":[{"function":"OCR.CommonEnglishNumbersCode","args":["path","resources","typeid","scenario"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"resources","label":"服务资源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"从下拉列表中选择一项","advanced":false,"valueTypes":[]},{"key":"typeid","label":"识别类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"从下拉列表中选择一项","advanced":false,"valueTypes":[]},{"key":"scenario","label":"场景设置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"输入内容或 ${变量}","description":"选填,自研验证码服务","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceMergePaperOCR","name":"识别票据文字","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对财税报销、税务核算等场景所涉及的各类票据进行结构化识别,包括增值税发票、定额发票、火车票、出租车票、飞机行程单、保单等常见票据。","messageTemplate":"识别 $2 中常用票据的文字内容, 然后把结果保存到 $0","baseType":"OCR_SourceMergePaperOCR","functionName":"OCR.SourceMergePaperOCR","functionCalls":[{"function":"OCR.SourceMergePaperOCR","args":["imageType","pictureSource","image_path","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"imageType","label":"图片类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"图片文件的格式类型","advanced":false,"valueTypes":[]},{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":["rpa_str"]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_dict_vat_lnvoice_shizai","rpa_dict_vat_lnvoice_juhe","rpa_dict","rpa_dict","rpa_dict","rpa_dict_train_ticket_juhe","rpa_dict","rpa_dict_taxi_lnvoice_juhe","rpa_dict","rpa_dict","rpa_dict","rpa_dict","rpa_none"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_dict_vat_lnvoice_shizai","rpa_dict_vat_lnvoice_juhe","rpa_dict","rpa_dict","rpa_dict","rpa_dict_train_ticket_juhe","rpa_dict","rpa_dict_taxi_lnvoice_juhe","rpa_dict","rpa_dict","rpa_dict","rpa_dict","rpa_none"]}]},"slots":[]},{"id":"OCR_SimpleSliderVerificationCodeV1","name":"滑动条验证码","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别滑动条验证码的滑动区域位置,并拖动滑块按钮完成验证,或返回滑块终点位置。","messageTemplate":"识别滑动条区域 $1{$$4 == 1 && '并模拟拖动滑块按钮 $2 ,自动完成验证'}{$$4 == 2 && '以及滑块按钮 $2 的相对位置,然后把结果保存到 $0'}","baseType":"OCR_SimpleSliderVerificationCode","functionName":"OCR.SimpleSliderVerificationCodeV1","functionCalls":[{"function":"OCR.SimpleSliderVerificationCodeV1","args":["sliderUiSelector","buttonUiSelector","browser_type","ret","showDeviation","deviation","uniform_speed","bobs"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["验证码","滑动","滑动条样式"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"sliderUiSelector","label":"滑动条区域","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择滑动条元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"buttonUiSelector","label":"滑块按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"请选择滑动按钮元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"ret","label":"验证方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"返回结果的校验方式","advanced":false,"valueTypes":[]},{"key":"showDeviation","label":"校正偏移量","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"用于校正鼠标拖动与滑块移动不同步的误差(单位:像素)","advanced":false,"valueTypes":[]},{"key":"deviation","label":"deviation","widget":"number","type":"number","displayType":"sliderBar","required":false,"defaultValue":"0","placeholder":"","description":"请视滑动条拖动的实际偏移情况,输入校准值,偏左则输入正值,偏右输入负值","advanced":false,"valueTypes":["rpa_int"]},{"key":"uniform_speed","label":"IE浏览器适配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"如果IE浏览器无法正常拖动滑块按钮时,可勾选此选项","advanced":true,"valueTypes":["rpa_int"]},{"key":"bobs","label":"轨迹上下浮动","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选表示启用,不勾选表示关闭","advanced":true,"valueTypes":[]}],"output":{"label":"返回数据","key":"var_name","suggestedName":"滑块终点坐标","valueTypes":["rpa_dict_huakuai_coordinate"],"fields":[{"key":"var_name","label":"返回数据","defaultValue":"滑块终点坐标","valueTypes":["rpa_dict_huakuai_coordinate"]}]},"slots":[]},{"id":"OCR_BusinessLicenseV2","name":"OCR营业执照","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标营业执照图片信息,并输出到指定变量。","messageTemplate":"$1 识别营业执照的内容, 然后把结果保存到 $0","baseType":"OCR_BusinessLicense","functionName":"OCR.BusinessLicenseV2","functionCalls":[{"function":"OCR.BusinessLicenseV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR营业执照","营业执照识别","营业执照信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_VinV2","name":"OCR车辆vin码","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"识别目标车辆vin码图片信息,并输出到指定变量。","messageTemplate":"$1 识别vin码的内容, 然后把结果保存到 $0","baseType":"OCR_Vin","functionName":"OCR.VinV2","functionCalls":[{"function":"OCR.VinV2","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR车辆vin码","车辆vin码识别","车辆vin码信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_SourceMergeGeneralOCR_V1","name":"识别通用文字","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"识别 $1 中 $3 文本的内容, 然后把结果保存到 $0","baseType":"OCR_SourceMergeGeneralOCR","functionName":"OCR.SourceMergeGeneralOCR_V1","functionCalls":[{"function":"OCR.SourceMergeGeneralOCR_V1","args":["pictureSource","image_path","uiSelector","image_url","category","AppKey","SecretKey"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"image_url","label":"图片URL","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入URL链接","description":"图片的访问链接(请确认链接能正常访问)","advanced":false,"valueTypes":["rpa_str"]},{"key":"category","label":"AI引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]},{"key":"AppKey","label":"用户API Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云的访问密钥ID(Access Key Id)","advanced":false,"valueTypes":["rpa_str"]},{"key":"SecretKey","label":"用户APP secret Key","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入您的百度智能云秘密访问密钥(Secret Access Key)","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"识别的文字","valueTypes":["rpa_dict","rpa_dict","rpa_dict_general_ocr"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"识别的文字","valueTypes":["rpa_dict","rpa_dict","rpa_dict_general_ocr"]}]},"slots":[]},{"id":"OCR_SliderVerificationCodePosition","name":"获取拼图滑块位置","kind":"vendor","group":"vision","categories":["VerificationCode"],"categorySignature":"VerificationCode","description":"识别滑块验证码信息,然后返回滑动按钮起点终点坐标。","messageTemplate":"识别滑块验证码信息,然后返回滑动按钮起点终点坐标, 然后把结果保存到 $0","baseType":"OCR_SliderVerificationCodePosition","functionName":"OCR.SliderVerificationCodePosition","functionCalls":[{"function":"OCR.SliderVerificationCodePosition","args":["backgroundUiSelector","buttonUiSelector","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["验证码","滑动"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"backgroundUiSelector","label":"背景图目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中的背景图","advanced":false,"valueTypes":[]},{"key":"buttonUiSelector","label":"滑动按钮目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"验证码中可拖动的滑块","advanced":false,"valueTypes":[]},{"key":"category","label":"识别引擎","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出滑块起始坐标","key":"var_name","suggestedName":"滑块起始坐标","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出滑块起始坐标","defaultValue":"滑块起始坐标","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"OcrOffline_ClickOcrText_V1","name":"鼠标点击OCR文本","kind":"vendor","group":"vision","categories":["OCR","peripheral_device"],"categorySignature":"OCR|peripheral_device","description":"鼠标点击OCR文本。","messageTemplate":"鼠标点击 $1 文本, 然后把结果保存到 $0","baseType":"OcrOffline_ClickOcrText","functionName":"OcrOffline.ClickOcrText_V1","functionCalls":[{"function":"OcrOffline.ClickOcrText_V1","args":["uiSelector","textToFind","show_track"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","文字","字符","字符串","文本内容","鼠标","鼠标设备","鼠标操作"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"需要识别的屏幕区域","advanced":false,"valueTypes":["rpa_element"]},{"key":"textToFind","label":"匹配文字","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文字字符","description":"需要识别点击的文本","advanced":false,"valueTypes":["rpa_str"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"点击结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"点击结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"OcrOffline_GetOcrTextNew","name":"图像OCR识别","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"图像OCR识别。","messageTemplate":"识别 $1 文本, 然后把结果保存到 $0","baseType":"OcrOffline_GetOcrTextNew","functionName":"OcrOffline.GetOcrTextNew","functionCalls":[{"function":"OcrOffline.GetOcrTextNew","args":["uiSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":false,"defaultValue":"","placeholder":"","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"OcrOffline_GetOcrTable","name":"获取表格数据(OCR)","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"采集软件或网页中可见的表格数据,并将数据保存到二维表中或变量中。","messageTemplate":"识别 $1 内表格内容 $2 的数据, 然后把结果保存到 $0","baseType":"OcrOffline_GetOcrTable","functionName":"OcrOffline.GetOcrTable","functionCalls":[{"function":"OcrOffline.GetOcrTable","args":["pictureSource","uiSelector","imagePath","showTable","isExcel","excelName","excelPath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到","数据","资料","数据信息"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标","widget":"region","type":"object","displayType":"makeOcrTableSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"imagePath","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选表示启用,不勾选表示关闭","advanced":false,"valueTypes":[]},{"key":"isExcel","label":"将结果保存至Excel","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选表示启用,不勾选表示关闭","advanced":false,"valueTypes":[]},{"key":"excelName","label":"Excel 名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"表格数据_${randomString}.xlsx","placeholder":"输入内容或 ${变量}","description":"填写参数值,支持 ${变量} 引用上游输出","advanced":false,"valueTypes":[]},{"key":"excelPath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"${res}","placeholder":"如 D:\\output","description":"文件夹的完整路径;点右侧按钮浏览选择,支持 ${变量} 引用","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"表格数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"表格数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"OcrOffline_GetOcrTextPosition","name":"图像OCR识别(含坐标)","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别,并输出包含文本坐标的结果文件。","messageTemplate":"识别 $1 文本内容 $2, 然后把结果保存到 $0","baseType":"OcrOffline_GetOcrTextPosition","functionName":"OcrOffline.GetOcrTextPosition","functionCalls":[{"function":"OcrOffline.GetOcrTextPosition","args":["pictureSource","uiSelector","image_path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["OCR","发票"],"platformTag":"win32","icon":"vision","risk":"low","fields":[{"key":"pictureSource","label":"图像源","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"图像来源:从本地文件读取,或运行时截取屏幕","advanced":false,"valueTypes":[]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":true,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"目标元素选择器;网页元素可点「浏览器拾取」自动生成","advanced":false,"valueTypes":["rpa_element"]},{"key":"image_path","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择本地路径","description":"图片的存储路径(请确认路径存在)","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图像识别","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图像识别","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"OcrOffline_MoveToOcrText","name":"鼠标移动到OCR文本上","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"鼠标移动到OCR文本上。","messageTemplate":"鼠标移动到 $1 文本上, 然后把结果保存到 $0","baseType":"OcrOffline_MoveToOcrText","functionName":"OcrOffline.MoveToOcrText","functionCalls":[{"function":"OcrOffline.MoveToOcrText","args":["uiSelector","textToFind","show_track"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":false,"defaultValue":"","placeholder":"","description":"需要识别的屏幕区域","advanced":false,"valueTypes":["rpa_element"]},{"key":"textToFind","label":"匹配文字","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文字字符","description":"需要识别定位的文本","advanced":false,"valueTypes":["rpa_str"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"移动结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"移动结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"OcrOffline_ClickOcrText","name":"鼠标点击OCR文本","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"鼠标点击OCR文本。","messageTemplate":"鼠标点击 $1 文本, 然后把结果保存到 $0","baseType":"OcrOffline_ClickOcrText","functionName":"OcrOffline.ClickOcrText","functionCalls":[{"function":"OcrOffline.ClickOcrText","args":["uiSelector","textToFind","show_track"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":false,"defaultValue":"","placeholder":"请拾取或选择目标元素","description":"需要识别的屏幕区域","advanced":false,"valueTypes":["rpa_element"]},{"key":"textToFind","label":"匹配文字","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文字字符","description":"需要识别点击的文本","advanced":false,"valueTypes":["rpa_str"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后运行时显示鼠标移动轨迹动画,便于观察执行过程","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"点击结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"点击结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"OcrOffline_MoveToOcrText_V1","name":"鼠标移动到OCR文本上","kind":"vendor","group":"vision","categories":["OCR","peripheral_device"],"categorySignature":"OCR|peripheral_device","description":"鼠标移动到OCR文本上。","messageTemplate":"鼠标移动到 $1 文本上, 然后把结果保存到 $0","baseType":"OcrOffline_MoveToOcrText","functionName":"OcrOffline.MoveToOcrText_V1","functionCalls":[{"function":"OcrOffline.MoveToOcrText_V1","args":["uiSelector","textToFind","show_track"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","文字","字符","字符串","文本内容","鼠标","鼠标设备","鼠标操作"],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"uiselectorOcr","required":true,"defaultValue":"","placeholder":"","description":"需要识别的屏幕区域","advanced":false,"valueTypes":["rpa_element"]},{"key":"textToFind","label":"匹配文字","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文字字符","description":"需要识别定位的文本","advanced":false,"valueTypes":["rpa_str"]},{"key":"show_track","label":"展示鼠标移动轨迹","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"移动结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"移动结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"OCR_BaiDu_CarOCR","name":"汽车场景类OCR","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"用户AppKey $1 用户SecretKey $2 对 汽车场景下类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0","baseType":"OCR_BaiDu_CarOCR","functionName":"OCR_BaiDu.CarOCR","functionCalls":[{"function":"OCR_BaiDu.CarOCR","args":["AppKey","SecretKey","image_url","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"AppKey","label":"用户AppKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 API Key,在百度云控制台创建应用后获取","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户SecretKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 Secret Key,与 API Key 配对使用","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"图片在汽车场景下的分类","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BaiDu_OtherOCR","name":"其他场景类OCR","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"用户AppKey $1 用户SecretKey $2 对 其他场景下类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0","baseType":"OCR_BaiDu_OtherOCR","functionName":"OCR_BaiDu.OtherOCR","functionCalls":[{"function":"OCR_BaiDu.OtherOCR","args":["AppKey","SecretKey","image_url","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"AppKey","label":"用户AppKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 API Key,在百度云控制台创建应用后获取","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户SecretKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 Secret Key,与 API Key 配对使用","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"图片在其他场景下的分类","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BaiDu_EducationOCR","name":"教育场景类OCR","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"用户AppKey $1 用户SecretKey $2 对 教育场景下类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0","baseType":"OCR_BaiDu_EducationOCR","functionName":"OCR_BaiDu.EducationOCR","functionCalls":[{"function":"OCR_BaiDu.EducationOCR","args":["AppKey","SecretKey","image_url","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"AppKey","label":"用户AppKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 API Key,在百度云控制台创建应用后获取","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户SecretKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 Secret Key,与 API Key 配对使用","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"图片在教育场景下的分类","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BaiDu_GeneralOCR","name":"通用OCR","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"用户AppKey $1 用户SecretKey $2 对 $3 进行OCR识别, 然后把结果保存到 $0","baseType":"OCR_BaiDu_GeneralOCR","functionName":"OCR_BaiDu.GeneralOCR","functionCalls":[{"function":"OCR_BaiDu.GeneralOCR","args":["AppKey","SecretKey","image_url"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"AppKey","label":"用户AppKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 API Key,在百度云控制台创建应用后获取","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户SecretKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 Secret Key,与 API Key 配对使用","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BaiDu_CardOCR","name":"卡片类OCR","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"用户AppKey $1 用户SecretKey $2 对 卡证类型为 $4 的$3 进行OCR识别, 然后把结果保存到 $0","baseType":"OCR_BaiDu_CardOCR","functionName":"OCR_BaiDu.CardOCR","functionCalls":[{"function":"OCR_BaiDu.CardOCR","args":["AppKey","SecretKey","image_url","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"AppKey","label":"用户AppKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 API Key,在百度云控制台创建应用后获取","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户SecretKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 Secret Key,与 API Key 配对使用","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"图片在卡证的分类","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"OCR_BaiDu_PaperOCR","name":"票据类OCR","kind":"vendor","group":"vision","categories":["OCR"],"categorySignature":"OCR","description":"对目标文本内容进行通用OCR识别。","messageTemplate":"用户AppKey $1 用户SecretKey $2 对 票据类型为 $4 的 $3 进行OCR识别, 然后把结果保存到 $0","baseType":"OCR_BaiDu_PaperOCR","functionName":"OCR_BaiDu.PaperOCR","functionCalls":[{"function":"OCR_BaiDu.PaperOCR","args":["AppKey","SecretKey","image_url","category"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"vision","risk":"low","fields":[{"key":"AppKey","label":"用户AppKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 API Key,在百度云控制台创建应用后获取","advanced":false,"valueTypes":[]},{"key":"SecretKey","label":"用户SecretKey","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"百度智能云应用的 Secret Key,与 API Key 配对使用","advanced":false,"valueTypes":[]},{"key":"image_url","label":"图片地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"图片文件的完整路径,用于匹配或识别;点右侧按钮选择文件","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"category","label":"图片在票据的分类","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"","placeholder":"","description":"使用的识别引擎类型","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"PDF_GetPdfInformation","name":"获取 PDF 文档信息","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"获取指定PDF 文档的信息,并以字典格式保存到变量中。","messageTemplate":"获取指定的 $1 的信息 , 然后把结果保存到 $0","baseType":"PDF_GetPdfInformation","functionName":"PDF.GetPdfInformation","functionCalls":[{"function":"PDF.GetPdfInformation","args":["fileInPath","pdfPassWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要提取信息的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"PDF文档信息","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"PDF文档信息","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"PDF_SetPdfWaterMark","name":"PDF 加水印","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"给指定的PDF 文档增加水印,并生成新的 PDF保存到指定的文件夹中。","messageTemplate":"给指定的 $1 添加水印生成新的PDF文档,并保存到指定文件夹中, 然后把结果保存到 $0","baseType":"PDF_SetPdfWaterMark","functionName":"PDF.SetPdfWaterMark","functionCalls":[{"function":"PDF.SetPdfWaterMark","args":["fileInPath","pdfPassWord","markType","markTextInfo","markImageInfo","newPdfName","isPassWord","newPdfPassWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要提取信息的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"markType","label":"水印类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"text","placeholder":"","description":"默认文字水印给整个PDF添加。","advanced":false,"valueTypes":[]},{"key":"markTextInfo","label":"水印文字内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入水印文字","description":"设置水印内容。","advanced":false,"valueTypes":["rpa_str"]},{"key":"markImageInfo","label":"图片水印内容","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"设置水印内容。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"newPdfName","label":"新 PDF 文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"PDF加水印.pdf","placeholder":"请输入加水印后文件名,需加文件后缀","description":"输入加水印后生成的新PDF文件名称,需加“.pdf”文件后缀,若文件重复则自动覆盖","advanced":false,"valueTypes":["rpa_str"]},{"key":"isPassWord","label":"新 PDF 文件是否加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"加水印后新生成的 PDF文件是否需要加密,加密选择是,需要填写密码。","advanced":false,"valueTypes":[]},{"key":"newPdfPassWord","label":"新PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入新PDF文件密码","description":"输入加水印后的文件密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"PDF文件","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"PDF文件","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_PdfEncryption","name":"加密 PDF 文档","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"把指定未加密的PDF 文档进行加密,并把文件路径保存到指定变量输出。","messageTemplate":"把指定未加密的普通 $1,进行加密后保存到指定文件夹中 , 然后把结果保存到 $0","baseType":"PDF_PdfEncryption","functionName":"PDF.PdfEncryption","functionCalls":[{"function":"PDF.PdfEncryption","args":["fileInPath","passWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["加密","数据加密","加密处理","加密数据","数据加密处理"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要加密的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"passWord","label":"设置PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请设置PDF文件密码","description":"设置打开PDF 文件需要输入的密码。","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"加密文档路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"加密文档路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_GetPdfImg","name":"提取 PDF 图片","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"提取指定PDF 文件中指定页面内的图片,并保存到指定文件夹中。","messageTemplate":"提取指定的 $1 中指定的页面的图片 , 然后把结果保存到 $0","baseType":"PDF_GetPdfImg","functionName":"PDF.GetPdfImg","functionCalls":[{"function":"PDF.GetPdfImg","args":["fileInPath","pdfPassWord","pdfRange","pdfNum","imgSavePath","imageType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要提取图片的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pdfRange","label":"PDF 页面范围","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"all","placeholder":"","description":"选择提取全部页面图片还是指定页码图片。","advanced":false,"valueTypes":[]},{"key":"pdfNum","label":"指定页码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入PDF文件页码","description":"指定需要提取图片的PDF 页码,可以是单个页码(1)、多个页码(1,3)、区间页码(1-3)。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"imgSavePath","label":"图片保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择图片保存路径","description":"请输入保存图片的文件夹,若文件夹不存在会自动创建文件夹。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"imageType","label":"图片格式","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"png","placeholder":"","description":"选择保存为何种格式图片","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"输出图片路径","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"输出图片路径","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"PDF_GetPdfPageNum","name":"获取 PDF 总页数","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"获取指定PDF 文档的总页数,并以整数类型保存到变量中。","messageTemplate":"获取指定的 $1 的总页数 , 然后把结果保存到 $0","baseType":"PDF_GetPdfPageNum","functionName":"PDF.GetPdfPageNum","functionCalls":[{"function":"PDF.GetPdfPageNum","args":["fileInPath","pdfPassWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要获取总页数的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"总页数","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"总页数","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_ConcatPdf","name":"合并 PDF 文档","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"把指定的PDF 文档合并成一个新的 PDF 文档,并保存到指定的文件夹中。","messageTemplate":"把指定的 PDF 文档合并成一个 $1,并保存到指定文件夹中 , 然后把结果保存到 $0","baseType":"PDF_ConcatPdf","functionName":"PDF.ConcatPdf","functionCalls":[{"function":"PDF.ConcatPdf","args":["newPdfPath","newPdfName","isPassword","newPassword","pdfList"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"newPdfPath","label":"新 PDF 文件路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择合并后文件保存路径","description":"输入合并后的PDF文档的保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"newPdfName","label":"新 PDF 文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入合并后文件名称","description":"输入合并后文件名称,需加“.pdf”文件后缀,输入合并后的PDF文档的保存路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"isPassword","label":"新 PDF 文件加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"新 PDF文件是否需要加密,加密的选择是,需要填写密码。","advanced":false,"valueTypes":[]},{"key":"newPassword","label":"新PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pdfList","label":"需要合并的PDF 文件及密码","widget":"text","type":"string","displayType":"mergePdfFile","required":false,"defaultValue":"","placeholder":"","description":"选择需要合并的PDF 文件及对应的打开需要的密码,若无密码可不输入密码。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"合并文档路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"合并文档路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_ConcatPdfV1","name":"合并 PDF 文档","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"把指定的PDF 文档合并成一个新的 PDF 文档,并保存到指定的文件夹中。","messageTemplate":"把指定的 PDF 文档合并成一个 $1,并保存到指定文件夹中 , 然后把结果保存到 $0","baseType":"ConcatPdf","functionName":"PDF.ConcatPdfV1","functionCalls":[{"function":"PDF.ConcatPdfV1","args":["pdfList","is_need_password","password","password_split_ele","newPdfPath","newPdfName","isPassword","newPassword","action"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["PDF"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"pdfList","label":"待合并的PDF文件","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"输入或选择需要合并的文件路径","description":"需要合并的PDF文件路径;常规模式下,多个文件路径请使用分号隔离;代码模式下,多个文件路径的字符串请使用分号隔离","advanced":false,"valueTypes":["rpa_str"]},{"key":"is_need_password","label":"文件需要密码","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"待合并的PDF文件是否需要密码","advanced":false,"valueTypes":[]},{"key":"password","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"输入密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"password_split_ele","label":"密码分隔符","widget":"textarea","type":"string","displayType":"textArea","required":true,"defaultValue":"","placeholder":"输入密码分隔符","description":"分割多个密码使用的分割符","advanced":false,"valueTypes":["rpa_str"]},{"key":"newPdfPath","label":"新 PDF 文件路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择合并后文件保存路径","description":"输入合并后的PDF文档的保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"newPdfName","label":"新 PDF 文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入合并后文件名称","description":"输入合并后文件名称,需加“.pdf”文件后缀,输入合并后的PDF文档的保存路径","advanced":false,"valueTypes":["rpa_str"]},{"key":"isPassword","label":"新 PDF 文件加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"新 PDF文件是否需要加密,加密的选择是,需要填写密码。","advanced":false,"valueTypes":[]},{"key":"newPassword","label":"新PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件/文件夹名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件/文件夹。跳过,跳过本次操作。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"合并文档路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"合并文档路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_GetPdfTable","name":"读取 PDF 表格","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"提取指定PDF 文件中指定页面的表格数据,并以嵌套数组格式保存到变量中。(建议Python环境升级至3.11使用)。","messageTemplate":"提取指定的 $1 中指定的页面的表格数据 , 然后把结果保存到 $0","baseType":"PDF_GetPdfTable","functionName":"PDF.GetPdfTable","functionCalls":[{"function":"PDF.GetPdfTable","args":["fileInPath","pdfPassWord","pdfRange","pdfNum"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息","表格","数据表","表格数据"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要提取表格的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pdfRange","label":"PDF 页面范围","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"all","placeholder":"","description":"选择提取全部页面图片还是指定页码图片。","advanced":false,"valueTypes":[]},{"key":"pdfNum","label":"指定页码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入PDF文件页码","description":"指定需要提取表格的PDF 页码,可以是单个页码(1)、多个页码(1,3)、区间页码(1-3)。","advanced":false,"valueTypes":["rpa_str","rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"PDF表格数据","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"PDF表格数据","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"PDF_PdfToImg","name":"PDF 转图片","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"把指定的 PDF 文档中指定的页面转化为图片,保存到指定文件夹中。","messageTemplate":"将PDF $1 转为图片, 输出到目录 $6 , 然后把结果保存到 $0","baseType":"PDF_PdfToImg","functionName":"PDF.PdfToImg","functionCalls":[{"function":"PDF.PdfToImg","args":["fileInPath","pdfPassWord","pdfRange","pdfNum","imageName","pdfSavePath","imageType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要转换为图片的 PDF文件。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pdfRange","label":"PDF 页面范围","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"all","placeholder":"","description":"选择全部页面转为图片还是指定页码转为图片。","advanced":false,"valueTypes":[]},{"key":"pdfNum","label":"指定页码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入PDF文件页码","description":"指定需要转换为图片的PDF 页码,可以是单个页码(1)、多个页码(1,3)、区间页码(1-3)。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"imageName","label":"图片名称前缀","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入图片名前缀,输出图片名为“前缀_时间戳_后缀”","description":"图片的名称前缀,若保存多个图片时自动在图片名称后加页码后缀。图片的名称:前缀_时间戳_后缀,例如:图片_1203102301_1,图片名称重复时会覆盖。","advanced":false,"valueTypes":["rpa_str"]},{"key":"pdfSavePath","label":"图片保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择图片保存路径","description":"请输入保存图片的文件夹,若文件夹不存在会自动创建文件夹。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"imageType","label":"图片格式","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"png","placeholder":"","description":"选择保存为何种格式图片","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"图片路径","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"图片路径","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"PDF_CreateNewPdf","name":"生成新的 PDF 文档","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"把指定的PDF 文档提取指定页面存为新的PDF文档,并保存到指定的文件夹中。","messageTemplate":"把指定的 $1 提取指定页面存为新的 PDF 文档 , 然后把结果保存到 $0","baseType":"PDF_CreateNewPdf","functionName":"PDF.CreateNewPdf","functionCalls":[{"function":"PDF.CreateNewPdf","args":["fileInPath","pdfPassWord","pdfRange","pdfNum","newPdfPath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["生成","产生","生成数据","创建","制作"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要生成为新的 PDF 文档的PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pdfRange","label":"PDF 页面范围","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"all","placeholder":"","description":"选择全部页面提取还是指定页码提取生成新的 PDF。","advanced":false,"valueTypes":[]},{"key":"pdfNum","label":"指定页码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入PDF文件页码","description":"指定需要提取的 PDF 页码,可以是单个页码:“1”,多个单页码:“1,3”,区间页码:“1-3”。","advanced":false,"valueTypes":["rpa_str","rpa_int"]},{"key":"newPdfPath","label":"新PDF存储路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择生成后的文件保存路径","description":"新生成的PDF文档保存的文件夹路径。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"新PDF文档路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"新PDF文档路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_GetPdfText","name":"读取 PDF 文本","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"提取指定的PDF 文件中指定页面的内容,并以文字保存到变量。","messageTemplate":"提取指定的 $1 中指定页面的内容 , 然后把结果保存到 $0","baseType":"PDF_GetPdfText","functionName":"PDF.GetPdfText","functionCalls":[{"function":"PDF.GetPdfText","args":["fileInPath","pdfPassWord","pdfRange","pdfNum"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取","读取到","读取数据","读出","读取信息","文本","文字","字符"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要提取文本的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"pdfRange","label":"PDF 页面范围","widget":"radio","type":"string","displayType":"radio","required":false,"defaultValue":"all","placeholder":"","description":"选择提取 PDF 的全部页面或指定页码文本。","advanced":false,"valueTypes":[]},{"key":"pdfNum","label":"指定页码","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入PDF文件页码","description":"指定需要提取文本的PDF 页码,可以是单个页码 \"1\"、多个页码 \"1,3\"、区间页码 \"1-3\"。","advanced":false,"valueTypes":["rpa_str","rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"PDF_SetPdfWaterMarkV1","name":"PDF 加水印","kind":"vendor","group":"office","categories":["pdf"],"categorySignature":"pdf","description":"给指定的PDF 文档增加水印,并生成新的 PDF保存到指定的文件夹中。","messageTemplate":"给指定的 $1 添加水印生成新的PDF文档,并保存到指定文件夹中, 然后把结果保存到 $0","baseType":"PDF_SetPdfWaterMark","functionName":"PDF.SetPdfWaterMarkV1","functionCalls":[{"function":"PDF.SetPdfWaterMarkV1","args":["fileInPath","pdfPassWord","markType","markTextInfo","markImageInfo","markPosition","newPdfName","isPassWord","newPdfPassWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["PDF"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"fileInPath","label":"PDF文件路径","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择PDF文件路径","description":"请输入本地需要提取信息的 PDF 文件路径。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"pdfPassWord","label":"PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入PDF文件密码","description":"打开PDF文件需要的密码,若无密码可不输入。","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"markType","label":"水印类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"text","placeholder":"","description":"默认文字水印给整个PDF添加。","advanced":false,"valueTypes":[]},{"key":"markTextInfo","label":"水印文字内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入水印文字","description":"设置水印内容。","advanced":false,"valueTypes":["rpa_str"]},{"key":"markImageInfo","label":"图片水印内容","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"设置水印内容。","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"markPosition","label":"水印位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择水印在每页上添加的位置","advanced":false,"valueTypes":[]},{"key":"newPdfName","label":"新 PDF 文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"PDF加水印.pdf","placeholder":"请输入加水印后文件名,需加文件后缀","description":"输入加水印后生成的新PDF文件名称,需加“.pdf”文件后缀,若文件重复则自动覆盖","advanced":false,"valueTypes":["rpa_str"]},{"key":"isPassWord","label":"新 PDF 文件是否加密","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"加水印后新生成的 PDF文件是否需要加密,加密选择是,需要填写密码。","advanced":false,"valueTypes":[]},{"key":"newPdfPassWord","label":"新PDF文件密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入新PDF文件密码","description":"输入加水印后的文件密码","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"PDF文件","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"PDF文件","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"peripherals_UsbCom","name":"开/关USB通道","kind":"vendor","group":"mobile","categories":["peripherals"],"categorySignature":"peripherals","description":"打开或关闭USB端口使用USB Hub上某一个端口的USB设备信息。","messageTemplate":"$1 串口名称 $2 和通道号 $3 的USB通道, 然后把结果保存到 $0","baseType":"peripherals_UsbCom","functionName":"peripherals.UsbCom","functionCalls":[{"function":"peripherals.UsbCom","args":["handle","USBcoms","channel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["peripherals"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"handle","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"支持关闭或打开USB通道","advanced":false,"valueTypes":[]},{"key":"USBcoms","label":"USBcoms","widget":"text","type":"string","displayType":"USBGetComs","required":true,"defaultValue":"","placeholder":"请输入连接串口号","description":"输入连接串口号(USB hub连接电脑的COM接口,常用的有COM3),可在电脑设备管理查看电脑端口号。","advanced":false,"valueTypes":["rpa_str"]},{"key":"channel","label":"通道号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"输入需打开/关闭的序号","description":"输入需打开/关闭的序号,一个USB hub一般有很多USB口,每个USB口有不同的序号。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"USB开关结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"USB开关结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"peripherals_CloseNetworkUsbCom","name":"关闭NetworkUSB通道","kind":"vendor","group":"mobile","categories":["peripherals"],"categorySignature":"peripherals","description":"关闭Usb端口使用Usb Hub上某一个端口的USB设备信息。","messageTemplate":"填写串口ip地址 $1,端口号 $2和通道号 $3 关闭NetworkUSB通道, 然后把结果保存到 $0","baseType":"peripherals_CloseNetworkUsbCom","functionName":"peripherals.CloseNetworkUsbCom","functionCalls":[{"function":"peripherals.CloseNetworkUsbCom","args":["ipAddress","port","channel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"3240","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"channel","label":"通道号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"peripherals_CloseUsbCom","name":"关闭USB通道","kind":"vendor","group":"mobile","categories":["peripherals"],"categorySignature":"peripherals","description":"关闭Usb端口使用Usb Hub上某一个端口的USB设备信息。","messageTemplate":"选择串口名称 $1 和通道号 $2 关闭USB通道, 然后把结果保存到 $0","baseType":"peripherals_CloseUsbCom","functionName":"peripherals.CloseUsbCom","functionCalls":[{"function":"peripherals.CloseUsbCom","args":["USBcoms","channel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"USBcoms","label":"USBcoms","widget":"text","type":"string","displayType":"USBGetComs","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"channel","label":"通道号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"peripherals_NetworkUsbCom","name":"开/关NetworkUSB通道","kind":"vendor","group":"mobile","categories":["peripherals"],"categorySignature":"peripherals","description":"打开或关闭基于网络连接的USB端口使用USB Hub上某一个端口的USB设备信息。","messageTemplate":"$1 串口ip地址 $2,端口号 $3 和通道号 $4 的NetworkUSB通道, 然后把结果保存到 $0","baseType":"peripherals_NetworkUsbCom","functionName":"peripherals.NetworkUsbCom","functionCalls":[{"function":"peripherals.NetworkUsbCom","args":["handle","ipAddress","port","channel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["peripherals"],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"handle","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"支持关闭或打开Network USB通道","advanced":false,"valueTypes":[]},{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入远程连接的ip地址","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"3240","placeholder":"请输入连接端口号","description":"输入连接端口号","advanced":false,"valueTypes":["rpa_int"]},{"key":"channel","label":"通道号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"输入需打开/关闭的序号","description":"输入需打开/关闭的序号,一个USB hub一般有很多USB口,每个USB口有不同的序号。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"USB开关结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"USB开关结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"peripherals_OpenNetworkUsbCom","name":"开启NetworkUSB通道","kind":"vendor","group":"mobile","categories":["peripherals"],"categorySignature":"peripherals","description":"打开Usb端口使用Usb Hub上某一个端口的USB设备信息。","messageTemplate":"填写串口ip地址 $1,端口号 $2和通道号 $3 开启NetworkUSB通道, 然后把结果保存到 $0","baseType":"peripherals_OpenNetworkUsbCom","functionName":"peripherals.OpenNetworkUsbCom","functionCalls":[{"function":"peripherals.OpenNetworkUsbCom","args":["ipAddress","port","channel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"3240","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"channel","label":"通道号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"peripherals_OpenUsbCom","name":"开启USB通道","kind":"vendor","group":"mobile","categories":["peripherals"],"categorySignature":"peripherals","description":"打开Usb端口使用Usb Hub上某一个端口的USB设备信息。","messageTemplate":"选择串口名称 $1 和通道号 $2 开启USB通道, 然后把结果保存到 $0","baseType":"peripherals_OpenUsbCom","functionName":"peripherals.OpenUsbCom","functionCalls":[{"function":"peripherals.OpenUsbCom","args":["USBcoms","channel"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"mobile","risk":"high","fields":[{"key":"USBcoms","label":"USBcoms","widget":"text","type":"string","displayType":"USBGetComs","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"channel","label":"通道号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Regex_Test","name":"匹配判断","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,查找设定的正则表达式,是否能匹配上,并将结果输出到指定变量。","messageTemplate":"正则表达式 $2 在目标字符串 $1 中是否能够匹配 , 然后把结果保存到 $0","baseType":"Regex_Test","functionName":"Regex.Test","functionCalls":[{"function":"Regex.Test","args":["text","pattern"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正在表达式","匹配","match"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pattern","label":"正则表达式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Regex_FindAll","name":"全部查找","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,使用正则表达式查找全部内容,并将结果输出到指定变量。","messageTemplate":"使用正则表达式 $2 查找 $1 全部内容, 然后把结果保存到 $0","baseType":"Regex_FindAll","functionName":"Regex.FindAll","functionCalls":[{"function":"Regex.FindAll","args":["text","pattern"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正在表达式","查找","sub"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pattern","label":"正则表达式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Regex_FindNew_1","name":"文本内容提取(指定)","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"从目标文本中提取指定内容,如果有多个相同结果,支持提取指定次序的文案。","messageTemplate":"使用正则表达式 $2 ,提取文本 $1 中第 $4 个结果, 然后把结果保存到 $0","baseType":"Regex_Find","functionName":"Regex.FindNew_1","functionCalls":[{"function":"Regex.FindNew_1","args":["text","search","Config","index"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正在表达式","查找","search","文本"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果要输入文字数据,请写在英文双引号\" \"中。示例文字:\"杭州市人工智能小镇。\"","advanced":false,"valueTypes":[]},{"key":"search","label":"选择表达式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"6","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Config","label":"正则表达式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"index","label":"提取第几个","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Regex_FindStr","name":"文本内容提取","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"从目标文本中提取指定内容,可以提取其中一个,返回一个文本。也可以提取全部,返回一个列表。","messageTemplate":"从文本 $1 $2, 然后把结果保存到 $0","baseType":"Regex_FindStr","functionName":"Regex.FindStr","functionCalls":[{"function":"Regex.FindStr","args":["string","extract","expression","extract_range","extract_pos","to_int"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","提取"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"extract","label":"提取内容","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"提取目标文本中的指定内容","advanced":false,"valueTypes":[]},{"key":"expression","label":"正则表达式","widget":"text","type":"string","displayType":"regularValidation","required":true,"defaultValue":"\"\\d+\"","placeholder":"请输入正则表达式,例如:数字输入\\d+","description":"对应提取内容的正则表达式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"extract_range","label":"提取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"可以选择提取一个,将返回一个文本。也可以选择提取全部,返回一个文本列表。","advanced":false,"valueTypes":[]},{"key":"extract_pos","label":"提取第几个","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"选择提取一个后,可以设置提取匹配到的第几个文本。","advanced":false,"valueTypes":["rpa_int"]},{"key":"to_int","label":"提取内容转为数值类型","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"提取结果保存到","key":"var_name","suggestedName":"提取内容","valueTypes":["rpa_int","rpa_str","rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"提取结果保存到","defaultValue":"提取内容","valueTypes":["rpa_int","rpa_str","rpa_list","rpa_str"]}]},"slots":[]},{"id":"Regex_FindNew","name":"指定查找","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,使用正则表达式查找指定索引的内容,并将结果输出到指定变量(此为老版组件,建议使用“ 文本内容提取(指定)”组件替代)。","messageTemplate":"使用正则表达式 $2 ,查找字符串 $1 中索引为 $4 的目标, 然后把结果保存到 $0","baseType":"Regex_Find","functionName":"Regex.FindNew","functionCalls":[{"function":"Regex.FindNew","args":["text","search","Config","index"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正在表达式","查找","search","文本"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果要输入文字数据,请写在英文双引号\" \"中。示例文字:\"杭州市人工智能小镇。\"","advanced":false,"valueTypes":[]},{"key":"search","label":"选择表达式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"6","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Config","label":"正则表达式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"index","label":"索引","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Regex_FindAllNew","name":"文本内容提取(全部)","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"从目标文本中提取全部符合条件的内容。","messageTemplate":"使用正则表达式 $2,提取文本 $1 中全部内容, 然后把结果保存到 $0","baseType":"Regex_FindAll","functionName":"Regex.FindAllNew","functionCalls":[{"function":"Regex.FindAllNew","args":["text","search","Config"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正在表达式","查找","sub","文本"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"如果要输入文字数据,请写在英文双引号\" \"中。示例文字:\"杭州市人工智能小镇。\"","advanced":false,"valueTypes":[]},{"key":"search","label":"选择表达式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"6","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"Config","label":"正则表达式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Regex_TestNew","name":"判断文本匹配","kind":"vendor","group":"data","categories":["string","judgment"],"categorySignature":"string|judgment","description":"在目标文本中,查找指定内容,判断是否存在且能匹配上,能匹配返回“True”,不能匹配返回“False。","messageTemplate":"判断正则表达式 $2 是否能够从文本 $1 中匹配出内容, 然后把结果保存到 $0","baseType":"Regex_Test","functionName":"Regex.TestNew","functionCalls":[{"function":"Regex.TestNew","args":["text","search","Config"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正则表达式","匹配","文本","match","判断","判定","判别","判断出","识别","文字","字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入目标文本","description":"在文本模式下,直接输入目标文本;在表达式模式下,文本需加上双引号\"\",例:\"实在智能科技\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"search","label":"选择表达式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"6","placeholder":"","description":"选择匹配内容的类型,在下方生成该类型表达式的框架","advanced":false,"valueTypes":[]},{"key":"Config","label":"正则表达式","widget":"text","type":"string","displayType":"regularValidation","required":true,"defaultValue":"","placeholder":"请输入需要匹配的内容的正则表达式","description":"输入需要匹配内容的正则表达式或文本","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"匹配结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"匹配结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"Regex_FindStrV1","name":"提取文本内容","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"从目标文本中提取指定内容,可以提取其中一个,返回一个文本。也可以提取全部,返回一个列表。","messageTemplate":"从文本 $1 $2, 然后把结果保存到 $0","baseType":"Regex_FindStr","functionName":"Regex.FindStrV1","functionCalls":[{"function":"Regex.FindStrV1","args":["string","extract","expression","extract_range","extract_pos","to_int"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","提取","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"extract","label":"提取内容","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"提取目标文本中的指定内容","advanced":false,"valueTypes":[]},{"key":"expression","label":"正则表达式","widget":"text","type":"string","displayType":"regularValidation","required":true,"defaultValue":"\"([+-]?\\d+\\.\\d+|[+-]?\\d+)\"","placeholder":"请输入正则表达式,例如:数字输入\\d+","description":"对应提取内容的正则表达式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"extract_range","label":"提取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"可以选择提取一个,将返回一个文本。也可以选择提取全部,返回一个文本列表。","advanced":false,"valueTypes":[]},{"key":"extract_pos","label":"提取第几个","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"选择提取一个后,可以设置提取匹配到的第几个文本。","advanced":false,"valueTypes":["rpa_int"]},{"key":"to_int","label":"提取内容转为数值类型","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"提取结果保存到","key":"var_name","suggestedName":"提取内容","valueTypes":["rpa_num","rpa_str","rpa_list","rpa_str"],"fields":[{"key":"var_name","label":"提取结果保存到","defaultValue":"提取内容","valueTypes":["rpa_num","rpa_str","rpa_list","rpa_str"]}]},"slots":[]},{"id":"Regex_Find","name":"指定查找","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,使用正则表达式查找指定索引的内容,并将结果输出到指定变量。","messageTemplate":"使用正则表达式 $2 ,查找字符串 $1 中索引为 $3 的目标, 然后把结果保存到 $0","baseType":"Regex_Find","functionName":"Regex.Find","functionCalls":[{"function":"Regex.Find","args":["text","pattern","index"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["正在表达式","查找","search"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"text","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pattern","label":"正则表达式","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"index","label":"索引","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"SafeControlInput_KeyInput","name":"安全控件文本输入","kind":"vendor","group":"desktop","categories":["SafeControlInput"],"categorySignature":"SafeControlInput","description":"。","messageTemplate":"安全控件文本输入, 然后把结果保存到 $0","baseType":"SafeControlInput_KeyInput","functionName":"SafeControlInput.KeyInput","functionCalls":[{"function":"SafeControlInput.KeyInput","args":["content"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["安全控件文本输入","安全"],"platformTag":null,"icon":"desktop","risk":"high","fields":[{"key":"content","label":"文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"bool","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"bool","valueTypes":[]}]},"slots":[]},{"id":"Scenario_CreditVerify","name":"征信报告解析","kind":"vendor","group":"message","categories":["Scenario"],"categorySignature":"Scenario","description":"指定征信报告的图片,对图片内容进行识别,并将识别字段全部输出。","messageTemplate":"$1 识别征信报告的内容, 然后把结果保存到 $0","baseType":"Scenario_CreditVerify","functionName":"Scenario.CreditVerify","functionCalls":[{"function":"Scenario.CreditVerify","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"path","label":"报告地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"dictRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"dictRet","valueTypes":[]}]},"slots":[]},{"id":"Scenario_VatInvoice","name":"增值税发票验真","kind":"vendor","group":"message","categories":["Scenario"],"categorySignature":"Scenario","description":"指定增值税发票的图片,对图片内容进行识别,并将识别字段(区分标题和内容,分组)全部输出,而后到增值税发票验证平台,自动录入指定字段,进行发票的验证。并将返回结果输出。","messageTemplate":"$1 识别增值税发票的真假, 然后把结果保存到 $0","baseType":"Scenario_VatInvoice","functionName":"Scenario.VatInvoice","functionCalls":[{"function":"Scenario.VatInvoice","args":["path","type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"path","label":"发票地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"ie","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"boolRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"boolRet","valueTypes":[]}]},"slots":[]},{"id":"Scenario_PhysicalExamination","name":"体检报告解析","kind":"vendor","group":"message","categories":["Scenario"],"categorySignature":"Scenario","description":"指定体检报告的图片,对图片内容进行识别,并将识别字段全部输出。","messageTemplate":"$1 识别体检报告的内容, 然后把结果保存到 $0","baseType":"Scenario_PhysicalExamination","functionName":"Scenario.PhysicalExamination","functionCalls":[{"function":"Scenario.PhysicalExamination","args":["path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"path","label":"报告地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"Scenario_TextComparison","name":"文档比对","kind":"vendor","group":"message","categories":["Scenario"],"categorySignature":"Scenario","description":"对输入的两个文档进行差异的比对,输出其差异点位置和差异内容。","messageTemplate":"源文件 $1 目标文件 $2 识别文件差异, 然后把结果保存到 $0","baseType":"Scenario_TextComparison","functionName":"Scenario.TextComparison","functionCalls":[{"function":"Scenario.TextComparison","args":["sourceFilePath","targetFilePath"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"message","risk":"high","fields":[{"key":"sourceFilePath","label":"源文件地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"targetFilePath","label":"目标文件地址","widget":"file","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"ScreenControl_Screenlock","name":"屏幕锁屏","kind":"vendor","group":"app","categories":["ScreenControl"],"categorySignature":"ScreenControl","description":"屏幕锁屏,并设置用户名和密码。","messageTemplate":"屏幕锁屏,并设置用户名 $1 ,密码 $2, 然后把结果保存到 $0","baseType":"ScreenControl_Screenlock","functionName":"ScreenControl.Screenlock","functionCalls":[{"function":"ScreenControl.Screenlock","args":["username","pwd","width","height","scale_factor","port"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["ScreenControl","处理","操作"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"ScreenControl_ScreenUnlock","name":"唤醒屏幕(非登录解锁)","kind":"vendor","group":"app","categories":["ScreenControl"],"categorySignature":"ScreenControl","description":"仅尝试唤醒屏幕,不支持通过账号密码自动完成 Windows 登录解锁。锁屏后仍需本人手动登录。","messageTemplate":"尝试唤醒屏幕;Windows 登录锁屏需人工解锁","baseType":"ScreenControl_ScreenUnlock","functionName":"ScreenControl.ScreenUnlock","functionCalls":[{"function":"ScreenControl.ScreenUnlock","args":["username","pwd"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["ScreenControl","处理","操作"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"StrUtil_InStr","name":"查找","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串内查找指定的字符,返回查找到的字符的位置,如果没有找到,返回-1,可设定起始位置。","messageTemplate":"对 $1 从索引值 $3 开始查找 $2 的索引值, 然后把结果保存到 $0","baseType":"StrUtil_InStr","functionName":"StrUtil.InStr","functionCalls":[{"function":"StrUtil.InStr","args":["string","search","startIndex"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查找字符","字符定位"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"search","label":"查找内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"startIndex","label":"起始索引","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_ListToString","name":"列表聚合成文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将列表中的每个值,用指定的符号连接起来,最终转化成一个长文本字符串输出。","messageTemplate":"把 $1 列表值通过连接符,聚合成字符串, 然后把结果保存到 $0","baseType":"StrUtil_ListToString","functionName":"StrUtil.ListToString","functionCalls":[{"function":"StrUtil.ListToString","args":["str_list","connectors","standard","connectors_num","connectors_custom"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["列表","聚合","文本","合成文本","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"str_list","label":"待聚合列表","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"选择或输入需要聚合操作的列表list","advanced":false,"valueTypes":["rpa_list"]},{"key":"connectors","label":"连接符类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择数据之间的连接符类型","advanced":false,"valueTypes":[]},{"key":"standard","label":"标准连接符","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":" ","placeholder":"","description":"选择数据之间的连接符","advanced":false,"valueTypes":[]},{"key":"connectors_num","label":"连接符数量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"输入数据之间需要的连接符数量","advanced":false,"valueTypes":["rpa_int"]},{"key":"connectors_custom","label":"自定义连接符","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入需要聚合文本之间的连接符","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"聚合文本","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"聚合文本","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_CharCode","name":"将ASCII码转换为文本","kind":"vendor","group":"data","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将指定的ASCII码转换为文本,并输出到指定变量。","messageTemplate":"将 $1 ASCII码转换为字符串, 然后把结果保存到 $0","baseType":"StrUtil_CharCode","functionName":"StrUtil.CharCode","functionCalls":[{"function":"StrUtil.CharCode","args":["code"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字符转ASCⅡ码","ASCⅡ码","字符","转换","转变","转换格式","转换类型","变换","文本","文字"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"code","label":"待转换ASCII码","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"65","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_CutOutStrV1","name":"截取文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"截取目标文本中的一小段文本。","messageTemplate":"截取文本 $1 $2 截取{$$5 == 1 && '至文本末尾'}{$$5 == 2 && '指定长度 $6 个单位长度'}, 然后把结果保存到 $0","baseType":"StrUtil_CutOutStr","functionName":"StrUtil.CutOutStrV1","functionCalls":[{"function":"StrUtil.CutOutStrV1","args":["string","start_cut_type","start_cut_pos","start_cut_str","end_cut_type","end_cut_length","end_cut_pos","end_cut_txt"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","追加","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"start_cut_type","label":"起始位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"从哪个位置开始截取文本。","advanced":false,"valueTypes":[]},{"key":"start_cut_pos","label":"指定开始位置","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"","description":"开始截取的位置,仅支持输入正整数。大于文本长度时,返回空文本","advanced":false,"valueTypes":["rpa_int"]},{"key":"start_cut_str","label":"指定开始文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"可以输入文本,从这一文本开始截取目标文本,示例:“待截取”。未找到指定文本时,返回空文本。","advanced":false,"valueTypes":["rpa_str"]},{"key":"end_cut_type","label":"结束位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"3","placeholder":"","description":"截取结束的位置。","advanced":false,"valueTypes":[]},{"key":"end_cut_length","label":"指定长度","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"1","placeholder":"","description":"输入一个数字(从起始位置到结束位置的文本长度),为空时截取到目标文本结尾。大于文本长度时,截取到文本结尾。","advanced":false,"valueTypes":["rpa_int"]},{"key":"end_cut_pos","label":"指定结束位置","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"10","placeholder":"","description":"指定位置为正整数时,代表截取到顺序第n个字符为止;指定位置为负整数时,代表截取到倒数第n个字符为止。","advanced":false,"valueTypes":["rpa_int"]},{"key":"end_cut_txt","label":"指定结束文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"从选择的起始位置开始,顺序截取,到指定的结束字符为止。建议填写多个连续字符以保证结束位置的唯一性。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"截取结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"截取结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_CreateRandomStr","name":"创建随机文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"生成包含随机字符,并具有指定长度的文本。可用于生成密码等场景。","messageTemplate":"创建一个{$$3 == 1 && '$4 位的固定长度'}{$$3 == 2 && '$5 位的随机长度'}的随机文本, 然后把结果保存到 $0","baseType":"StrUtil_CreateRandomStr","functionName":"StrUtil.CreateRandomStr","functionCalls":[{"function":"StrUtil.CreateRandomStr","args":["str_contain","special_str","length_type","string_length","min_max_length"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","随机","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"str_contain","label":"包含文本类型","widget":"boolean","type":"boolean","displayType":"checkBoxGroup","required":false,"defaultValue":"","placeholder":"","description":"勾选对应的文本类型后,随机文本中将至少包含一个字符。","advanced":false,"valueTypes":[]},{"key":"special_str","label":" ","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":" ","advanced":false,"valueTypes":["rpa_str"]},{"key":"length_type","label":"文本长度","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"请输入正整数","description":"选择随机文本的长度模式,长度随机还是固定。","advanced":false,"valueTypes":[]},{"key":"string_length","label":"文本长度","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"6","placeholder":"请输入正整数","description":" ","advanced":false,"valueTypes":["rpa_int"]},{"key":"min_max_length","label":"文本长度","widget":"number","type":"number","displayType":"rangeInput","required":false,"defaultValue":"","placeholder":"请输入正整数","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"随机结果保存到","key":"var_name","suggestedName":"随机文本","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"随机结果保存到","defaultValue":"随机文本","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_SplitStr","name":"分割文本为列表","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将目标文本按指定的分隔符分割为一个列表。可用于大文本的分段循环处理或者将分隔后的小文本存储于Excel中。","messageTemplate":"将 $1 用{$$2 == 1 && '标准分隔符 $3'}{ $$2 == 2 && '自定义分隔符 $5'}{ $$2 == 3 && '文本长度 $7'}分割, 然后把结果保存到 $0","baseType":"StrUtil_SplitStr","functionName":"StrUtil.SplitStr","functionCalls":[{"function":"StrUtil.SplitStr","args":["string","split_type","split_symbol","split_num","diy_symbol","is_re","string_length","del_trim"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字符串分割","拆分字符串","split","文本","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"split_type","label":"分隔符类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择目标文本中含有的字符来进行分割。","advanced":false,"valueTypes":[]},{"key":"split_symbol","label":"标准分隔符","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"split_num","label":"分隔符次数","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"1","placeholder":"请输入正整数","description":"指连续含有多少个分隔符时才进行分割。","advanced":false,"valueTypes":["rpa_int"]},{"key":"diy_symbol","label":"自定义分隔符","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入自定义分隔符,例如:,","description":"可以输入自定义的字符,也可以输入正则表达式(是否正则表达式必须为是)。","advanced":false,"valueTypes":["rpa_str"]},{"key":"is_re","label":"是否正则表达式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"是否将自定义字符作为正则表达式去匹配。","advanced":false,"valueTypes":[]},{"key":"string_length","label":"文本长度","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"请输入正整数","description":"可以将文本分割为指定长度,最后一个小于分割长度时,将不再分割。","advanced":false,"valueTypes":["rpa_int"]},{"key":"del_trim","label":"是否去除空白项","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"分割后是否将内容为空的项去除掉。","advanced":false,"valueTypes":[]}],"output":{"label":"分割结果保存到","key":"var_name","suggestedName":"数据列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"分割结果保存到","defaultValue":"数据列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"StrUtil_Split","name":"分割字符串","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将目标字符串,按指定的分割符进行分割,并以数组的形式输出到指定变量。","messageTemplate":"将 $1 按字符 $2 进行分割, 然后把结果保存到 $0","baseType":"StrUtil_Split","functionName":"StrUtil.Split","functionCalls":[{"function":"StrUtil.Split","args":["string","spliter"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字符串分割","拆分字符串","split"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"spliter","label":"分隔符","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_CaseChange","name":"转换大小写","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将目标文本中含有字母的内容统一转换为大写或者小写,并输出给指定变量。","messageTemplate":"将 $1 全部字母 $2, 然后把结果保存到 $0","baseType":"StrUtil_CaseChange","functionName":"StrUtil.CaseChange","functionCalls":[{"function":"StrUtil.CaseChange","args":["string","case"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转换","转变","转换格式","转换类型","变换"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量 ","advanced":false,"valueTypes":["rpa_str"]},{"key":"case","label":"转换方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"将目标文本中的英文字母转换为大写或小写","advanced":false,"valueTypes":[]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_AddToStr","name":"追加文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标文本后追加新文本,可用于文本拼接。例如将Excel表格里的多个单元格内容追加到一段文本中。","messageTemplate":"在目标文本 $1 后追加文本 $2, 然后把结果保存到 $0","baseType":"StrUtil_AddToStr","functionName":"StrUtil.AddToStr","functionCalls":[{"function":"StrUtil.AddToStr","args":["string","add_str","add_type","symbol"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","追加","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量 ","advanced":false,"valueTypes":["rpa_str"]},{"key":"add_str","label":"追加文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文本","description":"输入一段追加文本","advanced":false,"valueTypes":["rpa_str"]},{"key":"add_type","label":"追加方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择目标文本和追加文本的拼接方式、拼接符号。","advanced":false,"valueTypes":[]},{"key":"symbol","label":"自定义符号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入目标文本与追加文本的连接符号,例如:+","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"追加结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"追加结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_Rtrim","name":"裁剪右侧空格","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"裁剪目标字符串右侧的空格,并输出到指定变量。","messageTemplate":"将 $1 裁剪右侧空格, 然后把结果保存到 $0","baseType":"StrUtil_Rtrim","functionName":"StrUtil.Rtrim","functionCalls":[{"function":"StrUtil.Rtrim","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["空格","裁剪","字符串裁剪"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_DelTrim","name":"去除文本两端空格","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"去除目标文本开头、结尾的空格字符,例如:空格、换行符、制表符等。","messageTemplate":"去除 $1 $2, 然后把结果保存到 $0","baseType":"StrUtil_DelTrim","functionName":"StrUtil.DelTrim","functionCalls":[{"function":"StrUtil.DelTrim","args":["string","strip_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"strip_type","label":"去除方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择需要去除哪些空格。","advanced":false,"valueTypes":[]}],"output":{"label":"去除结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"去除结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_CutOutStr","name":"截取文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"截取目标文本中的一小段文本。","messageTemplate":"截取文本 $1 $2 截取{$$5 == 1 && '至文本末尾'}{$$5 == 2 && '指定长度 $6 个单位长度'}, 然后把结果保存到 $0","baseType":"StrUtil_CutOutStr","functionName":"StrUtil.CutOutStr","functionCalls":[{"function":"StrUtil.CutOutStr","args":["string","start_cut_type","start_cut_pos","start_cut_str","end_cut_type","end_cut_length"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","追加"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"start_cut_type","label":"起始位置","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"从哪个位置开始截取文本。","advanced":false,"valueTypes":[]},{"key":"start_cut_pos","label":"指定位置","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"1","placeholder":"","description":"开始截取的位置,仅支持输入正整数。大于文本长度时,返回空文本","advanced":false,"valueTypes":["rpa_int"]},{"key":"start_cut_str","label":"指定文本","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"可以输入文本,从这一文本开始截取目标文本,示例:“待截取”。未找到指定文本时,返回空文本。","advanced":false,"valueTypes":["rpa_str"]},{"key":"end_cut_type","label":"结束位置","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"截取结束的位置。","advanced":false,"valueTypes":[]},{"key":"end_cut_length","label":"指定长度","widget":"number","type":"number","displayType":"number","required":false,"defaultValue":"1","placeholder":"","description":"输入一个数字(从起始位置到结束位置的文本长度),为空时截取到目标文本结尾。大于文本长度时,截取到文本结尾。","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"截取结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"截取结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_Trim","name":"裁剪两侧空格","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"裁剪目标字符串两侧的空格,并输出到指定变量。","messageTemplate":"将 $1 裁剪两侧空格, 然后把结果保存到 $0","baseType":"StrUtil_Trim","functionName":"StrUtil.Trim","functionCalls":[{"function":"StrUtil.Trim","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_LowerCase","name":"字母转小写","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将目标字符串的全部字符,转换为小写,并输出到指定变量 。","messageTemplate":"将 $1 的中全部字母转换小写, 然后把结果保存到 $0","baseType":"StrUtil_LowerCase","functionName":"StrUtil.LowerCase","functionCalls":[{"function":"StrUtil.LowerCase","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转小写","字母转换","字母大小写"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_LookUpStr","name":"查找文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"对目标文本查找指定内容,返回查找到的位置。如果没有找到返回0,如果找到将返回一个列表,例如:[10,25,60]。","messageTemplate":"对 $1 从起始位置 $3 到结束位置 $4 开始查找内容 $2, 然后把结果保存到 $0","baseType":"StrUtil_LookUpStr","functionName":"StrUtil.LookUpStr","functionCalls":[{"function":"StrUtil.LookUpStr","args":["string","search","startIndex","endIndex"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["查找字符","字符定位","文本","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量 ","advanced":false,"valueTypes":["rpa_str"]},{"key":"search","label":"查找内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"查找目标文本中的指定内容","advanced":false,"valueTypes":["rpa_str"]},{"key":"startIndex","label":"起始位置","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"1","placeholder":"请输入数字,1表示首个字符","description":"开始查找的位置,可以输入数字。1表示开始首个字符。","advanced":false,"valueTypes":["rpa_int"]},{"key":"endIndex","label":"结束位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入数字,空表示文本结尾","description":"结束查找的位置,可以输入数字。空表示从开始位置查找到目标文本的结尾。","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"查询结果保存到","key":"var_name","suggestedName":"文本位置","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"查询结果保存到","defaultValue":"文本位置","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"StrUtil_ReverseStr","name":"反转文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将目标文本按照顺序反转。","messageTemplate":"将 $1 进行反转, 然后把结果保存到 $0","baseType":"StrUtil_ReverseStr","functionName":"StrUtil.ReverseStr","functionCalls":[{"function":"StrUtil.ReverseStr","args":["string","letter_reverse"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","反转","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"letter_reverse","label":"单词字母是否反转","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"如果一段文本中存在英文单词,是否将英文单词里的字母也进行反转。","advanced":false,"valueTypes":[]}],"output":{"label":"反转结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"反转结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_UpperCase","name":"字母转大写","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将目标字符串的全部字符,转换为大写,并输出到指定变量。","messageTemplate":"将 $1 的中全部字母转换大写, 然后把结果保存到 $0","baseType":"StrUtil_UpperCase","functionName":"StrUtil.UpperCase","functionCalls":[{"function":"StrUtil.UpperCase","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["转大写","字母转换","字母大小写"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_Mid","name":"取中间内容","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,获取指定位置的字符串,并输出到指定变量,可设定截取的起始字符位置。","messageTemplate":"获取 $1 从索引值 $2 开始长度为 $3 的内容, 然后把结果保存到 $0","baseType":"StrUtil_Mid","functionName":"StrUtil.Mid","functionCalls":[{"function":"StrUtil.Mid","args":["string","start","length"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截取字符串","获取字符","中间字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"start","label":"起始索引","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"length","label":"截取长度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_CharAsc","name":"将文本转换为ASCII码","kind":"vendor","group":"data","categories":["data_type_conversion"],"categorySignature":"data_type_conversion","description":"将指定的文本转换为ASCII码,并输出到指定变量。","messageTemplate":"将 $1 字符转换为ASCII码, 然后把结果保存到 $0","baseType":"StrUtil_CharAsc","functionName":"StrUtil.CharAsc","functionCalls":[{"function":"StrUtil.CharAsc","args":["char"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字符转ASCⅡ码","ASCⅡ码","字符","转换","转变","转换格式","转换类型","变换","文本","文字"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"char","label":"待转换文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"A","placeholder":"","description":"仅支持一个字符","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"ASCII码值","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"ASCII码值","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"StrUtil_CompleteStr","name":"补齐文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将特定字符添加到目标文本,来创建固定长度的文本。可用于编号场景,自动将数字前面补0或后面补0形成固定长度文本。","messageTemplate":"对文本 $1 使用 $3 补齐到长度 $4, 然后把结果保存到 $0","baseType":"StrUtil_CompleteStr","functionName":"StrUtil.CompleteStr","functionCalls":[{"function":"StrUtil.CompleteStr","args":["string","com_type","com_string","sum_length"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文本","补齐","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"com_type","label":"补齐方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"可以在目标文本的开始和结尾补齐。","advanced":false,"valueTypes":[]},{"key":"com_string","label":"用于补齐的文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入一个字符,例如: *","description":"用于补齐的字符,仅支持单字符,示例:“*”。","advanced":false,"valueTypes":["rpa_str"]},{"key":"sum_length","label":"总长度","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"10","placeholder":"请输入正整数","description":"补齐后的文本长度。","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"补齐结果保存到","key":"var_name","suggestedName":"文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"补齐结果保存到","defaultValue":"文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_Replace","name":"替换文本","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"将文本的指定内容替换,然后返回替换后的文本。","messageTemplate":"将 $1 中 $2 替换为 $4 , 然后把结果保存到 $0","baseType":"StrUtil_Replace","functionName":"StrUtil.Replace","functionCalls":[{"function":"StrUtil.Replace","args":["string","search","Config","replace"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字符替换","字换串替换","变换","文本","文字","字符","字符串","文本内容"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量 ","advanced":false,"valueTypes":["rpa_str"]},{"key":"search","label":"替换内容","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"替换目标文本中的指定内容","advanced":false,"valueTypes":[]},{"key":"Config","label":"指定内容","widget":"text","type":"string","displayType":"regularValidation","required":true,"defaultValue":"","placeholder":"","description":"根据选择的替换内容,将自动填写正则表达式,也支持手动输入文本或正则表达式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"replace","label":"替换为","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入替换为的内容","description":"输入替换为的内容,支持文本、数字。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"替换结果保存到","key":"var_name","suggestedName":"替换后文本","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"替换结果保存到","defaultValue":"替换后文本","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"StrUtil_Left","name":"取左侧内容","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,获取指定字符左边指定长度的字符串,并输出到指定变量,可设定目标字符和截取长度。","messageTemplate":"获取 $1 的左边长度为 $2 的内容, 然后把结果保存到 $0","baseType":"StrUtil_Left","functionName":"StrUtil.Left","functionCalls":[{"function":"StrUtil.Left","args":["string","length"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截取字符串","获取字符","左侧字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"length","label":"截取长度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_Ltrim","name":"裁剪左侧空格","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"裁剪目标字符串左侧的空格,并输出到指定变量。","messageTemplate":"将 $1 裁剪左侧空格, 然后把结果保存到 $0","baseType":"StrUtil_Ltrim","functionName":"StrUtil.Ltrim","functionCalls":[{"function":"StrUtil.Ltrim","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["空格","裁剪","字符串裁剪"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"StrUtil_Len","name":"获取文本长度","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"获取目标文本的长度,并输出到指定变量。","messageTemplate":"获取 $1 的长度, 然后把结果保存到 $0","baseType":"StrUtil_Len","functionName":"StrUtil.Len","functionCalls":[{"function":"StrUtil.Len","args":["string"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["字符串长度","获取长度","获取","得到","取得","提取","获取到","文本","文字","字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本","description":"输入文本格式的值或变量 ","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"长度结果保存到","key":"var_name","suggestedName":"长度值","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"长度结果保存到","defaultValue":"长度值","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"StrUtil_Right","name":"取右侧内容","kind":"vendor","group":"data","categories":["string"],"categorySignature":"string","description":"在目标字符串中,获取指定字符右边指定长度的字符串,并输出到指定变量,可设定目标字符和截取长度。","messageTemplate":"获取 $1 的右边长度为 $2 的内容, 然后把结果保存到 $0","baseType":"StrUtil_Right","functionName":"StrUtil.Right","functionCalls":[{"function":"StrUtil.Right","args":["string","length"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["截取字符串","获取字符","右侧字符"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"string","label":"目标字符串","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"length","label":"截取长度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"System_GetEnv","name":"获取环境变量","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"读取目标环境变量,并输出到指定变量。","messageTemplate":"获取环境变量 $1 的内容, 然后把结果保存到 $0","baseType":"System_GetEnv","functionName":"System.GetEnv","functionCalls":[{"function":"System.GetEnv","args":["name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["变量","读取","获取","得到","取得","提取","获取到","变数","变量值"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"name","label":"环境变量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入环境变量名称","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"环境变量值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"环境变量值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"System_ReadCredential","name":"获取Windows凭据","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"根据指定Windows凭据的名称、类型,获取对应凭据信息(用户名、密码),并返回执行结果(字典形式)。","messageTemplate":"获取凭据$1的信息, 然后把结果保存到 $0","baseType":"System_ReadCredential","functionName":"System.ReadCredential","functionCalls":[{"function":"System.ReadCredential","args":["application","type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"application","label":"凭据名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"type","label":"凭据类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择要读取的凭据类型,对应系统凭据管理器中Windows分类下的凭据类型","advanced":false,"valueTypes":[]}],"output":{"label":"凭据信息","key":"var_name","suggestedName":"凭据信息","valueTypes":["rpa_system_credential"],"fields":[{"key":"var_name","label":"凭据信息","defaultValue":"凭据信息","valueTypes":["rpa_system_credential"]}]},"slots":[]},{"id":"System_ResetMechanicalArm","name":"复位机械臂","kind":"vendor","group":"app","categories":["mechanical_arm"],"categorySignature":"mechanical_arm","description":"将机械臂复位到初始状态(需先使用连接机械臂组件,再使用该组件)。","messageTemplate":"使机械臂复位到初始状态","baseType":"System_ResetMechanicalArm","functionName":"System.ResetMechanicalArm","functionCalls":[{"function":"System.ResetMechanicalArm","args":["mechanical_arm"],"assignTo":""}],"version":"3.3.5.0","tags":["System"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"mechanical_arm","label":"机械臂对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"使用“连接机械臂”组件返回的变量。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_GetTempPath","name":"获取临时文件夹路径","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"获取系统临时文件夹的路径,并把路径输出到指定变量。","messageTemplate":"获取临时文件夹路径, 然后把结果保存到 $0","baseType":"System_GetTempPath","functionName":"System.GetTempPath","functionCalls":[{"function":"System.GetTempPath","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["临时文件夹","文件夹路径","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件夹地址","valueTypes":["rpa_str_file_folder"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件夹地址","valueTypes":["rpa_str_file_folder"]}]},"slots":[]},{"id":"System_GetHomePath","name":"获取用户文件夹路径","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"获取系统用户文件夹的路径,并把路径输出到指定变量。","messageTemplate":"获取用户文件夹路径, 然后把结果保存到 $0","baseType":"System_GetHomePath","functionName":"System.GetHomePath","functionCalls":[{"function":"System.GetHomePath","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["用户文件夹","文件夹路径","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件夹地址","valueTypes":["rpa_str_file_folder"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件夹地址","valueTypes":["rpa_str_file_folder"]}]},"slots":[]},{"id":"System_GetSystemPath","name":"获取系统文件夹路径","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"获取系统文件夹(如桌面、临时、用户)路径,并返回执行结果至输出变量。","messageTemplate":"获取系统 $1 文件夹路径, 然后把结果保存到 $0","baseType":"System_GetSystemPath","functionName":"System.GetSystemPath","functionCalls":[{"function":"System.GetSystemPath","args":["path_name","path"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取系统文件夹路径","系统文件夹","文件夹路径","获取","得到","取得","提取","获取到","文件","文档","文件档"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"path_name","label":"系统文件夹名称","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"desktop","placeholder":"","description":"待获取的文件夹,可选桌面、用户、临时、文档","advanced":false,"valueTypes":[]},{"key":"path","label":"系统文件夹路径","widget":"text","type":"string","displayType":"label","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"系统文件夹路径输出到变量","key":"var_name","suggestedName":"系统文件夹路径","valueTypes":["rpa_str_file_folder"],"fields":[{"key":"var_name","label":"系统文件夹路径输出到变量","defaultValue":"系统文件夹路径","valueTypes":["rpa_str_file_folder"]}]},"slots":[]},{"id":"System_SetEnv","name":"设置环境变量","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"设置环境变量的值。","messageTemplate":"设置环境变量 $0 的值为 $1","baseType":"System_SetEnv","functionName":"System.SetEnv","functionCalls":[{"function":"System.SetEnv","args":["name","value"],"assignTo":""}],"version":"3.3.5.0","tags":["赋值","设置","配置","设定","调配","设置好","变量","变数","变量值"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"name","label":"环境变量","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入环境变量名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"value","label":"值","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要设置的环境变量的新值","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_MechanicalArmClick","name":"机械臂点击","kind":"vendor","group":"app","categories":["mechanical_arm"],"categorySignature":"mechanical_arm","description":"触发机械臂点击(需先使用连接机械臂组件,再使用该组件)。","messageTemplate":"触发机械臂点击设备","baseType":"System_MechanicalArmClick","functionName":"System.MechanicalArmClick","functionCalls":[{"function":"System.MechanicalArmClick","args":["mechanical_arm"],"assignTo":""}],"version":"3.3.5.0","tags":["System"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"mechanical_arm","label":"机械臂对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"使用“连接机械臂”组件返回的变量。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_ConnectingUshield","name":"连接U盾","kind":"vendor","group":"app","categories":["mechanical_arm"],"categorySignature":"mechanical_arm","description":"连接U盾设备。","messageTemplate":"连接U盾","baseType":"System_ConnectingUshield","functionName":"System.ConnectingUshield","functionCalls":[{"function":"System.ConnectingUshield","args":["mechanical_arm"],"assignTo":""}],"version":"3.3.5.0","tags":["System","处理","操作","U盘"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"mechanical_arm","label":"机械臂对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"使用“连接机械臂”组件返回的变量。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_GetInputMethodState","name":"获取输入法状态","kind":"vendor","group":"app","categories":["inputMethod"],"categorySignature":"inputMethod","description":"获取当前激活窗口的输入法状态(中文,英文)。","messageTemplate":"获取当前激活窗口的输入法状态, 然后把结果保存到 $0","baseType":"System_GetInputMethodState","functionName":"System.GetInputMethodState","functionCalls":[{"function":"System.GetInputMethodState","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["输入法","状态","获取","得到","取得","提取","获取到","输入","录入","键入"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"输入法状态","key":"var_name","suggestedName":"输入法","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输入法状态","defaultValue":"输入法","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"System_ConnectingMechanicalArm","name":"连接机械臂","kind":"vendor","group":"app","categories":["mechanical_arm"],"categorySignature":"mechanical_arm","description":"连接机械臂设备(需要联系运营人员单独购买设备)。","messageTemplate":"连接机械臂设备 $1, 然后把结果保存到 $0","baseType":"System_ConnectingMechanicalArm","functionName":"System.ConnectingMechanicalArm","functionCalls":[{"function":"System.ConnectingMechanicalArm","args":["vid","pid"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["System"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"vid","label":"设备VID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"7847","placeholder":"","description":"机械臂设备VID编号,可查看机械臂说明文档,一般使用当前默认值即可。","advanced":false,"valueTypes":[]},{"key":"pid","label":"设备PID","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"100","placeholder":"","description":"机械臂设备PID编号,可查看机械臂说明文档,一般使用当前默认值即可。","advanced":false,"valueTypes":[]}],"output":{"label":"连接对象","key":"var_name","suggestedName":"机械臂对象","valueTypes":[],"fields":[{"key":"var_name","label":"连接对象","defaultValue":"机械臂对象","valueTypes":[]}]},"slots":[]},{"id":"System_ConnectRemoteDesktop","name":"连接远程桌面","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"连接远程 Windows 电脑,并保存设置内容到变量。","messageTemplate":"远程计算机 $1,远程计算机用户名 $3, 然后把结果保存到 $0","baseType":"System_ConnectRemoteDesktop","functionName":"System.ConnectRemoteDesktop","functionCalls":[{"function":"System.ConnectRemoteDesktop","args":["ip","port","username","password"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["远程桌面","远程","桌面","连接"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"ip","label":"远程计算机 IP","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入远程计算机IP","description":"输入连接远程计算机的 IP 地址,如:192.168.64.161。","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"远程计算机 端口号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"3389","placeholder":"请输入远程计算机端口号","description":"输入远程连接计算机的端口号,若未单独设置端口号,默认为 3389。","advanced":false,"valueTypes":["rpa_str"]},{"key":"username","label":"远程计算机用户名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入远程计算机用户名","description":"输入远程连接计算机的系统账号用户名,比如Administrator。","advanced":false,"valueTypes":["rpa_str"]},{"key":"password","label":"远程计算机用户密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"请输入远程计算机用户密码","description":"输入远程连接计算机的系统账号用户密码,比如123456。","advanced":false,"valueTypes":["rpa_password","rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"远程桌面对象","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"远程桌面对象","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"System_CloseMechanicalArm","name":"断开机械臂","kind":"vendor","group":"app","categories":["mechanical_arm"],"categorySignature":"mechanical_arm","description":"断开机械臂连接(需先使用连接机械臂组件,再使用该组件)。","messageTemplate":"断开机械臂连接","baseType":"System_CloseMechanicalArm","functionName":"System.CloseMechanicalArm","functionCalls":[{"function":"System.CloseMechanicalArm","args":["mechanical_arm"],"assignTo":""}],"version":"3.3.5.0","tags":["System"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"mechanical_arm","label":"机械臂对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"使用“连接机械臂”组件返回的变量。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_CloseUshield","name":"断开U盾","kind":"vendor","group":"app","categories":["mechanical_arm"],"categorySignature":"mechanical_arm","description":"将断开U盾设备。","messageTemplate":"断开U盾连接","baseType":"System_CloseUshield","functionName":"System.CloseUshield","functionCalls":[{"function":"System.CloseUshield","args":["mechanical_arm"],"assignTo":""}],"version":"3.3.5.0","tags":["System","处理","操作","U盘"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"mechanical_arm","label":"机械臂对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"使用“连接机械臂”组件返回的变量。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_AddCredential","name":"添加Windows凭据","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"在Windows凭据中添加一个指定的凭据。","messageTemplate":"将凭据 $1 添加到{ $$4=='0' && \"普通凭据\"}{$$4=='1' && 'Windows凭据'}中, 然后把结果保存到 $0","baseType":"System_AddCredential","functionName":"System.AddCredential","functionCalls":[{"function":"System.AddCredential","args":["application","name","password","type","persistence"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["添加","增加","新增","添上","加入"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"application","label":"凭据名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"name","label":"用户名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"password","label":"密码","widget":"secret","type":"string","displayType":"encryption","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_password","rpa_str"]},{"key":"type","label":"凭据类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择要保存的凭据类型,对应系统凭据管理器中Windows分类下的凭据类型","advanced":false,"valueTypes":[]},{"key":"persistence","label":"保存类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择凭据保存的永久性","advanced":false,"valueTypes":[]}],"output":{"label":"操作结果","key":"var_name","suggestedName":"添加凭据结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"操作结果","defaultValue":"添加凭据结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"System_SetInputMethodState","name":"设置输入法状态","kind":"vendor","group":"app","categories":["inputMethod"],"categorySignature":"inputMethod","description":"设置当前激活窗口的输入法状态。","messageTemplate":"设置当前激活窗口的输入法状态为 $0","baseType":"System_SetInputMethodState","functionName":"System.SetInputMethodState","functionCalls":[{"function":"System.SetInputMethodState","args":["mode"],"assignTo":""}],"version":"3.3.5.0","tags":["输入法","状态","设置","配置","设定","调配","设置好","输入","录入","键入"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"mode","label":"状态","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"zh_cn","placeholder":"","description":"选择中文则改变当前输入法为中文输入模式,英文则改变当前输入法为英文半角模式","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_CloseRemoteDesktop","name":"关闭远程连接","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"关闭远程连接的桌面。","messageTemplate":"关闭 $0 连接","baseType":"System_CloseRemoteDesktop","functionName":"System.CloseRemoteDesktop","functionCalls":[{"function":"System.CloseRemoteDesktop","args":["ip"],"assignTo":""}],"version":"3.3.5.0","tags":["远程桌面","远程","桌面","关闭","退出","终止","关停"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"ip","label":"远程目标对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"远程桌面对象","placeholder":"请选择“连接远程桌面”组件输出的变量","description":"选择需要关闭的远程连接桌面,远程桌面连接成功后保存输出的变量。","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_ScreenSaverShow","name":"开启屏保","kind":"vendor","group":"app","categories":["ScreenSaver"],"categorySignature":"ScreenSaver","description":"开启屏幕保护,防止隐私数据被偷窥。","messageTemplate":"屏保文字为 $0","baseType":"System_ScreenSaverShow","functionName":"System.ScreenSaverShow","functionCalls":[{"function":"System.ScreenSaverShow","args":["text","status"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"text","label":"屏保文字","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入屏保文字","description":"展示在屏保界面上的文字。","advanced":false,"valueTypes":["rpa_str"]},{"key":"status","label":"流程暂停或结束时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"运行结束时选择自动关闭屏保,还是手动输入系统锁屏密码关闭屏保。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_ExecuteCommandV1","name":"执行命令行","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"执行DOS、BAT文件、PowerShell等命令,并将命令输出结果保存到变量。","messageTemplate":"执行 $1:$2$3$4, 然后把结果保存到 $0","baseType":"System_ExecuteCommand","functionName":"System.ExecuteCommandV1","functionCalls":[{"function":"System.ExecuteCommandV1","args":["command_type","dos_command","bat_file","ps_command","cwd","get_ret"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["命令行","系统命令行","DOS命令","BAT文件","PowerShell命令","执行脚本"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"command_type","label":"命令类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[],"options":[{"label":"DOS 命令","value":"1"},{"label":"BAT 文件","value":"2"},{"label":"PowerShell 命令","value":"3"}]},{"key":"dos_command","label":"DOS命令","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入DOS命令","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"bat_file","label":"BAT文件","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择BAT文件","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"ps_command","label":"PowerShell命令","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入PowerShell命令","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"cwd","label":"执行目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择执行目录","description":"执行命令行的根目录,为空时,默认流程所在根目录。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"get_ret","label":"等待结果返回","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"为了防止部分命令没有返回值但一直在等待的情况,可以选择不勾选,组件将返回None。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"System_DeleteCredential","name":"删除Windows凭据","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"从Windows凭据中删除一个指定的凭据。","messageTemplate":"将凭据 $1 从{ $$2=='0' && \"普通凭据\"}{$$2=='1' && 'Windows凭据'}中删除, 然后把结果保存到 $0","baseType":"System_DeleteCredential","functionName":"System.DeleteCredential","functionCalls":[{"function":"System.DeleteCredential","args":["application","type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"application","label":"凭据名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"支持删除单个或多个凭据,多个凭据请输入一个凭据列表,例如:[\"凭据1\",\"凭据2\"]","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"type","label":"凭据类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择从哪个凭据分类中删除凭据,对应系统凭据管理器中Windows分类下的凭据类型","advanced":false,"valueTypes":[]}],"output":{"label":"操作结果","key":"var_name","suggestedName":"删除凭据结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"操作结果","defaultValue":"删除凭据结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"System_ScreenSaverStop","name":"关闭屏保","kind":"vendor","group":"app","categories":["ScreenSaver"],"categorySignature":"ScreenSaver","description":"关闭已开启的屏保。","messageTemplate":"关闭已开启的屏保","baseType":"System_ScreenSaverStop","functionName":"System.ScreenSaverStop","functionCalls":[{"function":"System.ScreenSaverStop","args":[],"assignTo":""}],"version":"3.3.5.0","tags":["关闭","退出","终止","关停"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_GetMobileMessage","name":"获取手机短信","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"读取手机短信需要下载短信连接APP,仅支持安卓手机(华为、小米、OPPO)。","messageTemplate":"读取连接成功后 $1 条,关键字是 $2 的 $3 短信内容, 然后把结果保存到 $0","baseType":"System_GetMobileMessage","functionName":"System.GetMobileMessage","functionCalls":[{"function":"System.GetMobileMessage","args":["num","keyword","info","commander","queue","qa_link"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"app","risk":"high","fields":[{"key":"num","label":"获取短信条数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"","description":"输入需要获取的短信条数,获取最近时间的短信。","advanced":false,"valueTypes":["rpa_int"]},{"key":"keyword","label":"获取短信关键字","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入短信关键字","description":"输入短信内容中的关键词筛选需要的短信,如【建设银行】。","advanced":false,"valueTypes":["rpa_str"]},{"key":"info","label":"获取短信内容","widget":"radio","type":"string","displayType":"radioLeft","required":false,"defaultValue":"0","placeholder":"","description":"选择需要获取短信的内容,只能获取连接成功后收到的短信,全部:整条短信内容;验证码:仅获取短信内容中的“验证码”。","advanced":false,"valueTypes":[]},{"key":"commander","label":"控制器连接","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"指定控制器连接的队列名称,从队列中获取短信数据。","advanced":false,"valueTypes":[]},{"key":"queue","label":"队列名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"短信队列","placeholder":"请输入控制器队列名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"qa_link","label":"qa_link","widget":"text","type":"string","displayType":"QRCode","required":false,"defaultValue":"https://justice-bxh.oss-cn-hangzhou.aliyuncs.com/runnerCheck/others/ii-sms-check-0.8.apk","placeholder":"","description":"仅支持安卓手机(华为、小米、OPPO)。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"短信内容","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"短信内容","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"System_ExecuteCommand","name":"执行命令行","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"执行系统命令行,返回命令行执行结果,并输出到指定变量。","messageTemplate":"执行命令行 $1 并返回结果, 然后把结果保存到 $0","baseType":"System_ExecuteCommand","functionName":"System.ExecuteCommand","functionCalls":[{"function":"System.ExecuteCommand","args":["action","cwd","get_ret"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["命令行","系统命令行"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"action","label":"命令行","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入要执行的命令","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"cwd","label":"执行目录","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择文件夹路径","description":"执行命令行的根目录","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"get_ret","label":"等待结果返回","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"为了防止部分命令没有返回值但一直在等待的情况,可以选择不勾选,组件将返回None。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"System_ScreenSaverShowV1","name":"开启屏保","kind":"vendor","group":"app","categories":["ScreenSaver"],"categorySignature":"ScreenSaver","description":"开启 Windows 已配置的系统屏保。当前组件不支持自定义屏保文字、透明度或解锁密码;登录保护遵循 Windows 系统设置。","messageTemplate":"开启 Windows 系统屏保","baseType":"System_ScreenSaverShow","functionName":"System.ScreenSaverShowV1","functionCalls":[{"function":"System.ScreenSaverShowV1","args":["text","effect","status","set_password","password"],"assignTo":""}],"version":"3.3.5.0","tags":["System","处理","操作"],"platformTag":"win32","icon":"app","risk":"high","fields":[],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"System_PlaySound","name":"播放音频","kind":"vendor","group":"app","categories":["system_action"],"categorySignature":"system_action","description":"播放指定的音频文件。","messageTemplate":"播放音频 $0","baseType":"System_PlaySound","functionName":"System.PlaySound","functionCalls":[{"function":"System.PlaySound","args":["audio"],"assignTo":""}],"version":"3.3.5.0","tags":["播放音频","播放音乐"],"platformTag":"win32","icon":"app","risk":"high","fields":[{"key":"audio","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请输入或选择音频文件路径","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Time_GetDate","name":"获取日期时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取日期时间的年份、月份、当月第几天、星期几等。","messageTemplate":"获取的日期时间为 $1, 然后把结果保存到 $0","baseType":"Time_GetDate","functionName":"Time.GetDate","functionCalls":[{"function":"Time.GetDate","args":["date_start","offset_status","offset_unit_num","get_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"date_start","label":"日期时间","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"默认空时为当前运行时的日期时间,可以输入一个日期时间,示例:“2021-07-01 12:00:00”。","advanced":false,"valueTypes":["rpa_str","rpa_none"]},{"key":"offset_status","label":"时间偏移","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"可以设置增加或减少多少单位时间,支持输入一个整数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"offset_unit_num","label":"偏移长度","widget":"number","type":"number","displayType":"unitInput","required":false,"defaultValue":"[0,4]","placeholder":"","description":"可以设置增加、减少多少单位时间,仅支持输入大于等于0整数。","advanced":false,"valueTypes":["rpa_any"]},{"key":"get_type","label":"获取类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"对应返回的数据格式为:年月日时分秒(2021-07-01 12:00:00)、年月日时分(2021-07-01 12:00)、年月日(2021-07-01)、年份(2021)、月份(7)、当月第几天(1)、上月初日期(2021-06-01)、上月末日期(2021-06-30)、当年第几天(176)、时(12)、分(0)、秒(0)、星期(1)、时间戳-秒级(1625467856)、时间戳-毫秒级(1625467856000)、时间戳-微秒级(1625467856000000)","advanced":false,"valueTypes":[]}],"output":{"label":"获取结果保存到","key":"var_name","suggestedName":"dateRet","valueTypes":[],"fields":[{"key":"var_name","label":"获取结果保存到","defaultValue":"dateRet","valueTypes":[]}]},"slots":[]},{"id":"Time_CalDate","name":"计算时长","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"计算两个日期时间的间隔时长。","messageTemplate":"日期时间 $1 与日期时间 $2 以 $3 为时长单位, 然后把结果保存到 $0","baseType":"Time_CalDate","functionName":"Time.CalDate","functionCalls":[{"function":"Time.CalDate","args":["date_start","date_end","time_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["计算","时长","计算时长"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"date_start","label":"开始时间","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"开始日期时间节点,支持常见的日期时间格式,例如:1970-01-01、1970/01/01、1970年01月01日、1970-01-01、12:00:00、12:00:00、12:00等","advanced":false,"valueTypes":["rpa_str","rpa_datetime"]},{"key":"date_end","label":"结束时间","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"结束日期时间节点,支持常见的日期时间格式,例如:1970-01-01、1970/01/01、1970年01月01日、1970-01-01、12:00:00、12:00:00、12:00等","advanced":false,"valueTypes":["rpa_str","rpa_datetime"]},{"key":"time_type","label":"时长单位","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"4","placeholder":"","description":"换算后时间单位,计算后的时长如果存在小数则向下取整,例如:1.5小时,则返回1小时。","advanced":false,"valueTypes":[]}],"output":{"label":"计算结果保存到","key":"var_name","suggestedName":"时长","valueTypes":["rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int"],"fields":[{"key":"var_name","label":"计算结果保存到","defaultValue":"时长","valueTypes":["rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int"]}]},"slots":[]},{"id":"Time_WeekDay","name":"取星期","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前是本周的第几天即星期几,并输出到指定变量。","messageTemplate":"获取时间戳 $1 正处于星期几, 然后把结果保存到 $0","baseType":"Time_WeekDay","functionName":"Time.WeekDay","functionCalls":[{"function":"Time.WeekDay","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["week","周几","星期几"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_Day","name":"取第几天","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前是今年的第几天,并输出到指定变量。","messageTemplate":"获取时间戳 $1 中的天数, 然后把结果保存到 $0","baseType":"Time_Day","functionName":"Time.Day","functionCalls":[{"function":"Time.Day","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["day","第几天","获取天数"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_Date","name":"取日期","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前日期,并输出到指定变量。","messageTemplate":"获取本机当前日期, 然后把结果保存到 $0","baseType":"Time_Date","functionName":"Time.Date","functionCalls":[{"function":"Time.Date","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["日期","date"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_GetDateV1","name":"获取日期时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取日期时间的年份、月份、当月第几天、星期几等。","messageTemplate":"获取的日期时间为 $2, 然后把结果保存到 $0","baseType":"Time_GetDate","functionName":"Time.GetDateV1","functionCalls":[{"function":"Time.GetDateV1","args":["isNow","date_start","offset_status","offset_unit_num","get_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"isNow","label":"日期时间","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"支持获取当前日期或指定日期","advanced":false,"valueTypes":[]},{"key":"date_start","label":"date_start","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"默认空时为当前运行时的日期时间,可以输入一个日期时间,示例:“2021-07-01 12:00:00”。","advanced":false,"valueTypes":["rpa_str","rpa_none"]},{"key":"offset_status","label":"调整时间","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"可以设置增加或减少多少单位时间,支持输入一个整数。","advanced":false,"valueTypes":[]},{"key":"offset_unit_num","label":"调整长度","widget":"number","type":"number","displayType":"unitInput","required":false,"defaultValue":"[0,4]","placeholder":"请输入正整数","description":"可以设置增加、减少多少单位时间,仅支持输入大于等于0整数。","advanced":false,"valueTypes":[]},{"key":"get_type","label":"获取类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"对应返回的数据格式为:年月日时分秒(2021-07-01 12:00:00)、年月日时分(2021-07-01 12:00)、年月日(2021-07-01)、年份(2021)、月份(7)、当月第几天(1)、上月初日期(2021-06-01)、上月末日期(2021-06-30)、当年第几天(176)、时(12)、分(0)、秒(0)、星期(1)、时间戳-秒级(1625467856)、时间戳-毫秒级(1625467856000)、时间戳-微秒级(1625467856000000)","advanced":false,"valueTypes":[]}],"output":{"label":"获取结果保存到","key":"var_name","suggestedName":"日期时间","valueTypes":["rpa_str","rpa_str","rpa_str","rpa_int","rpa_int","rpa_int","rpa_str","rpa_str","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_str"],"fields":[{"key":"var_name","label":"获取结果保存到","defaultValue":"日期时间","valueTypes":["rpa_str","rpa_str","rpa_str","rpa_int","rpa_int","rpa_int","rpa_str","rpa_str","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_int","rpa_str"]}]},"slots":[]},{"id":"Time_FormatNew","name":"将时间戳转换为日期/时间","kind":"vendor","group":"data","categories":["data_type_conversion","time"],"categorySignature":"data_type_conversion|time","description":"将时间戳或时间对象转换为日期/时间值。","messageTemplate":"将 $1 转换成 $3 格式, 然后把结果保存到 $0","baseType":"Time_Format","functionName":"Time.FormatNew","functionCalls":[{"function":"Time.FormatNew","args":["timestamp","format_type","format"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","日期","时间","转换","转变","转换格式","转换类型","变换"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"待转换数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入时间戳的值或变量,时间戳为10/13/16位的数字。","advanced":false,"valueTypes":["rpa_int"]},{"key":"format_type","label":"转换精度","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"format","label":"时间格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"设置需要转换为的日期时间格式。","advanced":false,"valueTypes":[]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"日期时间","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"日期时间","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Time_Hour","name":"取时","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前小时是几点,并输出到指定变量。","messageTemplate":"获取时间戳 $1 中的小时, 然后把结果保存到 $0","baseType":"Time_Hour","functionName":"Time.Hour","functionCalls":[{"function":"Time.Hour","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["hour","小时","获取小时"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_GetDateV2","name":"获取日期时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取日期时间的年份、月份、当月第几天、星期几等。","messageTemplate":"获取的 $1, 然后把结果保存到 $0","baseType":"Time_GetDate","functionName":"Time.GetDateV2","functionCalls":[{"function":"Time.GetDateV2","args":["time_data"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","日期","时间","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"time_data","label":"获取类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"获取结果保存到","key":"var_name","suggestedName":"日期时间","valueTypes":[],"fields":[{"key":"var_name","label":"获取结果保存到","defaultValue":"日期时间","valueTypes":[]}]},"slots":[]},{"id":"Time_DateOffset_V1","name":"增加/减少时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"在指定日期时间上进行时间增加或者减少。","messageTemplate":"将 $1 {$$2 == 1 && '增加'}{$$2 == 2 && '减少'} $3, 然后把结果保存到 $0","baseType":"Time_DateOffset","functionName":"Time.DateOffset_V1","functionCalls":[{"function":"Time.DateOffset_V1","args":["date_input","offset_status","offset_unit_num","is_fmt","get_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"date_input","label":"原日期时间","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"默认空时为当前运行时的日期时间,可以输入一个日期时间,支持常见的日期格式,示例:1970-01-01 12:00:00、1970/1/1、12:00等。","advanced":false,"valueTypes":["rpa_str","rpa_datetime","rpa_none"]},{"key":"offset_status","label":"调整时间","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"可以对日期时间增加一段时间,减少一段时间。","advanced":false,"valueTypes":[]},{"key":"offset_unit_num","label":"调整长度","widget":"number","type":"number","displayType":"unitInput","required":true,"defaultValue":"[0,4]","placeholder":"","description":"支持输入任意数值,例如:1","advanced":false,"valueTypes":["rpa_str","rpa_int","rpa_float"]},{"key":"is_fmt","label":"指定日期时间格式","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"未勾选时,将按原日期时间格式返回。","advanced":false,"valueTypes":[]},{"key":"get_type","label":"日期时间格式","widget":"text","type":"string","displayType":"dateFormatSelector","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"可在下拉选项中选择需要的格式,或在输入框内自定义编辑格式","advanced":false,"valueTypes":[]}],"output":{"label":"新时间日期","key":"var_name","suggestedName":"日期时间","valueTypes":[],"fields":[{"key":"var_name","label":"新时间日期","defaultValue":"日期时间","valueTypes":[]}]},"slots":[]},{"id":"Time_GetDatetimeObj","name":"获取日期时间信息","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取日期时间的年、月、日等信息(通过返回的日期时间对象的子变量获取)。","messageTemplate":"获取 $1 的详细信息, 然后把结果保存到 $0","baseType":"Time_GetDatetimeObj","functionName":"Time.GetDatetimeObj","functionCalls":[{"function":"Time.GetDatetimeObj","args":["date_input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","日期","时间","年份","月份","天数","小时","分钟","秒钟","星期","当月最后一天","当年第几周","当年第几天","得到","取得","提取","获取到"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"date_input","label":"日期时间","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"默认空表示当前日期时间,可以输入一个日期时间,支持常见的日期格式,示例:1970-01-01 12:00:00、1970/1/1、12:00等","advanced":false,"valueTypes":["rpa_str","rpa_none","rpa_datetime"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"日期时间对象","valueTypes":["rpa_datetime"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"日期时间对象","valueTypes":["rpa_datetime"]}]},"slots":[]},{"id":"Time_Format","name":"时间戳转时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"将时间戳格式数字,转换为标准日期时间格式,可指定时间格式。","messageTemplate":"将 $1 转换成 $2 格式, 然后把结果保存到 $0","baseType":"Time_Format","functionName":"Time.Format","functionCalls":[{"function":"Time.Format","args":["timestamp","format"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"待转化时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1625467856","placeholder":"","description":"Unix时间戳指从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数,不考虑闰秒。Unix时间戳的0按照ISO 8601规范为 :1970-01-01T00:00:00Z","advanced":false,"valueTypes":[]},{"key":"format","label":"时间格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"设置待转换的日期时间格式,如: 2021-07-01 08:08:08","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_DatetimeToTimestamp","name":"时间转时间戳","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"将时间格式的数据,转换为时间戳格式字符。","messageTemplate":"将 $1 转换成时间戳, 然后把结果保存到 $0","baseType":"Time_DatetimeToTimestamp","functionName":"Time.DatetimeToTimestamp","functionCalls":[{"function":"Time.DatetimeToTimestamp","args":["datetime","format"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"datetime","label":"时间","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"根据所选时间格式输入具体时间,如:2021-02-02 20:36:10","advanced":false,"valueTypes":[]},{"key":"format","label":"时间格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"Time_TimeStamp","name":"取时间戳","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取当前时间的时间戳,并输出到指定变量。","messageTemplate":"取当前时间的时间戳, 然后把结果保存到 $0","baseType":"Time_TimeStamp","functionName":"Time.TimeStamp","functionCalls":[{"function":"Time.TimeStamp","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","timestamp"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"numRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"numRet","valueTypes":[]}]},"slots":[]},{"id":"Time_DateOffset","name":"增加/减少时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取日期时间的年份、月份、当月第几天、星期几等。","messageTemplate":"将 $1 {$$2 == 1 && '增加'}{$$2 == 2 && '减少'} $3, 然后把结果保存到 $0","baseType":"Time_DateOffset","functionName":"Time.DateOffset","functionCalls":[{"function":"Time.DateOffset","args":["date_input","offset_status","offset_unit_num","is_fmt","get_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"date_input","label":"原日期时间","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"默认空时为当前运行时的日期时间,可以输入一个日期时间,支持常见的日期格式,示例:1970-01-01 12:00:00、1970/1/1、12:00等。","advanced":false,"valueTypes":["rpa_str","rpa_none"]},{"key":"offset_status","label":"调整时间","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"可以对日期时间增加一段时间,减少一段时间。","advanced":false,"valueTypes":[]},{"key":"offset_unit_num","label":"调整长度","widget":"number","type":"number","displayType":"unitInput","required":false,"defaultValue":"[0,4]","placeholder":"","description":"可以设置增加、减少多少单位时间,仅支持输入大于等于0整数。","advanced":false,"valueTypes":[]},{"key":"is_fmt","label":"指定日期时间格式","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"未勾选时,将按原日期时间格式返回。","advanced":false,"valueTypes":[]},{"key":"get_type","label":"获取类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"对应返回的数据格式为:年月日时分秒(2021-07-01 12:00:00)、年月日时分(2021-07-01 12:00)、年月日(2021-07-01)、年份(2021)、月份(7)、当月第几天(1)、上月初日期(2021-06-01)、上月末日期(2021-06-30)、当年第几天(176)、时(12)、分(0)、秒(0)、星期(1)、时间戳-秒级(1625467856)、时间戳-毫秒级(1625467856000)、时间戳-微秒级(1625467856000000)","advanced":false,"valueTypes":[]}],"output":{"label":"新时间日期","key":"var_name","suggestedName":"日期时间","valueTypes":[],"fields":[{"key":"var_name","label":"新时间日期","defaultValue":"日期时间","valueTypes":[]}]},"slots":[]},{"id":"Time_TimeTypeConversion_V1","name":"转换日期时间格式","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"将当前的时间格式转换为其他格式。","messageTemplate":"将 $1 转换成 $2 格式, 然后把结果保存到 $0","baseType":"Time_TimeTypeConversion","functionName":"Time.TimeTypeConversion_V1","functionCalls":[{"function":"Time.TimeTypeConversion_V1","args":["datetime","get_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","日期","时间","转换","转变","转换格式","转换类型","变换"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"datetime","label":"原日期时间","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入原日期时间,例如:\"2021-11-21 10:10:10\"","advanced":false,"valueTypes":["rpa_str","rpa_datetime"]},{"key":"get_type","label":"日期时间格式","widget":"text","type":"string","displayType":"dateFormatSelector","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"可在下拉选项中选择需要的格式,或在输入框内自定义编辑格式","advanced":false,"valueTypes":[]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"转换结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"转换结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Time_DateToTimestamp","name":"将日期/时间转换为时间戳","kind":"vendor","group":"data","categories":["data_type_conversion","time"],"categorySignature":"data_type_conversion|time","description":"将日期/时间数据转换为时间戳。","messageTemplate":"将 $1 转换成时间戳格式, 然后把结果保存到 $0","baseType":"Time_DateToTimestamp","functionName":"Time.DateToTimestamp","functionCalls":[{"function":"Time.DateToTimestamp","args":["datetime","format_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","日期","时间","转换","转变","转换格式","转换类型","变换"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"datetime","label":"待转换时间","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"输入日期/时间的值或变量,例如:2021-11-21 10:10:10","advanced":false,"valueTypes":["rpa_str","rpa_datetime"]},{"key":"format_type","label":"转换精度","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"时间戳","valueTypes":["rpa_int"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"时间戳","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"Time_Month","name":"取月份","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前月份,并输出到指定变量。","messageTemplate":"获取时间戳 $1 中的月份, 然后把结果保存到 $0","baseType":"Time_Month","functionName":"Time.Month","functionCalls":[{"function":"Time.Month","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["month","月","获取月份"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_Time","name":"取时分秒","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前时间,并输出到指定变量。","messageTemplate":"获取本机当前时分秒, 然后把结果保存到 $0","baseType":"Time_Time","functionName":"Time.Time","functionCalls":[{"function":"Time.Time","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间","time"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_Year","name":"取年份","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前年份,并输出到指定变量。","messageTemplate":"获取时间戳 $1 中的年份, 然后把结果保存到 $0","baseType":"Time_Year","functionName":"Time.Year","functionCalls":[{"function":"Time.Year","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["year","年","获取年份"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_TimeTypeConversion","name":"日期时间格式转换","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"将当前的时间格式转换为其他格式。","messageTemplate":"将 $1 转换成 $2 格式, 然后把结果保存到 $0","baseType":"Time_TimeTypeConversion","functionName":"Time.TimeTypeConversion","functionCalls":[{"function":"Time.TimeTypeConversion","args":["datetime","format"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间戳","日期","时间"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"datetime","label":"原日期时间","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"请输入原日期时间,例如:\"2021-11-21 10:10:10\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"format","label":"时间格式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"%Y-%m-%d %H:%M:%S","placeholder":"","description":"设置需要转换为的日期时间格式,选项为示例格式。","advanced":false,"valueTypes":[]}],"output":{"label":"转换结果保存到","key":"var_name","suggestedName":"转换结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"转换结果保存到","defaultValue":"转换结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Time_Now","name":"取时间","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前时间,包括日期和时间点,并输出到指定变量。","messageTemplate":"获取本机当前时间和日期, 然后把结果保存到 $0","baseType":"Time_Now","functionName":"Time.Now","functionCalls":[{"function":"Time.Now","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["时间","time","date"],"platformTag":"win32","icon":"data","risk":"low","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_Second","name":"取秒","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前秒数时几秒,并输出到指定变量。","messageTemplate":"获取时间戳 $1 中的秒数, 然后把结果保存到 $0","baseType":"Time_Second","functionName":"Time.Second","functionCalls":[{"function":"Time.Second","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["second","秒","获取秒"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"Time_Minute","name":"取分","kind":"vendor","group":"data","categories":["time"],"categorySignature":"time","description":"获取设备当前分钟时几分,并输出到指定变量。","messageTemplate":"获取时间戳 $1 中的分钟, 然后把结果保存到 $0","baseType":"Time_Minute","functionName":"Time.Minute","functionCalls":[{"function":"Time.Minute","args":["timestamp"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["minute","分钟","获取分钟"],"platformTag":"win32","icon":"data","risk":"low","fields":[{"key":"timestamp","label":"时间戳","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"numRet","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"strRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"strRet","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_Switch","name":"切换页面","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"在目标浏览器中,切换Tab到指定的页面,可设定切换匹配页面的对象的地址或标题。","messageTemplate":"在目标浏览器 $1 中切换tab页, 然后把结果保存到 $0","baseType":"WebBrowser_Switch","functionName":"WebBrowser.Switch","functionCalls":[{"function":"WebBrowser.Switch","args":["web","title","url","isActive"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["tab切换","切换到指定页面"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"title","label":"标题(支持正则)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网页标题","description":"输入网页标题,支持正则表达式模糊匹配","advanced":false,"valueTypes":["rpa_str"]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网址","description":"请输入网址,需补充网址前缀\"https://\"或\"http://\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isActive","label":"是否激活","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_SetScrollPos","name":"设置滚动条位置","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"设置目标浏览器滚动条的位置。","messageTemplate":"在目标浏览器 $1 设置目标浏览器滚动条位置, 然后把结果保存到 $0","baseType":"WebBrowser_SetScrollPos","functionName":"WebBrowser.SetScrollPos","functionCalls":[{"function":"WebBrowser.SetScrollPos","args":["web","scrollpos"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["滚动条位置","设置滚动条位置"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"scrollpos","label":"ScrollPos对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入滚动条位置","description":"请输入滚动条位置,示例:{'scrollTop':'0','scrollLeft':'0'},scrollTop为距离顶部的竖向滚动距离,scrollLeft为距离左侧的横向滚动距离,单位为像素。","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_GetTAB_V1","name":"获取网页 Tab 对象","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取浏览器中根据标题或网址匹配到的Tab页,也可获取当前已选中网页,并输出网页对象。","messageTemplate":"获取 $1 中根据 $2 匹配到的网页 , 然后把结果保存到 $0","baseType":"WebBrowser_GetTAB","functionName":"WebBrowser.GetTAB_V1","functionCalls":[{"function":"WebBrowser.GetTAB_V1","args":["type","match_type","title","url","isActive"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"match_type","label":"匹配方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"根据所选匹配方式获取对应Tab页。","advanced":false,"valueTypes":[]},{"key":"title","label":"标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网页标题","description":"填写要匹配的网页标题,支持模糊匹配和正则匹配,如:.*天猫、天猫.*。","advanced":false,"valueTypes":["rpa_str"]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"填写要匹配的网址,支持模糊匹配和正则匹配,如:https://www.tmall.hk/?spm=.*","advanced":false,"valueTypes":["rpa_str"]},{"key":"isActive","label":"激活网页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"切换到第一个匹配的网页","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":["rpa_hWeb"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":["rpa_hWeb"]}]},"slots":[]},{"id":"WebBrowser_SaveAs","name":"下载文件(点击按钮)","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"自动完成点击下载按钮动作,并将下载文件保存到指定路径。","messageTemplate":"点击 $1,保存下载文件到 $3 下, 然后把结果保存到 $0","baseType":"WebBrowser_SaveAs","functionName":"WebBrowser.SaveAs","functionCalls":[{"function":"WebBrowser.SaveAs","args":["uiSelector","fuctype","path","filename","timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"拾取或选择元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"fuctype","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"path","label":"保存文件夹","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"${home}\\Downloads","placeholder":"请输入或选择文件夹路径","description":"选择文件夹,将下载文件保存至此","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"保存文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入保存文件名","description":"重命名下载后的文件","advanced":false,"valueTypes":["rpa_str"]},{"key":"timeout","label":"超时时间(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10000","placeholder":"请设置超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_GetWeblistening","name":"获取监听结果","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取被监听网页在流程运行中产生的结果数据,并可通过网页资源类型、资源URL等维度进行结果数据的筛选。","messageTemplate":"获取目标 $1 $2 的监听结果数据, 然后把结果保存到 $0","baseType":"WebBrowser_GetWeblistening","functionName":"WebBrowser.GetWeblistening","functionCalls":[{"function":"WebBrowser.GetWeblistening","args":["web","web_resource","url","iswildcard"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"","description":"选择已经创建好的目标浏览器网页对象(变量),目标浏览器必须是被监听的网页对象,否则可能无法获取结果。","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"web_resource","label":"网页资源类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"All","placeholder":"","description":"可通过网页资源类型筛选所需要的特定类型数据结果。","advanced":false,"valueTypes":[]},{"key":"url","label":"资源路径(URL)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"可通过特定资源路径筛选想获取的网页监听结果,不做筛选则获取所有请求结果。","advanced":false,"valueTypes":["rpa_str"]},{"key":"iswildcard","label":"启用通配符匹配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页监听数据","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页监听数据","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_BatchDataCrawlNew","name":"数据采集","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"采集网页中的数据(可选择多页),通常用于抓取列表页、详情页中的内容。并将采集出的数据保存至二维表中。","messageTemplate":"采集在当前网页中 $1 的数据, 然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.BatchDataCrawlNew","functionCalls":[{"function":"WebBrowser.BatchDataCrawlNew","args":["config","browserType","showTable","toExcel","filePath","filename"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置数据采集项","widget":"region","type":"object","displayType":"collectData","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browserType","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"目前仅支持Chrome浏览器。请保持采集页桌面置顶,如需更换采集网址,请先清空数据采集配置内的内容。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"在数据表中预览采集效果","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后,该组件运行后的前100条采集结果可在控制台的“数据表”tab中进行展示。","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将采集结果导出至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"${res}","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"Z-Factory数据采集结果_${randomString}.xlsx","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"df","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"df","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_DataCrawl_software","name":"数据采集","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"采集指定软件中页面表格数据,并将采集结果保存到变量或数据表、Excel 中。","messageTemplate":"采集指定软件中页面数据 $2,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCrawl_software","functionCalls":[{"function":"WebBrowser.DataCrawl_software","args":["config","selectorCode","turnPageConfigType","pageCount","showTable","toExcel","filename","filePath","delay_pages","page_scroll","scrollDelay","unable_collect","repeat_count","save","view","toPortal","portal_view"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置数据采集项","widget":"region","type":"object","displayType":"collectDataSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selectorCode","label":"selectorCode","widget":"text","type":"string","displayType":"checkCode","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"turnPageConfigType","label":"采集页数","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"需要采集的页数,当前页、所有页、指定页(需要设置采集总页数)","advanced":false,"valueTypes":[]},{"key":"pageCount","label":"页数","widget":"number","type":"number","displayType":"integerInputNumber","required":false,"defaultValue":"1","placeholder":"","description":"输入需要采集的总页数","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename","label":"Excel 名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"实在RPA-设计器数据采集结果_${randomString}.xls","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"delay_pages","label":"每页延迟(毫秒)","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"0","placeholder":"","description":"采集一页数据需要等待的时间。","advanced":true,"valueTypes":[]},{"key":"page_scroll","label":"页面滚屏(屏)","widget":"number","type":"number","displayType":"integerInputNumber","required":false,"defaultValue":"0","placeholder":"","description":"以当前电脑屏幕为准,可设置滚动多少屏。","advanced":true,"valueTypes":[]},{"key":"scrollDelay","label":"滚屏延迟(毫秒)","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"200","placeholder":"","description":"页面滚屏后加载数据的等待时间,若页面滚屏未设置则不生效。","advanced":true,"valueTypes":[]},{"key":"unable_collect","label":"无法采集时重复执行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当数据采集组件遇到阻碍时,可尝试重复执行,从阻断处继续。","advanced":true,"valueTypes":[]},{"key":"repeat_count","label":"重复次数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"save","label":"将结果保存至松塔","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toPortal","label":"将结果保存至门户","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"portal_view","label":"portal_view","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var0","suggestedName":"批量采集结果","valueTypes":["rpa_list"],"fields":[{"key":"var0","label":"输出到变量","defaultValue":"批量采集结果","valueTypes":["rpa_list"]},{"key":"var1","label":"输出到变量","defaultValue":"采集页码","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"WebBrowser_RunJsInIeByTitle","name":"执行JS","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"在目标浏览器中执行自定义JS代码,可指定输入内容和JScode代码。","messageTemplate":"目标浏览器运行JS代码, 然后把结果保存到 $0","baseType":"WebBrowser_RunJsInIeByTitle","functionName":"WebBrowser.RunJsInIeByTitle","functionCalls":[{"function":"WebBrowser.RunJsInIeByTitle","args":["browserType","title","url","jsCode","input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["JS代码","自定义JS代码","浏览器JS代码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"browserType","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"ie","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"title","label":"目标浏览器窗体名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"百度一下,你就知道","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"url","label":"网址(非必选)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"jsCode","label":"JS代码","widget":"code","type":"string","displayType":"code","required":false,"defaultValue":"jsCode","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"input","label":"输入内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"objRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"objRet","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_CreateBackground","name":"打开网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"通过所选择的浏览器打开指定的网页。","messageTemplate":"通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0","baseType":"WebBrowser_CreateBackground","functionName":"WebBrowser.CreateBackground","functionCalls":[{"function":"WebBrowser.CreateBackground","args":["type","url"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"zexplorer","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"http://www.baidu.com","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_Reload","name":"刷新","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"刷新页面,执行浏览器刷新操作,与工具栏的刷新按钮相同。","messageTemplate":"在目标浏览器 $1 中刷新, 然后把结果保存到 $0","baseType":"WebBrowser_Reload","functionName":"WebBrowser.Reload","functionCalls":[{"function":"WebBrowser.Reload","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["刷新","刷新页面","刷新浏览器"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_Upload","name":"上传文件","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"将指定文件上传到目标浏览器窗体,可设定文件路径。","messageTemplate":"选择上传页所在的浏览器窗体 $0 , 选择上传文件 $1","baseType":"WebBrowser_Upload","functionName":"WebBrowser.Upload","functionCalls":[{"function":"WebBrowser.Upload","args":["uiSelector","path"],"assignTo":""}],"version":"3.3.5.0","tags":["上传","上传文件"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"selectUi","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"path","label":"路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"WebBrowser_CloseWeb_V2","name":"关闭网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"关闭目标网页或浏览器的所有网页。","messageTemplate":"{$$1 == 'select' && '关闭 $3'}{$$1 == 'active' && '关闭$2的当前激活页'}{$$1 == 'browser' && '关闭$2的所有网页'}{$$1 == 'other' && '关闭$3外的其他网页'}{$$1 == 'right' && '关闭$3的右侧网页'}, 然后把结果保存到 $0","baseType":"WebBrowser_CloseWeb","functionName":"WebBrowser.CloseWeb_V2","functionCalls":[{"function":"WebBrowser.CloseWeb_V2","args":["colse_type","browser_type","web","kill","is_close_alert"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭网页","退出网页","关闭","退出","终止","关停"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"colse_type","label":"操作类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"select","placeholder":"","description":"支持传入网页对象或网页对象列表。","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropdownSelectByRpaCore","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"选择或输入需要关闭的网页对象变量。","advanced":false,"valueTypes":["rpa_hWeb","rpa_list_hWeb"]},{"key":"kill","label":"关闭浏览器进程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后会强制关闭浏览器进程以及关联的所有子进程。","advanced":false,"valueTypes":[]},{"key":"is_close_alert","label":"忽略\"离开页面\"弹窗","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_Stop","name":"停止网页加载","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"停止浏览器中的页面加载。","messageTemplate":"在目标浏览器 $1 中停止, 然后把结果保存到 $0","baseType":"WebBrowser_Stop","functionName":"WebBrowser.Stop","functionCalls":[{"function":"WebBrowser.Stop","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["停止加载","中止加载"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_GetDocument","name":"获取网页源码","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器中Document信息,并输出指定变量。","messageTemplate":"在目标浏览器 $1 中获取Document信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetDocument","functionName":"WebBrowser.GetDocument","functionCalls":[{"function":"WebBrowser.GetDocument","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["Document","获取Document","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页源代码","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页源代码","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_SetScrollPos_V1","name":"设置滚动条位置","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"设置目标浏览器滚动条的位置。","messageTemplate":"在目标浏览器 $1 设置目标浏览器滚动条位置, 然后把结果保存到 $0","baseType":"WebBrowser_SetScrollPos","functionName":"WebBrowser.SetScrollPos_V1","functionCalls":[{"function":"WebBrowser.SetScrollPos_V1","args":["web","is_set","selector","scroll_direction","scroll_type","designated_selector","designated_position"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["滚动条","滚动条位置","设置滚动条位置","设置","配置","设定","调配","设置好"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"is_set","label":"设置网页中元素的滚动条","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selector","label":"元素选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择输入框","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"scroll_direction","label":"滚动条类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"scroll_type","label":"滚动条位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_selector","label":"目标元素选择","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"拾取或选择输入框","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_position","label":"指定位置","widget":"region","type":"object","displayType":"mouseRecord","required":false,"defaultValue":"[0,0]","placeholder":"","description":"纵向滚动条只需要配置纵坐标y,向下为正向,如填写100,则滚动条向下滚动100;横向滚动条只需要配置横坐标x,向右为正向,如填写100,则滚动条向右滚动100","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_GetCookie","name":"获取Cookies(指定)","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器中指定键值的Cookies信息,并输出给指定变量。","messageTemplate":"在目标浏览器 $1 中获取键为 $2 的Cookie信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetCookie","functionName":"WebBrowser.GetCookie","functionCalls":[{"function":"WebBrowser.GetCookie","args":["web","name"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"name","label":"cookie的键","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入cookie的键名","description":"输入cookie的键名","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"cookie键值","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"cookie键值","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_BatchDataCrawlNewV1","name":"数据采集","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"采集网页中的数据(可选择多页),通常用于抓取列表页、详情页中的内容。并将采集出的数据保存至二维表中。","messageTemplate":"采集在当前网页中 $1 的数据, 然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.BatchDataCrawlNewV1","functionCalls":[{"function":"WebBrowser.BatchDataCrawlNewV1","args":["config","browserType","showTable","toExcel","filePath","filename"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置数据采集项","widget":"region","type":"object","displayType":"collectData","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browserType","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"目前仅支持Chrome浏览器。请保持采集页桌面置顶,如需更换采集网址,请先清空数据采集配置内的内容。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"在数据表中预览采集效果","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后,该组件运行后的采集结果可在控制台的“数据表”tab中进行展示。","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将采集结果导出至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${res}","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"实在RPA-设计器数据采集结果_${randomString}.xlsx","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"df","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"df","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_DownFile","name":"下载文件(指定链接)","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"用浏览器下载指定链接的文件并保存到指定路径。","messageTemplate":"使用 $1 下载文件,使用$6文件名保存到路径$5下, 然后把结果保存到 $0","baseType":"WebBrowser_DownFile","functionName":"WebBrowser.DownFile","functionCalls":[{"function":"WebBrowser.DownFile","args":["url","param","headers","cookies","savepath","filename","waittype","timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"url","label":"下载链接","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入下载链接","description":"输入下载链接","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入请求头","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入待设置cookie,例如:{'a':1,'b':2}","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"savepath","label":"保存文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${home}\\Downloads","placeholder":"请输入或选择文件夹路径","description":"选择文件夹,将下载文件保存至此","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"保存文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入保存文件名","description":"重命名下载后的文件","advanced":false,"valueTypes":["rpa_str"]},{"key":"waittype","label":"同步下载","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"是否允许多个文件同时下载","advanced":false,"valueTypes":[]},{"key":"timeout","label":"超时时间(毫秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10000","placeholder":"请设置超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_Create","name":"打开网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"通过所选择的浏览器打开指定的网页。","messageTemplate":"通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0","baseType":"WebBrowser_Create","functionName":"WebBrowser.Create","functionCalls":[{"function":"WebBrowser.Create","args":["type","url","isRemote","ipAddress","port","waitingload"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["打开页面","打开浏览器","浏览器","打开","页面"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网址","description":"请输入网址,需补充网址前缀\"https://\"或\"http://\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isRemote","label":"是否远程","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入连接远程计算机的 IP 地址,如:192.168.64.161。","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"61619","placeholder":"","description":"输入远程连接计算机的端口号,若未单独设置端口号默认为 61619。","advanced":false,"valueTypes":["rpa_str"]},{"key":"waitingload","label":"等待页面加载完成","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后将等待页面的所有元素加载完成后,再继续执行后续流程","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":["rpa_hWeb"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":["rpa_hWeb"]}]},"slots":[]},{"id":"WebBrowser_RunJsInIeBySelector","name":"执行JS","kind":"vendor","group":"web","categories":["base_command","webBrowser"],"categorySignature":"base_command|webBrowser","description":"在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。","messageTemplate":"目标 $1 运行JS代码, 然后把结果保存到 $0","baseType":"WebBrowser_RunJsInIeBySelector","functionName":"WebBrowser.RunJsInIeBySelector","functionCalls":[{"function":"WebBrowser.RunJsInIeBySelector","args":["uiSelector","jsCode","input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["js代码","自定义js代码","浏览器js代码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"目标指在哪个元素上执行JS,可拾取或选择网页元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"jsCode","label":"JS代码","widget":"code","type":"string","displayType":"code","required":true,"defaultValue":"\"\"\"jsCode\"\"\"","placeholder":"请输入JS代码","description":"支持输入JS代码块","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"输入参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入参数列表","description":"支持在JS代码块中传入流程参数,数据格式为列表。","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行返回结果","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行返回结果","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_SaveAs_V1","name":"下载文件(点击按钮)","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"自动完成点击下载按钮动作,并将下载文件保存到指定路径。","messageTemplate":"点击 $1,保存下载文件到 $3 下, 然后把结果保存到 $0","baseType":"WebBrowser_SaveAs","functionName":"WebBrowser.SaveAs_V1","functionCalls":[{"function":"WebBrowser.SaveAs_V1","args":["uiSelector","fuctype","path","filename","timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择元素","description":"拾取或选择元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"fuctype","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"path","label":"保存文件夹","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"${home}\\Downloads","placeholder":"请输入或选择文件夹路径","description":"选择文件夹,将下载文件保存至此","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"保存文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入保存文件名","description":"重命名下载后的文件","advanced":false,"valueTypes":["rpa_str"]},{"key":"timeout","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"请设置超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_DownloadDialog","name":"处理下载对话框","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"处理网页中出现的下载文件对话框。","messageTemplate":"点击 $1 中下载对话框的 $2 按钮,{$$2 == 1 && '取消下载文件'}{$$2 == 0 && '下载文件到 $3,然后把结果保存到 $0'}","baseType":"WebBrowser_DownloadDialog","functionName":"WebBrowser.DownloadDialog","functionCalls":[{"function":"WebBrowser.DownloadDialog","args":["web","button_type","save_path","custom_name","file_name","action","download_time","operation","interval","dialog_time"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["处理","处置","办理","处理数据","加工"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标网页对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"请选择或输入目标网页对象变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"button_type","label":"点击按钮","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择点击对话框中的按钮","advanced":false,"valueTypes":[]},{"key":"save_path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${home}\\Downloads","placeholder":"输入或选择保存路径","description":"将下载的文件储存至该路径。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"custom_name","label":"自定义文件名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对下载文件进行重命名。","advanced":false,"valueTypes":[]},{"key":"file_name","label":"文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请填写文件名","description":"请填写下载后的文件名,若非使用IE浏览器,无需填写文件名后缀","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件。跳过,跳过本次操作,返回当前同名文件路径。","advanced":false,"valueTypes":[]},{"key":"download_time","label":"下载超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"300","placeholder":"","description":"文件下载超时时间,如果在此时间内未下载完成,将返回执行失败。","advanced":false,"valueTypes":["rpa_int"]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"当弹出下载文件保存路径弹窗时,可设置输入路径的方式(不同环境需要选择合适的输入方式)。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"dialog_time","label":"对话框出现超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"30","placeholder":"","description":"等待下载对话框出现的时间,超过该时间将报异常报错。","advanced":true,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_DataCollectionV4","name":"数据采集","kind":"vendor","group":"web","categories":["data_parse","get_web_data","get_soft_data"],"categorySignature":"data_parse|get_web_data|get_soft_data","description":"采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。","messageTemplate":"从配置规则 $4 中获取数据,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCollectionV4","functionCalls":[{"function":"WebBrowser.DataCollectionV4","args":["config","designated_info","designated_obj","region","collect_pages","collect_items","page_type","selector_page","selector_more","deduplication","operation_num","scroll_config","wait_time_page","showTable","toExcel","filename_suffix","use_name","append_data","use_sheet","sheet_name","filePath","monitor_data"],"assignTo":"var0,var1,var2"}],"version":"3.3.5.0","tags":["数据","资料","数据信息","数据内容","数据集"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"monitor_data","label":"监控空列数据","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"config","label":"采集数据","widget":"region","type":"object","displayType":"collectDataSelectorV2","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"region","label":"采集范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"collect_pages","label":"采集页数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"collect_items","label":"采集条数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"20","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"page_type","label":"翻页方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selector_page","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择按钮","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"selector_more","label":"加载更多按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择加载更多元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"deduplication","label":"采集数据内容去除重复行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对采集并处理后的数据内容进行筛选,移除完全相同的数据行","advanced":false,"valueTypes":[]},{"key":"operation_num","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"scroll_config","label":"页面滚动设置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"wait_time_page","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_num"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename_suffix","label":"Excel 名称","widget":"text","type":"string","displayType":"inputGroup","required":false,"defaultValue":"","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"use_name","label":"不包含表头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"append_data","label":"数据追加","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"从第一个可用行开始写入数据,不勾选则整表覆盖写入。","advanced":false,"valueTypes":[]},{"key":"use_sheet","label":"指定 Sheet 页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet_name","label":"sheet_name","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"Sheet名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]}],"output":{"label":"采集结果输出至变量","key":"var0","suggestedName":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"],"fields":[{"key":"var0","label":"采集结果输出至变量","defaultValue":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"]},{"key":"var1","label":"输出到变量","defaultValue":"Excel路径","valueTypes":["rpa_str"]},{"key":"var2","label":"监控结果","defaultValue":"监控空列数据","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"WebBrowser_DownloadFile_V1","name":"下载文件","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"自动点击按钮或根据下载地址完成文件下载。","messageTemplate":"通过 $1 $2 下载文件至 $6, 然后把结果保存到 $0","baseType":"WebBrowser_DownloadFile","functionName":"WebBrowser.DownloadFile_V1","functionCalls":[{"function":"WebBrowser.DownloadFile_V1","args":["down_type","download_selector","designated_info","designated_obj","url","save_path","custom_name","file_name","action","download_time","operation_click","operation","interval","headers","body","cookies","is_sync","dialog_time"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文件","文档","文件档","档案","文件资料"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"down_type","label":"下载方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"点击元素,通过点击界面中元素来下载文件。指定地址,通过指定下载地址下载文件。如果能获取下载文件的地址,使用指定地址下载方式会更加稳定。","advanced":false,"valueTypes":[]},{"key":"download_selector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"url","label":"下载地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"输入下载文件地址","description":"输入下载文件地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"save_path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${home}\\Downloads","placeholder":"输入或选择保存路径","description":"将下载的文件存储至本地路径。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"custom_name","label":"自定义文件名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对下载文件进行重命名,若保存路径为浏览器默认下载路径,文件存在时的处理可能会不生效","advanced":false,"valueTypes":[]},{"key":"file_name","label":"文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"自定义文件名","placeholder":"请填写文件名","description":"文件名为空则使用原文件名","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件。跳过,跳过本次操作,返回当前同名文件路径。","advanced":false,"valueTypes":[]},{"key":"download_time","label":"下载超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"300","placeholder":"","description":"文件下载超时时间,如果在此时间内未下载完成,将返回执行失败。","advanced":false,"valueTypes":["rpa_int"]},{"key":"operation_click","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":true,"valueTypes":[]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"当弹出下载文件保存路径弹窗时,可设置输入路径的方式(不同环境需要选择合适的输入方式)。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"headers","label":"Headers","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入Headers","description":"","advanced":true,"valueTypes":["rpa_dict"]},{"key":"body","label":"Params","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入Params","description":"","advanced":true,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"Cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入Cookies","description":"","advanced":true,"valueTypes":["rpa_dict"]},{"key":"is_sync","label":"同步下载","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择否,将不等待下载完成,并且返回值将输出None,另外流程终止下载会全部停止。","advanced":true,"valueTypes":[]},{"key":"dialog_time","label":"对话框出现超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"30","placeholder":"","description":"点击下载元素后,等待对话框出现的超时时间。","advanced":true,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_none","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_none","rpa_str"]}]},"slots":[]},{"id":"WebBrowser_GetCookieNew","name":"获取完整Cookies","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器的完整Cookies信息,并输出Cookies包含的各个字段列表数据。","messageTemplate":"在目标浏览器 $1 中获取 $2 的Cookie信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetCookie","functionName":"WebBrowser.GetCookieNew","functionCalls":[{"function":"WebBrowser.GetCookieNew","args":["web","source","url"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"source","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"auto","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"url","label":"指定链接","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"Cookie字段列表","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"Cookie字段列表","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"WebBrowser_RunJsInIeBySelector_v3","name":"执行JS","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。","messageTemplate":"在网页 $2 中的元素 $3 上运行JS代码, 然后把结果保存到 $0","baseType":"WebBrowser_RunJsInIeBySelector","functionName":"WebBrowser.RunJsInIeBySelector_v3","functionCalls":[{"function":"WebBrowser.RunJsInIeBySelector_v3","args":["designated_info","web_page","uiSelector","jsCode","input","executionEnvironment","isAsyncCode","waitResultTimeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["js代码","自定义js代码","浏览器js代码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web_page","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"jsCode","label":"JS代码","widget":"code","type":"string","displayType":"code","required":true,"defaultValue":"\"\"\"function (input) {\n\t// 在此处编写您的Javascript代码\n\t// input表示输入的参数,可根据实际情况增加参数\n\n\treturn null;\n}\"\"\"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"输入参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_list"]},{"key":"executionEnvironment","label":"执行环境","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"MAIN","placeholder":"","description":"JS脚本的目标执行环境","advanced":true,"valueTypes":[]},{"key":"isAsyncCode","label":"等待异步函数完成","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"请在执行的是异步JS函数且需要等待异步函数执行完成的情况下勾选此配置(注:IE浏览器不支持异步方法)。","advanced":true,"valueTypes":[]},{"key":"waitResultTimeout","label":"异步超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"30","placeholder":"","description":"等待异步函数结束超时时间,-1表示一直等待","advanced":true,"valueTypes":["rpa_num"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行返回结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行返回结果","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_CloseWeb_V1","name":"关闭网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"关闭目标浏览器网页,通过变量指定关闭的浏览器对象。","messageTemplate":"{$$1 == 1 && '关闭 $2 中被激活的Tab页'}{$$1 == 2 && '在目标浏览器 $3 中关闭网页'}{$$1 == 3 && '关闭 $2 中所有标签页'}, 然后把结果保存到 $0","baseType":"WebBrowser_CloseWeb","functionName":"WebBrowser.CloseWeb_V1","functionCalls":[{"function":"WebBrowser.CloseWeb_V1","args":["colse_type","browser_type","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭网页","退出网页"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"colse_type","label":"关闭类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"2","placeholder":"","description":"选择关闭类型","advanced":false,"valueTypes":[]},{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_RunJsInIeBySelector_v2","name":"执行JS","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。","messageTemplate":"目标 $1 运行JS代码, 然后把结果保存到 $0","baseType":"WebBrowser_RunJsInIeBySelector","functionName":"WebBrowser.RunJsInIeBySelector_v2","functionCalls":[{"function":"WebBrowser.RunJsInIeBySelector_v2","args":["uiSelector","designated_info","designated_obj","jsCode","input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["js代码","自定义js代码","浏览器js代码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"jsCode","label":"JS代码","widget":"code","type":"string","displayType":"code","required":true,"defaultValue":"jsCode","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"输入参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行返回结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行返回结果","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_DataCollectionV2","name":"数据采集","kind":"vendor","group":"web","categories":["data_parse","get_web_data","get_soft_data"],"categorySignature":"data_parse|get_web_data|get_soft_data","description":"采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。","messageTemplate":"从配置规则 $2 中获取数据,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCollectionV2","functionCalls":[{"function":"WebBrowser.DataCollectionV2","args":["config","region","page_config","page_num","wait_time_page","uiSelector_page","operation_page","num","page_element","uiSelector_num","operation_num","wait_time_num","showTable","toExcel","filename_suffix","use_name","use_sheet","sheet_name","filePath","save","view"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置采集数据","widget":"region","type":"object","displayType":"collectDataSelectorV2","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"region","label":"采集范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_config","label":"设置页数","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_num","label":"页数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"wait_time_page","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"uiSelector_page","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_page","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"num","label":"设置条数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"20","placeholder":"","description":"按条采集需要设置采集的条数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"page_element","label":"翻页按钮","widget":"boolean","type":"boolean","displayType":"switchControl","required":false,"defaultValue":"0","placeholder":"","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":[]},{"key":"uiSelector_num","label":"uiSelector_num","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_num","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"wait_time_num","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename_suffix","label":"Excel 名称","widget":"text","type":"string","displayType":"inputGroup","required":false,"defaultValue":"","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"use_name","label":"不包含表头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use_sheet","label":"指定 Sheet 页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet_name","label":"sheet_name","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"Sheet名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"save","label":"将结果保存至松塔数据平台","widget":"text","type":"string","displayType":"saveToSongTa","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var0","suggestedName":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"],"fields":[{"key":"var0","label":"输出到变量","defaultValue":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"]},{"key":"var1","label":"输出到变量","defaultValue":"Excel路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_DownFile_V1","name":"下载文件(指定链接)","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"用浏览器下载指定链接的文件并保存到指定路径。","messageTemplate":"使用 $1 下载文件,使用$6文件名保存到路径$5下, 然后把结果保存到 $0","baseType":"WebBrowser_DownFile","functionName":"WebBrowser.DownFile_V1","functionCalls":[{"function":"WebBrowser.DownFile_V1","args":["url","param","headers","cookies","savepath","filename","waittype","timeout"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"url","label":"下载链接","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入下载链接","description":"输入下载链接","advanced":false,"valueTypes":["rpa_str"]},{"key":"param","label":"表单参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入请求参数","description":"输入请求参数,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"headers","label":"请求头","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入请求头","description":"输入请求头,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"cookies","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入待设置cookie,例如:{'a':1,'b':2}","description":"输入cookies,数据类型为字典","advanced":false,"valueTypes":["rpa_dict"]},{"key":"savepath","label":"保存文件夹","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${home}\\Downloads","placeholder":"请输入或选择文件夹路径","description":"选择文件夹,将下载文件保存至此","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"保存文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入保存文件名","description":"重命名下载后的文件","advanced":false,"valueTypes":["rpa_str"]},{"key":"waittype","label":"同步下载","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"是否允许多个文件同时下载","advanced":false,"valueTypes":[]},{"key":"timeout","label":"超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"10","placeholder":"请设置超时时间","description":"输入请求超时时间","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_CreateV2","name":"打开网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"通过所选择的浏览器打开指定的网页。","messageTemplate":"通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0","baseType":"WebBrowser_Create","functionName":"WebBrowser.CreateV2","functionCalls":[{"function":"WebBrowser.CreateV2","args":["type","url","isRemote","ipAddress","port","arguments","waitingload"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["打开页面","打开浏览器","浏览器","打开","页面"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网址","description":"请输入网址,需补充网址前缀\"https://\"或\"http://\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isRemote","label":"是否远程","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入连接远程计算机的 IP 地址,如:192.168.64.161。","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"61619","placeholder":"","description":"输入远程连接计算机的端口号,若未单独设置端口号默认为 61619。","advanced":false,"valueTypes":["rpa_str"]},{"key":"arguments","label":"携带参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要携带的参数","description":"启动应用时携带的参数,示例:无痕模式启动Chrome,可输入\"--incognito\"。为空表示不携带参数。","advanced":true,"valueTypes":["rpa_str"]},{"key":"waitingload","label":"等待页面加载完成","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后将等待页面的所有元素加载完成后,再继续执行后续流程","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":["rpa_hWeb"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":["rpa_hWeb"]}]},"slots":[]},{"id":"WebBrowser_GetBrowserPicV1","name":"浏览器截图","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"对网页进行截图,并将截图保存到指定路径或剪切板。","messageTemplate":"在目标浏览器 $1 中获取浏览器截图,保存路径为 $4 图像名为 $6, 然后把结果保存到 $0","baseType":"WebBrowser_GetBrowserPic","functionName":"WebBrowser.GetBrowserPicV1","functionCalls":[{"function":"WebBrowser.GetBrowserPicV1","args":["web","cut_range","save_clp","savepath","gen_pic_name","pic_name","cover","height"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["WebBrowser"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"可以使用“打开网页”组件返回的变量。","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"cut_range","label":"截取范围","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"可视区域指对当前网页可见的区域进行截图。整个网页指对当前整个网页进行截图。","advanced":false,"valueTypes":[]},{"key":"save_clp","label":"保存至剪切板","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"将截取的图像保存至剪切板,可在剪切板组件中在对其做其他操作。","advanced":false,"valueTypes":[]},{"key":"savepath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请选择保存路径","description":"选择截图保存路径,为空时将保存至流程根目录。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"gen_pic_name","label":"随机生成图像名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"pic_name","label":"图片名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入图片名","description":"输入截图的文件名,图片格式为PNG格式。","advanced":false,"valueTypes":["rpa_str"]},{"key":"cover","label":"文件存在进行覆盖","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后,如果文件已存在将对其覆盖。不勾选,如果文件已存在将在文件名后缀自动加“-1”区分。","advanced":false,"valueTypes":[]},{"key":"height","label":"最大截图高度","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"10000","placeholder":"请输入正整数","description":"当截取整个网页时,网页的最大截取高度。数值过大容易失败,数值请不要超过60000 px。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"截图路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"截图路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_GetTAB","name":"获取Tab页","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取Tab页。","messageTemplate":"获取Tab页, 然后把结果保存到 $0","baseType":"WebBrowser_GetTAB","functionName":"WebBrowser.GetTAB","functionCalls":[{"function":"WebBrowser.GetTAB","args":["type","title","url","isActive","isRemote","ipAddress","port"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"ie","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"title","label":"标题(支持正则)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"url","label":"网址(非必选)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isActive","label":"是否激活","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isRemote","label":"是否远程","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":["rpa_hWeb"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":["rpa_hWeb"]}]},"slots":[]},{"id":"WebBrowser_CloseWeb","name":"关闭网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"关闭目标浏览器网页,通过变量指定关闭的浏览器对象。","messageTemplate":"在目标浏览器 $1 中关闭网页, 然后把结果保存到 $0","baseType":"WebBrowser_CloseWeb","functionName":"WebBrowser.CloseWeb","functionCalls":[{"function":"WebBrowser.CloseWeb","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭网页","退出网页"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_Close","name":"关闭浏览器","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"关闭目标浏览器,通过变量指定关闭的浏览器对象。","messageTemplate":"在目标浏览器 $1 中关闭浏览器, 然后把结果保存到 $0","baseType":"WebBrowser_Close","functionName":"WebBrowser.Close","functionCalls":[{"function":"WebBrowser.Close","args":["web","kill"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭浏览器","退出浏览器"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"kill","label":"关闭浏览器进程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"选择后会强制关闭浏览器进程以及关联的所有子进程。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_DataCollectionV3","name":"数据采集","kind":"vendor","group":"web","categories":["data_parse","get_web_data","get_soft_data"],"categorySignature":"data_parse|get_web_data|get_soft_data","description":"采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。","messageTemplate":"从配置规则 $2 中获取数据,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCollectionV3","functionCalls":[{"function":"WebBrowser.DataCollectionV3","args":["config","designated_info","designated_obj","region","page_config","page_num","wait_time_page","uiSelector_page","operation_page","num","page_element","uiSelector_num","operation_num","wait_time_num","showTable","toExcel","filename_suffix","use_name","use_sheet","sheet_name","filePath","save","view"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置采集数据","widget":"region","type":"object","displayType":"collectDataSelectorV2","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"region","label":"采集范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_config","label":"设置页数","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_num","label":"页数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"wait_time_page","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"uiSelector_page","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_page","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"num","label":"设置条数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"20","placeholder":"","description":"按条采集需要设置采集的条数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"page_element","label":"翻页按钮","widget":"boolean","type":"boolean","displayType":"switchControl","required":false,"defaultValue":"0","placeholder":"","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":[]},{"key":"uiSelector_num","label":"uiSelector_num","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_num","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"wait_time_num","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename_suffix","label":"Excel 名称","widget":"text","type":"string","displayType":"inputGroup","required":false,"defaultValue":"","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"use_name","label":"不包含表头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use_sheet","label":"指定 Sheet 页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet_name","label":"sheet_name","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"Sheet名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"save","label":"将结果保存至松塔数据平台","widget":"text","type":"string","displayType":"saveToSongTa","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var0","suggestedName":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"],"fields":[{"key":"var0","label":"输出到变量","defaultValue":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"]},{"key":"var1","label":"输出到变量","defaultValue":"Excel路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_Maximize","name":"最大化浏览器","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"最大化浏览器。","messageTemplate":"将 $0 所在浏览器最大化","baseType":"WebBrowser_Maximize","functionName":"WebBrowser.Maximize","functionCalls":[{"function":"WebBrowser.Maximize","args":["web"],"assignTo":""}],"version":"3.3.5.0","tags":["WebBrowser"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"WebBrowser_GoForward","name":"前进","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"执行浏览器前进操作,与工具栏的前进按钮相同。","messageTemplate":"在目标浏览器 $1 中前进, 然后把结果保存到 $0","baseType":"WebBrowser_GoForward","functionName":"WebBrowser.GoForward","functionCalls":[{"function":"WebBrowser.GoForward","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["前进","浏览器前进","网页前进"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_SetCookies","name":"设置Cookies","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"设置目标浏览器中Cookies的值,并输出给指定变量。","messageTemplate":"在目标浏览器 $1 中设置Cookies, 然后把结果保存到 $0","baseType":"WebBrowser_SetCookies","functionName":"WebBrowser.SetCookies","functionCalls":[{"function":"WebBrowser.SetCookies","args":["web","cookies"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["cookies","设定cookies"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"cookies","label":"cookie对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"{}","placeholder":"请输入一个字典对象","description":"输入一个字典对象,格式为{'name':'cookieName','value':'cookieValue'},示例{'name':'ab','value':'cd'}","advanced":false,"valueTypes":["rpa_dict"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_StartWeblistening","name":"启动网页监听","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"启动网页监听任务,运行后开始监听目标网页的网页请求并采集到网页请求产生的数据。","messageTemplate":"启动网页监听任务监听目标 $0 的接口请求数据","baseType":"WebBrowser_StartWeblistening","functionName":"WebBrowser.StartWeblistening","functionCalls":[{"function":"WebBrowser.StartWeblistening","args":["web"],"assignTo":""}],"version":"3.3.5.0","tags":["启动","开启","运行","打开","启用"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"","description":"选择已经创建好的目标浏览器网页对象(变量),可通过打开网页组件等组件创建变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"WebBrowser_Wait","name":"等待网页加载","kind":"vendor","group":"web","categories":["waite","webBrowser_operate"],"categorySignature":"waite|webBrowser_operate","description":"等待浏览器页面加载完成,然后执行后续流程。","messageTemplate":"在目标浏览器 $1 中等待, 然后把结果保存到 $0","baseType":"WebBrowser_Wait","functionName":"WebBrowser.Wait","functionCalls":[{"function":"WebBrowser.Wait","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["页面加载","等待加载","loading","等待","延时","延迟","等候","暂停"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"请输入或选择目标浏览器变量","description":"输入或选择目标浏览器变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_UploadDialog","name":"处理上传对话框","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"处理网页中出现的上传文件对话框。","messageTemplate":"点击 $0 中上传对话框的 $1 按钮,{$$1 == 0 && '上传$2 $3$4'}{$$1 == 1 && '取消上传文件'}","baseType":"WebBrowser_UploadDialog","functionName":"WebBrowser.UploadDialog","functionCalls":[{"function":"WebBrowser.UploadDialog","args":["web","button_type","file_type","file_path","folder_path","upload_time","operation","interval","dialog_time"],"assignTo":""}],"version":"3.3.5.0","tags":["上传框","对话框","上传","处理","处置","办理","处理数据","加工"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"请选择或输入目标网页对象变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"button_type","label":"点击按钮","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择点击对话框中的按钮","advanced":false,"valueTypes":[]},{"key":"file_type","label":"上传类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"选择上传文件或文件夹","advanced":false,"valueTypes":[]},{"key":"file_path","label":"文件路径","widget":"file","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"输入或选择文件路径","description":"请输入要上传文件或文件夹的完整路径,若需要上传多个,常规模式下,多个路径使用 ; 进行分隔;代码模式下,可使用文件路径列表,或输入字符串类型的多个文件路径的地址拼接,例如:“文件1路径;文件2路径”","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"folder_path","label":"文件夹路径","widget":"folder","type":"object","displayType":"multiSelectFileOrDir","required":true,"defaultValue":"","placeholder":"输入或选择文件夹路径","description":"请输入要上传文件或文件夹的完整路径,若需要上传多个,常规模式下,多个路径使用 ; 进行分隔;代码模式下,可使用文件路径列表,或输入字符串类型的多个文件路径的地址拼接,例如:“文件1路径;文件2路径”","advanced":false,"valueTypes":["rpa_str","rpa_list"]},{"key":"upload_time","label":"上传超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"60","placeholder":"","description":"文件上传超时时间,如果在此时间内未上传完成,将返回执行失败。","advanced":false,"valueTypes":["rpa_int"]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"当弹出上传文件路径弹窗时,可以设置输入路径的方式(不同路径需要选择合入的数据方式)。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"dialog_time","label":"对话框出现超时时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"30","placeholder":"","description":"等待上传对话框出现的时间,超过该时间将报异常报错。","advanced":true,"valueTypes":["rpa_num"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"WebBrowser_Switch_V1","name":"切换页面","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"在浏览器中切换标签页到指定的网页对象,可配合获取网页tab对象、打开网页、网页对象列表使用。","messageTemplate":"切换浏览器的标签页至目标 $1, 然后把结果保存到 $0","baseType":"WebBrowser_Switch","functionName":"WebBrowser.Switch_V1","functionCalls":[{"function":"WebBrowser.Switch_V1","args":["web","is_active"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["tab切换","切换到指定页面","切换"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"请选择或输入网页对象变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"is_active","label":"是否激活","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_DataCrawl_web","name":"数据采集","kind":"vendor","group":"web","categories":["get_soft_data","get_web_data","data_parse"],"categorySignature":"get_soft_data|get_web_data|data_parse","description":"采集网页中的表格内容、商品列表页、商品详情页内容(可选多页),并将采集的结果保存至变量或数据表、Excel中。","messageTemplate":"采集指定网页中数据 $2,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCrawl_web","functionCalls":[{"function":"WebBrowser.DataCrawl_web","args":["config","selectorCode","web","turnPageConfigType","pageCount","showTable","toExcel","filename","filePath","delay_pages","page_scroll","scrollDelay","unable_collect","repeat_count","save","view","toPortal","portal_view"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置数据采集项","widget":"region","type":"object","displayType":"collectDataSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selectorCode","label":"selectorCode","widget":"text","type":"string","displayType":"checkCode","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"","description":"输入一个获取到hweb对象或创建的hweb对象。","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"turnPageConfigType","label":"采集页数","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"需要采集的页数,当前页、所有页、指定页(需要设置采集总页数)","advanced":false,"valueTypes":[]},{"key":"pageCount","label":"页数","widget":"number","type":"number","displayType":"integerInputNumber","required":false,"defaultValue":"1","placeholder":"","description":"输入需要采集的总页数","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename","label":"Excel 名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"实在RPA-设计器数据采集结果_${randomString}.xls","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"delay_pages","label":"每页延迟(毫秒)","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"0","placeholder":"","description":"采集一页数据需要等待的时间。","advanced":true,"valueTypes":[]},{"key":"page_scroll","label":"页面滚屏(屏)","widget":"number","type":"number","displayType":"integerInputNumber","required":false,"defaultValue":"5","placeholder":"","description":"以当前电脑屏幕为准,可设置滚动多少屏。","advanced":true,"valueTypes":[]},{"key":"scrollDelay","label":"滚屏延迟(毫秒)","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"200","placeholder":"","description":"页面滚屏后加载数据的等待时间,若页面滚屏未设置则不生效。","advanced":true,"valueTypes":[]},{"key":"unable_collect","label":"无法采集时重复执行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"当数据采集组件遇到阻碍时,可尝试重复执行,从阻断处继续。","advanced":true,"valueTypes":[]},{"key":"repeat_count","label":"重复次数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"save","label":"将结果保存至松塔","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toPortal","label":"将结果保存至门户","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"portal_view","label":"portal_view","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var0","suggestedName":"批量采集结果","valueTypes":["rpa_list_piliangshuju"],"fields":[{"key":"var0","label":"输出到变量","defaultValue":"批量采集结果","valueTypes":["rpa_list_piliangshuju"]},{"key":"var1","label":"输出到变量","defaultValue":"采集页码","valueTypes":["rpa_int"]}]},"slots":[]},{"id":"WebBrowser_DataCrawler","name":"爬取数据","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"自动爬取网页数据,并输出到指定变量。通过元素拾取识别采样规则,可设定翻页次数。","messageTemplate":"找出采样列表的规则,可自动翻 $3 页 $4 次(每次停留 $5 秒),导出页面的所有同类数据,并赋值给 $1 , 然后把结果保存到 $0","baseType":"WebBrowser_DataCrawler","functionName":"WebBrowser.DataCrawler","functionCalls":[{"function":"WebBrowser.DataCrawler","args":["targets","with_url","next_page_selector","next_page_times","next_page_interval"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["数据爬取","网页数据采集","自动采集"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"targets","label":"采样列表","widget":"text","type":"string","displayType":"crawlData","required":false,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"with_url","label":"是否带url","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"next_page_selector","label":"下一页点击目标","widget":"element","type":"object","displayType":"selectUi","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"next_page_times","label":"翻页次数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"next_page_interval","label":"翻页停留间隔","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"单位:s(秒)","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_StopWeblistening","name":"停止网页监听","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"停止针对某个网页对象的请求监听任务。","messageTemplate":"停止对 $0 网页请求的监听","baseType":"WebBrowser_StopWeblistening","functionName":"WebBrowser.StopWeblistening","functionCalls":[{"function":"WebBrowser.StopWeblistening","args":["web"],"assignTo":""}],"version":"3.3.5.0","tags":["WebBrowser"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"","description":"选择已经创建好的目标浏览器网页对象(变量),可通过打开网页组件等组件创建变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"WebBrowser_GetTAB_V2","name":"获取网页 Tab 对象","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取浏览器中根据标题或网址匹配到的Tab页,也可获取当前已选中网页,并输出网页对象。","messageTemplate":"获取 $1 中根据 $2 匹配到的网页 , 然后把结果保存到 $0","baseType":"WebBrowser_GetTAB","functionName":"WebBrowser.GetTAB_V2","functionCalls":[{"function":"WebBrowser.GetTAB_V2","args":["browser_type","match_type","title","url","get_all","isActive"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropdownSelectByRpaCore","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"match_type","label":"匹配方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"0","placeholder":"","description":"根据所选匹配方式获取对应Tab页。","advanced":false,"valueTypes":[]},{"key":"title","label":"标题","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入网页标题","description":"填写要匹配的网页标题,支持模糊匹配和正则匹配,如:.*天猫、天猫.*。","advanced":false,"valueTypes":["rpa_str"]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"填写要匹配的网址,支持模糊匹配和正则匹配,如:https://www.tmall.hk/?spm=.*","advanced":false,"valueTypes":["rpa_str"]},{"key":"get_all","label":"获取全部匹配项","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"默认不勾选,表示仅获取匹配到的第一个网页对象,输出值一个网页对象。勾选则表示获取所有匹配到的网页对象,输出值为网页对象列表,输出到变量属性的值变为“网页对象列表”。","advanced":false,"valueTypes":[]},{"key":"isActive","label":"激活网页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"切换到第一个匹配的网页","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":["rpa_list_hWeb","rpa_hWeb"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":["rpa_list_hWeb","rpa_hWeb"]}]},"slots":[]},{"id":"WebBrowser_SetCookies_V1","name":"设置Cookie","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"设置目标浏览器中Cookies的值,并输出给指定变量。","messageTemplate":"在目标浏览器 $1 中设置Cookies, 然后把结果保存到 $0","baseType":"WebBrowser_SetCookies","functionName":"WebBrowser.SetCookies_V1","functionCalls":[{"function":"WebBrowser.SetCookies_V1","args":["web","cookie_name","cookie_value","cookie_expires","cookie_domain","cookie_path","http_only","secure"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["cookies","设定cookies","设置","配置","设定","调配","设置好"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"cookie_name","label":"Cookie name","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"设置Cookie的名称","advanced":false,"valueTypes":["rpa_str"]},{"key":"cookie_value","label":"Cookie value","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"设置Cookie的值,为空则忽略","advanced":false,"valueTypes":["rpa_str"]},{"key":"cookie_expires","label":"Cookie expires","widget":"number","type":"number","displayType":"unitInput","required":false,"defaultValue":"","placeholder":"","description":"设置Cookie的有效期,默认为空时,将设置为会话Cookie;若填写时间,将在超出设置的有效时间后失效","advanced":false,"valueTypes":["rpa_int","rpa_float"]},{"key":"cookie_domain","label":"Cookie domain","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"设置Cookie的domain,默认为目标网页对象url的domain部分","advanced":false,"valueTypes":["rpa_str"]},{"key":"cookie_path","label":"Cookie path","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"设置Cookie的path,默认为网页对象url的path部分,为空则忽略","advanced":false,"valueTypes":["rpa_str"]},{"key":"http_only","label":"标记为HttpOnly","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后,JavaScript将无法通过document.cookie访问该Cookie,有助于防止XSS攻击","advanced":false,"valueTypes":[]},{"key":"secure","label":"标记为Secure","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"勾选后,Cookie将仅通过HTTPS协议传输,提高安全性","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_DataCollectionV5","name":"数据采集","kind":"vendor","group":"web","categories":["data_parse","get_web_data","get_soft_data"],"categorySignature":"data_parse|get_web_data|get_soft_data","description":"采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。","messageTemplate":"从配置规则 $4 中获取数据,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCollectionV5","functionCalls":[{"function":"WebBrowser.DataCollectionV5","args":["config","designated_info","designated_obj","region","collect_pages","collect_items","page_type","page_type_num","selector_page","selector_more","deduplication","operation_num","scroll_config","wait_time_page","showTable","toExcel","filename_suffix","use_name","append_data","use_sheet","sheet_name","filePath","monitor_data","share"],"assignTo":"var0,var1,var2"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"monitor_data","label":"监控空列数据","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"config","label":"采集数据","widget":"region","type":"object","displayType":"collectDataSelectorV2","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_info","label":"指定网页/窗口对象","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"designated_obj","label":"网页/窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请选择或输入网页对象","description":"","advanced":false,"valueTypes":["rpa_hWeb","rpa_window_new"]},{"key":"region","label":"采集范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"collect_pages","label":"采集页数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"collect_items","label":"采集条数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"20","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"page_type","label":"翻页方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_type_num","label":"翻页方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selector_page","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择按钮","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"selector_more","label":"加载更多按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择加载更多元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"deduplication","label":"采集数据内容去除重复行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对采集并处理后的数据内容进行筛选,移除完全相同的数据行","advanced":false,"valueTypes":[]},{"key":"operation_num","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"scroll_config","label":"页面滚动设置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"wait_time_page","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":true,"valueTypes":["rpa_num"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename_suffix","label":"Excel 名称","widget":"text","type":"string","displayType":"inputGroup","required":false,"defaultValue":"","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"use_name","label":"不包含表头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"append_data","label":"数据追加","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"从第一个可用行开始写入数据,不勾选则整表覆盖写入。","advanced":false,"valueTypes":[]},{"key":"use_sheet","label":"指定 Sheet 页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet_name","label":"sheet_name","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"Sheet名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"share","label":"共享路径","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"是否是局域网共享路径","advanced":true,"valueTypes":[]}],"output":{"label":"采集结果输出至变量","key":"var0","suggestedName":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"],"fields":[{"key":"var0","label":"采集结果输出至变量","defaultValue":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"]},{"key":"var1","label":"输出到变量","defaultValue":"Excel路径","valueTypes":["rpa_str"]},{"key":"var2","label":"监控结果","defaultValue":"监控空列数据","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"WebBrowser_GetTitle","name":"获取Title","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器中页面Title信息,并输出到变量。","messageTemplate":"在目标浏览器 $1 中读取Title信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetTitle","functionName":"WebBrowser.GetTitle","functionCalls":[{"function":"WebBrowser.GetTitle","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["页面Title","获取页面标题","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网址标题","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网址标题","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_CreateV3","name":"打开网页","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"通过所选择的浏览器打开指定的网页。","messageTemplate":"通过 $1 在新标签中打开网页 $2, 然后把结果保存到 $0","baseType":"WebBrowser_Create","functionName":"WebBrowser.CreateV3","functionCalls":[{"function":"WebBrowser.CreateV3","args":["type","url","isRemote","ipAddress","port","arguments","openNewTab","waitingload"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["打开页面","打开浏览器","浏览器","打开","页面"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropdownSelectByRpaCore","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"url","label":"网址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入网址","description":"请输入网址,需补充网址前缀\"https://\"或\"http://\"","advanced":false,"valueTypes":["rpa_str"]},{"key":"isRemote","label":"是否远程","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"ipAddress","label":"ip地址","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"输入连接远程计算机的 IP 地址,如:192.168.64.161。","advanced":false,"valueTypes":["rpa_str"]},{"key":"port","label":"端口号","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"61619","placeholder":"","description":"输入远程连接计算机的端口号,若未单独设置端口号默认为 61619。","advanced":false,"valueTypes":["rpa_str"]},{"key":"arguments","label":"携带参数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入需要携带的参数","description":"启动应用时携带的参数,示例:无痕模式启动Chrome,可输入\"--incognito\"。为空表示不携带参数。","advanced":true,"valueTypes":["rpa_str"]},{"key":"openNewTab","label":"使用新Tab页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后将使用新Tab打开网页,不勾选将在当前激活页跳转,再继续执行后续流程。","advanced":true,"valueTypes":[]},{"key":"waitingload","label":"等待页面加载完成","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"勾选后将等待页面的所有元素加载完成后,再继续执行后续流程。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网页对象","valueTypes":["rpa_hWeb"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网页对象","valueTypes":["rpa_hWeb"]}]},"slots":[]},{"id":"WebBrowser_GetScrollPos_V1","name":"获取滚动条位置","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器当前滚动条的位置信息,并输出指定变量。","messageTemplate":"在目标浏览器 $1 读取目标浏览器的滚动条位置信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetScrollPos","functionName":"WebBrowser.GetScrollPos_V1","functionCalls":[{"function":"WebBrowser.GetScrollPos_V1","args":["web","is_set","selector","scroll_type"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["滚动条","滚动条位置","获取滚动条位置","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"is_set","label":"获取网页中元素的滚动条位置","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selector","label":"元素选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"拾取或选择输入框","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"scroll_type","label":"滚动条类型","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"位置距离","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"位置距离","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"WebBrowser_DataCollection","name":"数据采集","kind":"vendor","group":"web","categories":["get_soft_data","get_web_data","data_parse"],"categorySignature":"get_soft_data|get_web_data|data_parse","description":"采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。","messageTemplate":"从配置规则 $2 中获取数据,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCollection","functionCalls":[{"function":"WebBrowser.DataCollection","args":["config","region","page_config","page_num","wait_time_page","uiSelector_page","num","page_element","uiSelector_num","wait_time_num","showTable","toExcel","filename","suffix","use_name","use_sheet","sheet_name","filePath","save","view"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置采集数据","widget":"region","type":"object","displayType":"collectDataSelectorV2","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"region","label":"采集范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_config","label":"设置页数","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_num","label":"页数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"wait_time_page","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"uiSelector_page","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"num","label":"设置条数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"20","placeholder":"","description":"按条采集需要设置采集的条数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"page_element","label":"设置翻页元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":[]},{"key":"uiSelector_num","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"wait_time_num","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename","label":"Excel 名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"表格数据","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"suffix","label":"suffix","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":".xls","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use_name","label":"不包含表头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use_sheet","label":"指定 Sheet 页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet_name","label":"sheet_name","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"Sheet名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"save","label":"将结果保存至松塔数据平台","widget":"text","type":"string","displayType":"saveToSongTa","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var0","suggestedName":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"],"fields":[{"key":"var0","label":"输出到变量","defaultValue":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"]},{"key":"var1","label":"输出到变量","defaultValue":"Excel路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_GoBack","name":"后退","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"执行浏览器后退操作,与工具栏的后退按钮相同。","messageTemplate":"在目标浏览器 $1 中后退, 然后把结果保存到 $0","baseType":"WebBrowser_GoBack","functionName":"WebBrowser.GoBack","functionCalls":[{"function":"WebBrowser.GoBack","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["后退","浏览器后退","网页后退"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_GetScrollPos","name":"获取滚动条位置","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器当前滚动条的位置信息,并输出指定变量。","messageTemplate":"在目标浏览器 $1 读取目标浏览器的滚动条位置信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetScrollPos","functionName":"WebBrowser.GetScrollPos","functionCalls":[{"function":"WebBrowser.GetScrollPos","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["滚动条位置","获取滚动条位置"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"位置距离","valueTypes":["rpa_dict_scrollBar"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"位置距离","valueTypes":["rpa_dict_scrollBar"]}]},"slots":[]},{"id":"WebBrowser_DataCollectionV1","name":"数据采集","kind":"vendor","group":"web","categories":["data_parse","get_web_data","get_soft_data"],"categorySignature":"data_parse|get_web_data|get_soft_data","description":"采集网页或软件中的图片、文本、链接、表格等数据,并把采集结果输出至excel、数据表、变量中,可结合数据表格类组件使用。","messageTemplate":"从配置规则 $2 中获取数据,然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCollectionV1","functionCalls":[{"function":"WebBrowser.DataCollectionV1","args":["config","region","page_config","page_num","wait_time_page","uiSelector_page","operation_page","num","page_element","uiSelector_num","operation_num","wait_time_num","showTable","toExcel","filename","suffix","use_name","use_sheet","sheet_name","filePath","save","view"],"assignTo":"var0,var1"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置采集数据","widget":"region","type":"object","displayType":"collectDataSelectorV2","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"region","label":"采集范围","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_config","label":"设置页数","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"page_num","label":"页数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"wait_time_page","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"uiSelector_page","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_page","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"num","label":"设置条数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"20","placeholder":"","description":"按条采集需要设置采集的条数。","advanced":false,"valueTypes":["rpa_int"]},{"key":"page_element","label":"设置翻页元素","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":[]},{"key":"uiSelector_num","label":"翻页按钮","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择翻页元素","description":"采集页面需要翻页时,请设置翻页元素。","advanced":false,"valueTypes":["rpa_element"]},{"key":"operation_num","label":"模拟类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"模拟人工操作:模拟人工移动鼠标指针点击目标的操作。后台接口操作:不占用鼠标指针,调用后台接口实现点击目标操作","advanced":false,"valueTypes":[]},{"key":"wait_time_num","label":"等待数据加载时间(秒)","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_num"]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename","label":"Excel 名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"表格数据","placeholder":"请输入Excel文件名称","description":"","advanced":false,"valueTypes":[]},{"key":"suffix","label":"suffix","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":".xls","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use_name","label":"不包含表头","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"use_sheet","label":"指定 Sheet 页","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"sheet_name","label":"sheet_name","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"Sheet名称","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"filePath","label":"Excel 保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"请输入或选择保存路径","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"save","label":"将结果保存至松塔数据平台","widget":"text","type":"string","displayType":"saveToSongTa","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"view","label":" ","widget":"text","type":"string","displayType":"previewDataTable","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var0","suggestedName":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"],"fields":[{"key":"var0","label":"输出到变量","defaultValue":"数据采集结果","valueTypes":["rpa_list_piliangshuju_v1"]},{"key":"var1","label":"输出到变量","defaultValue":"Excel路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_Close_V1","name":"关闭浏览器","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"关闭目标浏览器,通过变量指定关闭的浏览器对象。","messageTemplate":"在目标浏览器 $1 中关闭浏览器, 然后把结果保存到 $0","baseType":"WebBrowser_Close","functionName":"WebBrowser.Close_V1","functionCalls":[{"function":"WebBrowser.Close_V1","args":["browser_type","kill"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭浏览器","退出浏览器","关闭","退出","终止","关停"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"browser_type","label":"浏览器类型","widget":"select","type":"string","displayType":"dropdownSelectByRpaCore","required":false,"defaultValue":"chrome","placeholder":"","description":"选择浏览器类型","advanced":false,"valueTypes":[]},{"key":"kill","label":"关闭浏览器进程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"选择后会强制关闭浏览器进程以及关联的所有子进程。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"操作结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"操作结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_DownloadFile","name":"下载文件","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"自动点击按钮或根据下载地址完成文件下载。","messageTemplate":"通过 $1 $2 下载文件至 $4, 然后把结果保存到 $0","baseType":"WebBrowser_DownloadFile","functionName":"WebBrowser.DownloadFile","functionCalls":[{"function":"WebBrowser.DownloadFile","args":["down_type","download_selector","url","save_path","custom_name","file_name","action","download_time","operation","interval","headers","body","cookies","is_sync"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"down_type","label":"下载方式","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"0","placeholder":"","description":"点击元素,通过点击界面中元素来下载文件。指定地址,通过指定下载地址下载文件。如果能获取下载文件的地址,使用指定地址下载方式会更加稳定。","advanced":false,"valueTypes":[]},{"key":"download_selector","label":"目标选择","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择界面元素","description":"拾取或选择需点击的界面元素","advanced":false,"valueTypes":["rpa_element"]},{"key":"url","label":"下载地址","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"输入下载文件地址","description":"输入下载文件地址","advanced":false,"valueTypes":["rpa_str"]},{"key":"save_path","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"${home}\\Downloads","placeholder":"输入或选择保存路径","description":"将下载的文件存储至本地路径。","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"custom_name","label":"自定义文件名","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"对下载文件进行重命名。","advanced":false,"valueTypes":[]},{"key":"file_name","label":"文件名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"无需输入文件扩展名","description":"下载后文件名,无需指定文件后缀","advanced":false,"valueTypes":["rpa_str"]},{"key":"action","label":"文件存在时","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"生成副本,将在文件名称后缀将增加“副本”,例如:a-副本.txt。替换,将替换同名文件。跳过,跳过本次操作,返回当前同名文件路径。","advanced":false,"valueTypes":[]},{"key":"download_time","label":"下载超时(秒)","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"300","placeholder":"","description":"文件下载超时时间,如果在此时间内未下载完成,将返回执行失败。","advanced":false,"valueTypes":["rpa_int"]},{"key":"operation","label":"输入类型","widget":"radio","type":"string","displayType":"buttonGroup","required":false,"defaultValue":"1","placeholder":"","description":"当弹出下载文件保存路径弹窗时,可设置输入路径的方式(不同环境需要选择合适的输入方式)。","advanced":true,"valueTypes":[]},{"key":"interval","label":"输入间隔(毫秒)","widget":"number","type":"number","displayType":"inputInterval","required":true,"defaultValue":"150","placeholder":"","description":"当输入方式为模拟人工输入时,可在此设置模拟输入每个字符时的间隔时间,(1000毫秒=1秒)","advanced":true,"valueTypes":["rpa_int"]},{"key":"headers","label":"Headers","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入Headers","description":"","advanced":true,"valueTypes":["rpa_dict"]},{"key":"body","label":"Params","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入Params","description":"","advanced":true,"valueTypes":["rpa_dict"]},{"key":"cookies","label":"Cookies","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"{}","placeholder":"请输入Cookies","description":"","advanced":true,"valueTypes":["rpa_dict"]},{"key":"is_sync","label":"同步下载","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"选择否,将不等待下载完成,并且返回值将输出None,另外流程终止下载会全部停止。","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"文件路径","valueTypes":["rpa_none","rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"文件路径","valueTypes":["rpa_none","rpa_str"]}]},"slots":[]},{"id":"WebBrowser_RunJsInIeBySelectorGround","name":"执行JS","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。","messageTemplate":"目标 $1 运行JS代码, 然后把结果保存到 $0","baseType":"WebBrowser_RunJsInIeBySelectorGround","functionName":"WebBrowser.RunJsInIeBySelectorGround","functionCalls":[{"function":"WebBrowser.RunJsInIeBySelectorGround","args":["uiSelector","jsCode","input","web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["js代码","自定义js代码","浏览器js代码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"请拾取或选择网页元素","description":"目标指在哪个元素上执行JS,可拾取或选择网页元素","advanced":false,"valueTypes":[]},{"key":"jsCode","label":"JS代码","widget":"code","type":"string","displayType":"code","required":true,"defaultValue":"jsCode","placeholder":"请输入JS代码","description":"支持输入JS代码块","advanced":false,"valueTypes":[]},{"key":"input","label":"输入参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"请输入参数列表","description":"支持在JS代码块中传入流程参数,数据格式为列表。","advanced":false,"valueTypes":[]},{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"","description":"选择通过 “启动新浏览器” 组件创建的浏览器窗口对象。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行返回结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行返回结果","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_GoUrl","name":"跳转网页","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"在目标浏览器中,打开指定网址的页面。","messageTemplate":"在目标浏览器 $1 中打开页面 $2, 然后把结果保存到 $0","baseType":"WebBrowser_GoUrl","functionName":"WebBrowser.GoUrl","functionCalls":[{"function":"WebBrowser.GoUrl","args":["web","url"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["打开页面","打开网站"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"url","label":"加载链接","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入待跳转网址","description":"请输入待跳转网址,需补充网址前缀\"https://\"或\"http://\"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"跳转结果","valueTypes":["rpa_bool"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"跳转结果","valueTypes":["rpa_bool"]}]},"slots":[]},{"id":"WebBrowser_BatchDataCrawl","name":"批量数据采集(beta)","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"批量数据采集。","messageTemplate":"在当前网页中抓取数据列表, 然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.BatchDataCrawl","functionCalls":[{"function":"WebBrowser.BatchDataCrawl","args":["config","browserType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置","widget":"region","type":"object","displayType":"collectData","required":false,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"browserType","label":"浏览器类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"chrome","placeholder":"","description":"支持Chrome或IE9.0以上,请保持采集页桌面置顶,如需更换采集网址,请先清空内容。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"arrayRet","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"arrayRet","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_GetUrl","name":"获取URL","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器中URL信息,并输出到变量。","messageTemplate":"在目标浏览器 $1 中读取URL信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetUrl","functionName":"WebBrowser.GetUrl","functionCalls":[{"function":"WebBrowser.GetUrl","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["URL地址","获取链接地址","获取网址信息","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"网址","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"网址","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_DataCrawl","name":"数据采集","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"采集网页中的表格内容、商品列表页、商品详情页内容(可选多页),并将采集的结果保存至变量或数据表、Excel中。","messageTemplate":"采集指定网页中数据 $1, 然后把结果保存到 $0","baseType":"WebBrowser_BatchDataCrawl","functionName":"WebBrowser.DataCrawl","functionCalls":[{"function":"WebBrowser.DataCrawl","args":["config","selectorCode","web","showTable","toExcel","filename","filePath","page_scroll","delay_pages","unable_collect","repeat_count"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":[],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"config","label":"配置数据采集项","widget":"region","type":"object","displayType":"collectDataSelector","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"selectorCode","label":"selectorCode","widget":"text","type":"string","displayType":"checkCode","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"输入一个获取到的或打开网页创建的网页对象。","advanced":false,"valueTypes":[]},{"key":"showTable","label":"将结果保存至数据表","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"toExcel","label":"将结果保存至Excel中","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filename","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"实在RPA-设计器数据采集结果_${randomString}.xls","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"filePath","label":"文件保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"res","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"page_scroll","label":"页面滚动(像素)","widget":"number","type":"number","displayType":"pageScroll","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"delay_pages","label":"每页延迟(毫秒)","widget":"number","type":"number","displayType":"inputNumber","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"unable_collect","label":"无法采集时重复执行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":true,"valueTypes":[]},{"key":"repeat_count","label":"重复次数","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":true,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"批量采集结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"批量采集结果","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_GetCookies","name":"获取Cookies","kind":"vendor","group":"web","categories":["get_web_data"],"categorySignature":"get_web_data","description":"获取目标浏览器中的全部cookies信息,并输出给指定变量。","messageTemplate":"在目标浏览器 $1 中获取全部的Cookies信息, 然后把结果保存到 $0","baseType":"WebBrowser_GetCookies","functionName":"WebBrowser.GetCookies","functionCalls":[{"function":"WebBrowser.GetCookies","args":["web"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["cookies","获取cookies","指定cookies","获取","得到","取得","提取","获取到"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"cookies值","valueTypes":["rpa_dict"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"cookies值","valueTypes":["rpa_dict"]}]},"slots":[]},{"id":"WebBrowser_RunJsInIeBySelector_v1","name":"执行JS","kind":"vendor","group":"web","categories":["webBrowser"],"categorySignature":"webBrowser","description":"在目标浏览器中执行自定义js代码,可指定输入内容和jscode代码。","messageTemplate":"目标 $1 运行JS代码, 然后把结果保存到 $0","baseType":"WebBrowser_RunJsInIeBySelector","functionName":"WebBrowser.RunJsInIeBySelector_v1","functionCalls":[{"function":"WebBrowser.RunJsInIeBySelector_v1","args":["uiSelector","browser_type","jsCode","input"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["js代码","自定义js代码","浏览器js代码"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"uiSelector","label":"目标","widget":"element","type":"object","displayType":"comboSelector","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"browser_type","label":"浏览器类型","widget":"hidden","type":"string","displayType":"hidden","required":false,"defaultValue":"","placeholder":"","description":"指当前执行操作所在的浏览器类型,如Chrome、Edge、Sogou浏览器等。可选择“打开网页”或“获取网页Tab对象”组件输出变量的子变量。","advanced":false,"valueTypes":["rpa_hweb","rpa_hWeb_type"]},{"key":"jsCode","label":"JS代码","widget":"code","type":"string","displayType":"code","required":true,"defaultValue":"jsCode","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"input","label":"输入参数","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"[]","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_list"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"执行返回结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"执行返回结果","valueTypes":[]}]},"slots":[]},{"id":"WebBrowser_GetBrowserPic","name":"浏览器截图","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"获取目标浏览器的屏幕截图,并保存图片到指定路径。","messageTemplate":"在目标浏览器 $1 中获取浏览器截图,保存路径为 $2 图片名为 $3 , 然后把结果保存到 $0","baseType":"WebBrowser_GetBrowserPic","functionName":"WebBrowser.GetBrowserPic","functionCalls":[{"function":"WebBrowser.GetBrowserPic","args":["web","savepath","pic"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["浏览器截图","屏幕截图","区域截图"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"目标浏览器对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"hWeb","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_hWeb"]},{"key":"savepath","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"pic","label":"图片名","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"截图路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"截图路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"WebBrowser_Minimize","name":"最小化浏览器","kind":"vendor","group":"web","categories":["webBrowser_operate"],"categorySignature":"webBrowser_operate","description":"最小化浏览器。","messageTemplate":"将 $0 所在浏览器最小化","baseType":"WebBrowser_Minimize","functionName":"WebBrowser.Minimize","functionCalls":[{"function":"WebBrowser.Minimize","args":["web"],"assignTo":""}],"version":"3.3.5.0","tags":["WebBrowser"],"platformTag":null,"icon":"web","risk":"high","fields":[{"key":"web","label":"网页对象","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"网页对象","placeholder":"选择打开网页输出的变量","description":"选择打开网页输出的变量","advanced":false,"valueTypes":["rpa_hWeb"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_SizeWindow_v1","name":"调整窗口大小","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"调整指定窗口的大小尺寸,供后续自动化操作。","messageTemplate":"将{$$0 == 0 && '$2'}{$$0 == 1 && '$1'}{$$0 == 2 && $$3 == 0 && '标题为$4'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则$5'}窗口大小调整为:$6","baseType":"Window_SizeWindow","functionName":"Window.SizeWindow_v1","functionCalls":[{"function":"Window.SizeWindow_v1","args":["get_type","target_window","window_obj","match_type","select_title","match_title","window_size"],"assignTo":""}],"version":"3.3.5.0","tags":["放大窗口","缩小窗口","窗口尺寸","窗口宽度","窗口高度","窗口","窗体","窗口界面","窗口对象","窗体界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"window_size","label":"窗口调整为","widget":"number","type":"number","displayType":"windowSize","required":true,"defaultValue":"[0,0]","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_SetWindowState_v1","name":"设置窗口状态","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"设置窗口的最大化、最小化、窗口化,供后续自动化操作。","messageTemplate":"将{$$0 == 0 && '$2'}{$$0 == 1 && '$1'}{$$0 == 2 && $$3 == 0 && '标题为 $4 的'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则 $5 的'}窗口设置为 $6 状态","baseType":"Window_SetWindowState","functionName":"Window.SetWindowState_v1","functionCalls":[{"function":"Window.SetWindowState_v1","args":["get_type","target_window","window_obj","match_type","select_title","match_title","switchType"],"assignTo":""}],"version":"3.3.5.0","tags":["最大化","最小化","窗口化","设置","配置","设定","调配","设置好","窗口","窗体","窗口界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"switchType","label":"窗口状态","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"maximize","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_GetWindowRect","name":"获取窗口范围","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,获取窗口范围口。","messageTemplate":"在目标桌面 $1 中窗口对象, 然后把结果保存到 $0","baseType":"Window_GetWindowRect","functionName":"Window.GetWindowRect","functionCalls":[{"function":"Window.GetWindowRect","args":["窗口对象"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取窗口范围","窗口范围","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"窗口对象","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"窗口范围","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"窗口范围","valueTypes":[]}]},"slots":[]},{"id":"Window_CloseWindow","name":"关闭软件窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,关闭软件窗口。","messageTemplate":"在目标桌面 $1 中窗口对象, 然后把结果保存到 $0","baseType":"Window_Close","functionName":"Window.CloseWindow","functionCalls":[{"function":"Window.CloseWindow","args":["window_obj"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭软件窗口","关闭软件","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"窗口对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"窗口对象","valueTypes":[]}]},"slots":[]},{"id":"Window_SetWindowState","name":"设置窗口状态","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,设置窗口状态。","messageTemplate":"在目标桌面 $0 中窗口对象","baseType":"Window_SetWindowState","functionName":"Window.SetWindowState","functionCalls":[{"function":"Window.SetWindowState","args":["窗口对象","WindowType"],"assignTo":""}],"version":"3.3.5.0","tags":["设置窗口状态","设置窗口","状态"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"窗口对象","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]},{"key":"WindowType","label":"状态类型","widget":"select","type":"string","displayType":"dropDownSelect","required":true,"defaultValue":"maximize","placeholder":"","description":"设置窗口的显示状态,可设为最大化、最小化或窗口原始尺寸","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_GetActive","name":"获取活动窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"获取当前系统活动的窗口,并返回窗口信息给到指定变量。","messageTemplate":"将系统当前的激活窗口作为操作对象, 然后把结果保存到 $0","baseType":"Window_GetActive","functionName":"Window.GetActive","functionCalls":[{"function":"Window.GetActive","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["活动窗口","获取窗口","窗口信息"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"软件窗口","valueTypes":["rpa_dict_window_info"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"软件窗口","valueTypes":["rpa_dict_window_info"]}]},"slots":[]},{"id":"Window_SetActive","name":"激活窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"激活指定窗口,将其作为后续流程操作的对象。","messageTemplate":"将目标设置为激活窗口 $0","baseType":"Window_ActiveWindow","functionName":"Window.SetActive","functionCalls":[{"function":"Window.SetActive","args":["uiWindowSelector"],"assignTo":""}],"version":"3.3.5.0","tags":["设置窗口","激活窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"uiWindowSelector","label":"目标","widget":"element","type":"object","displayType":"uiwindowselector","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_WindowExists","name":"判断窗口存在","kind":"vendor","group":"desktop","categories":["window","judgment"],"categorySignature":"window|judgment","description":"根据窗口是否存在,来执行后续流程。","messageTemplate":"如果{$$1 == 1 && '$2 的窗口'}{$$1 == 0 && '$3 的窗口'}{$$1 == 2 && $$4 == 0 && '标题为 $5 的窗口'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则 $6 的窗口'} $0 则","baseType":"Window_WindowExists","functionName":"Window.WindowExists","functionCalls":[{"function":"Window.WindowExists","args":["switchType","get_type","window_obj","target_window","match_type","select_title","match_title"],"assignTo":""}],"version":"3.3.5.0","tags":["窗口判断","if","窗口查找","检测窗口","判断","判定","判别","判断出","识别","窗口","窗体","窗口界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"switchType","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_ActiveWindow_v1","name":"激活窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"将指定的窗口打开并激活,供后续自动化操作。","messageTemplate":"打开并激活{$$0 == 0 && '窗口 $1'}{$$0 == 1 && '窗口 $2'}{$$0 == 2 && $$3 == 0 && '标题为 $4 的窗口'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则 $5 的窗口'}","baseType":"Window_ActiveWindow","functionName":"Window.ActiveWindow_v1","functionCalls":[{"function":"Window.ActiveWindow_v1","args":["get_type","target_window","window_obj","match_type","select_title","match_title","isMax"],"assignTo":""}],"version":"3.3.5.0","tags":["打开窗口","置顶窗口","窗口","窗体","窗口界面","窗口对象","窗体界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"窗口标题匹配","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"isMax","label":"激活后最大化窗口","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_Get","name":"获取窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"获取指定窗口返回窗口信息到指定变量。","messageTemplate":"获取窗口 $1, 然后把结果保存到 $0","baseType":"Window_Get","functionName":"Window.Get","functionCalls":[{"function":"Window.Get","args":["uiWindowSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取窗口","窗口信息"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"uiWindowSelector","label":"目标","widget":"element","type":"object","displayType":"uiwindowselector","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"软件窗口","valueTypes":["rpa_dict_window_info"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"软件窗口","valueTypes":["rpa_dict_window_info"]}]},"slots":[]},{"id":"Window_SetPos","name":"设置窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"设置指定窗口的大小尺寸和位置坐标。","messageTemplate":"移动目标窗口 $0 到 $1,$2 ,并设置大小为 $3*$4","baseType":"Window_SetPos","functionName":"Window.SetPos","functionCalls":[{"function":"Window.SetPos","args":["uiWindowSelector","x","y","width","height"],"assignTo":""}],"version":"3.3.5.0","tags":["设置窗口","设定窗口大小","设置窗口位置\"","设置窗口位置和尺寸"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"uiWindowSelector","label":"目标","widget":"element","type":"object","displayType":"uiwindowselector","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"x","label":"横坐标","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"y","label":"纵坐标","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"width","label":"宽度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"800","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"height","label":"高度","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"600","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_GetWindow","name":"获取窗口对象","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口标题,获取窗口对象。","messageTemplate":"在目标桌面 $1 中窗口标题 $2, 然后把结果保存到 $0","baseType":"Window_GetWindow","functionName":"Window.GetWindow","functionCalls":[{"function":"Window.GetWindow","args":["match_type","title","isActive"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取窗口对象","获取窗口","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"match_type","label":"匹配方式","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"根据所选匹配方式获取窗口对象。","advanced":false,"valueTypes":[]},{"key":"title","label":"窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":false,"defaultValue":"","placeholder":"","description":"选择要匹配的窗口标题","advanced":false,"valueTypes":[]},{"key":"isActive","label":"激活窗口","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"窗口对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"窗口对象","valueTypes":[]}]},"slots":[]},{"id":"Window_Close","name":"关闭窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"关闭指定窗口。","messageTemplate":"关闭目标窗口 $0","baseType":"Window_Close","functionName":"Window.Close","functionCalls":[{"function":"Window.Close","args":["uiWindowSelector"],"assignTo":""}],"version":"3.3.5.0","tags":["关闭窗口","窗口关闭"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"uiWindowSelector","label":"目标","widget":"element","type":"object","displayType":"uiwindowselector","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_SizeWindow","name":"调整窗口大小","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,调整软件窗口。","messageTemplate":"在目标桌面 $0 中窗口对象","baseType":"Window_SizeWindow","functionName":"Window.SizeWindow","functionCalls":[{"function":"Window.SizeWindow","args":["窗口对象","size"],"assignTo":""}],"version":"3.3.5.0","tags":["调整窗口大小","窗口大小","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"窗口对象","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]},{"key":"size","label":"窗口新范围","widget":"text","type":"string","displayType":"section","required":false,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_GetWindow_v1","name":"获取窗口对象","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"获取电脑软件或系统中的指定窗口并保存,供后续自动化操作。","messageTemplate":"获取{$$1 == 0 && ' $2 窗口'}{$$1 == 1 && $$3 == 0 && '标题为 $4 的窗口 '}{$$1 == 1 && $$3 == 1 && '标题符合通配规则 $5 的窗口 '}{$$1 == 2 && '$1'}{$$1 == 3 && '电脑 $1 为窗口'}, 然后把结果保存到 $0","baseType":"Window_GetWindow","functionName":"Window.GetWindow_v1","functionCalls":[{"function":"Window.GetWindow_v1","args":["get_type","target_window","match_type","select_title","match_title"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["窗口拾取","拾取窗口","匹配窗口","保存窗口","获取","得到","取得","提取","获取到","窗口","窗体","窗口界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]}],"output":{"label":"信息保存到","key":"var_name","suggestedName":"窗口对象","valueTypes":["rpa_window_new"],"fields":[{"key":"var_name","label":"信息保存到","defaultValue":"窗口对象","valueTypes":["rpa_window_new"]}]},"slots":[]},{"id":"Window_GetWindowMessage_v1","name":"获取窗口信息","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"获取指定窗口的相关信息,如窗口标题,窗口尺寸,窗口进程名称等。","messageTemplate":"获取{$$1 == 0 && '$2 窗口'}{$$1 == 1 && '$3 窗口'}{$$1 == 3 && '$1'}{$$1 == 2 && $$4 == 0 && '标题为 $5 窗口'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则 $6 窗口'}并获取$7, 然后把结果保存到 $0","baseType":"Window_GetWindowMessage","functionName":"Window.GetWindowMessage_v1","functionCalls":[{"function":"Window.GetWindowMessage_v1","args":["get_type","window_obj","target_window","match_type","select_title","match_title","switchType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["窗口尺寸","窗口位置","窗口标题","窗口进程名","获取","得到","取得","提取","获取到","窗口","窗体","窗口界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"switchType","label":"窗口信息","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"all","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"信息保存到","key":"var_name","suggestedName":"窗口信息","valueTypes":["rpa_dict_windows_info","rpa_dict_windows_size","rpa_dict_windows_location","rpa_str","rpa_str","rpa_str","rpa_str"],"fields":[{"key":"var_name","label":"信息保存到","defaultValue":"窗口信息","valueTypes":["rpa_dict_windows_info","rpa_dict_windows_size","rpa_dict_windows_location","rpa_str","rpa_str","rpa_str","rpa_str"]}]},"slots":[]},{"id":"Window_GetWindowMessage","name":"获取窗口信息","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,获取窗口信息。","messageTemplate":"在目标桌面 $1 中窗口对象, 然后把结果保存到 $0","baseType":"Window_GetWindowMessage","functionName":"Window.GetWindowMessage","functionCalls":[{"function":"Window.GetWindowMessage","args":["window_obj","switchType"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["获取窗口信息","获取窗口","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]},{"key":"switchType","label":"窗口信息","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"title","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"窗口信息","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"窗口信息","valueTypes":[]}]},"slots":[]},{"id":"Window_MoveWindow","name":"移动窗口位置","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,移动窗口位置。","messageTemplate":"在目标桌面 $0 中窗口对象","baseType":"Window_MoveWindow","functionName":"Window.MoveWindow","functionCalls":[{"function":"Window.MoveWindow","args":["窗口对象","location"],"assignTo":""}],"version":"3.3.5.0","tags":["移动窗口位置","窗口位置","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"窗口对象","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]},{"key":"location","label":"窗口新坐标","widget":"region","type":"object","displayType":"mouseRecord","required":false,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_MoveWindow_v1","name":"移动窗口位置","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"移动指定窗口的位置,供后续自动化操作。","messageTemplate":"将{$$0 == 0 && '$2'}{$$0 == 1 && '$1'}{$$0 == 2 && $$3 == 0 && '标题为 $4'}{$$0 == 2 && $$3 == 1 && '标题符合通配规则 $5'} 窗口位置移动到$6","baseType":"Window_MoveWindow","functionName":"Window.MoveWindow_v1","functionCalls":[{"function":"Window.MoveWindow_v1","args":["get_type","target_window","window_obj","match_type","select_title","match_title","location"],"assignTo":""}],"version":"3.3.5.0","tags":["移动窗口","拖动窗口","窗口","窗体","窗口界面","窗口对象","窗体界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"location","label":"窗口位置移动到","widget":"region","type":"object","displayType":"mouseRecord","required":true,"defaultValue":"[0,0]","placeholder":"请输入或拾取坐标点","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_ActiveWindow","name":"激活软件窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,激活软件窗口。","messageTemplate":"在目标桌面 $0 中窗口对象","baseType":"Window_ActiveWindow","functionName":"Window.ActiveWindow","functionCalls":[{"function":"Window.ActiveWindow","args":["window_obj"],"assignTo":""}],"version":"3.3.5.0","tags":["激活软件窗口","激活软件","窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_CloseWindow_v1","name":"关闭窗口","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"将指定的窗口关闭。","messageTemplate":"将{$$1 == 0 && '$2'}{$$1 == 1 && '$3'}{$$1 == 2 && $$4 == 0 && '标题为$5'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则$6'}窗口关闭, 然后把结果保存到 $0","baseType":"Window_Close","functionName":"Window.CloseWindow_v1","functionCalls":[{"function":"Window.CloseWindow_v1","args":["get_type","target_window","window_obj","match_type","select_title","match_title","isProcess"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["关闭软件窗口","关闭软件","窗口","关闭","退出","终止","关停","窗体","窗口界面","窗口对象"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"1","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"窗口标题匹配","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"isProcess","label":"同时关闭软件进程","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"窗口对象","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"窗口对象","valueTypes":[]}]},"slots":[]},{"id":"Window_GetScreenSize","name":"获取屏幕尺寸","kind":"vendor","group":"desktop","categories":["get_soft_data"],"categorySignature":"get_soft_data","description":"获取系统屏幕的大小尺寸,并输出到指定变量。","messageTemplate":"获取屏幕的大小, 然后把结果保存到 $0","baseType":"Window_GetScreenSize","functionName":"Window.GetScreenSize","functionCalls":[{"function":"Window.GetScreenSize","args":[],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["屏幕大小","屏幕尺寸","系统屏幕"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[],"output":{"label":"输出到变量","key":"var_name","suggestedName":"电脑分辨率","valueTypes":["rpa_dict_screen_size"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"电脑分辨率","valueTypes":["rpa_dict_screen_size"]}]},"slots":[]},{"id":"Window_SetWindowShow","name":"设置窗口是否显示","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"在目标桌面中,选择窗口对象,设置窗口是否显示。","messageTemplate":"在目标桌面 $0 中窗口对象","baseType":"Window_SetWindowShow","functionName":"Window.SetWindowShow","functionCalls":[{"function":"Window.SetWindowShow","args":["窗口对象","WindowType"],"assignTo":""}],"version":"3.3.5.0","tags":["设置窗口是否显示","设置窗口","显示"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"窗口对象","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"窗口对象","placeholder":"请选择或输入窗口对象变量","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"WindowType","label":"状态类型","widget":"select","type":"string","displayType":"dropDownSelect","required":true,"defaultValue":"show","placeholder":"","description":"设置窗口的显示状态,可设为隐藏状态或显示状态","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_WindowList","name":"获取窗口对象列表","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"获取电脑软件或系统中的指定窗口列表并保存,供后续自动化操作。","messageTemplate":"{$$1 == 0 && \"获取标题为 $2 的窗口\"}{$$1 == 1 && \"获取标题包含 $3 的窗口\"}, 然后把结果保存到 $0","baseType":"Window_WindowList","functionName":"Window.WindowList","functionCalls":[{"function":"Window.WindowList","args":["match_type","select_title","match_title","is_regex"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["窗口列表","多个窗口","多窗口对象","获取","得到","取得","提取","获取到","窗口","窗体","窗口界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"match_type","label":"获取方式","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"使用窗口标题匹配窗口或选择已经打开的窗口","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"text","type":"string","displayType":"openWindowMultipleSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"窗口标题包含","widget":"text","type":"string","displayType":"openWindowEditor","required":false,"defaultValue":"","placeholder":"","description":"选择标题包含特定内容的窗口;当勾选正则表达式匹配时,以正则表达式的方式获取标题满足条件窗口","advanced":false,"valueTypes":[]},{"key":"is_regex","label":"正则表达式匹配","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"0","placeholder":"","description":"以正则表达式的方式获取标题满足条件窗口","advanced":false,"valueTypes":[]}],"output":{"label":"信息保存到","key":"var_name","suggestedName":"窗口对象列表","valueTypes":["rpa_list_window"],"fields":[{"key":"var_name","label":"信息保存到","defaultValue":"窗口对象列表","valueTypes":["rpa_list_window"]}]},"slots":[]},{"id":"Window_GetRect","name":"窗口属性","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"获取指定目标窗口的大小尺寸和位置坐标信息,并输出到指定变量。","messageTemplate":"获取目标窗口 $1 的大小和位置, 然后把结果保存到 $0","baseType":"Window_GetRect","functionName":"Window.GetRect","functionCalls":[{"function":"Window.GetRect","args":["uiWindowSelector"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["窗口信息","窗口位置","窗口大小"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"uiWindowSelector","label":"目标","widget":"element","type":"object","displayType":"uiwindowselector","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"窗口坐标及尺寸","valueTypes":["rpa_dict_window_coordinates"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"窗口坐标及尺寸","valueTypes":["rpa_dict_window_coordinates"]}]},"slots":[]},{"id":"Window_MaximumSize","name":"窗口最大化","kind":"vendor","group":"desktop","categories":["window"],"categorySignature":"window","description":"将指定窗口最大化。","messageTemplate":"设置目标窗口 $0 最大化","baseType":"Window_MaximumSize","functionName":"Window.MaximumSize","functionCalls":[{"function":"Window.MaximumSize","args":["uiWindowSelector"],"assignTo":""}],"version":"3.3.5.0","tags":["窗口最大化","最大化窗口"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"uiWindowSelector","label":"目标","widget":"element","type":"object","displayType":"uiwindowselector","required":true,"defaultValue":"{}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Window_WaitWindow","name":"等待窗口","kind":"vendor","group":"desktop","categories":["window","waite"],"categorySignature":"window|waite","description":"等待某个元素打开或关闭,根据结果执行后续流程。","messageTemplate":"等待{$$1 == 0 && '$2'}{$$1 == 1 && '$3'}{$$1 == 2 && $$4 == 0 && '$5'}{$$1 == 2 && $$4 == 1 && '标题符合通配规则$6'} $7 后,执行下一步流程, 然后把结果保存到 $0","baseType":"Window_WaitWindow","functionName":"Window.WaitWindow","functionCalls":[{"function":"Window.WaitWindow","args":["get_type","window_obj","target_window","match_type","select_title","match_title","switchType","second","dis_show","dis_hide","dis_active"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["窗口等待","窗口查找","检测窗口","等待","延时","延迟","等候","暂停","窗口","窗体","窗口界面"],"platformTag":"win32","icon":"desktop","risk":"high","fields":[{"key":"get_type","label":"获取方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"选择不同方式获取窗口对象","advanced":false,"valueTypes":[]},{"key":"window_obj","label":"窗口对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_window_new"]},{"key":"target_window","label":"目标窗口","widget":"region","type":"object","displayType":"captureWindow","required":true,"defaultValue":"","placeholder":"请拾取或选择窗口元素","description":"","advanced":false,"valueTypes":["rpa_element"]},{"key":"match_type","label":"匹配类型","widget":"radio","type":"string","displayType":"radioGroup","required":true,"defaultValue":"0","placeholder":"","description":"当前活动的窗口列表中选择窗口,或使用通配符匹配窗口标题。","advanced":false,"valueTypes":[]},{"key":"select_title","label":"选择窗口标题","widget":"region","type":"object","displayType":"openWindowSelect","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"match_title","label":"标题匹配规则","widget":"text","type":"string","displayType":"windowTitleMatcher","required":true,"defaultValue":"","placeholder":"","description":"输入窗口标题或使用正则表达式通配窗口标题","advanced":false,"valueTypes":[]},{"key":"switchType","label":"等待类型","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"0","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"second","label":"等待时间(秒)","widget":"number","type":"number","displayType":"number","required":true,"defaultValue":"5","placeholder":"请输入等待时间(秒)","description":"输入等待时间(秒),默认1秒","advanced":false,"valueTypes":["rpa_num"]},{"key":"dis_show","label":"窗口未出现时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"dis_hide","label":"窗口未消失时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"dis_active","label":"窗口未激活时","widget":"radio","type":"string","displayType":"radioGroup","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"等待结果","valueTypes":[],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"等待结果","valueTypes":[]}]},"slots":[]},{"id":"Word_ReadSelect","name":"读取选中文本","kind":"vendor","group":"office","categories":["cursor_set"],"categorySignature":"cursor_set","description":"在目标word文档中读取选中的文本内容,并输出给指定变量。","messageTemplate":"读取Word文档选择的文字内容, 然后把结果保存到 $0","baseType":"Word_ReadSelect","functionName":"Word.ReadSelect","functionCalls":[{"function":"Word.ReadSelect","args":["objWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["选中文本","word文本输出","读取","读取到","读取数据","读出","读取信息","文本","文字","字符"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"选中文本内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"选中文本内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Word_SaveAs","name":"Word另存为","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"将目标word文档,按当前文件的文件名,保存到指定的路径。","messageTemplate":"另存为Word文档到 $1","baseType":"Word_SaveAs","functionName":"Word.SaveAs","functionCalls":[{"function":"Word.SaveAs","args":["objWord","fileAddr","filename"],"assignTo":""}],"version":"3.3.5.0","tags":["文档另存为","word另存为"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"fileAddr","label":"保存路径","widget":"folder","type":"object","displayType":"selectFile","required":false,"defaultValue":"","placeholder":"请输入或选择保存路径","description":"输入或选择路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"filename","label":"文档名称","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入文档名称","description":"输入文件名称,若为空,则采用原名称","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SetFontName","name":"设置字体","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"设定目标word文档中选定文本的字体类型。","messageTemplate":"设置Word文档选区的字体为 $1","baseType":"Word_SetFontName","functionName":"Word.SetFontName","functionCalls":[{"function":"Word.SetFontName","args":["objWord","font"],"assignTo":""}],"version":"3.3.5.0","tags":["字体","设定字体","字体类型","word字体","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"font","label":"字体名","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"宋体","placeholder":"请输入字体名","description":"选择将当前内容设置为何种字体","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_CutSelect","name":"剪切","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"对目标word文档中的选取的内容执行剪切操作,同工具栏的剪切。","messageTemplate":"对Word文档的选取执行剪切操作","baseType":"Word_CutSelect","functionName":"Word.CutSelect","functionCalls":[{"function":"Word.CutSelect","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["剪切","word剪切"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_ReadAll","name":"读取Word文本","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"读取指定word文档的全部内容,并输出到指定变量。","messageTemplate":"读取Word文档内的全部内容, 然后把结果保存到 $0","baseType":"Word_ReadAll","functionName":"Word.ReadAll","functionCalls":[{"function":"Word.ReadAll","args":["objWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["word文档内容","读取内容","读取文本","读取","读取到","读取数据","读出","读取信息"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"word内容","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"word内容","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Word_InsertPicture","name":"插入Word图片","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"在目标word文档的当前位置插入图片,可选择图片路径。","messageTemplate":"在Word当前位置插入一张图片 $1","baseType":"Word_InsertPicture","functionName":"Word.InsertPicture","functionCalls":[{"function":"Word.InsertPicture","args":["objWord","imageaddr"],"assignTo":""}],"version":"3.3.5.0","tags":["插入图片","插入图像","word插图","图片","图像","图形","图象","相片"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"imageaddr","label":"图片对象","widget":"text","type":"string","displayType":"imageSelector","required":true,"defaultValue":"","placeholder":"截取或选择图像","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SetFontStyle","name":"设置字体样式","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"设定目标word文档中选定文本的字体,可选择粗体、斜体、下划线等。","messageTemplate":"设置Word文档选区的字体样式","baseType":"Word_SetFontStyle","functionName":"Word.SetFontStyle","functionCalls":[{"function":"Word.SetFontStyle","args":["objWord","isBold","isItalic","isUnderline"],"assignTo":""}],"version":"3.3.5.0","tags":["字体","设定字体","粗体","斜体","下划线","word字体","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"isBold","label":"是否粗体","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isItalic","label":"是否斜体","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"isUnderline","label":"是否下划线","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_New","name":"新建word","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"在指定路径下新创建一个word文件,并赋值给指定变量。","messageTemplate":"在路径 $0 上新建word, 名称为 $1 ","baseType":"Word_New","functionName":"Word.New","functionCalls":[{"function":"Word.New","args":["filePath","name","isMakedirs"],"assignTo":""}],"version":"3.3.5.0","tags":[],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"filePath","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入保存路径","description":"选择或输入新建Word文件的保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文件名称","description":"输入新建Word的文件名称","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"isMakedirs","label":"是否创建该路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"选择是,路径不存在时创建文件夹;否则错误提示。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SetAlign","name":"设置对齐方式","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"设定目标word文档中选定文本的对齐方式,可选左对齐、右对齐、居中。","messageTemplate":"设置Word文档选区的文字对齐方式为 $1","baseType":"Word_SetAlign","functionName":"Word.SetAlign","functionCalls":[{"function":"Word.SetAlign","args":["objWord","align"],"assignTo":""}],"version":"3.3.5.0","tags":["字体对齐","对齐方式","word对齐","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"align","label":"对齐方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"left","placeholder":"","description":"设置文本为左对齐、居中对齐或右对齐","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_Save","name":"保存Word","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"保存目标word文档,按当前文件的文件名和文件路径进行保存,覆盖之前的内容。","messageTemplate":"保存Word文档","baseType":"Word_Save","functionName":"Word.Save","functionCalls":[{"function":"Word.Save","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["保存文档","word保存"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_ReadTable","name":"读取Word表格","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"读取指定word文档中的表格内容。","messageTemplate":"在 $1 中读取{$$2 == \"index\" && \"第$3个表格内容\"}{$$2 == \"content\" && \"内容$4的表格\"}, 然后把结果保存到 $0","baseType":"Word_ReadTable","functionName":"Word.ReadTable","functionCalls":[{"function":"Word.ReadTable","args":["objWord","find_type","table_index","table_content"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["读取表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"find_type","label":"表格查找方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"index","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"table_index","label":"表格出现位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_int"]},{"key":"table_content","label":"表格查找内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"表格内容保存至","key":"var_name","suggestedName":"Word表格内容","valueTypes":["rpa_list"],"fields":[{"key":"var_name","label":"表格内容保存至","defaultValue":"Word表格内容","valueTypes":["rpa_list"]}]},"slots":[]},{"id":"Word_New_V1","name":"新建Word文档","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"在指定路径下新创建一个word文件,并赋值给指定变量。","messageTemplate":"在路径 $1 上新建word, 名称为 $2 , 然后把结果保存到 $0","baseType":"Word_New","functionName":"Word.New_V1","functionCalls":[{"function":"Word.New_V1","args":["filePath","name","isMakedirs","is_open","visible"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["word文档","新建","新建文档"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"filePath","label":"文件路径","widget":"folder","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入保存路径","description":"选择或输入新建Word文件的保存路径","advanced":false,"valueTypes":["rpa_str_folder","rpa_str"]},{"key":"name","label":"文件名称","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文件名称","description":"输入新建Word的文件名称","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"isMakedirs","label":"是否创建该路径","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"选择是,路径不存在时创建文件夹;否则错误提示。","advanced":false,"valueTypes":[]},{"key":"is_open","label":"是否打开","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"选择新建时是否打开文档,若选是,输出变量为Word对象类型;若选否,输出变量为Word文件路径","advanced":false,"valueTypes":[]},{"key":"visible","label":"是否可见","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"选择是,以可视化方式打开文件;否则,以不可视化方式打开。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"word对象","valueTypes":["rpa_word"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"word对象","valueTypes":["rpa_word"]}]},"slots":[]},{"id":"Word_Open","name":"打开Word文档","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"打开目标word文档,并输出到指定变量,可选定文件路径。","messageTemplate":"打开Word文档 $1, 然后把结果保存到 $0","baseType":"Word_Open","functionName":"Word.Open","functionCalls":[{"function":"Word.Open","args":["filePath","visible"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["word文档","打开文档"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"filePath","label":"文件路径","widget":"file","type":"object","displayType":"selectFile","required":true,"defaultValue":"","placeholder":"请选择或输入Word文件路径","description":"选择或输入待操作的Word文件路径","advanced":false,"valueTypes":["rpa_str_file","rpa_str"]},{"key":"visible","label":"是否可见","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"选择是,以可视化方式打开文件;否则,以不可视化方式打开。","advanced":false,"valueTypes":[]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"word对象","valueTypes":["rpa_word"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"word对象","valueTypes":["rpa_word"]}]},"slots":[]},{"id":"Word_SelectRow","name":"选择行","kind":"vendor","group":"office","categories":["cursor_set"],"categorySignature":"cursor_set","description":"选择目标word文档中的某些行,可指定起始行。","messageTemplate":"选择word文件中的某行","baseType":"Word_SelectRow","functionName":"Word.SelectRow","functionCalls":[{"function":"Word.SelectRow","args":["objWord","st","ed"],"assignTo":""}],"version":"3.3.5.0","tags":["选中word行","选择行内容"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"st","label":"起始行","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入起始行","description":"输入需选中的起始行","advanced":false,"valueTypes":["rpa_int"]},{"key":"ed","label":"结束行","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"2","placeholder":"请输入结束行","description":"输入需选中的结束行","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_GetPath","name":"获取Word路径","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"获取目标word文档的路径,并输出给指定变量。","messageTemplate":"获取Word文档文件路径, 然后把结果保存到 $0","baseType":"Word_GetPath","functionName":"Word.GetPath","functionCalls":[{"function":"Word.GetPath","args":["objWord"],"assignTo":"var_name"}],"version":"3.3.5.0","tags":["文档路径","获取文档路径","word路径","获取路径","获取","得到","取得","提取","获取到"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"输出到变量","key":"var_name","suggestedName":"word路径","valueTypes":["rpa_str"],"fields":[{"key":"var_name","label":"输出到变量","defaultValue":"word路径","valueTypes":["rpa_str"]}]},"slots":[]},{"id":"Word_DeleteSelect","name":"删除","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"对目标word文档中选取的内容进行删除操作。","messageTemplate":"对Word文档所选区域进行删除操作","baseType":"Word_DeleteSelect","functionName":"Word.DeleteSelect","functionCalls":[{"function":"Word.DeleteSelect","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["删除","word删除","移除","删掉","清除","删去"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SetPosition","name":"设置光标位置","kind":"vendor","group":"office","categories":["cursor_set"],"categorySignature":"cursor_set","description":"设置光标在目标word文档中的位置,可设定相对当前位置移动的位置和方式。","messageTemplate":"设置光标在Word文档中的位置","baseType":"Word_SetPosition","functionName":"Word.SetPosition","functionCalls":[{"function":"Word.SetPosition","args":["objWord","length","unit"],"assignTo":""}],"version":"3.3.5.0","tags":["光标位置","word光标","移动位置","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"length","label":"移动位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入移动距离","description":"设置移动的距离,单位可为字、行、段落","advanced":false,"valueTypes":["rpa_int"]},{"key":"unit","label":"移动方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"word","placeholder":"","description":"选择移动光标的单位,如字、行、段落","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_Write","name":"写入文字至Word","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"在目标word文档当前选区位置,写入设定的文本内容。","messageTemplate":"在当前Word文档选区写入一些文字内容","baseType":"Word_Write","functionName":"Word.Write","functionCalls":[{"function":"Word.Write","args":["objWord","text","text_format"],"assignTo":""}],"version":"3.3.5.0","tags":["写入文字","写入文本","写入Word","word文本写入","写入","写入到","写入数据","写进","录入"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"text","label":"写入内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入文本或选择变量","description":"输入文本或点击选择变量","advanced":false,"valueTypes":["rpa_str"]},{"key":"text_format","label":"文本格式","widget":"text","type":"string","displayType":"wordTextFormatConfig","required":false,"defaultValue":"{\"FontFormat\":\"宋体\",\"FontSize\":11,\"BoldAndItalic\":0,\"FontColor\":\"#000000\"}","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_PositionToSelect","name":"查找文本后设置光标位置","kind":"vendor","group":"office","categories":["cursor_set"],"categorySignature":"cursor_set","description":"在Word文档中查找指定的文本,并相对第一个查找到的文本设置光标。","messageTemplate":"查找文本 $1 后设置光标位置","baseType":"Word_PositionToSelect","functionName":"Word.PositionToSelect","functionCalls":[{"function":"Word.PositionToSelect","args":["objWord","text","direction","pos_index"],"assignTo":""}],"version":"3.3.5.0","tags":["移动光标位置","word光标","设置","配置","设定","调配","设置好","文本","文字","字符"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"text","label":"查找文本","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入查找文本","description":"输入需要查找的文本内容","advanced":false,"valueTypes":["rpa_str"]},{"key":"pos_index","label":"文本出现位置","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"1","placeholder":"请输入文本出现位置","description":"输入数字,输入1则表示第一个位置,输入-1则表示倒数第一个位置;当查找到多个文本时,可设置光标位置","advanced":false,"valueTypes":["rpa_int"]},{"key":"direction","label":"相对位置","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"left","placeholder":"","description":"选择光标在所查找的文本内容之前、之后,或选中文本","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_Close","name":"关闭Word","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"关闭目标word文档,可选择是否关闭进程。","messageTemplate":"关闭Word文档","baseType":"Word_Close","functionName":"Word.Close","functionCalls":[{"function":"Word.Close","args":["objWord","isKill"],"assignTo":""}],"version":"3.3.5.0","tags":["关闭文档","word关闭","关闭","退出","终止","关停"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"isKill","label":"关闭进程","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"True","placeholder":"","description":"选择是,同时关闭word文档和进程;选择否,仅关闭文档。","advanced":false,"valueTypes":["rpa_bool"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_MovePosition","name":"移动光标位置","kind":"vendor","group":"office","categories":["cursor_set"],"categorySignature":"cursor_set","description":"移动光标在目标word中的位置,可设定移动方式,移动位置和移动方向。","messageTemplate":"移动光标在Word文档中的位置","baseType":"Word_MovePosition","functionName":"Word.MovePosition","functionCalls":[{"function":"Word.MovePosition","args":["objWord","length","unit","direction","isSelect"],"assignTo":""}],"version":"3.3.5.0","tags":["移动光标位置","word光标"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"length","label":"移动位置","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"1","placeholder":"请输入移动距离","description":"设置移动的距离,单位可为字、行、段落","advanced":false,"valueTypes":["rpa_int"]},{"key":"unit","label":"移动方式","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"word","placeholder":"","description":"选择移动光标的单位,如字、行、段落","advanced":false,"valueTypes":[]},{"key":"direction","label":"移动方向","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"right","placeholder":"","description":"选择向上或向下移动光标","advanced":false,"valueTypes":[]},{"key":"isSelect","label":"按住shift","widget":"select","type":"string","displayType":"dropDownSelect","required":false,"defaultValue":"False","placeholder":"","description":"是,表示移动光标的同时,按住shift键;否则,不按住。","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SetFontColor","name":"设置字体颜色","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"设定目标word文档中选定文本的字体颜色。","messageTemplate":"设置Word文档选区的字体颜色为 $1","baseType":"Word_SetFontColor","functionName":"Word.SetFontColor","functionCalls":[{"function":"Word.SetFontColor","args":["objWord","fontColor"],"assignTo":""}],"version":"3.3.5.0","tags":["字体","设定字体","字体颜色","word字体","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"fontColor","label":"字体颜色","widget":"text","type":"string","displayType":"colorPicker","required":true,"defaultValue":"#000000","placeholder":"手动输入或点击选择颜色值","description":"支持手动输入或点击选择器输入,手动输入格式为[255,255,255]或#00FF00","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_CopySelect","name":"复制","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"对目标word文档中的选取的内容执行复制操作,复制到剪切板。","messageTemplate":"对Word文档的选取执行复制操作","baseType":"Word_CopySelect","functionName":"Word.CopySelect","functionCalls":[{"function":"Word.CopySelect","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["复制","word复制","拷贝","复件","仿制"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_PasteSelect","name":"粘贴","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"对目标word文档中的选取的内容执行粘贴操作。","messageTemplate":"对Word文档执行粘贴操作","baseType":"Word_PasteSelect","functionName":"Word.PasteSelect","functionCalls":[{"function":"Word.PasteSelect","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["粘贴","word粘贴"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_Replace","name":"替换","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"将目标word文档中指定的内容替换成另外的内容,可指定原内容和新内容。","messageTemplate":"将Word文档中的 $1 替换为 $2","baseType":"Word_Replace","functionName":"Word.Replace","functionCalls":[{"function":"Word.Replace","args":["objWord","oldText","newText"],"assignTo":""}],"version":"3.3.5.0","tags":["替换","内容替换","word内容替换"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"oldText","label":"原内容","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"请输入原内容","description":"","advanced":false,"valueTypes":["rpa_str"]},{"key":"newText","label":"新内容","widget":"text","type":"string","displayType":"text-expression","required":false,"defaultValue":"","placeholder":"请输入新内容","description":"","advanced":false,"valueTypes":["rpa_str"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_WriteTable","name":"插入Word表格","kind":"vendor","group":"office","categories":["word"],"categorySignature":"word","description":"在目标Word文档中插入表格。","messageTemplate":"在 $0 中插入表格,表格数据为 $1","baseType":"Word_WriteTable","functionName":"Word.WriteTable","functionCalls":[{"function":"Word.WriteTable","args":["objWord","data","table_format","is_border","is_line_break"],"assignTo":""}],"version":"3.3.5.0","tags":["插入表格","表格","word表格写入","数据表","表格数据","数据表格"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"data","label":"表格数据","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"","placeholder":"","description":"如使用[[\"张三\", \"李四\", \"王五\"]]插入单行表格,使用[[\"张三\"], [\"李四\"], [\"王五\"]]插入单列表格,或用嵌套列表/数据表格插入多行多列表格,数据类型必须是二维数组,可参考组件说明文档使用","advanced":false,"valueTypes":["rpa_list","rpa_pd"]},{"key":"table_format","label":"表格内容格式","widget":"text","type":"string","displayType":"wordTextFormatConfig","required":false,"defaultValue":"{\"FontFormat\":\"宋体\",\"FontSize\":11,\"BoldAndItalic\":0,\"FontColor\":\"#000000\",\"HorizontalAlignment\":0,\"VerticalAlignment\":0}","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_border","label":"表格边框","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]},{"key":"is_line_break","label":"插入前换行","widget":"boolean","type":"boolean","displayType":"checkbox","required":false,"defaultValue":"1","placeholder":"","description":"","advanced":false,"valueTypes":[]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_Enter","name":"回车","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"在目标word文档的当前位置插入一个回车键。","messageTemplate":"在Word当前位置插入一个回车","baseType":"Word_Enter","functionName":"Word.Enter","functionCalls":[{"function":"Word.Enter","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["回车","word回车","enter"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SetFontSize","name":"设置字体大小","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"设定目标word文档中选定文本的字体大小。","messageTemplate":"设置Word文档选区的字体大小为 $1","baseType":"Word_SetFontSize","functionName":"Word.SetFontSize","functionCalls":[{"function":"Word.SetFontSize","args":["objWord","fontSize"],"assignTo":""}],"version":"3.3.5.0","tags":["字体","设定字体","字体大小","word字体","设置","配置","设定","调配","设置好"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]},{"key":"fontSize","label":"字体大小","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"9","placeholder":"请设置字体大小","description":"设置当前文档的字体大小数值","advanced":false,"valueTypes":["rpa_int"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_SelectAll","name":"全选","kind":"vendor","group":"office","categories":["cursor_set"],"categorySignature":"cursor_set","description":"选中目标word文档的全部内容。","messageTemplate":"全选word文档","baseType":"Word_SelectAll","functionName":"Word.SelectAll","functionCalls":[{"function":"Word.SelectAll","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["选中内容","全选内容"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]},{"id":"Word_InsertPage","name":"插入分页符","kind":"vendor","group":"office","categories":["word_edit"],"categorySignature":"word_edit","description":"在目标word文档的当前位置插入一个分页符。","messageTemplate":"在Word当前位置插入一个分页符","baseType":"Word_InsertPage","functionName":"Word.InsertPage","functionCalls":[{"function":"Word.InsertPage","args":["objWord"],"assignTo":""}],"version":"3.3.5.0","tags":["分页符","word分页"],"platformTag":"win32","icon":"office","risk":"low","fields":[{"key":"objWord","label":"文档对象","widget":"text","type":"string","displayType":"text-expression","required":true,"defaultValue":"word对象","placeholder":"请输入或选择Word对象变量","description":"使用新建word、打开文档等组件输出的变量。","advanced":false,"valueTypes":["rpa_word"]}],"output":{"label":"","key":"","suggestedName":"","valueTypes":[],"fields":[]},"slots":[]}]} \ No newline at end of file diff --git a/scripts/build-catalog.mjs b/scripts/build-catalog.mjs index d3cc6df..efa7bc6 100644 --- a/scripts/build-catalog.mjs +++ b/scripts/build-catalog.mjs @@ -13,6 +13,8 @@ import fs from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; import { applyCatalogOverrides } from "./catalog-overrides.mjs"; +// 平台标记单一源:从包内 PLATFORM_GROUPS 逐域派生(npm run catalog 用 tsx 运行) +import { buildDomainPlatformMap, PLATFORM_GROUPS } from "../packages/rpa-core/src/capabilities/register-all"; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const ROOT = path.resolve(__dirname, ".."); @@ -172,7 +174,17 @@ function normalizeVendorField(field) { } function loadCatalogSource() { - const raw = fs.readFileSync(SRC_CATALOG, "utf8"); + // 优先环境变量/对面仓库路径;对面重构删除该文件后,回退到 temp/catalog-source/ 的历史恢复版 + // (自 Agent-Employee commit 7bc627c8 恢复;temp/ 不入库,换机器需重新恢复) + const candidates = [SRC_CATALOG, path.join(ROOT, "temp", "catalog-source", "shizai-catalog-data.js")]; + const found = candidates.find((p) => fs.existsSync(p)); + if (!found) { + throw new Error( + `找不到目录源数据 shizai-catalog-data.js(尝试:${candidates.join(" ; ")})。` + + `可从 Agent-Employee 历史 commit 7bc627c8 恢复到 temp/catalog-source/` + ); + } + const raw = fs.readFileSync(found, "utf8"); const start = raw.indexOf("="); if (start < 0) throw new Error("catalog source has no assignment"); let body = raw.slice(start + 1).trim(); @@ -228,10 +240,10 @@ function normalizeVendorComponent(component, vendorMap) { const fields = (component.inputFields || []).map((f) => enrichFromVendor(normalizeVendorField(f), vendor)); const output = outputOf(component, vendor); const risk = ["web", "app", "desktop", "message", "mobile"].includes(group) ? "high" : "low"; - // 任务 3.4(决策点 7):平台标记只填 catalog 数据,渲染层置灰延后。 - // Windows 专用组:desktop(user32/键鼠)、app(COM/进程)、office(Excel/Word COM)、vision(PowerShell 截屏); - // data/file/message 纯 Node,web 走 CDP,均视为跨平台(null)。 - const WIN32_GROUPS = new Set(["desktop", "app", "office", "vision"]); + // 任务 3.4(决策点 7)+ 五件小事 #1:platformTag 从包内 PLATFORM_GROUPS 单一源派生 + // (能力 id 命中包内注册 → win32;未实现的能力与宿主原生节点 → null 跨平台占位)。 + const platforms = domainPlatformMap.get(component.id) || component.platforms; + const platformTag = component.platformTag || (platforms?.includes("win32") ? "win32" : null); return { id: component.id, name: component.name, @@ -246,7 +258,7 @@ function normalizeVendorComponent(component, vendorMap) { functionCalls: (component.functions || []).map((f) => ({ function: f.function, args: f.arguments || [], assignTo: f.assignTo || "" })), version: component.version || "", tags: component.tags || [], - platformTag: component.platformTag || (WIN32_GROUPS.has(group) ? "win32" : null), + platformTag, icon: group, risk, fields, @@ -319,7 +331,11 @@ function normalizeTrigger(trigger) { }; } -function main() { +async function main() { + // 平台单一源:逐域加载包内能力,得到「能力 id → 平台数组」映射(与运行时同一张 PLATFORM_GROUPS 表) + domainPlatformMap = await buildDomainPlatformMap(); + console.log(`platform map: ${domainPlatformMap.size} capability ids from ${Object.keys(PLATFORM_GROUPS).length} domains`); + const source = loadCatalogSource(); const vendorMap = loadComponentsNew(); @@ -362,4 +378,10 @@ function main() { console.log(`output: ${OUT_FILE} (${(size / 1024 / 1024).toFixed(2)} MB)`); } -main(); +/** 能力 id → 平台数组(buildDomainPlatformMap 的结果,main 内填充) */ +let domainPlatformMap = new Map(); + +main().catch((err) => { + console.error(err); + process.exit(1); +}); diff --git a/scripts/catalog-overrides.mjs b/scripts/catalog-overrides.mjs index d02b73b..ee26f6a 100644 --- a/scripts/catalog-overrides.mjs +++ b/scripts/catalog-overrides.mjs @@ -7,10 +7,17 @@ export function applyCatalogOverrides(catalog) { for (const component of catalog.components) { const override = overrides[component.id]; if (!override) continue; - const { fields = {}, removeFields = [], ...metadata } = override; + const { fields = {}, addFields = [], removeFields = [], ...metadata } = override; Object.assign(component, metadata); component.fields = component.fields.filter(field => !removeFields.includes(field.key)) .map(field => ({ ...field, ...fields[field.key] })); + // addFields:补源数据里缺失、但实现确实读取的字段(完整字段定义,key 重复则跳过) + if (addFields.length) { + const have = new Set(component.fields.map(f => f.key)); + for (const f of addFields) { + if (f && f.key && !have.has(f.key)) component.fields.push(f); + } + } } catalog.counts.fields = catalog.components.reduce((count, component) => count + component.fields.length, 0); return catalog;