13618 lines
379 KiB
JSON
13618 lines
379 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"generatedAt": "2026-11-02T02:28:00.143Z",
|
||
"reason": "不接入能力备份",
|
||
"count": 122,
|
||
"ids": [
|
||
"Basic_GetSystemAccount_v2",
|
||
"Basic_GetSystemAccount",
|
||
"Basic_GetSystemAccount_v1",
|
||
"DataService_DeleteControllerFiles_v1",
|
||
"DataService_ReportException",
|
||
"DataService_ProductionQueue",
|
||
"DataService_UploadControllerFiles_v1",
|
||
"DataService_ServiceNew",
|
||
"DataService_DeleteControllerFiles",
|
||
"DataService_Service",
|
||
"DataService_DownloadControllerFiles",
|
||
"DataService_DownloadControllerFiles_v1",
|
||
"DataService_ConsumptionQueue",
|
||
"DataService_UploadControllerFiles",
|
||
"DataService_AiScreenText",
|
||
"DataService_AiScreenDate",
|
||
"DataService_AiScreenOperate",
|
||
"Element_DoubleClickSap",
|
||
"File_UploadBusinessResults_v1",
|
||
"File_StartBusiness",
|
||
"File_UploadBusinessResults",
|
||
"File_Collectupload",
|
||
"File_UploadFolder",
|
||
"Mark_Mark",
|
||
"Mobile_ConnectPhone",
|
||
"Mobile_MobileElementAarray",
|
||
"Mobile_Call",
|
||
"Mobile_MobileSetText_V1",
|
||
"Mobile_ClickButton",
|
||
"Mobile_SetInputV1",
|
||
"Mobile_ConnectPhoneV3",
|
||
"Mobile_GetAttribute",
|
||
"Mobile_Exists",
|
||
"Mobile_MobileElementList",
|
||
"Mobile_FileTransfer",
|
||
"Mobile_GetPhoneInfomation",
|
||
"Mobile_ClickLocation",
|
||
"Mobile_SaveFilePhone",
|
||
"Mobile_SetInput",
|
||
"Mobile_MobileCvClick",
|
||
"Mobile_TouchSlideV1",
|
||
"Mobile_GetPhoneFiles",
|
||
"Mobile_OpenMobileApp",
|
||
"Mobile_TouchSlide",
|
||
"Mobile_GetMobileUiTree",
|
||
"Mobile_GetScreenOrientation",
|
||
"Mobile_GetElement",
|
||
"Mobile_MobileCvSetText",
|
||
"Mobile_ClosePhone",
|
||
"Mobile_SetInputV2",
|
||
"Mobile_SetScreenOrientation",
|
||
"Mobile_ImageClick",
|
||
"Mobile_CloseMobileApp",
|
||
"Mobile_ElementShot",
|
||
"Mobile_ScreenShot",
|
||
"Mobile_GetClipboardText",
|
||
"Mobile_ConnectPhoneV2",
|
||
"Mobile_GetText",
|
||
"Mobile_MobileSetText",
|
||
"Mobile_MobileElementList_V1",
|
||
"Mobile_ElementClick",
|
||
"Mobile_GetChildren",
|
||
"Mobile_SetClipboardText",
|
||
"Mobile_ConnectPhoneV1",
|
||
"OCR_RotateVerificationCodeV1",
|
||
"OCR_PuzzleVerificationCode_v1",
|
||
"OCR_ClickVerificationCodeV2",
|
||
"OCR_SourceCommonEnglishNumbersCodeV2",
|
||
"OCR_SimpleSliderVerificationCode",
|
||
"OCR_SourceMergeCardOCR",
|
||
"OCR_SliderVerificationCodeV5",
|
||
"OCR_SliderVerificationCodeV4",
|
||
"OCR_SourceMergeOtherOCR",
|
||
"OCR_SliderCode",
|
||
"OCR_SourceMergeGeneralOCR",
|
||
"OCR_RotateVerificationCodeV2",
|
||
"OCR_RotateVerificationCode",
|
||
"OCR_ClickVerificationCodeV1",
|
||
"OCR_PuzzleVerificationCode",
|
||
"OCR_SimpleSliderVerificationCodeV2",
|
||
"OCR_SourceCommonEnglishNumbersCode",
|
||
"OCR_SourceMergeCarOCR",
|
||
"OCR_SliderVerificationCodeV2",
|
||
"OCR_SliderVerificationCodeV1",
|
||
"OCR_SliderVerificationCode",
|
||
"OCR_SourceMergeEducationOCR",
|
||
"OCR_SliderVerificationCodeV3",
|
||
"OCR_ClickVerificationCode",
|
||
"OCR_SourceCommonEnglishNumbersCodeV1",
|
||
"OCR_PuzzleVerificationCode_v2",
|
||
"OCR_SourceMergePaperOCR",
|
||
"OCR_SimpleSliderVerificationCodeV1",
|
||
"OCR_SourceMergeGeneralOCR_V1",
|
||
"OCR_SliderVerificationCodePosition",
|
||
"OcrOffline_ClickOcrText_V1",
|
||
"OcrOffline_MoveToOcrText",
|
||
"OcrOffline_ClickOcrText",
|
||
"OcrOffline_MoveToOcrText_V1",
|
||
"OCR_BaiDu_CarOCR",
|
||
"OCR_BaiDu_OtherOCR",
|
||
"OCR_BaiDu_EducationOCR",
|
||
"OCR_BaiDu_GeneralOCR",
|
||
"OCR_BaiDu_CardOCR",
|
||
"OCR_BaiDu_PaperOCR",
|
||
"peripherals_UsbCom",
|
||
"peripherals_CloseNetworkUsbCom",
|
||
"peripherals_CloseUsbCom",
|
||
"peripherals_NetworkUsbCom",
|
||
"peripherals_OpenNetworkUsbCom",
|
||
"peripherals_OpenUsbCom",
|
||
"SafeControlInput_KeyInput",
|
||
"Scenario_CreditVerify",
|
||
"Scenario_VatInvoice",
|
||
"Scenario_PhysicalExamination",
|
||
"System_ResetMechanicalArm",
|
||
"System_MechanicalArmClick",
|
||
"System_ConnectingUshield",
|
||
"System_ConnectingMechanicalArm",
|
||
"System_CloseMechanicalArm",
|
||
"System_CloseUshield",
|
||
"System_GetMobileMessage",
|
||
"WebBrowser_DownloadDialog"
|
||
],
|
||
"components": [
|
||
{
|
||
"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_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_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": "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_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_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_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_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_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_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": "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": "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_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_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_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_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": "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": "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": "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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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": "",
|
||
"advanced": false,
|
||
"valueTypes": []
|
||
},
|
||
{
|
||
"key": "SecretKey",
|
||
"label": "用户SecretKey",
|
||
"widget": "text",
|
||
"type": "string",
|
||
"displayType": "text-expression",
|
||
"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": "图片在汽车场景下的分类",
|
||
"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": "",
|
||
"advanced": false,
|
||
"valueTypes": []
|
||
},
|
||
{
|
||
"key": "SecretKey",
|
||
"label": "用户SecretKey",
|
||
"widget": "text",
|
||
"type": "string",
|
||
"displayType": "text-expression",
|
||
"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": "图片在其他场景下的分类",
|
||
"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": "",
|
||
"advanced": false,
|
||
"valueTypes": []
|
||
},
|
||
{
|
||
"key": "SecretKey",
|
||
"label": "用户SecretKey",
|
||
"widget": "text",
|
||
"type": "string",
|
||
"displayType": "text-expression",
|
||
"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": "图片在教育场景下的分类",
|
||
"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": "",
|
||
"advanced": false,
|
||
"valueTypes": []
|
||
},
|
||
{
|
||
"key": "SecretKey",
|
||
"label": "用户SecretKey",
|
||
"widget": "text",
|
||
"type": "string",
|
||
"displayType": "text-expression",
|
||
"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"
|
||
]
|
||
}
|
||
],
|
||
"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": "",
|
||
"advanced": false,
|
||
"valueTypes": []
|
||
},
|
||
{
|
||
"key": "SecretKey",
|
||
"label": "用户SecretKey",
|
||
"widget": "text",
|
||
"type": "string",
|
||
"displayType": "text-expression",
|
||
"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": "图片在卡证的分类",
|
||
"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": "",
|
||
"advanced": false,
|
||
"valueTypes": []
|
||
},
|
||
{
|
||
"key": "SecretKey",
|
||
"label": "用户SecretKey",
|
||
"widget": "text",
|
||
"type": "string",
|
||
"displayType": "text-expression",
|
||
"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": "图片在票据的分类",
|
||
"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": "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": "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": "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_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_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_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_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": "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": []
|
||
}
|
||
]
|
||
} |