Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

macros in internet explorer

Status
Not open for further replies.

PatieP

Technical User
Dec 12, 2006
1
US
is there anyway to create macros to input text based information into web forms?
 
Assuming you want to automate a data entry process, i.e. you have a file with records containing data you want to enter, you would use a programming language like C++, VB, VFP, etc. to create an executable that uses automation to create an instance of IE and control it using the Document Object Model (DOM). I've done it a few times using Visual Foxpro. It's labor intensive to develop in that you have to determine in advance the names and IDs of the fields you want to populate as well as the submit button(s). Then you have to handle the navigation both to the form page and from it (i.e. where it goes after you programatically click the submit button.

And then every time the site's owner changes the form, your program will have to be adjusted accordingly.

But if you have massive amounts of data to enter, it's very fast - my executables can enter records into a form at a rate of about 2000-3000 per hour.

If you want something simpler like a keystroke recorder/player, there are lots of those around. You should be able to find something using Google.

Mike Krausnick
Dublin, California
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top