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*$<[I]container name[/I]>*SCRIPT INVOKE [I]<function name>[/I]")
    SendSingleCmd localhost, cmd, true

    Comment


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

      Comment


      • #4
        That's right

        Comment

        Working...
        X