Is it possible to activate a button box that was created by a previously running script? Essentially, I'm looking to simulate a button press.
[Script A creates object buttonbox(1)]
[Script B contains a line similar to one below, to simulate pressing the buttonbox]
buttonbox(1) << run script;
Then, script B would be run any time after script A and would call the script from buttonbox(1).
Is this aproach can also work for the error windows generated e.g while formula errors. in the attached picture i want to click on the "Ignore Errors"button using JSL?
This error window is a modal window, which means that all processing will stop except for the window action, until the window is closed. Therefore, you will not be able to issue a "Click" function