Newsgroups: microsoft.public.scripting.vbscript
From: piancu <paul.r.ia...@gmail.com>
Date: Thu, 29 Oct 2009 20:29:18 -0700 (PDT)
Local: Fri, Oct 30 2009 3:29 am
Subject: Simulating a button click to bypass a prompt
Hi everyone. I'm trying to use VB script to load a table from a HTML
page to a text file. The problem is that the webpage has a EULA agreement prompt which i need to get past in order to download the table. I get an error message about button sometimes but at times the button is being clicked, although IE.document.body is non-existent and nothing gets written to the file. Do any of you know how I can click the button that appears but at the Thanks Dim strContents strContents = Space(1) Set Tables = IE.document.Body.getElementsbyTagName("table") Set myFSO = CreateObject("Scripting.FileSystemObject") For Each Table In Tables 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.
| ||||||||||||||