I have a little script for teste :
run Notepad.exe
Sleep 1500
WinActivate
Send Linha1
Send Linha2
Send ^A (oir Send {Control A})
But text not selected.
Control+A (Selection All) don't select text
Re: Control+A (Selection All) don't select text
A is shift+a. So you send ctrl+shift+a.
- JoeWinograd
- Posts: 2200
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: Control+A (Selection All) don't select text
Make the "A" lower case, i.e.:
Send ^a
Regards, Joe
Send ^a
Regards, Joe
Re: Control+A (Selection All) don't select text
YES. it's ok..
You know why A don't function, in Notepad say Ctrl+A.
Why {Control a} don't function too.
Best regards
Thanks
You know why A don't function, in Notepad say Ctrl+A.
Why {Control a} don't function too.
Best regards
Thanks
Re: Control+A (Selection All) don't select text
You press ctrl+A (A is what is etched on the key you press).
The computer receives ctrl+a (which is what the send does).
The computer receives ctrl+a (which is what the send does).
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
Re: Control+A (Selection All) don't select text
Send ^a works. Send {Control a} is nonsense as there is no key called "Control a" nor is there some key state for "a" to define what to do with "Control". You could do Send {Ctrl down}a{Ctrl up} to say hold down Ctrl for now, then press a at the same time, then release Control afterwards. You can use Send {Ctrl down} and Send {Ctrl up} in different lines, and take an action between those lines, such as doing Click to make a Control+Click or Sleep 3000 to hold Control down for 3 seconds, such as in a game if you use Ctrl for a "charge key" or something.
Re: Control+A (Selection All) don't select text
thanks for explanetion Exaskryz.