No internet connection
  1. Home
  2. How to

Run command from another script

By Andrew Sherman @Andrew_Sherman
    2021-03-29 11:31:10.328Z

    How do I use "run command" in a script?

    I want to run a separate command at the end of a script but I don't know what to put in the beginning of the run command section.

    (throw 'context missing').runCommand({
        commandId: "user:default:ckl0mv9pe0000yh10fqyb15aa#ckl0mvgwt0001yh10ftn53fpd",
    });
    
    Solved in post #2, click to view
    • 2 replies
    1. Dustin Harris @Dustin_Harris
        2021-03-29 12:36:48.902Z

        I might be wrong as this is off the top of my head and I’m on my phone, but I think it’s sf.soundflow.runCommand({}) (Just for the insight: throw is used to abort a script and send an error message)

        Reply1 LikeSolution
        1. AAndrew Sherman @Andrew_Sherman
            2021-03-29 14:07:21.527Z

            That's it Dustin, thank you!