SetAutoRecycleEnable » 历史记录 » 版本 3
yangdefeng, 2022-05-26 18:31
1 | 3 | yangdefeng | h4. _*%{color:green}setAutoRecycleEnable%*_ |
---|---|---|---|
2 | 1 | machenhe | |
3 | 设置自动回收权限是否启用 |
||
4 | |||
5 | 标签:命令定义|setAutoRecycleEnable |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 | |
||
9 | |setAutoRecycleEnable |是否开启权限 | |
||
10 | |||
11 | 说明: |
||
12 | 2 | yangdefeng | * 参数1: 是否开启权限 |
13 | 1 | machenhe | ** 1:开启 |
14 | ** 0:关闭 |
||
15 | |||
16 | |||
17 | 3 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
18 | 1 | machenhe | |
19 | bq. [<notextile>@</notextile>开启自动回收权限] |
||
20 | #act |
||
21 | 3 | yangdefeng | *{color:green}setAutoRecycleEnable* 1 |
22 | [[sendMsg]] 6 开启了自动回收 |
||
23 | 1 | machenhe | goto <notextile>@</notextile>自动回收状态切换 |
24 | |||
25 | bq. [<notextile>@</notextile>关闭自动回收权限] |
||
26 | #act |
||
27 | 3 | yangdefeng | *{color:green}setAutoRecycleEnable* 0 |
28 | [[setAutoRecycle]] 0 |
||
29 | 1 | machenhe | sendMsg 6 关闭了自动回收 |
30 | |||
31 | |||
32 | 3 | yangdefeng | bq. %{color:deepPink}..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器% |
33 | %{color:blue}[<notextile>@</notextile>autoRecycle]% |
||
34 | 1 | machenhe | #if |
35 | 3 | yangdefeng | [[equal]] <$autoRecycleEnable> 0 |
36 | 1 | machenhe | #act |
37 | 3 | yangdefeng | [[messageBox]] 未开启自动回收权限 |
38 | 1 | machenhe | break |
39 | 3 | yangdefeng | |
40 | #if |
||
41 | [[equal]] <$autoRecycleEnable> 1 |
||
42 | 1 | machenhe | #act |
43 | goto <notextile>@</notextile>勾选框状态切换 |
||
44 | 3 | yangdefeng | |
45 | [<notextile>@</notextile>勾选框状态切换] |
||
46 | 1 | machenhe | #if |
47 | 3 | yangdefeng | [[equal]] <$autoRecycle> 0 |
48 | 1 | machenhe | #act |
49 | 3 | yangdefeng | [[setAutoRecycle]] 1 |
50 | sendMsg 6 状态:<$autoRecycle> |
||
51 | #elseAct |
||
52 | [[setAutoRecycle]] 0 |
||
53 | [[sendMsg]] 6 状态:<$autoRecycle> |