DonationCoder.com Forum

DonationCoder.com Software => Mouser's Zone => Find And Run Robot => Topic started by: czb on February 22, 2008, 05:09 AM

Title: Ninjawords - closed
Post by: czb on February 22, 2008, 05:09 AM
This topic has been discontinued.
See:
https://www.donationcoder.com/forum/index.php?topic=17153.0
Title: Re: Ninjawords
Post by: mouser on February 22, 2008, 08:47 AM
Lets remember to give Nod5 some credit for this one (see his original post here (https://www.donationcoder.com/forum/index.php?topic=12350.msg103041#msg103041)).
Title: Re: Ninjawords
Post by: czb on February 22, 2008, 10:45 AM
I have uploaded a new "testing" version. I have added some kind of temporary history (until FARR is closed or plugins reloaded). So try it and tell me if you like it or not ;)
Title: Re: Ninjawords
Post by: Nod5 on February 23, 2008, 12:35 PM
The temporary history works fine. :up: I can see some neat uses for a feature like that. Someone might want to do a lot of separate lookups and then export all of the definitions in one go. They now only need to select all and copy and paste.

Did you try the alternative code for grabbing the definition that I posted https://www.donationcoder.com/forum/index.php?topic=12350.msg103138#msg103138 ? It works fine here and I see no drawbacks. Possible advantages:
1. It seems slightly faster, but that might just be wishful thinking. :-)
2. it adds a dot and a space before any examples in the definition, which the old code didn't do.
regular code:
  red
(adj): having red as its colour; of hair, having an orange-brown colour"the girl wore a red skirt."
alternative code:
  red
(adj): having red as its colour; of hair, having an orange-brown colour. "the girl wore a red skirt."
3. When doing multiple lookups ("nw one,two ") the alternative grabbing code places the definition for "one" at the top of the FARR results window and the definition for "two" below it. That seems more intuitive to me. The regular code (and the regular ninjawords.com searchbox) gives the definitions in the reverse order ("two" at top, "one" below it). I guess an advantage with the regular code is that it gives a consistent search history ordering: the latest entered searchphrase always gets it definition displayed at the top. I still prefer the alternative code's ordering though.

Oh and at the top of this thread it says "Authors: Nod5". I'm proud to be mentioned but clearly you should also be there czechboy!
Title: Re: Ninjawords
Post by: taichimaster on February 23, 2008, 12:43 PM
Should I be uninstalling the Definr plugin now that this one is better?
Title: Re: Ninjawords
Post by: Nod5 on February 24, 2008, 05:42 AM
Well the Definr plugin also works fine. It gives somewhat longer definitions. So it depends on what you prefer I think. Why not testdrive both for a while? I'll myself do just that. If I later still prefer Ninjawords then I'll tie the handy "df" alias (much easier to remember than "nw") to it on my local mod of the script.
Title: Re: Ninjawords
Post by: czb on February 24, 2008, 06:18 AM
Nod5: Ok, I have changed to the alternative code ;)
Title: Re: Ninjawords
Post by: Nod5 on February 25, 2008, 05:15 AM
czechboy: confirming that it works. But I think your latest version (1.01.05) missed to include one previous line needed for displaying the history (@ line 58):
history = string + ((history == "")?"":"\\par -----------------------------\\par ") + history;
Title: Re: Ninjawords
Post by: czb on February 25, 2008, 06:00 AM
you are right. I just copied a paste. And didnt check what is inside :) sorry
Title: Re: Ninjawords
Post by: petrkoh on April 25, 2008, 03:18 AM
Hi when I try to install the plug-in, FARR will crash, giving me error message:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program C: .... \FindAndRunRobot.exe
This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information.

On other computer it works fine, here I had to remove the plug-in to prevent FARR from crashing at every start. Do you have an idea what is wrong? The only difference to the other PC where it runs that can figure out is that here I have the MS Visual Studio installed.

HA! I am an idiot, wanted to post this to the thesaurus plugin thread, can anyone help me move it there?
Title: Re: Ninjawords
Post by: BRossMac on June 29, 2009, 12:14 AM
The plugin can't be found on the server.
Title: Re: Ninjawords
Post by: lanux128 on June 29, 2009, 12:19 AM
this plugin is combined with others by the same author and now is known as CZB pack (https://www.donationcoder.com/forum/index.php?topic=17153.0).
Title: Re: Ninjawords - closed
Post by: czb on June 29, 2009, 12:54 AM
thanks for pointing out ;) I have changed the first post