I'm trying to change screens with a script. The script errors with an explanation that I don't understand. I pulled the script out of the HSTouch Designer Help file.
The only change I made is from 'main' to 'Home' in the last statement.
Can someone steer me in the right direction?
Thanks
PHP Code:
Sub Main(parm as object)
' the plugin object
dim hstplug as object
' get a reference to the HSTouch Server plugin
hstplug = hs.plugin("HSTouch Server")
' make sure the reference is good
if hstplug is nothing then exit sub
' call the method on the plugin to perform the action
' in this case change screen to home on iPad
hstplug.ClientAction(60,"","Home","")
End Sub
Can someone steer me in the right direction?
Thanks
Comment