snowl Posted May 21, 2010 Share Posted May 21, 2010 I get the IAccessible by "AccessibleObjectFromWindow" and the Properties can be shown directly $c = AccessibleObjectFromWindow(.....) ConsoleWrite($c.accName & $c.accChildCount) it works The functon accDoDefaultAction also work directly $c.accDoDefaultAction() Now, I just want to call the get_accXXXX method, they are all not work, why such as $c.get_accName() The important method for me is the "accLocation" How to use the "accLocation"? Link to comment Share on other sites More sharing options...
trancexx Posted May 21, 2010 Share Posted May 21, 2010 Read about dual interfaces to understand why you can or can't....AutoIt natively supports only IDispatch interface. That means if your objects' methods are available through IDispatch::Invoke you can access them, if not then you can't.However, there is that AutoItObject thing. You can use it to access almost any interface. Even non-IUnknown.AutoItObject really extends the capabilities of AutoIt. It's wrong to ignore it. That goes not only for you. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 21, 2010 Share Posted May 21, 2010 (edited) AutoItObject really extends the capabilities of AutoIt. It's wrong to ignore it.Sounds like a mamma tell'n you why her two year old is a bonafide genius, don't it? Edited May 21, 2010 by PsaltyDS 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 Link to comment Share on other sites More sharing options...
trancexx Posted May 21, 2010 Share Posted May 21, 2010 Sounds like a mamma tell'n you why her two year old is a bonafide genius, don't it? No. I would do it differently then.It's something else. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 21, 2010 Share Posted May 21, 2010 It's something else.Recently reanimated un-holy creation then? (I picture Buttercup yelling "It's ALIIIiiiive! Muahahaha!") 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 Link to comment Share on other sites More sharing options...
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