Google search using variable multiple words


I have a macro that would prompt me for a keyword I'd like to search; it would then go out and search that keyword on google and imdb. It works if I only have one keyword, like superman but doesn't work if I have more than one word, like superman toys.


search keyword on various sites.kmmacros (2.9 KB)

That is because the Open URL action hands the URL to the system and the system is very picky about URLs being correctly formatted. toys

is not a valid URL.

You need the Filter Variable: Percent Encode for URL action.

1 Like