![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Internet Explorer Forum Internet Explorer Support. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2009
Posts: 3
OS: XP
|
Auto Login Script
I have a batch file to open 2 IE windows. That works fine.
Now I need to edit the batch file or create another script to have the one page auto login (and possibly minimize) while the other window comes up to a login screen. I do not want the user to see the first screen. It is just a screen that needs to login, minimize, and be up at all times for their auto print session to run every hour. It's a separate signon from the other page so the users will get mad if they have too many signons. I tried one script but it didn't work because I guess the page is in frames. Any suggestions? I opened the website and clicked on this batch file below but nothing happened. Here is the script that I was trying. I had to take out our website and passwords. @echo off Sub AutoPrint_AutoLogin() Set ie = CreateObject("InternetExplorer.application") ie.Visible = True ie.navigate ("website goes here") Do If ie.readyState = 4 Then ie.Visible = True Exit Do Else DoEvents End If Loop 'USE VIEW SOURCE TO GET FORM ELEMENT IDS ie.Document.forms(0).all("UserName").Value = "username here" ie.Document.forms(0).all("UserPassword").Value = "password here" ie.Document.forms(0).all("UserLoc").Value = "location here" ie.Document.forms(0).submit End Sub |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|