行为
  SetAutoRecycleEnable » 历史记录 » 修订 8
      « 上一页 |
    修订 8/13
      (差异)
      | 下一页 »
    
    yangdefeng, 2022-05-26 20:15 
    
    
setAutoRecycleEnable¶
设置自动回收权限是否启用
标签:命令定义|setAutoRecycleEnable
格式| 命令名 | 参数1 | 
| setAutoRecycleEnable | 是否开启权限 | 
- 参数1: 是否开启权限
	
- 1:开启
 - 0:关闭
 
 
特戒引擎脚本示例:¶
使用前提请开启配置开关\"isUseCustomOKPanel\"
| 配置文件 | ..\Mir200\Tejieconfig\Tejieconfig.txt | 
| 配置节点 | [tjconfig] | 
| 配置项 | isUseCustomOkPanel=1 | 
[@main]
#say
<text:开启自动回收权限:10:20/@开启自动回收权限>
<text:关闭自动回收权限:10:80/@关闭自动回收权限>
[@开启自动回收权限]
#act
setAutoRecycleEnable 1
sendMsg 6 开启了自动回收
[@关闭自动回收权限]
#act
setAutoRecycleEnable 0
setAutoRecycle 0
sendMsg 6 关闭了自动回收
..\Mir200\Envir\Market_Def\QFunction-0.txt以下触发器
点击回收界面中自动回收勾选时触发
[@autoRecycle]
#if
equal <$autoRecycleEnable> 0
#act
messageBox 未开启自动回收权限
break
#if
equal <$autoRecycleEnable> 1
#act
goto @勾选框状态切换
[@勾选框状态切换]
#if
equal <$autoRecycle> 0
#act
setAutoRecycle 1
sendMsg 6 状态:<$autoRecycle>
#elseAct
setAutoRecycle 0
sendMsg 6 状态:<$autoRecycle>
由 yangdefeng 更新于 超过 3 年 之前 · 8 修订