SetAutoRecycle » 历史记录 » 版本 2
yangdefeng, 2022-05-26 15:31
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 | 2 | yangdefeng | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
18 | 1 | machenhe | |
19 | bq. [<notextile>@</notextile>呼出自动回收] |
||
20 | #act |
||
21 | openRecycleItem |
||
22 | |||
23 | bq. [<notextile>@</notextile>勾选框状态切换] |
||
24 | #if |
||
25 | equal <$autoRecycle> 0 |
||
26 | #act |
||
27 | setAutoRecycle 1 |
||
28 | sendmsg 6 勾选状态:<$autoRecycle> |
||
29 | #elseact |
||
30 | setAutoRecycle 0 |
||
31 | sendmsg 6 未选状态:<$autoRecycle> |