After I've updated FARR now GooglePlus keeps giving me an error and Visual Studio shows me that the line
FARR.setState(1); (from the onSearchBegin function) is incorrect, it says "Microsoft JScript runtime error: Wrong number of arguments or invalid property assignment".
Did something change in FARR's scripting part or why is this error showing up ?
-verszipo
I've managed to fix the problem, i had to change the lines
FARR.setState(1);
to
FARR.setState(querykey, 1);
.
Now i don't get this warning anymore.
So, now the
OnSearchBegin function looks like this :
function onSearchBegin(querykey, explicit, queryraw, querynokeyword, modifier, triggermethod) {
if(!explicit) {
if(aliasstr.indexOf(queryraw)!=-1) {
FARR.setState(querykey, 1);
FARR.emitResult(querykey, aliasstr, aliasstr, iconfilename,ALIAS,IMMEDIATE_DISPLAY,1000);
FARR.setState(querykey, 0);
}
return;
}
I hope this is helpful for others too.
P.S. why it took this long to fix it ? well, because i wasn't using GP, but now that I've reinstalled FARR and all the plugins I rediscovered GP. I really don't know why i didn't took the time to fix it last time as it's a really great plugin