topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 12:21 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: SOLVED: URGENT REQUEST: browser meta searching with custom entries.  (Read 16001 times)

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Hi guys,

This is culmination of 13 hours of google searching and I still have not figured out a way to do this in chrome.  I am turning to you guys!

Basically, I want to be able to type "am" (short for anime meta) and a search string in my Chrome address bar OR an a small app and have it launch the resulting search entries in new tabs/windows (prefer tabs).

For example: I type  am <search string>   or  am naruto  and that will search the following sites (I replaced the search query with %s)

FakeSite1   http://www.FakeSite1...h/search?searchitem="+s+"&searchradio=releases&submit.x=0&submit.y=0
FakeSite2    http://FakeSite2.me/browse.php?q=%s
FakeSite3  http://www.FakeSite3...p;filter=0&term="+s+"


It will popup 3 popups (or prefer tabs) with Bakaupdates / BakaBT / Nyaatorrents
here's some background threads where this was achievable in Opera. I cannot get any of these working in Chrome.  :(   I am CERTAIN this is not that hard, but I am at a loss as to how to proceed next.

Some background threads.
LINK 1: http://my.opera.com/.../topic.dml?id=605122
LINK 2: http://my.opera.com/.../topic.dml?id=172917
LINK 3: http://my.opera.com/...blog/show.dml/390545


There are a handful of people who want this very specialized function for years.  Please help!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #1 on: December 25, 2013, 08:00 PM »
You could do this very easily using Find and Run Robot.  Once you created an "alias" to do this, you could share it with others easily as well.


dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #2 on: December 25, 2013, 08:03 PM »
UPDATE:

Found a autoit script that someone made, but tried to compile it, run it and had to force reboot my comp (lol) since it kept going without stopping. Maybe it can help



#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.6.1
Author: Paul B (paul1149)(gmail...)
Script Function: open multiple search windows. Cross-browser functionality
Appears to go to last active browser. Works but sticky in IE9.
#ce ----------------------------------------------------------------------------

;Get search term from browser:
WinActivate("[REGEXPTITLE:Opera|Internet Explorer]")
Send("^c")
$searchterm = ClipGet()

; Open various search windows:
send("^t")
send("http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=" & $searchterm)
send("{ENTER}")

send("^t")
send("http://gigcat.midhudson.org/search~S1/?searchtype=X&searcharg=" & $searchterm & "&searchscope=1&sortdropdown=-&SORT=DZ&extended=0")
send("{ENTER}")

send("^t")
send("http://www.paperbackswap.com/book/browser.php?k=" & $searchterm)
send("{ENTER}")

send("^t")
send("http://shop.ebay.com/?_from=R40&_trksid=p3984.m570.l1313&_nkw=" & $searchterm & "&_sacat=See-All-Categories")
send("{ENTER}")

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #3 on: December 25, 2013, 08:04 PM »
Here are some other javascript suggestions:

javascript:(
    function() {
        var s = escape("%s");
        var t = "Multisearch - "+s;
        var yahoo  = "http://www.yahoo.com/r/sx/*-http://search.yahoo.com/search?p="+s+"&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8";
        var google = "http://www.google.com/search?q="+s+"&sourceid=opera&num=%i&ie=utf-8&oe=utf-8";
        var googlemaps = "http://maps.google.de/maps?f=q&hl=de&q="+s+"&btnG=Adressen+suchen";
        var googleimages = "http://images.google.com/images?hl=de&q="+s+"&btnG=Bilder-Suche";
        document.write(
            "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Frameset//EN' 'http://www.w3.org/TR/html4/frameset.dtd'><html><head><title>"
            + t
            + "</title></head><frameset rows='50%,50%' cols='50%, 50%'><frame src='"
            + google
            + "'><frame src='"
            + yahoo
            + "'><frame src='"
            + googlemaps
            + "'><frame src='"
            + googleimages
            + "'></frameset></html>"
        );
    }
)()



javascript:(
    function() {
        var s=escape("%s");
        document.location.href="http://www.yahoo.com/r/sx/*-http://search.yahoo.com/search?p="+s+"&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8";
        open("http://www.google.com/search?q="+s+"&sourceid=opera&num=%i&ie=utf-8&oe=utf-8");
        open("http://www.altavista.com/web/results?itag=ody&q="+s+"&kgs=1&kls=0");
    }
)()


dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #4 on: December 25, 2013, 08:04 PM »
You could do this very easily using Find and Run Robot.  Once you created an "alias" to do this, you could share it with others easily as well.



What the deuce?!  I have used Robot before and didn't realize. STAND BY... I am trying as I type this!!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #5 on: December 25, 2013, 08:06 PM »
Just as an example, there's a built in alias in FARR called "define", which basically defines a number of web searches for a word you type.

Type "define urgent" and you'll see this:
Screenshot - 12_25_2013 , 8_04_28 PM.png

Now if you hit Enter it will open the FIRST result -- or you can trigger the individual results you want.

Or -- and this is what you asked for - you can hit Ctrl+Alt+Enter to open ALL results at once (which in your browser should open each in it's own tab).

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #6 on: December 25, 2013, 08:08 PM »
UPDATE: mouser, there is a problem with that method.

I will be having several "meta aliases".

For example, I'll have one for eBooks, music, movies, anime,  etc.. About 7 of them. Your method won't work for more than 1 alias right? Or will it?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #7 on: December 25, 2013, 08:12 PM »
The define alias is in the Core_Aliases\Core-Linguistics.alias if you want to see what it looks like to learn how to make a similar one:

Screenshot - 12_25_2013 , 8_08_46 PM.png

Note: It may not make a difference these days, but internet urls should probably use $$u1 instead of $$1, since $$u1 will fix up any spaces and quotes, etc.

Note 2: If you want to make an alias to do what you want and share it with others, check out some of the alias zip files that others have shared on the forum, like one of my favorite ones, for tracking packages: https://www.donation...ex.php?topic=11333.0  -- doing so will let you create some icons as well, to make it more enjoyable for people to use the alias.

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #8 on: December 25, 2013, 08:25 PM »
Just as an example, there's a built in alias in FARR called "define", which basically defines a number of web searches for a word you type.

Type "define urgent" and you'll see this: (see attachment in previous post)
Now if you hit Enter it will open the FIRST result -- or you can trigger the individual results you want.

Or -- and this is what you asked for - you can hit Ctrl+Alt+Enter to open ALL results at once (which in your browser should open each in it's own tab).


mouser,

This works, but it is painfully slow!!!.  For some reason, it takes roughly 5 seconds (measured it with stopwatch) for each entry to appear (browser window popup). Some of the entries will have about 20 metasearches which makes it really painful to search. I couldn't find a setting that said "wait 5 seconds before launching each page".  This is in the latest version of Chrome (Version 31.0.1650.63 m).

Why doesn't it just launch them all at once, rapidly? I am forced to force-kill FARR to get it to stop opening 25 aliases at 5 seconds a pop :D
« Last Edit: December 25, 2013, 08:33 PM by stisev »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #9 on: December 25, 2013, 08:31 PM »
That's a good question -- i think it's probably Chrome itself that's to blame for this -- that is, if you make a batch file 10 entries for to open chrome and open each url, the result will be the same.

I don't know if there's a better way to tell chrome (or another browsers) to open up a list of urls using a 3rd party tool.  The only way to do it MIGHT be by using a chrome-specific addon for this -- which i'll bet you can find if you look around.

Let me know if you can find a 3rd party tool that can open up multiple tabs in a browser quickly.

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #10 on: December 25, 2013, 08:38 PM »
I am not sure what to look for when you say 3rd party tool.  When I right click  "open all bookmarks" it rapidly opens all of my bookmarks.

UPDATE: mouser, do you think it might FARR causing the slowness?   I just tested it with a custom BAT file and it loads perfectly in Chrome. Takes a split second to open all the links. Try it for yourself!

start chrome.exe "google.com"
start chrome.exe "yahoo.com"
start chrome.exe "dogpile.com"
start chrome.exe "startrek"
start chrome.exe "donationcoder.com"

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #11 on: December 25, 2013, 08:42 PM »
ah well then it is farr, and i can fix it!

In fact, now that you mention it i think i remember why i put it in place -- to handle cases where the app, the browser in this case, has to be launched from a cold start, before you want to start feeding it multiple launches.

But let me see if i can't quickly handle that better.

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #12 on: December 25, 2013, 08:50 PM »
Haha awesome! :Thmbsup:

The FARR solution is not as elegant as an javascript entry in Chrome, but it's the next best thing.

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #13 on: December 25, 2013, 08:56 PM »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #14 on: December 25, 2013, 08:58 PM »
Try this new version:


You'll still notice a little delay after the first item is launched, but after that they should all load right away.  That first delay is just an attempt to give a browser time to start from cold if not already running; if this isn't done then you can get multiple instances of the browser starting up unaware of each other.

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #15 on: December 25, 2013, 10:13 PM »
That fixed it mouser.

Thank you so much.

dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
For those of you browsing this thread, I found a new tool called "Multi search" for Chrome.

https://chrome.googl...dknaeofdnlclbpgehhce

"Perform searches with your favourite search engines from the Context Menu and straight from the Omnibox."

It doesn't work with Omnibox anymore but it still works with Context Menu


dcsev

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 182
    • View Profile
    • Donate to Member
Re: SOLVED: URGENT REQUEST: browser meta searching with custom entries.
« Reply #17 on: August 11, 2014, 12:46 AM »
Also, a very late update to this thread.  The beloved "Alfred" on mac will do this with some tweaking.