topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Monday September 21, 2026, 4:21 pm
  • 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

Recent Posts

Pages: prev1 ... 853 854 855 856 857 [858] 859 860 861 862 863 ... 1515next
21426
ecaradec is right -- the plugins should not do the filtering -- farr can do a smarter job (or else farr should be fired!)

i think it just requires an extra function for me to write that the plugins can call.

Let me explain:

There are two ways that a plugin normall gets called:
1) either because its keyword is typed by the user
2) or what user types matches a regular expression.

in case 1, usually what farr does is automatically filter the results returned by the user based on subsequent words on the search string after the first keyword that matched plugin name.

in case 2, usually you do not want subsequent filtering, since presumably you are catching other text on the line besides just the one keyword at the front.

---

now i think the problem with fsubscript is that the parent fsubscript script basically has to match on the raw string (or by matching .* regex) -- so farr doesnt know how to do subsequent filtering.

so i think what i need to add is a pluginp->set_strvalue("filteron",rest of typed search to filter on)

and then fsubscript can call this function with search words after the first matching keyword.

does that make sense?
21427
basically the first plugin that matches will prevent others from generating results.  but thats the way all plugins work.

alternatively if you think some plugins want to generate results and not stop others from making results, you could have a per-plugin option to say whether to stop or not.
21428
N.A.N.Y. 2009 / Re: NANY 2009 Intro
« Last post by mouser on November 19, 2008, 01:18 PM »
if you are rewriting something from the ground up i think it counts as a new application.
21429
General Software Discussion / Re: How to make a local copy of an ancient Web forum?
« Last post by mouser on November 19, 2008, 12:26 PM »
yeah for a forum, what you might be better off with is using a web spider thing but NOT in the mode that crawl a website, but rather in a mode that grabs all pages of the form:
https://www.donation...um/index.php?topic=1
https://www.donation...um/index.php?topic=2
https://www.donation...um/index.php?topic=3
etc.

The only tricky thing is for topics that are multiple pages long.
21430
General Software Discussion / Re: How to make a local copy of an ancient Web forum?
« Last post by mouser on November 19, 2008, 11:38 AM »
This is actually a great question -- i look forward to hearing the replies about what to do.
Do i understand correctly that you do not have access to the backend database? ie you just have normal forum member rights to view posts?
21431
easy enough to do.
21432
Find And Run Robot / Re: Search Folders Only?
« Last post by mouser on November 18, 2008, 09:01 PM »
snail nailed it, you have to have either like:
"opera +\" or "+\ opera"

and hero explained how to use an alias to make it easier to type one thing and search for another.
21433
nice find, lanux  :Thmbsup:
21434
Find And Run Robot / Re: Search Folders Only?
« Last post by mouser on November 18, 2008, 08:17 PM »
anyone else having a problem getting +\ to work?  it works perfectly here.
21435
Mouser's Zone / Re: Screenshot Captor Hangs
« Last post by mouser on November 18, 2008, 07:45 PM »
try using manager to kill all copies of screenshot captor that is running.
then install new version.
see if problem is solved.
21436
Find And Run Robot / Re: Search Folders Only?
« Last post by mouser on November 18, 2008, 07:40 PM »
add +\ to your search to only find folders.

ps. i think -\ or +. will exclude folders
21437
Post New Requests Here / Re: IDEA: WMP mouse control
« Last post by mouser on November 18, 2008, 05:51 PM »
it should be said that there are some very good hardware solutions to this problem, like a usb remote control (http://www.newegg.co...Item=N82E16880109001) which will do what you want but let you control volume, and more, and be usable from across the room.
21438
Post New Requests Here / Re: IDEA: WMP mouse control
« Last post by mouser on November 18, 2008, 04:53 PM »
thats a nice idea.  :up:
21439
C / C++ / Re: Can I also use Microsoft Visual C++?
« Last post by mouser on November 18, 2008, 01:00 PM »
of course, you can use any c++ compiler you want.
21440
Mobysaurus / Re: Congratulations?
« Last post by mouser on November 17, 2008, 07:07 PM »
wordzilla really wants someone to rewrite mobysaurus.. i've talked with a few people and made some progress but nothing major so far.
21441
ewe, it's fantastic seeing such progress  :up: :up:
21442
FARR Plugins and Aliases / Re: FARR C# SDK and Documentation V2 (19/10/2008)
« Last post by mouser on November 16, 2008, 07:38 PM »
Perry -- i got same error as you; then i opened file in text editor and saw it was a .rar filel
if you rename to .rar and have a program that can open .rar files it will open ok.

hopefully vitaly can repack as a zip later.
21443
FSubScript deserves a web page of its own.
21444
by the way -- this fsubscript thing is SOOO clearly a huge step forward for FARR plugins.. i mean just look at the sample color script: it's 30 short simple lines long, and it's just a .js file and an icon, as simple as can be.  really really going to make plugin writing accessible to a whole new group of people  :up: :up: :up:
21445
ok i see why it wasnt finding the subscripts -- you have it looking in one directory deep inside the parent directory.
moving the scripts to the main Plugins directory makes it work.

i'll note that if you make it search arbitrarily deep in the parent Plugins\ directory, it would find subscripts whether they are in their own top level plugin directory, OR subdir of FSubScript, which would be nice and handle all cases.
21446
i guess i dont know how to have a script actually be discovered by fsubscript..
it worked with early versions of multi script but not with current one.. when i bring up advanced options i just get empty list box.

i think it makes sense to have scripts be in subdirectory of fsubscript.

also i dont understand what you are saying about sending a windows message to fsubscript.
21447
N.A.N.Y. 2009 / Re: NANY 2009 Intro
« Last post by mouser on November 16, 2008, 12:32 PM »
ps. If you are curious about past NANY events, you can read about the original first NANY challenge in 2006 here: https://www.donation...dex.php?topic=6231.0
21448
Where do we put the scripts? in a subdirectory of FSubScript?
21449
FSubScript: i like the new name.  And great progress!! The one thing i think is really key is being able to have the subscripts run using their own independent keywords and regexes.

ewe:  going to try Akete right now.  What is especially cool is that your script might be first plugin to actually take over launching of normal files, which would serve as a great example for others wanting to know how to do it.
21450
N.A.N.Y. 2009 / Re: NANY 2009 Communal Idea Thread
« Last post by mouser on November 16, 2008, 08:48 AM »
Can you elaborate on what this "Exam Simulator" program would do?
Pages: prev1 ... 853 854 855 856 857 [858] 859 860 861 862 863 ... 1515next