9 Replies Latest reply on Dec 1, 2017 9:28 PM by NightSkyGuy

    how do I get the name of the action that was started from within my javascript?

    shaibn7 Level 1

      Hello,

       

      I want to create an action called 'test1' and record it playing a script called 'generic.jsx'.

      I want the script to know that it was started by 'test1' and thus, do XYZ.

      I want to create another action called 'test2' and have it play the same script called 'generic.jsx'.

      From within that same script, being a generic one, I want to to now know that it was started by action 'test2' and do ABC.

       

      How can I have my javascript know the name of the action that launched it?

       

      Thanks in advance!

       

      ---

      Shai