Mouse not clicking in window after moving?
Posted: 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
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