Jump to content

Read WinForm text box using AutoItx


user38
 Share

Recommended Posts

I have been using the AutoItX library in Visual studio to create a C# program to automate some functionality of using a GUI program. One issue I am having is reading the contents of a textbox from the GUI. I tried using AutoItX.ControlGetText() but it is just returning null. When using AutoIt Window Preview and selecting the text box I want to read it says WindowsForms10.Window.8.app then a bunch of random characters after that. Am I not able to use the AutoItX.ControlGetText() to read this type of Winform? If so, how can I read the text from it?

It is a read only text box, I can successfully use use Ctrl + A to select all elements and Ctrl + C to copy to clipboard. However, I cannot write to the text box

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...