topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 9:44 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

Last post Author Topic: Updated: GooglePlus - View Google search results in FARR as you type  (Read 125237 times)

Filtereyez

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #75 on: November 17, 2010, 02:14 AM »

This plugin may has conflict with FarrMilk plugin. I come across the same problem like you.

And I remove/setup each plugin for testing. Finally figure out that after typing gp the setting dialog of GooglePlus popout when
put FarrMilk and GooglePlus together.

Hope the author can fix this since I need both of these two plugins

Thank You dismory :) I only had about 5 plugins installed and as a new user I was lost on this one but removing the FarrMilk plugin as you suggested did the trick! But like yourself I want them both so I sure hope they can soon be compatible.

Again thanks for your post and fine detective work :)

Filtereyez

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #76 on: November 17, 2010, 03:02 AM »
Ok GP really is really nice but the limited results really make it well....limited. Especially when one is searching for say an image. Would be nice to have more results than just the 9 it appears to always give me. So that is my suggestion if this ever gets updated....more results and compatibility with FarrMilk  :Thmbsup:

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #77 on: November 17, 2010, 12:13 PM »
Please note guys that I have a solution to this problem (GP options window popping up when FarrMilk is installed) which I have sent to s.newave. I have no idea if he's still around so if I shouldn't get a response from him within the next couple of days I'll post it here.

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #78 on: November 22, 2010, 02:24 PM »
Ok, here's a temporary fix for the problem of GooglePlus' options window popping up every time you enter GP when both GooglePlus and FarrMilk are installed:

If you are running GooglePlus v1.1 or lower replace GooglePlus' fscript.js file with this one.

The cause (for those interested):
Spoiler
GooglePlus v1.1 tries to find its ini file relative to the "current directory", which it assumes to be the FARR plugins directory. It seems like FarrMilk is changing the current directory somehow (although I did not find out where or why). So when GooglePlus can't find its ini file, it will assume that it's being launched for the first time and pop up its options window. The above fixed fscript.js file now uses a mechanism built into FARR to find out where it is installed and get the ini file from there.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #79 on: November 30, 2010, 01:34 PM »
ahhh good catch!

verszipo

  • Member
  • Joined in 2009
  • **
  • Posts: 26
    • View Profile
    • Donate to Member
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 ?

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 :)
« Last Edit: March 18, 2011, 08:01 AM by verszipo »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Thank you so much for sharing this verszipo  :Thmbsup:

Kuntau

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 90
  • My English is bad :(
    • View Profile
    • Tech.Kuntau | Info Sharing Blog
    • Donate to Member
ahh.. fixed  :-[
« Last Edit: June 13, 2011, 08:13 PM by Kuntau »

daddydave

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 867
  • test
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #83 on: August 30, 2011, 04:54 AM »
Does anyone have this still working? Even after doing phitsc's fix and verszipo's fix and deleting the FARRMilk plugin folder, I am still getting tahe options dialog popup with every keystroke. Is there some other conflict?

Jesper Hertel

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 103
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #84 on: October 04, 2011, 05:45 AM »
Same problem here... I also get the options dialogue popup with every keystroke... :(

Jesper Hertel

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 103
    • View Profile
    • Donate to Member
Re: Updated: GooglePlus - View Google search results in FARR as you type
« Reply #85 on: October 04, 2011, 06:17 AM »
Ah, I just uncommented the line

    if(launchInFarr=="" || displayInfo=="") showOptions();

that is, changed it to:

    //if(launchInFarr=="" || displayInfo=="") showOptions();

in the function onSearchBegin() in C:\Program Files\FindAndRunRobot\Plugins\GooglePlus\fscript.js.

After the edit and after reloading all plugins, Google Plus seems to work fine here. :-)

mastermind1234321

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 3
    • View Profile
    • Donate to Member
Hey, i keep getting no results. I am guessing that is because of the limitations of google's end when you search so much. I was wondering if you have thought about making something that gets triggered by receiving the error command that instead and gives you the hyperlink to google.com/<your search>.

It doesn't have to be triggered by the error, but basically while the program is "thinking" and/or the search pulls up an error, you can just default go to google's search itself in your browser.

Hope that makes sense! I can explain more if it doesn't.

Jesper Hertel

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 103
    • View Profile
    • Donate to Member
Hey, i keep getting no results.
-mastermind1234321 (April 17, 2013, 05:25 PM)

Do you type for instance "gpw test" (and not just "gp test") and still get no search results for "test"? Because it works for me.

Maybe it is a silly question, but at first I typed just gp and my search phrase and got no results... :P