<div dir="ltr">I have thought of that as well. I like it, but I was wondering if there was a way to get it from say a single step. For example, if you could leverage the com.cisco.app.Application class, or perhaps another class I don't know about which refers to the running script.<div><br></div><div>Something like this would be nice (totally made up):</div><div><br></div><div>Set this_script = com.cisco.contact.getRunningScript()<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 10:38 PM Bill Talley <<a href="mailto:btalley@gmail.com">btalley@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="ltr"><span></span></div><div dir="ltr">Maybe use a Get Trigger Info step to capture the application name, followed by Make REST Call to get the script name? <br><br><div id="m_1896385159820369098AppleMailSignature" dir="ltr"><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Helvetica"><span style="font-size:12pt">Sent from an iOS device with very tiny touchscreen input keys. Please excude my typtos.</span></p></div><div dir="ltr"><br>On Nov 27, 2018, at 2:29 PM, Anthony Holloway <<a href="mailto:avholloway+cisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">I have worked out a method to retrieve the running script as a Script object, but I'm not super happy with how I did it. I.e., It's kind of ugly looking and complex.<div><br></div><div>I'm wondering if anyone of you can retrieve a reference to the running script, without hard coding the name in the script. I.e., It should work on any script without modification.</div><div><br></div><div>E.g., If the App which is executing is called Test and its script which is executing is called test.aef, then your script should populate a Script variable containing SCRIPT[test.aef].</div><div><br></div><div>I don't want to submit my version right away, just so I don't send you down any one particular path, but I will share it once a few people have responded, or if this gains zero traction after a bit.</div><div><br></div><div>Share your solutions!</div></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>cisco-voip mailing list</span><br><span><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a></span><br><span><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></span><br></div></blockquote></div></div></blockquote></div>