SetAutoRecycle » 历史记录 » 版本 9
yangdefeng, 2022-05-26 20:15
1 | 2 | yangdefeng | h4. _*%{color:green}setAutoRecycle%*_ |
---|---|---|---|
2 | 1 | machenhe | |
3 | 设置自动回收勾选框勾选状态 |
||
4 | 相关变量<$autoRecycle> |
||
5 | |||
6 | 标签:命令定义|setAutoRecycle |
||
7 | |||
8 | *格式* |
||
9 | |命令名 |参数1 | |
||
10 | |setAutoRecycle |是否勾选自动回收勾选框 | |
||
11 | |||
12 | 说明: |
||
13 | 2 | yangdefeng | * 参数1: 是否勾选 |
14 | 1 | machenhe | ** 1:勾选 |
15 | ** 0:不勾选 |
||
16 | |||
17 | 4 | yangdefeng | - |
18 | - |
||
19 | |||
20 | 2 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
21 | 1 | machenhe | |
22 | 8 | yangdefeng | *使用前提1* |
23 | 3 | yangdefeng | 配置回收项 |
24 | 配置工具 |
||
25 | tejiePlatform-->查看-->列表信息二-->回收列表 |
||
26 | |||
27 | 配置完生成以下文件 |
||
28 | ..\Mir200\Envir\recycleItem.txt |
||
29 | 1 | machenhe | |
30 | 8 | yangdefeng | *使用前提2* |
31 | 请开启配置开关\"isUseCustomOKPanel\" |
||
32 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
33 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
34 | |配置项 |isUseCustomOkPanel=1 | |
||
35 | |||
36 | |||
37 | 1 | machenhe | - |
38 | - |
||
39 | |||
40 | 8 | yangdefeng | bq. [<notextile>@</notextile>main] |
41 | #say |
||
42 | <text:开启自动回收权限:10:20/<notextile>@</notextile>开启自动回收权限> |
||
43 | <text:关闭自动回收权限:10:80/<notextile>@</notextile>关闭自动回收权限> |
||
44 | |
||
45 | [<notextile>@</notextile>开启自动回收权限] |
||
46 | 1 | machenhe | #act |
47 | 8 | yangdefeng | [[setAutoRecycleEnable]] 1 |
48 | [[sendMsg]] 6 开启了自动回收 |
||
49 | |
||
50 | [<notextile>@</notextile>关闭自动回收权限] |
||
51 | #act |
||
52 | [[setAutoRecycleEnable]] 0 |
||
53 | [[setAutoRecycle]] 0 |
||
54 | [[sendMsg]] 6 关闭了自动回收 |
||
55 | 7 | yangdefeng | |
56 | 8 | yangdefeng | |
57 | 9 | yangdefeng | bq. %{color:deepPink}..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器 |
58 | 点击回收界面中自动回收勾选时触发% |
||
59 | 8 | yangdefeng | %{color:blue}[<notextile>@</notextile>autoRecycle]% |
60 | 1 | machenhe | #if |
61 | 8 | yangdefeng | [[equal]] <$autoRecycleEnable> 0 |
62 | #act |
||
63 | [[messageBox]] 未开启自动回收权限 |
||
64 | break |
||
65 | |
||
66 | #if |
||
67 | [[equal]] <$autoRecycleEnable> 1 |
||
68 | #act |
||
69 | goto <notextile>@</notextile>勾选框状态切换 |
||
70 | |
||
71 | [<notextile>@</notextile>勾选框状态切换] |
||
72 | #if |
||
73 | 1 | machenhe | [[equal]] <$autoRecycle> 0 |
74 | #act |
||
75 | 5 | yangdefeng | *{color:green}setAutoRecycle* 1 |
76 | 8 | yangdefeng | [[sendMsg]] 6 状态:<$autoRecycle> |
77 | 5 | yangdefeng | #elseAct |
78 | *{color:green}setAutoRecycle* 0 |
||
79 | 8 | yangdefeng | [[sendMsg]] 6 状态:<$autoRecycle> |