C++ Entering Text into Webpage Textbox

Hey Guys, I'm a beginner and would like to know how to simply enter in a string of text into any webpage, using C++, and then use basic commands like [Enter] or [Tab] to navigate through (Which I know is sloppy but simple for now).

For Example something like this (I know it's wrong)
/*
system(C:\\"somthing...somthing else"\\"mozila.exe");

[access URL box] enter "www.youtube.com";
[access Textbox] enter "some video";
[Press Enter]
[Tabulate to first video result]
[Press Enter]
*/

Sort of like automated Web browsing using C++.

Any help would be greatly appreciated
This cannot be done through the command line. You would either have to create a hook into the web browsers process and send it virtual input, or develop an extension that the browser can run inside of itself (usually through DLL's). You would have to research each option on your own for your specific OS/browser in order to figure out how to do this.
Thanks ModShop for your reply. I would be using Mozila firefox or Google Chrome on Windows. I was looking for something as simple as a HTTP.PUT or HTTP.GET, like with VBA, for C++. Is there anything like that?
Unfortunately its not that simple...

Developing an add-on for your web browser will probably be the most powerful way of communicating with a web page, as it would give you much more control over everything. I have never done this personally, but this link: http://blog.mozilla.org/addons/2009/01/28/how-to-develop-a-firefox-extension/
Says how, for Firefox that is.

Putting a hook into the firefox.exe process and sending it virtual input will most likely be simpler (at first) but you will be VERY limited on what you can do. This link: http://www.codeproject.com/Articles/2082/API-hooking-revealed
Explains the topic of "hooking" very well.
Topic archived. No new replies allowed.