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
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
[/code]
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=0]internet.google search.bem[/attachment]