First Application Idea

Jun 30, 2014 at 8:05am
Ok, my question is that I want to make a program that pulls a certain string of characters from amazon websites url in the address bar(the characters right before /ref=). Take that information and either output it in an excel spreadsheet or a little GUI will pop up and ask for a category to save this string of characters in and then output to the excel or to another websites input box. Any ideas how i might structure this? Thanks for any and all advice!
Last edited on Jun 30, 2014 at 10:17am
Jun 30, 2014 at 10:19am
Sorry if I'm asking this in the wrong format. My plan would to be focus on the selected browser process (using programming), and then use sendkeys, to do what you wanted, the suggested combo is Ctrl+L (focus on the address bar), Ctrl+A (to make sure that the whole text is marked) and Ctrl+C of course, in order to copy.

How can I get C++ to read that though is my question. I am still researching but this area of programming seems pretty bleak.
Jun 30, 2014 at 10:27am
If you want to do that with a browser you should consider programming a browser plugin.

Apart from the browser you can send the request and process the result directly.
You may use something lib libcurl:

http://curl.haxx.se/libcurl/
Jun 30, 2014 at 1:47pm
Ok, I'm looking into doing a javascript(I assume you meant that) plugin. If that doesn't work out. I'll check out the second option you gave. Thank you very much.
Jun 30, 2014 at 2:04pm
I thought of something like this:

https://developer.mozilla.org/en-US/Add-ons/Plugins/Gecko_Plugin_API_Reference/Plug-in_Development_Overview

To inject javascript into an existing site is not that easy:

http://www.wikihow.com/Use-JavaScript-Injections

java script usually doesn't know anything about the browser
Jul 1, 2014 at 9:13am
I would love to use firefox, but the guy I am trying to write this for uses Chrome lol. So now I am looking at maybe a URL grabber addon. That would copy the url's categorize them in lists. He would then copy/paste them as necessary. I will be using JavaScript
Topic archived. No new replies allowed.