Wav files are played properly when sent from an event, but I really need to send them via script. All of my tablets are configurable by setup screens (user management, tablet management, camera management, etc...) which looks like this as an example:
The tablet names are stored as virtual devices, and the only thing that I can't get to work is the frakking door chime function. Screens can be controlled via script using:
hs.PluginFunction("HSTouch Server", "", "ClientAction", New Object() {70, "Android" & ":" & "Lenovo Tab 4 10", "TV Screen", ""})
But when I try to send a wav, no joy. I've tried:
I've tried putting the wav file in every conceivable HS3 folder as well, the D: drive was just my last attempt. The log shows no error when running the script.
Has anyone tried using "ClientAction 100" on an Android client? Is my syntax wrong?
Any help would be appreciated because I need to get away from events so variables can be used instead of hard coding when tablet names change/are added or deleted.
Jeff
The tablet names are stored as virtual devices, and the only thing that I can't get to work is the frakking door chime function. Screens can be controlled via script using:
hs.PluginFunction("HSTouch Server", "", "ClientAction", New Object() {70, "Android" & ":" & "Lenovo Tab 4 10", "TV Screen", ""})
But when I try to send a wav, no joy. I've tried:
Code:
hs.PluginFunction("HSTouch Server", "", "ClientAction", New Object() {100, "JEFF-TOWER:SAMSUNG NOTE TABLET", "D:OpenDoorChime.wav", ""}) hs.PluginFunction("HSTouch Server", "", "ClientAction", New Object() {100, "ANDROID:SAMSUNG NOTE TABLET", "D:OpenDoorChime.wav", ""})
Has anyone tried using "ClientAction 100" on an Android client? Is my syntax wrong?
Any help would be appreciated because I need to get away from events so variables can be used instead of hard coding when tablet names change/are added or deleted.
Jeff
Comment