ExternalSearch - DonationCoder.com
Welcome Guest.   Make a donation to an author on the site July 31, 2015, 06:24:15 AM  *

Please login or register.
Or did you miss your validation email?

Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
The N.A.N.Y. Challenge 2011! Download 30+ custom programs!
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: ExternalSearch  (Read 4603 times)
Supporting Member
Posts: 1,237

That News Guy

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« on: July 18, 2007, 05:54:46 PM »

This plug-in is designed to facilitate, in a very basic way, integration of external applications with the searching capabilities of FARR. It is designed with programmers in mind to allow for quick and painless integration. With it, you can instruct FARR to perform searches on your application's behalf with a string you specify, via the FARRT library (yes this name is a joke). The complete readme is attached.

PLEASE NOTE: This plug-in, in its current form, is not of any significant use to the FindAndRunRobot user. It is for the programmer wishing to interface his application with FARR. If you have any feature requests etc please let me know. It is my intention to add new ways to interface your program with FARR to this plug-in.

ExternalSearch - Plug-in Only

ExternalSearch - Plug-in w/ source & demo of integration w/ source in C.


* readme.txt (3.21 KB - downloaded 324 times.)
« Last Edit: August 01, 2007, 12:58:03 AM by Ehtyar » Logged
First Author
Posts: 34,826

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: July 18, 2007, 06:05:25 PM »

This is a realllllllly cool plugin.
People might figure out other requests for things to be added as well -- it's sort of an advanced thing, so it might be a while before people come up with ways to use this, but i think this has great potential.

Maybe some communication in the other direction could be useful too -- like a way for a program to be notified whenever the user searches, launches, or selects something in FARR.
« Last Edit: July 18, 2007, 06:11:36 PM by mouser » Logged
Honorary Member
Posts: 12

View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: August 08, 2007, 02:19:22 AM »

Great idea... I was looking for something like this... but it's still too complicated.

With this, you still have to be a C++ coder to use the "external Search" functionality, the very thing I was hoping to avoid but not writing my own plugin in the first place.

What I really need is a way to do this:

Something that pre-loads a text file list. So a "list.txt" that looks like so:
[copy or print]
It also would let people define the command/alias that invokes it, so let's say I chose "simp".
The users type "simp e", and it obviously shows in the thus-far results:
[copy or print]
The user wanted "Homer", which is the first thing now, so he hits Enter.

At this point, the plugin would call "something.exe" with the parameter "Homer", and be done.

The person using your plugin to make their own "External search" could thereby easily make the "something.exe" in any language they wanted (Yay for not needing to use C++), and that program could do whatever was appropriate. Or they could just call some Batch files this way. Imagine the awesome possibilities of having "Suggested" parameters.

So just let people define:
1) The list's path: "list.txt" by default
2) The list's format: (Just a list), or maybe (a list with Icon path and Description, seperated with tokens). Ex:
[copy or print]
Homer@He's a dude@homer.ico
Marge@That's a lady@marge.ico
3) Path of the program/batch file to run, and where to put the user-chosen parameter (perhaps allow "something.bat -AddToFavorites $$1" where $$1 is the sole parameter [like Homer] or what-not)

Having an extension like this would be INCREDIBLY USEFUL for any number of things, and the best part for its users: NO PROGRAMMING REQUIRED.  Thmbsup

EDIT: After reading the "Request plugins for FARRv2" thread, it seems about 4 or so other people asked for things very similar to what I'm describing here, and Mouser already said something of the sort would be in the FARRv3 or so.

For now, I think I can pull off what I want using using the build-in "dosearch" alias helper.
« Last Edit: August 08, 2007, 03:24:19 AM by Code6226 » Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.1 ]

Share on Facebook
submit to reddit