Hej,
I have now tried for some time to make to following with no success:
My plugin for adobe reader need to be able to return me the index (according to the page) of the word where the selection cursor is at or where I pressed with the mouse.
So far I have the X and Y of the mouse when I click and I tried to make a small box selection around the area where the mouse clicked at, but I am not getting the right word selected and I dont know how to then extract the index of the word out of the total page.
I know that words have only index when I search them (retriving a list of all the word from a page and using getnthword()). But how can I then search for the word which is in the X Y coordination of the mouse or in the place where the selection cursor is at...?
Hope you have ideas.
Thanks.
Noam.