Sign in to follow this  
Followers 0
snowl

How to use IAccessible method with AutoIT

5 posts in this topic

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



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

#3 ·  Posted (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?

:idea:

Edited 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

Sounds like a mamma tell'n you why her two year old is a bonafide genius, don't it?

:idea:

No. I would do it differently then.

It's something else.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

It's something else.

Recently reanimated un-holy creation then? (I picture Buttercup yelling "It's ALIIIiiiive! Muahahaha!")

:idea:


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

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