Previn Chetty 3 Posted February 18, 2019 Share Posted February 18, 2019 Hi All, Is it possible to get an IronPython script to run after all other scripts have completed I have written a script which works perfectly if I use a button, however if I try to "automate" this script it does not work. I strongly believe that this is due to the script not running after all the others. Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted April 22, 2019 Share Posted April 22, 2019 You can execute one script after another through below code: from Spotfire.Dxp.Application.Scripting import ScriptDefinition from System.Collections.Generic import Dictionary import clr scriptDef = clr.Reference[scriptDefinition]() Document.ScriptManager.TryGetScript("otherScript", scriptDef) params = Dictionary[str, object]() Document.ScriptManager.ExecuteScript(scriptDef.ScriptCode, params)https://community.spotfire.com/wiki/using-ironpython-call-script-tibco-spot... Link to comment Share on other sites More sharing options...
Recommended Posts
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