Scripts to Use Your Fargo Headline Text as a Search Query in Google, Amazon, and More

Fargo is a great place to keep lists of books, movies and music that you want to "consume" -- or just things you want to learn more about -- at a later date.

These scripts allow you to quickly learn more about the text on any headline in any of your outlines. They take the text and enter it as a search query in a new window.

To get going, add these scripts to your menubar outline. (Visit scripting.smallpict.com to learn how to set up.)

  • Tastekid

    • var a = op.getLineText();

    • window.open("http://www.tastekid.com/like/" + a,"_blank");

  • Google

    • var a = op.getLineText();

    • window.open("http://www.google.com/search?q=" + a,"_blank");

  • Wikipedia

    • var a = op.getLineText();

    • window.open("http://en.wikipedia.org/wiki/" + a,"_blank");

  • Amazon

    • var a = op.getLineText();

    • window.open("http://www.amazon.com/s/field-keywords=" + a,"_blank");

Once your menubar has reloaded, just put the cursor on the headline in question, and choose the appropriate service from the menu.

I'm sure you're familiar with the last three. Tastekid provides a list of similar movies/authors/books/musicians to your search query.

Make Your Own

You can easily create new scripts to query other websites. Just figure out the query parameter and enter the preceding URL in the quotes in the script. For example, I enter "how far is sun from moon" in Wolfram Alpha, and see the following URL in the address bar:

I can see the query string follows http://www.wolframalpha.com/input/?i=. Let's see if that works:

  • Wolfram Alpha

    • var a = op.getLineText();

    • window.open("http://www.wolframalpha.com/input/?i=" + a,"_blank");

I wrote "what is the tallest building" in a headline in Fargo, chose "Wolfram Alpha" from the menu, and successfully got this page.

Please share your own search query URLs in the comments below.


Last built: Tue, Mar 31, 2015 at 2:05 PM

By Jeffrey Kishner, Tuesday, July 30, 2013 at 2:02 PM.