snowl 0 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"? Share this post Link to post Share on other sites
trancexx 1,013 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 Share this post Link to post Share on other sites
PsaltyDS 39 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 Share this post Link to post Share on other sites
trancexx 1,013 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 Share this post Link to post Share on other sites
PsaltyDS 39 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 Share this post Link to post Share on other sites