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(str id, str value)
set the edit box value
Definition coat.py:3229
bool getEditBoxValue(str id, any result)
get the edit box value
Definition coat.py:3247
float getSliderValue(str id)
get the value of the slider
Definition coat.py:3223
bool cmd(str id, any fn=None)
execute some action in UI as if you pressed on some control
Definition coat.py:3186
apply()
pess ENTER, acts as Apply usually
Definition coat.py:3252
toRoom(str name, bool Force=False)
switch to the room
Definition coat.py:3284
bool setSliderValue(str id, float value)
Set the value for the the slider (if exists in UI)
Definition coat.py:3218