Lonkero/Jens,
Again thanks for the clues.
If I have already logged into the first page and leave it open the following script will open another instance of the second page.
code:
Break On
$ID = 'A name'
$PW = 'pwd'
$URL = "https://169.218.223.163/script/lb_login.asp"
$IE = CreateObject("InternetExplorer.Application")
$IE.Visible = 1
$IE.Navigate($URL)
While $IE.Busy and $IE.ReadyState <> 4 and @ERROR = 0 Loop
$IE.Document.getelementbyid("custid").Value = $ID
$IE.Document.getelementbyid("pw").Value = $PW
$$IE.Post.(lblogin).submit()
Exit 0
But try as I may I can't login without intervention(and I need to
). What am I doing wrong?
Thanks again for your help
J