Jump to content

GUICtrlRead returns 0

Recommended Posts

Hi all,

I am trying to get to grips with this function, so as a test I am trying to read a field of an outlook contact. So, I have this:

WinActivate("Test - Contact")
$x = GUICtrlRead("[CLASS:RichEdit20WPT; INSTANCE:4]")
WinWaitActive("Untitled - Notepad")

I expected it to send the "Full Name" field from Outlook into Notepad. But all I get is a 0?

Any pointers on this probably really basic error :graduated:


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

  • Recently Browsing   0 members

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