I have tried to launch chrome by a mouse gesture through "run", by "run/explorer.exe <path> chrome.exe" and by some other commands. All of them end up with the same result: Chrome launches fine, but the corsor focus is NOT on the search field, so when entering text, nothing happens / cursor focus seems to be somewhere else. Thus, I have to click the search field every time after launching Chrome.
When I launch Chrome regularly, eg through task bar or via application menu, the search field is in focus.
FastKeys seems to set the focus elsewhere.. how can I fix this?
(I'm on Win11x64, and using gestures triggered via RButton hold)
BR, Reinhard
Cursor focus NOT in search field after launching Chrome
Try
(Type: Run)
Code: Select all
%comspec% /c "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk"whoa, this did the trick - thank you very much
. To better understand the background: Does it mean you need to call all Win apps/programs from their app references in the start menu rather than directly by their .exe filename to ensure mouse focus will be as usual?
plus, there's a little nuisance happening when using your solution: Since calling Chrome through the cmd command interpreter, there is always a black cmd window popping up before opening Chrome, and it's shown again when closing Chrome, auto-terminating itself shortly after (due to /c command modifier, I assume). Can this be completely suppressed? When calling multiple instances of Chrome, it starts getting confusing finding the black window moving to foreground etc..
Creationg a batch file with @echo off as first line might be an option, though tedious to create batch files for each and every shortcut. Is there no way of keeping the mouse focus 'normal' in direct Fastkey calls to apps/.exe program files? Strokesplus or others did not have this mouse cursor focus issue, so I think it should be possible to implement..?
Creationg a batch file with @echo off as first line might be an option, though tedious to create batch files for each and every shortcut. Is there no way of keeping the mouse focus 'normal' in direct Fastkey calls to apps/.exe program files? Strokesplus or others did not have this mouse cursor focus issue, so I think it should be possible to implement..?
I tried and it works by running it from Text Expander, Start menu or Auto Complete modules.
Type: Run
Type: Run
Code: Select all
chrome.exe