I'm new to scripting. I'm trying to find out how to target my cout to a field in a gui.

Any direction will be greatly appreciated.

Recommended Answers

All 4 Replies

I'm new to scripting. I'm trying to find out how to target my cout to a field in a gui.

Any direction will be greatly appreciated.

Sorry I wasn't more specific. How do I output data to an exhisting gui like a webpage field within IE? I'm trying to build a script that will automate data entry through a web based application that is already in place.

You will have to use COM objects. MSDN provides a programming guide and a reference. These can be hard to understand so you may want to find a tutorial on google..

I don't know if this is a viable idea (so I'm open to criticism), but couldn't you use something like libcurl and "POST" the form data to the URL rather than actually filling the form out on the webpage?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.