Web Images News Groups Scholar Blogs Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
How to script IE to open certain webpage prompted with user & pass
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rich  
View profile  
 More options Nov 2, 3:59 pm
Newsgroups: microsoft.public.scripting.vbscript
From: Rich <richj...@noemail.noemail>
Date: Mon, 2 Nov 2009 07:59:02 -0800
Local: Mon, Nov 2 2009 3:59 pm
Subject: How to script IE to open certain webpage prompted with user & pass
Does anyone have a script that will open up a specific URL in IE7 or IE8?  
Then this website prompts for a username and password, which I can store in
IE, but it still pops up with the box asking I confirm the stored info (if I
do it manually).  I'd like the whole thing to be automated, so I can just run
this script, then the page opens in IE with the stored (either in IE or
somewhere else) credentials automatically input and accepted by IE, so
essentially it opens directly to the webpage without any user interaction.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AvWG  
View profile  
 More options Nov 8, 12:08 pm
Newsgroups: microsoft.public.scripting.vbscript
From: "AvWG" <dretr...@hotmail.com>
Date: Sun, 8 Nov 2009 13:08:08 +0100
Local: Sun, Nov 8 2009 12:08 pm
Subject: Re: How to script IE to open certain webpage prompted with user & pass
Hi Rich

Following script I use to open some predefined URLs (stored in the array
aLinks) :

 Set oIE = CreateObject("InternetExplorer.Application") ', "oIE_")
 oIE.Visible = True
 oIE.FullScreen = False

 'open a new window
 oIE.Navigate2 aLinks(0)
 Do While oIE.Busy
        WScript.Sleep 50
 Loop

 'open url In new tab
 Logon() ' My own logon subroutine

 WScript.Sleep 2000
 For J=1 To 9
         oIE.Navigate2 aLinks(J), navOpenInBackgroundTab 'navOpenInNewTab '
         Do While oIE.Busy
                WScript.Sleep 50
          Loop
          WScript.Sleep 3000
 Next

 WshShell.SendKeys "^{TAB}" 'go to the 2nd tab
 WScript.Sleep 100
 on error goto 0

Is this useful for you?

André

"Rich" <richj...@noemail.noemail> schreef in bericht
news:0A1D6061-4F6F-4D91-BC8E-CD920C3D7187@microsoft.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google