I started to work on this script and now I have to refer to "client.dataModel.model.loginInfo.publicaccountname" Which does not exist right after log-in. So I need some kind of function, which tests if the page has already loaded, and then continues the execution of code. As far as I know the script has already one, but I am not smart enough to find the appropriate code, which does exactly and only this.
Need appropriate function to wait for page load
I started to work on this script and now I have to refer to
"client.dataModel.model.loginInfo.publicaccountname"
Which does not exist right after log-in. So I need some kind of function, which tests if the page has already loaded, and then continues the execution of code.
As far as I know the script has already one, but I am not smart enough to find the appropriate code, which does exactly and only this.