Thankfully, I think external scripts would be your only option here. Unless the fairly-new Tcl capability of IOS could allow such a thing.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: