Autoit error within C# application
Posted
by Bi
on Stack Overflow
See other posts from Stack Overflow
or by Bi
Published on 2010-04-15T23:11:24Z
Indexed on
2010/04/15
23:23 UTC
Read the original article
Hit count: 403
Hi
I am trying to use AutoIT within a C# application in the following way:
au = new AutoItX3Lib.AutoItX3Class();
.
.
.
.
au.WinMenuSelectItem("MySoftware", "", "&File", "&Open");
On compiling this I get the following error:
Error 1 No overload for method 'WinMenuSelectItem' takes '4' arguments
Going by the definition of WinMenuSelectItem (http://www.autoitscript.com/autoit3/docs/functions/WinMenuSelectItem.htm) I am not sure how I go about fixing this.
Thanks
© Stack Overflow or respective owner