Announcement

Collapse
No announcement yet.

VS2010 Express, tenScripting, HSTouch parameters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    VS2010 Express, tenScripting, HSTouch parameters

    Hi,

    I'm calling a script from HSTouch. I'm passing 2 parameters. In ScriptParameter1, I'm passing the client name and in ScriptParameter2, the next zone to control.

    The script is:

    Public Sub GotoZoneTest(ByVal Parms As Object)
    Dim strClient As String
    Dim strNextScreen As String

    strClient = Parms(0).ToString
    strNextScreen = Parms(1).ToString

    hs.WriteLog("GotoZone", "Client: " & strClient)
    hs.WriteLog("GotoZone", "NextScreen: " & strNextScreen)
    End Sub

    This script run ok if called from an HSTouch client.

    I want to develop using TenScripting with VS2010 Express.

    I'd like to know how to enter my 2 parameters in optional parameters field for my object Parms receive an array of 2 parameters.

    #2
    Uncheck the box: Process as HS Parameters

    Multiple parameters are separated by a comma (,)


    Let me know if you still have questions,

    tenholde
    tenholde

    Comment


      #3
      Originally posted by tenholde View Post
      Uncheck the box: Process as HS Parameters

      Multiple parameters are separated by a comma (,)


      Let me know if you still have questions,

      tenholde
      Thank you! It's working.

      Comment

      Working...
      X