#45737 - 2003-09-21 03:34 PM
Web Based Mail Auto Login
|
Richie19Rich77
Seasoned Scripter
   
Registered: 2002-08-16
Posts: 624
Loc: London, England
|
Hi Everyone
I am trying to setup a script that will login me directly into my Web base Mail without prompting for my username and password.
The Web Based Mail application is based on iPlanet.
I have looked at a previous script done by Richard_H, where this script inputs the Members number into the members field under KiXtart search page.
Richard H - KiXtart Search Page
Hos did RichardH find out that the search box for KiXtart was '$oForm.search_user.value="494"'
How can I find out what the field name is of the login and password box ???.
Thanks [ 21. September 2003, 15:37: Message edited by: Richard Farthing ]
|
|
Top
|
|
|
|
#45740 - 2003-09-21 03:48 PM
Re: Web Based Mail Auto Login
|
Richie19Rich77
Seasoned Scripter
   
Registered: 2002-08-16
Posts: 624
Loc: London, England
|
Well that I have been doing, but.....
It looks like greek to me Source File
Thanks
|
|
Top
|
|
|
|
#45742 - 2003-09-21 03:52 PM
Re: Web Based Mail Auto Login
|
Richie19Rich77
Seasoned Scripter
   
Registered: 2002-08-16
Posts: 624
Loc: London, England
|
, I have made a zip file of it as well.
.zip]Source File
|
|
Top
|
|
|
|
#45744 - 2003-09-21 03:54 PM
Re: Web Based Mail Auto Login
|
Richie19Rich77
Seasoned Scripter
   
Registered: 2002-08-16
Posts: 624
Loc: London, England
|
Thanks lonk, now you have told me that it looks easy .
Thank You
|
|
Top
|
|
|
|
#45745 - 2003-09-21 03:55 PM
Re: Web Based Mail Auto Login
|
Lonkero
KiX Master Guru
   
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
|
|
Top
|
|
|
|
#45747 - 2003-09-21 03:59 PM
Re: Web Based Mail Auto Login
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Think it will look something like this, replave the navigate string with the actual URL that your going to...
code:
break on
$ie = createobject("internetexplorer.application")
$ie.visible = 1
$ie.navigate("f:\nhs.htm")
while $ie.busy and $ie.readystate <> 4 loop
$ie.document.forms(0).username.value = "shawn"
$ie.document.forms(0).j_password.value = "password"
$ie.document.forms(0).submit.click()
exit 1
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 302 anonymous users online.
|
|
|