Jump to content
Sign in to follow this  
YDzh

Why doesn't this work? (C#)

Recommended Posts

YDzh

Hi there,

the following code returns x = 0 and y = 1. I dont' understand the reason.

String handle = autoit.WinGetHandle("[CLASS:Notepad]", "");

int x = autoit.WinExists(handle,"");

int y = autoit.WinExists("[LAST]", "");

Thanks in advance for explanation...

Share this post


Link to post
Share on other sites
smcombs

They could be error codes of the Winexists() function. Consult the help file and check to see what is success and failure.

Share this post


Link to post
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
Sign in to follow this  

×