Dlg time » 历史记录 » 版本 2
yangdefeng, 2022-05-08 00:06
1 | 1 | machenhe | _*%{color:green}<time:%*_ |
---|---|---|---|
2 | |||
3 | 标签:命令定义|<time: |
||
4 | |||
5 | *定义* |
||
6 | 自定义对话框中显示当前时间,可每秒自动刷新 |
||
7 | 2 | yangdefeng | 参数之间以":"为分割符 |
8 | 1 | machenhe | |
9 | *使用前提* |
||
10 | 配置Tejieconfig.txt |
||
11 | 开启对应开关 |
||
12 | ** 文件位置 |
||
13 | 2 | yangdefeng | ..\Mir200\Tejieconfig\Tejieconfig.txt |
14 | 1 | machenhe | ** 对应开关 |
15 | [tjconfig] |
||
16 | 2 | yangdefeng | %{color:lightGrey};(=1时开启,=0时关闭,缺省时关闭)% |
17 | 1 | machenhe | isUseCustomOKPanel=1 |
18 | |||
19 | - |
||
20 | - |
||
21 | |||
22 | *格式* |
||
23 | |命令名|参数1|参数2|参数3 |参数4 |参数5 | |
||
24 | |time |X坐标|Y坐标|时间变量|字色编码|是否显示年月日| |
||
25 | |||
26 | - |
||
27 | - |
||
28 | *说明* |
||
29 | * 参数1:X坐标 |
||
30 | |||
31 | * 参数2:Y坐标 |
||
32 | |||
33 | * 参数3:时间变量<$time> |
||
34 | |||
35 | * 参数4:字色编码(0-255) |
||
36 | |||
37 | * 参数5:是否显示年月日 |
||
38 | ** 0 不显示 |
||
39 | ** 1 显示 |
||
40 | |||
41 | - |
||
42 | - |
||
43 | |||
44 | *%{color:deepskyblue}脚本示例:%* |
||
45 | |||
46 | bq. [@main] |
||
47 | #say |
||
48 | <time:0:0:<$time>:159:1> |
||
49 | <time:0:50:<$time>:222:0> |