3 Replies Latest reply on Aug 13, 2012 9:05 AM by Tim Read

    Get value back from Dispatch shell execute

    Benjamin Abshire

      I am trying to use dispatch to stop a transition of a drawing if the returned vault from an external application (vb.net complied as .exe) is negative.

      Basically, my application does a bunch of checks before allowing the drawing to be released. If everything checks out, the release proceeds as normal. However, if there is a problem, the transition needs to be canceled.

       

      I fire the action before the state change occurs. I’m using the shell execute command and waiting for the program to close using the Halt execution of the script option.

       

      Does anyone know how I can get a value back or change something on the computer that dispatch could look for before proceeding?