Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
IE8 and vbscript
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
  16 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
 
AvWG  
View profile  
 More options Nov 8 2009, 10:56 am
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Sun, 8 Nov 2009 11:56:58 +0100
Local: Sun, Nov 8 2009 10:56 am
Subject: IE8 and vbscript
Hi,

With vbscript I.ve created the following:
I start the IE-application, use sendkeys to login in on a site. Next I
create 10 more tabs (internet-pages), each with slightly another address.
When this is done I want to go to the 2nd tab, save the source information
and do this for the rest of the 9 remaining tabs....

The problem is: I can't get the focus off the first (login) tab. Though I
can go to the next tab with sendkeys :-( , the html-source I want to review
is still of the first tab...

Manually I can click on the tabs and get the source. But first this time
consuming and second I want to read many more internetpages/tabs then the 10
I mentioned.

So is there a vbscript-"command" to switch to other tabs?

Part of the script:
 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

 WScript.Sleep 2000
 WScript.Echo "***********************************************************"

Here I used  code as
oIE.Document.body.innerHTML
or
Set oHTML = CreateObject("Microsoft.XMLHTTP")
 oHTML.open "GET" , sURL, True

Does anybody have suggestions how to stear between the tabs?

I hope so,

André


    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.
Robert Aldwinckle  
View profile  
 More options Nov 8 2009, 1:43 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "Robert Aldwinckle" <rob...@techemail.com>
Date: Sun, 8 Nov 2009 08:43:49 -0500
Local: Sun, Nov 8 2009 1:43 pm
Subject: Re: IE8 and vbscript

"AvWG" <dretr...@hotmail.com> wrote in message news:263af$4af6a406$5352a1ff$29878@cache4.tilbu1.nb.home.nl...
> WshShell.SendKeys "^{TAB}" 'go to the 2nd tab
> Does anybody have suggestions how to stear between the tabs?

Not that way.  That depends on your tab setting for

    Always switch to new tabs when they are created
    (Alt-T,O,Alt-,t,A)

and your setting for

    Use most recent order when switching tabs with Ctrl+Tab
    (in Options, Advanced, Browsing section)

Your use of the mouse ("click on the tabs") ignores these factors
and is not a good comparison in any case.  At the very least you
should be simulating using keystrokes what you are attempting
to achieve using SendKeys.

A more reliable way to switch between 9 tabs is to use
Ctrl-1 through Ctrl-9.  I think that use of those keys could be
easily adapted to a SendKeys implementation.

Good luck

Robert Aldwinckle
---


    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 2009, 4:00 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Sun, 8 Nov 2009 17:00:05 +0100
Local: Sun, Nov 8 2009 4:00 pm
Subject: Re: IE8 and vbscript
Hi Robert,

Thank you for your quick response.

I used sendkeys but it seemed not to change the focus......

My expections were more into IE-object methods/properties and /or
IE.Document methods/properties. I am looking for some answers that don't use
the sendkey construction, but more like oIE.Tab(x).SetFocus and
oIE.Tab(x).GetSource.....

For now they only exist in my imagination.

André

"Robert Aldwinckle" <rob...@techemail.com> schreef in bericht
news:e2hFCmHYKHA.4360@TK2MSFTNGP04.phx.gbl...


    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.
mayayana  
View profile  
 More options Nov 8 2009, 4:41 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "mayayana" <mayaXXy...@rcXXn.com>
Date: Sun, 8 Nov 2009 11:41:53 -0500
Local: Sun, Nov 8 2009 4:41 pm
Subject: Re: IE8 and vbscript
   I can't answer your question in terms
of tabs, but why not just navigate to
the pages in series? That's what you would
have had to have done anyway before there
were tabs. It seems more dependable than
the method you're trying to use. Sendkeys
is a hokey, unpredictable method, best
avoided whenever possible.


    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 2009, 5:48 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Sun, 8 Nov 2009 18:48:29 +0100
Local: Sun, Nov 8 2009 5:48 pm
Subject: Re: IE8 and vbscript
Hi Mayayana,

Indeed sendkeys are to be avoided.

I am looking for the 'just navigate' you mentioned. I start IE with the
logon page. After a few secondes I start the second tab/internet page of
which I want the html-source. But for now first the eight remaining pages
are called
 For J=1 To 9
  oIE.Navigate2 aLinks(J), navOpenInBackgroundTab .
.

After this the actual source-getting is started: place the focus on page 2,
read source, parse source, focus on page 3, read source etc..

That navigating to the next page, is what I want....

Tnx for your answer,

André

"mayayana" <mayaXXy...@rcXXn.com> schreef in bericht
news:O1bvrIJYKHA.3504@TK2MSFTNGP05.phx.gbl...


    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.
rob^_^  
View profile  
 More options Nov 8 2009, 7:00 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "rob^_^" <iecustomi...@hotmail.com>
Date: Mon, 9 Nov 2009 06:00:39 +1100
Local: Sun, Nov 8 2009 7:00 pm
Subject: Re: IE8 and vbscript
Document.body.outerHTML returns the head block as well.

"AvWG" <dretr...@hotmail.com> wrote in message

news:263af$4af6a406$5352a1ff$29878@cache4.tilbu1.nb.home.nl...


    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 2009, 7:40 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Sun, 8 Nov 2009 20:40:59 +0100
Local: Sun, Nov 8 2009 7:40 pm
Subject: Re: IE8 and vbscript
Hi Rob,

This method is new to me. Have already tested it. It gives met HTML code but
not of the page I want...

Still thanks,

André

"rob^_^" <iecustomi...@hotmail.com> schreef in bericht
news:eUGwKXKYKHA.4452@TK2MSFTNGP04.phx.gbl...


    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.
Robert Aldwinckle  
View profile  
 More options Nov 9 2009, 3:07 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "Robert Aldwinckle" <rob...@techemail.com>
Date: Mon, 9 Nov 2009 10:07:44 -0500
Local: Mon, Nov 9 2009 3:07 pm
Subject: Re: IE8 and vbscript

"AvWG" <dretr...@hotmail.com> wrote in message news:7bebb$4af6eb13$5352a1ff$12218@cache1.tilbu1.nb.home.nl...
> Hi Robert,

> Thank you for your quick response.

> I used sendkeys but it seemed not to change the focus......

Did you put a waitfor in after it?   ; )

> My expections were more into IE-object methods/properties and /or IE.Document methods/properties. I am looking for some answers
> that don't use the sendkey construction, but more like oIE.Tab(x).SetFocus and oIE.Tab(x).GetSource.....

> For now they only exist in my imagination.

For everyone I suspect.  Unless there has been something added to IE8
to support tabs by an API my understanding is that tabs are strictly the
end users choice of presentation for multiple windows.  I.e., a web site
author should neither know nor care if there are tabs or windows or,
if tabs, how they relate to each other (e.g. using the options I mentioned.)
Hence, the only way that you could control such presentation would be
by simulating keystrokes which you knew to be the most reliable in either
case.

BTW the IE General NG is not the best forum for discussing workarounds
for this limitation.  I suggest you try the MSDN forum for IE web development
instead.

Robert
---


    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 9 2009, 7:24 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Mon, 9 Nov 2009 20:24:51 +0100
Local: Mon, Nov 9 2009 7:24 pm
Subject: Re: IE8 and vbscript
Hi Robert,

Yes I used a waitfor... and yes I will look outside this Group

Tnx for your explanation, very clear!

André

"Robert Aldwinckle" <rob...@techemail.com> schreef in bericht
news:eSo3o5UYKHA.4688@TK2MSFTNGP06.phx.gbl...


    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.
Csaba Gabor  
View profile  
 More options Nov 11 2009, 8:36 am
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: Csaba Gabor <dans...@gmail.com>
Date: Wed, 11 Nov 2009 00:36:15 -0800 (PST)
Local: Wed, Nov 11 2009 8:36 am
Subject: Re: IE8 and vbscript
On Nov 8, 11:56 am, "AvWG" <dretr...@hotmail.com> wrote:

I've read this thread, and I don't see any justification for wanting
to put the pages in different tabs.  Specifically, there is no mention
of user interaction.  Assuming that there is no user involvement
and that you are simply after information on those pages, I think
you would be better off creating an IE instance for each page
to which you'd like to navigate.  For example, an array of
IE instances which (eventually) should run hidden.

However, there is a second problem, which is already evident
in your code, and that is that you are having a significant
problem determining when pages are ready.  This is, in general,
quite a difficult issue.  I think it would be far easier for you to
spawn a different process for each page you'd like to load so
that it can be dealt with separately.  However, doing this
with 10 pages or so can be a massive hit on the CPU, so I
don't recommend this route.

Parallel processing of pages is really messy.  Unless you
have a REALLY SPECIFIC reason for needing the parallel
aspect, your posted code implies that you are doing
background processing.  That being the case, you could
just as well process each page one at a time (which also
reduces the chance that the remote site will ban you for
robotic access of their pages).  So you could have the
original IE for your starting page, and then create a
second IE for your array of links (so that you can get
back to your original IE when done with processing said
array).  Now process each link one at a time (taking into
account what to do if you've gotten to some timeout limit
and the page hasn't loaded).

Csaba Gabor from Vienna

By the way, I haven't tried this, and I don't have a tabbed IE here
to do so with, but if you click on the different tabs of IE, do you
get a different title in the title bar?  If so, it's conceivable
(though
perhaps not likely) that you could activate a specific tab through
AppActivate.  Has anyone tried that?  I wouldn't want to take bets
on it, but...

    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.
Discussion subject changed to "-- Vienna" by mr_unreliable
mr_unreliable  
View profile  
 More options Nov 11 2009, 7:13 pm
Newsgroups: microsoft.public.scripting.vbscript
From: mr_unreliable <kindlyReplyToNewsgr...@notmail.com>
Date: Wed, 11 Nov 2009 14:13:31 -0500
Local: Wed, Nov 11 2009 7:13 pm
Subject: [ot] -- Vienna

Csaba Gabor wrote:
> Csaba Gabor from Vienna

Just returned from there, and was totally impressed.
Those Hapsburgs really know how to turn on the
baroque decoration.

As for the Apfel Strudel mit Schlage -- I had almost
forgotten what REAL Schlage tastes like.  The stuff
you get here in the US is just tasteless white goo
that comes out of a sqray can.  And the Wiener
Strudel is a huge pile of apples with a paper thin
crust.  Contrast that with the American Strudel,
which is a huge thick doughy crust, with a paper-thin
layer of apples inside.

cheers, jw


    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.
Discussion subject changed to "IE8 and vbscript" by AvWG
AvWG  
View profile  
 More options Nov 11 2009, 9:32 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Wed, 11 Nov 2009 22:32:45 +0100
Local: Wed, Nov 11 2009 9:32 pm
Subject: Re: IE8 and vbscript
Hi Csaba,

Thank you for your message. I've already done what you described. One
Instance, two instances, 25 instances. But that's not the problem.

One of the problems is that it is not possible to go to the 12th tab after
creating 25 tabs (with ie VBScript) .The other problem: When I use something
like sendkeys and end at the 12th tab, I don't get the source of that page.
What I do get is the source of the very first page I need to start, with
credentials in order to have access to that particular site. Manually on
that page I can click on 'Source' in the menu and get the source I want...

So no methodes to freely move between tabs and not getting the right source
dump....

André

"Csaba Gabor" <dans...@gmail.com> schreef in bericht
news:f8a0bc95-0728-4f4e-95e6-bcd17049a100@s31g2000yqs.googlegroups.com...
On Nov 8, 11:56 am, "AvWG" <dretr...@hotmail.com> wrote:

I've read this thread, and I don't see any justification for wanting
to put the pages in different tabs.  Specifically, there is no mention
of user interaction.  Assuming that there is no user involvement
and that you are simply after information on those pages, I think
you would be better off creating an IE instance for each page
to which you'd like to navigate.  For example, an array of
IE instances which (eventually) should run hidden.

However, there is a second problem, which is already evident
in your code, and that is that you are having a significant
problem determining when pages are ready.  This is, in general,
quite a difficult issue.  I think it would be far easier for you to
spawn a different process for each page you'd like to load so
that it can be dealt with separately.  However, doing this
with 10 pages or so can be a massive hit on the CPU, so I
don't recommend this route.

Parallel processing of pages is really messy.  Unless you
have a REALLY SPECIFIC reason for needing the parallel
aspect, your posted code implies that you are doing
background processing.  That being the case, you could
just as well process each page one at a time (which also
reduces the chance that the remote site will ban you for
robotic access of their pages).  So you could have the
original IE for your starting page, and then create a
second IE for your array of links (so that you can get
back to your original IE when done with processing said
array).  Now process each link one at a time (taking into
account what to do if you've gotten to some timeout limit
and the page hasn't loaded).

Csaba Gabor from Vienna

By the way, I haven't tried this, and I don't have a tabbed IE here
to do so with, but if you click on the different tabs of IE, do you
get a different title in the title bar?  If so, it's conceivable
(though
perhaps not likely) that you could activate a specific tab through
AppActivate.  Has anyone tried that?  I wouldn't want to take bets
on it, but...

    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.
mayayana  
View profile  
 More options Nov 11 2009, 10:47 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "mayayana" <mayaXXy...@rcXXn.com>
Date: Wed, 11 Nov 2009 17:47:45 -0500
Local: Wed, Nov 11 2009 10:47 pm
Subject: Re: IE8 and vbscript

> One
> Instance, two instances, 25 instances. But that's not the problem.

> One of the problems is that it is not possible to go to the 12th tab after
> creating 25 tabs (with ie VBScript) .

 I think Csaba Gabor is saying the same thing I
suggested a few days ago: Don't use tabs!

  Navigate in a single window to each page,
one at a time. Then you only have one page
loaded at a time and the source code is available.


    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.
Csaba Gabor  
View profile  
 More options Nov 12 2009, 1:52 am
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: Csaba Gabor <dans...@gmail.com>
Date: Wed, 11 Nov 2009 17:52:42 -0800 (PST)
Local: Thurs, Nov 12 2009 1:52 am
Subject: Re: IE8 and vbscript
On Nov 11, 10:32 pm, "AvWG" <dretr...@hotmail.com> wrote:

> Hi Csaba,

> Thank you for your message. I've already done what you described.

I've recommended two main things, and described a few things that
I recommended against.  The first recommendation was to stay
away from tabs (using multiple instances or multiple invocations were
two possible alternatives (but I certainly don't recommend either
one)),
especially by using single instance serial navigation.

The second was a possible way to get ahold of a tab (using
AppActivate) if you nevertheless insist on tabs.

Which is it that you have already done?

> One Instance, two instances, 25 instances. But that's not the
> problem.

> One of the problems is that it is not possible to go to the 12th tab
> after creating 25 tabs (with ie VBScript).

You have not motivated the problem.  What makes it compelling
to create any tabs whatsoever?  I'm not saying there couldn't be
a reason, but without guiding our thinking a bit, it is hard to wrap
our heads around why.  Specifically, the internet world existed
pretty well before tabs came along.  They did so as a user
convenience rather than a user necessity.  So I would think you
have to be doing something pretty darned unusual to be requiring
tabs.

> The other problem: When I use something like sendkeys and end
> at the 12th tab, I don't get the source of that page.  What I do

Oh, and that's the other thing.  You should really be avoiding
send keys, when at all possible.  It is only a method of last resort,
and it is really easy to mess up doing the kinds of things that you
are doing (as you have come to realize).  Without looking more
at your specifics, my first inclination is to think that you have
timing issues.  One possiblility for you is to really slow the send
keys down (if your architecture doesn't permit this, the timing
issues become much more probable) so you can see it as it
happens.

How do you avoid send keys?  The answer is to fill out the
form on the page (for example, something like:
ie.document.getElementById("myId").value = "myEntry"
or
var body = ie.document.body
body.getElementsByTagName("INPUT")(0).value = "myEntry")
You can direct links and targets to a specific window by
setting their target attribute to the name of the window or
frame in question.

Oh, and yes, mayayana expressed both the principle of
not using tabs nor using send keys much more
succinctly in his Nov 8 post.


    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 12 2009, 9:47 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: "AvWG" <dretr...@hotmail.com>
Date: Thu, 12 Nov 2009 22:47:44 +0100
Local: Thurs, Nov 12 2009 9:47 pm
Subject: Re: IE8 and vbscript
Hi,

I've done all, with and without tabs.
And in both cases I can't get the "same" source of a page, manually vs
vbscript.

So, for me, the problem is that vbscript can't do the job for me and I doubt
another language can...
I believe the problem is the internet.application-object does not provide
the right "tools"

Btw: for my current job I automate every thing with vbscript and till now
there was little I couldn't handle.... :-(

André

"Csaba Gabor" <dans...@gmail.com> schreef in bericht
news:0ddc3d94-fccc-4a53-a9f6-b4aaa5baba80@d5g2000yqm.googlegroups.com...
On Nov 11, 10:32 pm, "AvWG" <dretr...@hotmail.com> wrote:

> Hi Csaba,

> Thank you for your message. I've already done what you described.

I've recommended two main things, and described a few things that
I recommended against.  The first recommendation was to stay
away from tabs (using multiple instances or multiple invocations were
two possible alternatives (but I certainly don't recommend either
one)),
especially by using single instance serial navigation.

The second was a possible way to get ahold of a tab (using
AppActivate) if you nevertheless insist on tabs.

Which is it that you have already done?

> One Instance, two instances, 25 instances. But that's not the
> problem.

> One of the problems is that it is not possible to go to the 12th tab
> after creating 25 tabs (with ie VBScript).

You have not motivated the problem.  What makes it compelling
to create any tabs whatsoever?  I'm not saying there couldn't be
a reason, but without guiding our thinking a bit, it is hard to wrap
our heads around why.  Specifically, the internet world existed
pretty well before tabs came along.  They did so as a user
convenience rather than a user necessity.  So I would think you
have to be doing something pretty darned unusual to be requiring
tabs.

> The other problem: When I use something like sendkeys and end
> at the 12th tab, I don't get the source of that page.  What I do

Oh, and that's the other thing.  You should really be avoiding
send keys, when at all possible.  It is only a method of last resort,
and it is really easy to mess up doing the kinds of things that you
are doing (as you have come to realize).  Without looking more
at your specifics, my first inclination is to think that you have
timing issues.  One possiblility for you is to really slow the send
keys down (if your architecture doesn't permit this, the timing
issues become much more probable) so you can see it as it
happens.

How do you avoid send keys?  The answer is to fill out the
form on the page (for example, something like:
ie.document.getElementById("myId").value = "myEntry"
or
var body = ie.document.body
body.getElementsByTagName("INPUT")(0).value = "myEntry")
You can direct links and targets to a specific window by
setting their target attribute to the name of the window or
frame in question.

Oh, and yes, mayayana expressed both the principle of
not using tabs nor using send keys much more
succinctly in his Nov 8 post.


    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.
Csaba Gabor  
View profile  
 More options Nov 13 2009, 11:58 pm
Newsgroups: microsoft.public.scripting.vbscript, microsoft.public.internetexplorer.general
From: Csaba Gabor <dans...@gmail.com>
Date: Fri, 13 Nov 2009 15:58:24 -0800 (PST)
Local: Fri, Nov 13 2009 11:58 pm
Subject: Re: IE8 and vbscript
On Nov 12, 10:47 pm, "AvWG" <dretr...@hotmail.com> wrote:

> Hi,

> I've done all, with and without tabs.

All -> what <- ?
We seem to have a communication problem.

> And in both cases I can't get the "same" source of a
> page, manually vs vbscript.

Well, I don't know how you are attempting to get
the source of a page (indeed, I don't even know whether
you have gotten ahold of the tabbed page, for that
matter).

> So, for me, the problem is that vbscript can't do the job
> for me and I doubt another language can...
> I believe the problem is the internet.application-object
> does not provide the right "tools"

Grousing and griping are fine, as far as I'm concerned,
and I have done it on these groups myself.  But without
specifics, a person might be inclined to transform it in
their mind like so:
gripe -> grips -> grits -> writs -> write -> white -> whine

> Btw: for my current job I automate every thing with vbscript and till now
> there was little I couldn't handle.... :-(

Then here's something else for your arsenal (tested on IE8):
Set focus onto the link in the prior (active) page and then
SendKeys "+^~"

Csaba Gabor from Vienna

Possibly relevant pages:
http://msdn.microsoft.com/en-us/library/aa752127%28VS.85%29.aspx
http://www.add-in-express.com/docs/internet-explorer-addon-developmen...


    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
©2010 Google