Courtney Posted July 28, 2016 Posted July 28, 2016 Is there a GET function or other method to retrieve whether another script is running or which scripts are running from inside a script? I have a script that will call a sub script, but I also use the sub script as a stand-alone in some cases, so I'd like to be able to check from within that script whether it was called by another script, so that I know how to handle things when the sub script ends (either go back to the main script with the Exit Script step or go back to original layout and Halt Script.) I figure I can use a variable to do this, but I'm wondering if I'm overlooking a cleaner way.
comment Posted July 28, 2016 Posted July 28, 2016 Have the main script call the sub-script with a parameter?
Recommended Posts
This topic is 3386 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now