Currently, on all of my scripts I have scripting to open a IE address. If that IE address directs me to a login screen I have the code written to login, but if it takes me to the desired address then I skip that coding.
Can I store this as a function and share it with all my scripts? Would I have to add the objects of the login screen to all the scripts, or would the function store them?
How would someone go about this?