Hotkey to switch to Google Chrome and go to the omnibox (location bar)
I think your task is ill-defined &amp; what you have found so far overkill - (that this is because you are new to Mac means that's nothing to be ashamed of, we all start somewhere;) If all you need is to bring an app to the front &amp; enable the location area you can do it in Applescript in 2 lines.
tell application &quot;Google Chrome&quot; to activate
tell application &quot;System Events&quot; to keystroke &quot;l&quot; using command down

perhaps with an optional delay 0.5 in between those lines in case it's a bit slow to come to the front.
The only difficulty is to make this key-commandable.
If you set this up as a Script event in Automator, then in previous OSes [I think up to Mojave, I haven't used anything newer] you could just define it as a Service. Once defined &amp; saved, you can then call the Service using
System Prefs &gt; Keyboard &gt; Shortcuts &gt; Services
I think this has changed since Catalina, but someone else would need to detail precisely how.
So long as you give it a shortcut that doesn't conflict with anything else, then simply hitting that shortcut will bring Chrome to the front [or launch it if it's not already running] &amp; set the cursor into the search/location bar. It will do this on the current tab if one is already open, or make a new window if nothing was open.