Announcement

Collapse
No announcement yet.

Calling a Script from template wizard

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

  • Calling a Script from template wizard

    Hello All,

    Is there a way to call a scene script from template wizard?

  • #2
    you can use SendSingleCmd function
    for example:
    Code:
    dim cmd
    cmd = "REND*TREE*$<container name>*SCRIPT INVOKE <function name>")
    SendSingleCmd localhost, cmd, true

    Comment


    • #3
      alonh that is a containerscript you are referring to. There is a difference
      Code:
      'Run a function in a scenescript with a command:
      MAIN_SCENE*SCRIPT*INSTANCE*Check INVOKE;
      
      'Run a function in a containerscript with a command:
      MAIN_SCENE*TREE*$MyContainerName*SCRIPT INVOKE MyFunctionName

      Comment


      • #4
        That's right

        Comment

        Working...
        X