I'm constantly activating Firefox then hitting Ctrl+L to focus the location bar and do a search or type a URL.
Ideally I can be in any application and hit Ctrl+L and Firefox will be activated with the location bar focused and ready for input. In steps AutoHotkey scripting.
I've tried this and it doesn't seem to work. From what I've read, tilde is "pass-through":
^l::
IfWinExist ahk_class MozillaUIWindowClass
{
WinActivate
Send ~^l
}