--- In [email protected], "Sheri" <sheri...@...> wrote:

....

local hTom = com.get_accessible_object(g_hwnd_re,  "dispatch")
win.debug("handle to an ITextDocument: ", hTom)
local hITextSelection = hTom.get_property("Selection")
win.debug("handle to an hITextSelection: ", hITextSelection)

returns a handle to a com object.  Haven't tried to do anything with it.



Reply via email to