I have several phones/tablets that I need to change screens on individually and I can't find a way to do it from a script.
Maybe I am missing something, but the only method I can find is through an event. My workaround was to create an event for each individual HSTouch client, but I'd rather not do that.
My quick solution was to pass the tablet/phone name to the script as a parameter, then run the script:
It's a clumsy solution, not to mention that I also have to have a separate HSTouch Designer setup for each individual client (and remember to change all of them any time I edit a screen) to pass the correct ID to the script - does anyone know of a way to open a screen on a specific HSTouch Client from within a script?
Thanks in advance!
Maybe I am missing something, but the only method I can find is through an event. My workaround was to create an event for each individual HSTouch client, but I'd rather not do that.
My quick solution was to pass the tablet/phone name to the script as a parameter, then run the script:
Code:
Dim TabletName ' Get Tablet origin from HSTouch TabletName = parm(0).ToString ' get input code If TabletName = "iPad_1" hs.TriggerEvent("Open User Management HSTouch Screen iPad 1") End If If TabletName = "Android_1" hs.TriggerEvent("Open User Management HSTouch Screen Android 1") End If If TabletName = "Android_2" hs.TriggerEvent("Open User Management HSTouch Screen Android 2") End If If TabletName = "Android_3" hs.TriggerEvent("Open User Management HSTouch Screen Android 3") End If
Thanks in advance!
Comment