Running the UI commands.
Running the UI commands
1
2import coat
3
4
5
6
7
8
9
10
13
15
17
19
21
22
23
24
25
27
29
31
33
34
35
36
37
38
39def smooth_close():
40 print("Set smooth degree to 50")
42 print("Press OK")
45
46
47
bool setEditBoxValue(id=str, value=str)
set the edit box value
Definition coat.py:3193
bool setSliderValue(id=str, value=float)
Set the value for the the slider (if exists in UI)
Definition coat.py:3182
bool cmd(id=str, fn=Any)
perform some command in UI.
Definition coat.py:3170
toRoom(name=str)
switch to the room
Definition coat.py:3251
bool getEditBoxValue(id=str, result=Any)
get the edit box value
Definition coat.py:3211
apply()
pess ENTER, acts as Apply usually
Definition coat.py:3220
float getSliderValue(id=str)
get the value of the slider
Definition coat.py:3187