DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: FARR Plugin: PopQuotes - Search quote/fortune files  (Read 23,439 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
FARR Plugin: PopQuotes - Search quote/fortune files
« on: November 16, 2008, 04:02 AM »
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: http://www.donationcoder.com/Software/Mouser/findrun/addons/popquotes/PopQuotes.zip
« Last Edit: March 11, 2010, 12:21 AM by mouser »

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #1 on: November 16, 2008, 05:02 AM »
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 16, 2008, 05:05 AM by ewemoa »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #2 on: November 16, 2008, 05:06 AM »
not available yet:
Quote
'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
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #3 on: November 16, 2008, 05:12 AM »
Yes, I was missing something obvious!  Thanks for straightening me out :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #5 on: November 30, 2008, 03:07 PM »
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
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #6 on: January 10, 2009, 07: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
"I am getting so tired of slitting the throats of people who say that I am a violent psychopath."

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,918
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #7 on: January 10, 2009, 07: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
"I am getting so tired of slitting the throats of people who say that I am a violent psychopath."

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #8 on: January 13, 2009, 12:38 PM »
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
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #9 on: June 14, 2010, 11: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,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: FARR Plugin: PopQuotes - Search quote/fortune files
« Reply #10 on: June 14, 2010, 11:22 PM »
it's aknown conflict with another plugin using an old fscipt.dll

Original address: https://www.donationcoder.com/forum/index.php?topic=15757.0