zain Posted February 13, 2011 Posted February 13, 2011 (edited) I am running a .NET application.I want to get application object so that i can listen to events it trigger. ObjEvent ( $ObjectVar, "functionprefix" [, "interface name"] ) First i am facing problem in this application object creation 1.I use run() to run this application.Then i check the name of this application in Task-manager Processes list. It was e-Sah.exe I passed this to ObjCreate("e-Sah.exe") But object is not creating.And set @error to 21472200 Please help me to use ObjCreate(),Objget() Thanks. Edited February 13, 2011 by zain
PsaltyDS Posted February 14, 2011 Posted February 14, 2011 The Obj functions in AutoIt are for COM interface, not for .NET. Unless that application was somehow compiled to provide a COM interface this won't work. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
zain Posted February 14, 2011 Author Posted February 14, 2011 Actually i want to capture the text change event of a text filed control in my .NET application. Is this possible using autoIt. If no what are other possibilities to attain this behaviour. Thanks.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now