2786
FARR Plugins and Aliases / Re: Fingers in the nose guide to build javascript plugins. Does that mean its ea
« on: November 02, 2008, 07:30 AM »
I hope this is an appropriate thread for the following...
I've been reading the guide while testing out some code and am puzzled by something (well, I'll start w/ one thing anyway...). I encountered the following text in a version of the guide I downloaded:
I tried taking a look at values for this parameter via a debugger and I didn't get the feeling that what I was seeing corresponded to "query without the alias". In fact, I found the content quite odd -- looking at a portion of some of the source code for fscript I got from github I got the sense that querynokeyword is related to searchstring_lc_nokeywords. Stranger still, I didn't get the feeling that what I saw corresponded to the search string without keywords either.
Any comments on what querynokeyword and/or searchstring_lc_nokeywords actually are (as well as perhaps what they are supposed to be...)?
For reference, in a plugin I'm working on now, for onRegexSearchMatch at one point when queryraw was:
I got [1] the following for querynokeyword:
I think this is with FScript 1.8.
Help would be appreciated :)
[1] I hope I've recreated the values here appropriately -- Microsoft Script Debugger doesn't seem to make this easy...
I've been reading the guide while testing out some code and am puzzled by something (well, I'll start w/ one thing anyway...). I encountered the following text in a version of the guide I downloaded:
querynokeyword is the query without alias
I tried taking a look at values for this parameter via a debugger and I didn't get the feeling that what I was seeing corresponded to "query without the alias". In fact, I found the content quite odd -- looking at a portion of some of the source code for fscript I got from github I got the sense that querynokeyword is related to searchstring_lc_nokeywords. Stranger still, I didn't get the feeling that what I saw corresponded to the search string without keywords either.
Any comments on what querynokeyword and/or searchstring_lc_nokeywords actually are (as well as perhaps what they are supposed to be...)?
For reference, in a plugin I'm working on now, for onRegexSearchMatch at one point when queryraw was:
webgrab http://www.weather.com/weather/local/11020 \"Feels Like<BR> +(\d+)\" \"Weather in your town is %1 degrees\"\n
I got [1] the following for querynokeyword:
webgrab http://www.weather.com/weather/local/11020 \"feels like<br> \"weather in your town is %1 degrees\"\n +(\d+)\"
I think this is with FScript 1.8.
Help would be appreciated :)
[1] I hope I've recreated the values here appropriately -- Microsoft Script Debugger doesn't seem to make this easy...