项目

一般

简介

SetAutoRecycleEnable » 历史记录 » 版本 2

yangdefeng, 2022-05-26 18:22

1 1 machenhe
_*%{color:green}setAutoRecycleEnable%*_
2
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
*%{color:deepskyblue}脚本示例:%*
18
19
bq. [<notextile>@</notextile>开启自动回收权限]
20
#act
21
setautoRecycleEnable 1
22
sendMsg 6 开启了自动回收
23
goto <notextile>@</notextile>自动回收状态切换
24
25
bq. [<notextile>@</notextile>关闭自动回收权限]
26
#act
27
setautoRecycleEnable 0
28
setautoRecycle 0
29
sendMsg 6 关闭了自动回收
30
31
32
bq. [<notextile>@</notextile>自动回收状态切换]
33
#if
34
equal <$autoRecycleEnable> 0
35
#act
36
messagebox 未开启自动回收权限
37
break
38
39
bq. #if
40
equal <$autoRecycleEnable> 1
41
#act
42
goto <notextile>@</notextile>勾选框状态切换
43
44
bq. [<notextile>@</notextile>勾选框状态切换]
45
#if
46
equal <$autoRecycle> 0
47
#act
48
setAutoRecycle 1
49
sendmsg 6 状态:<$autoRecycle>
50
#elseact
51
setAutoRecycle 0
52
sendmsg 6 状态:<$autoRecycle>