Sign in to follow this  
Followers 0
zain

how to use getObject

3 posts in this topic

#1 ·  Posted (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 by zain

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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.

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  
Followers 0