I am just learning scripting so bear with me. I have searched for an example of what I want to do but haven't found one to follow. Here is my scenario:

I use checkpoints ssl extender to connect to a server in order to login. I then need to go to another url to access the information I need. I have successfully written two individual scripts for each activity but I would like to have one script that would first connect to the login server, wait for the connection to be made, then access the second url. I haven't been able to figure that part out yet. I combined the two lines into a single script but the second line never gets implemented (the second url can only be accessed after a vpn connection has been established). There must be some sort of wait command that could be used.

So, if this can be done, I would really appreciate some direction.

thx