remote control: add /SET method (issue #56)

This commit is contained in:
jean-emmanuel 2017-12-21 12:33:58 +01:00
parent e2ad561010
commit 0be383c79d
3 changed files with 49 additions and 0 deletions

View file

@ -68,6 +68,22 @@ Returns `/GET address preArg1 preArg2 ... value`
- `value`: `*`
## `/SET target id value`
Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
- `id`: `string`, widget's `id`
- `value`: `*`, widget's new value
## `/SET address preArg1 preArg2 ... value`
Set a widget's value as if it was interacted with from the interface. This is likely to make it send its value.
- `address`: `string`, widget's `address`
- `preArg[1...]`: `*`, widget's `preArgs`
- `value`: `*`, widget's new value
## `/TABS id id etc`
Open the tabs designated by the `id` parameters. The target tab link must be accesible (opening a tab located in a disabled tab won't work unless you specify the parent tab's `id` before; the safest way to go is to pass the whole tab tree to enable).