See possible solution below.
I hope you don't mind that I have revised your topic title to better reflect the question you have asked.
FROM:
Sometimes I don't want to type keyword search, I want to exit the search box and jump to the home page, but why is my macro not working?
TO:
How Do I Cancel Web Search and Display Home Page?
This will greatly help you attract more experienced users to help solve your problem, and will help future readers find your question, and the solution.
Possible Solution
You might try this macro.
If you press ESC
instead of RETURN
in the Search box, it will cancel the search and display the Google home page. You might need to hold down the ESC
key for 0.5 sec or so.
MACRO: Search The Web or Go To Home Page
~~~ VER: 1.0 2019-04-24 ~~~
DOWNLOAD:
Search The Web or Go To Home Page.kmmacros (2.4 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.
