LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert text into a different program

hello,

 

I'm trying to retrieve text from a text file, then have my computer type that text into another programs text box. I got the text from the file into labview, but I can't figure out how to make the computer type out that text. I looked into the keystroke event functions but I am stuck.

0 Kudos
Message 1 of 2
(2,799 Views)

Hi Me,

 

you need to activate the window of the receiving program, set the key focus to the text input and then generate key stroke messages - all using the Windows messaging system…

 

- Is this other program created using LabVIEW or is this just some arbitrary "other" software?

- There are tools like "AutoIt" which may help you to automate your task…

- There are threads on your topic in the forum, did you use the search tool before?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,786 Views)