![]() |
![]() |
#1 |
"Kyle"
Feb 2005
Somewhere near M52..
2·33·17 Posts |
![]()
Does such a program exist that enters a user-given input into a field on a website automatically (like a macro) but does it to a large number of sites at the same time? I'm looking for a simple version of this for an older gentleman at my church who has a book business and likes to input the ISBN numbers into about two dozen sites to check availability and pricing. Thanks
|
![]() |
![]() |
![]() |
#2 |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
11·389 Posts |
![]()
If nothing else, it ought to be quite simple to make a JS, PHP, .Net, etc. page where you enter the ISBN and it gives you the links you want. Or you could write a Ubiquity command (if the guy uses Firefox, or wouldn't mind switching to it, at least for his ISBN lookups) where you give it an ISBN and it opens all of the appropriate links in new windows/tabs.
Last fiddled with by TimSorbet on 2009-07-16 at 19:30 |
![]() |
![]() |
![]() |
#3 |
"Kyle"
Feb 2005
Somewhere near M52..
2×33×17 Posts |
![]()
I know no coding. How would it be done on Ubiquity? I looked at the app briefly.
|
![]() |
![]() |
![]() |
#4 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
427910 Posts |
![]() Quote:
Code:
CmdUtils.CreateCommand({ name: "ISBN", arguments: [{role: 'object', nountype: noun_arb_text}], locale: "en-US", description: "Lookup availability and pricing for the given ISBN number.", preview: function(pblock, args) { var html = _("Lookup ISBN number."); if (args.object.text) { html = _("Lookup ISBN number " + isbn); } pblock.innerHTML = html; }, execute: function(args) { var isbn = args.object.text Utils.openUrlInBrowser("http://example.com/lookup?isbn=" + isbn); Utils.openUrlInBrowser("http://example2.com/lookup?isbn=" + isbn); //etc } }); Code:
CmdUtils.CreateCommand({ name: "ISBN", arguments: [{role: 'object', nountype: noun_arb_text}], execute: function(args) { var isbn = args.object.text Utils.openUrlInBrowser("http://example.com/lookup?isbn=" + isbn); Utils.openUrlInBrowser("http://example2.com/lookup?isbn=" + isbn); //etc } }); Only problem is that any sites where the ISBN number doesn't appear in the URL (sent as POST instead of GET) will be trickier. I don't know exactly how to do that and make it work. Here's a tip, if any of the sites do use POST instead of GET: Google. It's just JS code, so a JS solution to bringing up a page with POST parameters ought to work. Probably not too hard, but I've never done it. Last fiddled with by TimSorbet on 2009-07-16 at 20:18 |
|
![]() |
![]() |
![]() |
#5 |
"Kyle"
Feb 2005
Somewhere near M52..
16268 Posts |
![]()
Would a macro not be easier? 90% of what you just said was well over my head. He is running Windows XP and if I could find a site for a good macro then I could train it myself (record for it what I would want it to do) because then the macro would run MUCH faster than I was able to manually enter the ISBN onto all two dozen or so sites.
|
![]() |
![]() |
![]() |
#6 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10000101101112 Posts |
![]() Quote:
To prep you have to:
Last fiddled with by TimSorbet on 2009-07-16 at 21:44 |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GPU LLR program | jasong | GPU Computing | 19 | 2011-08-23 03:32 |
So you think you can program | rogue | Lounge | 5 | 2009-10-02 15:02 |
Program for GPU | tribal | Information & Answers | 5 | 2009-03-19 20:54 |
Old Program | moo | Software | 0 | 2006-06-27 00:19 |
which program? | drakkar67 | Prime Sierpinski Project | 14 | 2005-11-29 06:25 |