keyboard - Forum

Forum Navigation
You need to log in to create posts and topics.

keyboard

Hello.
I need a little help. I would like the click of a VisualNeo Win button to simulate the sending of CTRL + A keyboard keys. I do not find how to do it.
Thank you.
Feli.

Hi!

Use command:

SendKeys = Send simulated keystrokes to another Windows application. This command allows you to control another application by simulating keystrokes on the keyboard. If the application is not already open, then before sending the simulation of keystrokes, the "SendKeys" command first initiates the launch of this application.

Or plugin commands:

hpwSendKeys 1.21 (Hans-Peter Wickern)
hpwSendKeysToHandle=Send keystrokes to a window by (HWND) - window handle.

hpwSendKeys 1.21 (Hans-Peter Wickern)
hpwSendKeysToTitle=Send keystrokes to the window by the exact name of the window (title).

RacAutoIt3x 1.0 (Roman Avalos Castillo)
RAC_SendKeys=Send keystroke sequence to active window.

Thank you Vadim for your answer.
I know this plugins but it does not do what I want or I do not understand it. I may have been so badly explained ...
I have a 'Text Entry' object and a button.
When clicking on the button, I want to select all the text of the 'Text Entry' object.
It's all.

Sorry, I find it!

It's easy with the command Sendkeys...

SendKeys "Name_of_the_application.exe" "{CtrlDn}A"

 

 

 

 

Hello Feli,

what would like to do with the highlighted text?

TextEntry object has a variable to store the whole text in the input field. You can it copy to the clipboard or do anything what you want.

Thanks JnCon

It's OK for me with SendKeys to copy cut and paste a selected text (all or a piece).