cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Firefox loses focus when I use the shortcut keys(AHK script) to open a web page twice in a row

zhouyangnk
Making moves

I use alt+3(defined by AHK) to open google.com, if I hit this shortcut key twice in a row, Firefox loss focus; but this problem did not appear when I use Edge or Chrome Or any Browser else...

I'm confused about this strange problem.

2 REPLIES 2

jscher2000
Leader

Does the script simply send a URL to Windows to open in the default browser, or does it try to focus the window, too?

The script is as follows:

!3::run https://www.google.com/

It simply send a URL, and edge or chrome is ok, only firefox has a problem.