Jump to content

Recommended Posts

Posted

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"?

Posted

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

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

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
×
×
  • Create New...