Guy_ Posted April 20, 2017 Posted April 20, 2017 (edited) Was testing ControlSend("My Window Name", "", "", "^c") vs the normal Send("^c") or _SendEx("^c") to copy selected text from a window... In Windows, I have a setting that when I click the Ctrl key only, my mouse pointer is "highlighted" [that I could of course disable]. If I use Send("^c"), or do this manually, the mouse pointer is never highlighted, as I wish it to be. With ControlSend it *does* highlight... I thought that maybe the Ctrl key goes up a few ms too soon in that one and increased AutoItSetOption("SendKeyDownDelay", 5) to way higher, but it doesn't make a difference. As it doesn't seem possible to do "^ down", could it be prevented in some way? Beside the slight annoyance, it simply alerted me that these seem to work differently [and of course, they are different]. I also get the early impression that ControlSend [to copy] seems in no way quicker to get something on the clipboard, maybe even slower? Thanks Edited April 21, 2017 by Guy_
Guy_ Posted April 21, 2017 Author Posted April 21, 2017 {CTRLDOWN} *does* exist, so it was solved by ... ControlSend("My Window Name", "", "", "{CTRLDOWN}c{CTRLUP}")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now