################创建脚本->开始################
INSERT INTO 脚本 (排序号,脚本名称) values(7505288373,"生成不重复随机数_20250713174331")
################创建脚本->结束################
################创建任务1->开始################
INSERT INTO 任务 (排序号,脚本id,任务名称,启用,是否集合) values(7523338411,[脚本id],"生成不重复随机数",0,0)
################创建任务1->结束################
################创建任务1步骤->开始################
INSERT INTO 步骤 (步骤号,排序号,操作,任务id,类型,步骤开关,键盘_动作,键盘_功能键代码,键盘_键代码,鼠标_按键,鼠标_动作,鼠标_点击位置,鼠标_点击次数,鼠标_坐标x,鼠标_坐标y,鼠标_滚轮次数,鼠标_移动设置,鼠标_移动速度,其他设置_固定延迟,其他设置_随机延迟最小值,其他设置_随机延迟最大值,图片识别_名称,图片识别_相似度,图片识别_图片,图片识别_找到后,图片识别_重复间隔,图片识别_重复次数,图片识别_偏移x,图片识别_偏移y,图片识别_找到跳步骤,图片识别_找不到跳步骤,文本操作_输入文本,鼠标_录制脚本,图片识别_找不到,流程_跳步骤,键盘_键名,图片识别_查找范围,图片识别_范围左x,图片识别_范围左y,图片识别_范围右x,图片识别_范围右y,图片识别_查找方向,通用_文本1,通用_文本2,通用_文本3,通用_文本4,通用_数字1,通用_数字2,通用_数字3,通用_数字4,备注) values(1851,"7523315569","流程控制",[任务id],"添加变量",0,"",0,0,"","","",0,0,0,0,"",0,0,0,0,"",0,"","",0,0,0,0,0,0,"","","",0,"","","","","","",0,"最小值","1","","",1,0,0,0,"")
INSERT INTO 步骤 (步骤号,排序号,操作,任务id,类型,步骤开关,键盘_动作,键盘_功能键代码,键盘_键代码,鼠标_按键,鼠标_动作,鼠标_点击位置,鼠标_点击次数,鼠标_坐标x,鼠标_坐标y,鼠标_滚轮次数,鼠标_移动设置,鼠标_移动速度,其他设置_固定延迟,其他设置_随机延迟最小值,其他设置_随机延迟最大值,图片识别_名称,图片识别_相似度,图片识别_图片,图片识别_找到后,图片识别_重复间隔,图片识别_重复次数,图片识别_偏移x,图片识别_偏移y,图片识别_找到跳步骤,图片识别_找不到跳步骤,文本操作_输入文本,鼠标_录制脚本,图片识别_找不到,流程_跳步骤,键盘_键名,图片识别_查找范围,图片识别_范围左x,图片识别_范围左y,图片识别_范围右x,图片识别_范围右y,图片识别_查找方向,通用_文本1,通用_文本2,通用_文本3,通用_文本4,通用_数字1,通用_数字2,通用_数字3,通用_数字4,备注) values(1852,"7523315570","流程控制",[任务id],"添加变量",0,"",0,0,"","","",0,0,0,0,"",0,0,0,0,"",0,"","",0,0,0,0,0,0,"","","",0,"","","","","","",0,"最大值","10","","",1,0,0,0,"")
INSERT INTO 步骤 (步骤号,排序号,操作,任务id,类型,步骤开关,键盘_动作,键盘_功能键代码,键盘_键代码,鼠标_按键,鼠标_动作,鼠标_点击位置,鼠标_点击次数,鼠标_坐标x,鼠标_坐标y,鼠标_滚轮次数,鼠标_移动设置,鼠标_移动速度,其他设置_固定延迟,其他设置_随机延迟最小值,其他设置_随机延迟最大值,图片识别_名称,图片识别_相似度,图片识别_图片,图片识别_找到后,图片识别_重复间隔,图片识别_重复次数,图片识别_偏移x,图片识别_偏移y,图片识别_找到跳步骤,图片识别_找不到跳步骤,文本操作_输入文本,鼠标_录制脚本,图片识别_找不到,流程_跳步骤,键盘_键名,图片识别_查找范围,图片识别_范围左x,图片识别_范围左y,图片识别_范围右x,图片识别_范围右y,图片识别_查找方向,通用_文本1,通用_文本2,通用_文本3,通用_文本4,通用_数字1,通用_数字2,通用_数字3,通用_数字4,备注) values(1853,"7523315571","流程控制",[任务id],"添加变量",0,"",0,0,"","","",0,0,0,0,"",0,0,0,0,"",0,"","",0,0,0,0,0,0,"","","",0,"","","","","","",0,"个数","10","","",1,0,0,0,"")
INSERT INTO 步骤 (步骤号,排序号,操作,任务id,类型,步骤开关,键盘_动作,键盘_功能键代码,键盘_键代码,鼠标_按键,鼠标_动作,鼠标_点击位置,鼠标_点击次数,鼠标_坐标x,鼠标_坐标y,鼠标_滚轮次数,鼠标_移动设置,鼠标_移动速度,其他设置_固定延迟,其他设置_随机延迟最小值,其他设置_随机延迟最大值,图片识别_名称,图片识别_相似度,图片识别_图片,图片识别_找到后,图片识别_重复间隔,图片识别_重复次数,图片识别_偏移x,图片识别_偏移y,图片识别_找到跳步骤,图片识别_找不到跳步骤,文本操作_输入文本,鼠标_录制脚本,图片识别_找不到,流程_跳步骤,键盘_键名,图片识别_查找范围,图片识别_范围左x,图片识别_范围左y,图片识别_范围右x,图片识别_范围右y,图片识别_查找方向,通用_文本1,通用_文本2,通用_文本3,通用_文本4,通用_数字1,通用_数字2,通用_数字3,通用_数字4,备注) values(1279,"7523315572","流程控制",[任务id],"变量操作",0,"",0,0,"","","",0,0,0,0,"",0,0,0,0,"",0,"","c",0,0,0,0,0,0,"/**#换行# * 生成不重复随机数（数组索引法）#换行# * @param {number} min - 最小值#换行# * @param {number} max - 最大值#换行# * @param {number} count - 生成数量#换行# * @returns {number[]} 不重复随机数数组#换行# */#换行#function generateUniqueRandom(min, max, count) {#换行#    if (count > max - min + 1) {#换行#        throw new Error('范围太小，无法生成指定数量的不重复随机数');#换行#    }#换行#    #换行#    // 创建顺序数组#换行#    var arr = [];#换行#    for (var i = min; i <= max; i++) {#换行#        arr.push(i);#换行#    }#换行#    #换行#    // Fisher-Yates 洗牌算法#换行#    for (var i = arr.length - 1; i > 0; i--) {#换行#        var j = Math.floor(Math.random() * (i + 1));#换行#        var temp = arr[i];#换行#        arr[i] = arr[j];#换行#        arr[j] = temp;#换行#    }#换行#    #换行#    // 返回前 count 个元素#换行#    return arr.slice(0, count);#换行#}#换行##换行#// 示例：生成5个1-10的不重复随机数#换行#var randomNums = generateUniqueRandom($最小值$,$最大值$, $个数$);#换行#return (randomNums); #换行##换行##换行##换行##换行##换行#","","",0,"","","","","","",0,"c","","","执行js脚本",0,0,0,0,"")
INSERT INTO 步骤 (步骤号,排序号,操作,任务id,类型,步骤开关,键盘_动作,键盘_功能键代码,键盘_键代码,鼠标_按键,鼠标_动作,鼠标_点击位置,鼠标_点击次数,鼠标_坐标x,鼠标_坐标y,鼠标_滚轮次数,鼠标_移动设置,鼠标_移动速度,其他设置_固定延迟,其他设置_随机延迟最小值,其他设置_随机延迟最大值,图片识别_名称,图片识别_相似度,图片识别_图片,图片识别_找到后,图片识别_重复间隔,图片识别_重复次数,图片识别_偏移x,图片识别_偏移y,图片识别_找到跳步骤,图片识别_找不到跳步骤,文本操作_输入文本,鼠标_录制脚本,图片识别_找不到,流程_跳步骤,键盘_键名,图片识别_查找范围,图片识别_范围左x,图片识别_范围左y,图片识别_范围右x,图片识别_范围右y,图片识别_查找方向,通用_文本1,通用_文本2,通用_文本3,通用_文本4,通用_数字1,通用_数字2,通用_数字3,通用_数字4,备注) values(1277,"7523315573","调试设置",[任务id],"输出日志",0,"",0,0,"","","",0,0,0,0,"",0,0,0,0,"",0,"","",0,0,0,0,0,0,"$c$","","",0,"","","","","","",0,"","","","",0,0,0,0,"")
INSERT INTO 步骤 (步骤号,排序号,操作,任务id,类型,步骤开关,键盘_动作,键盘_功能键代码,键盘_键代码,鼠标_按键,鼠标_动作,鼠标_点击位置,鼠标_点击次数,鼠标_坐标x,鼠标_坐标y,鼠标_滚轮次数,鼠标_移动设置,鼠标_移动速度,其他设置_固定延迟,其他设置_随机延迟最小值,其他设置_随机延迟最大值,图片识别_名称,图片识别_相似度,图片识别_图片,图片识别_找到后,图片识别_重复间隔,图片识别_重复次数,图片识别_偏移x,图片识别_偏移y,图片识别_找到跳步骤,图片识别_找不到跳步骤,文本操作_输入文本,鼠标_录制脚本,图片识别_找不到,流程_跳步骤,键盘_键名,图片识别_查找范围,图片识别_范围左x,图片识别_范围左y,图片识别_范围右x,图片识别_范围右y,图片识别_查找方向,通用_文本1,通用_文本2,通用_文本3,通用_文本4,通用_数字1,通用_数字2,通用_数字3,通用_数字4,备注) values(1278,"7523315574","流程控制",[任务id],"结束运行",0,"",0,0,"","","",0,0,0,0,"",0,0,0,0,"",0,"","",0,0,0,0,0,0,"","","",0,"","","","","","",0,"","","","",0,0,0,0,"")
################创建任务1步骤->结束################
################创建绑定->开始################
INSERT INTO 绑定 (脚本id,模式,标准_绑定设置,高级_识别模式,高级_绑定模式,高级_鼠标模式,高级_键盘模式) values([脚本id],"标准","前台模式","0","gdi","dx2","dx")
################创建绑定->结束################
################创建窗口->开始################
INSERT INTO 窗口 (脚本id,排序号,句柄,名称,窗口标题,窗口类名,窗口进程名,备注,忽略任务id,宽,高) values([脚本id],"7522562363",65852,"","","SysListView32","explorer.exe","","",2560,1440)
################创建窗口->结束################
################创建设置>开始################
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"任务线程数","1")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"窗口线程数","-1")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"每步骤间隔","50")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"全局偏移X","0")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"全局偏移Y","0")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"运行速度","1")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"鼠标间隔","30")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"键盘间隔","30")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"任务执行设置","同时")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"测试窗口句柄","65852")
INSERT INTO 设置 (脚本id,配置,值) values([脚本id],"测试窗口提示","句柄：65852大小：2560*1440#换行#进程名：explorer.exe#换行#标题：")
################创建设置>结束################
################创建字库>开始################
INSERT INTO 字库 (排序号,脚本id,字库名称,路径,相似度,偏色) values(7506043968,[脚本id],"万阶","吊炸天.txt",95,"ff0000-000000")
INSERT INTO 字库 (排序号,脚本id,字库名称,路径,相似度,偏色) values(7506981991,[脚本id],"图腾","吊炸天挂机.txt",95,"ff00ff-050505|00ff00-050505|ffffff-050505|ffff00-050505")
################创建字库>结束################