3 Replies Latest reply on Feb 27, 2017 9:22 AM by Jarda Bereza

    How to run an external script from a specific line

    tokuredit Level 1

      I need to find a way to run an event starting with "line 50" ending with "line 150" of an external script: If this is possible, my purpose is to avoid creating multiple .jsx files for each event. I'll create a "base script" for various events. Could such a feat be possible? Thank you

       

          var estr = '//@include "~/Desktop/testes/base_script.jsx";\r\n';
          eval(estr);