--- In [email protected], "Sheri" <sheri...@...> wrote: > > --- In [email protected], "entropyreduction" > <alancampbelllists+yahoo@> wrote: > > > > > > Meanwhile, does com.get_accessible_object work for what you > > wanted it for (out-of-process richedit controls?) > > Ran the following with com versions 065 and 067, where riched is the handle > to an out-of-process richedit control. Same riched control used for both. > Output from each differs. See below. > I haven't studied 067, maybe there is something I was supposed to change in > my script in order to keep getting the hTom object?
Yeah, params changed. There is no "dispatch" vs "accessible" param any more. Actually my code should have thrown an error, since second param needs to be something like OBJID_MENU (= 0xFFFFFFFD) if omitted. > local hTom = com.get_accessible_object(riched, "dispatch") No, just local hTom = com.get_accessible_object(riched) assuming riched is an hwnd to a richedit control.
