topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday March 19, 2024, 6:36 am
  • 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: FARR Plugin: PopQuotes - Search quote/fortune files  (Read 18453 times)

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
FARR Plugin: PopQuotes - Search quote/fortune files
« on: November 15, 2008, 10:02 PM »
I've finally gotten around to writing a FARR plugin that can read fortune and quotes files (same formats and configuration used in my Popup Wisdom program), and search them for keywords.

The main point of this plugin is to let you search many thousands of quotes to find ones that mention certain words, so you can past them in emails or whatever.

You could also use it with your own custom text files (one item per line).

Screenshot - 11_15_2008 , 10_02_22 PM.png

Download: https://www.donation...quotes/PopQuotes.zip
« Last Edit: March 10, 2010, 06:21 PM by mouser »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #1 on: November 15, 2008, 11:02 PM »
May be I'm missing something obvious...is it available for testing?  I have not succeeded in locating a link to download the plugin.
« Last Edit: November 15, 2008, 11:05 PM by ewemoa »

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: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #2 on: November 15, 2008, 11:06 PM »
not available yet:
'm not sure if i will try to make this my NANY 2009 entry if i don't have time to do something else so it's not available yet, just wanted to mention that it's coded to avoid the remote possibility of someone else wasting time coding something similar.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #3 on: November 15, 2008, 11:12 PM »
Yes, I was missing something obvious!  Thanks for straightening me out :)

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: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #4 on: November 29, 2008, 12:00 PM »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #5 on: November 30, 2008, 09:07 AM »
I gave it a try and got it working -- mostly  :)

Things I noticed -- perhaps you know of some or all of these, but here goes:

  • I needed to enable books (well, at least one book I presume) via the "Configure Advanced Plugin Options" to get anything to show up after typing "popq" -- I didn't see this in the docs and typing "popq" gave me nothing initially.
  • The first quote from the results list that I invoked caused an access violation -- after restarting FARR, I haven't had this happen.  Now invoking a result causes the text of the quote to be pasted.
  • Clicking on the folder icon next to the text field labeled "Quotes Directory" in the PopQuotes - Advanced Options dialog caused a dialog box to show up, but behind the Advanced Options dialog, so I didn't notice it at first.
  • I chose to point the Quote Directory at my PopupWisdom set of books.  After invoking the "Rescan Book Directory" menu item from the context menu that appears when right-clicking in the area beneath the "Books Available" label I ended up waiting a bit -- and I spent some time wondering whether I'd end up terminating my FARR process.  I didn't end up having to.  The result was that all books from the PopupWisdom installation showed up and all of them were selected (in PopupWisdom, I only have 3 selected at the momment).
  • A similar waiting and wondering occured after I clicked the OK button on the Advanced Options dialog.  I tried this a second time and at some point I think my FARR process went away.  Subsequent start-up took quite a while compared to what I'm used to -- and ProcessTamer decided to take some action.  Now when I type "popq" after some waiting, I see nearly 98000 results.
  • The wait time after clicking the "Click to Examine and Configure Plugins" button seems longer to me than before.

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
    • View Profile
    • Donate to Member
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #6 on: January 10, 2009, 01:09 AM »
Hi mouser. I cannot seem to get this one working. I placed the popq plugin folder where it belongs, then activated the plugin, selected the books. However when I try a search using it I get other results that are not coming from the quotes books at all. And I am not seeing any results from the books.

Is there a step I am missing?

Thanks!

Jim

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
    • View Profile
    • Donate to Member
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #7 on: January 10, 2009, 01:24 AM »
OK, seems to be alright now. I switched from the books that come with this plugin to my Pop Wisdom books and had to go through exactly the same problems mentioned by ewemoa: at first wouldn’t load the new books location, the dialog to locate thenm opens behind the current window - hiding, then the forst time I tried I got an access violation, then I restarted FARR and when I tried to use popq FARR quit. Had to restart again and then it all worked. Whew!

Need a little touch up there, mouser!

Jim

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: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #8 on: January 13, 2009, 06:38 AM »
yep, sounds like i left it in a rough state while i moved on to my screensaver tool.. now that ive improved quote handling for that, ill go back to this..

Werizon

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 25
    • View Profile
    • Donate to Member
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #9 on: June 14, 2010, 06:04 PM »
when i try to click on result something like this popups
restarting FARR doesn't change anything for me
http://i.imgur.com/T4IUd.png

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: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #10 on: June 14, 2010, 06:22 PM »
it's aknown conflict with another plugin using an old fscipt.dll