Hi,
is there a way to determine the caret (text cursor) position from an external program, e.g. vb script or visual basic?
I want to position a window (which is activated by a system wide hotkey) at the text cursors position.
This works fine with most windows programs, but not with openoffice.
The Winapi function GetCaretPos does not work with openoffice nor does GetGUIThreadInfo.
Any idea/solution?
Thanks Chris
How to get the caret (text cursor) pos in pixel
How to get the caret (text cursor) pos in pixel
oo3.4.1, libre office 3.6.0
Re: how to get the caret (text cursor) pos in pixel
VB script and Visual Basic are not well supported in OpenOffice. If you wish to access low level properties you will need to use OpenOffice's API at
http://wiki.openoffice.org/wiki/API
http://wiki.openoffice.org/wiki/API
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS