Mouse not clicking in window after moving?

Discussion, questions and support.
Post Reply
RadioGregg
Posts: 18
Joined: Apr 24th, ’22, 17:56

Post by RadioGregg » Oct 13th, ’22, 23:05

Hi...
I had to reinstall windows...and one shortcut that worked fine before does not work now.
The issue is that in the routine the cursor moves from Chrome to another application and then sends a CTRL+T in the second application. But the click is not happening in the second application, so the CTRL+T opens a new tab in Chrome instead. (CTRL+T is a built in Chrome keyboard shortcut).

Any tips on how I can make sure there is a mouse click in the second application to get focus away from Chrome, so that the CTRL+T is applied there instead of Chrome?

Here's the routine, it's pretty short:

;Routine starts in Chrome
Send, {Down}
Send, ^c
Sleep, 50
;Next command moves cursor to second application, but there's no click to change focus away from Chrome - since focus is still in Chrome, the CTRL+T opens a new tab in Chrome
Click, 1373,148
Sleep, 50
Send, ^t
Send, {BackSpace}
Sleep, 100
Send, ^v
Send, {Enter}
Click, 1266, 233

Thanks for any help you can offer!

Gregg
RadioGregg
Posts: 18
Joined: Apr 24th, ’22, 17:56

Post by RadioGregg » Oct 14th, ’22, 00:55

Figured out the problem...by going back and reading my own previous posts and solutions offered!
For some reason, if I always start FastKeys as an admin, the shortcuts work.
If I don't run it as an admin, they don't work.
Go figure.
Post Reply