Blue Eye Macro
https://blueeye-macro.com/

Google Searcher Macro[Source]
https://blueeye-macro.com/viewtopic.php?f=111&t=49
Page 1 of 1

Author:  OwnAge [ Fri Apr 30, 2010 2:55 am ]
Post subject:  Google Searcher Macro[Source]

Video: http://www.youtube.com/watch?v=ilSNAay1LfU

First in the variables list create a variable called {googlesearch}

Set the value to http://www.google.com/#hl=en&source=hp&q=

Then paste this in the code:

Code:
begin
     Window.Request user input("What do you want to look up on google?", "searchname")
     Variable.Evaluate (Text)("{googlesearch}{searchname}", "searchsentence")
     System.Launch application with arguments("iexplore.exe", "{searchsentence}", "yes")
     if  Window.Confirmation dialog gets confirmed by user("Do you want to search something else?")
          begin
               Window.Request user input("What else do you want to search?", "searchname")
               Variable.Evaluate (Text)("{googlesearch}{searchname}", "searchsentence")
               System.Launch application with arguments("iexplore.exe", "{searchsentence}", "true")
          end
 end

Author:  Gigus [ Fri Apr 30, 2010 9:44 am ]
Post subject:  Re: Google Searcher Macro[Source]

Very nice demo of how to request user input from a macro.

Here is a slightly updated version, which will always do the search in whatever browser is your default.
Code:
 begin
     Window.Request user input("What do you want to look up on google?", "searchname")
     Variable.Evaluate (Text)("{googlesearch}{searchname}", "searchsentence")
     System.Launch application("{searchsentence}", "true")
     if  Window.Confirmation dialog gets confirmed by user("Do you want to search something else?")
          begin
               Window.Request user input("What else do you want to search?", "searchname")
               Variable.Evaluate (Text)("{googlesearch}{searchname}", "searchsentence")
               System.Launch application("{searchsentence}", "true")
          end
 end


Which also requires a variable called {googlesearch} with the following value http://www.google.com/#hl=en&source=hp&q=

Here is the downloadable macro, (download and drag it in to the list of macros in the main window of Blue Eye)
Attachment:
internet.google search.bem [11.03 KiB]
Downloaded 926 times

Author:  nachotp [ Mon Aug 16, 2010 11:14 pm ]
Post subject:  Re: Google Searcher Macro[Source]

Nice! It remembres me vb Lol

Author:  simpleviet [ Sat Mar 19, 2011 6:56 am ]
Post subject:  Re: Google Searcher Macro[Source]

nicely done. Very interesting.

Author:  nitrostar [ Tue Dec 06, 2011 5:08 am ]
Post subject:  Re: Google Searcher Macro[Source]

nice.... now i can sit and watch my computer magically typing in google xD

Author:  ChaosMortal [ Wed Jul 04, 2012 6:08 am ]
Post subject:  Re: Google Searcher Macro[Source]

nice thx

Author:  jasonxg [ Sat Dec 07, 2013 1:40 am ]
Post subject:  Re: Google Searcher Macro[Source]

What exactly does this do ?

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/