S
spencer
Hello,
I hope that you can help me, I'm afraid that I can't work this out for
myself. I am trying to create a macro that works out the current position of
the beam cursor in the active document. It would then take this position and
loop through all comments in the active document and if the current postion
was inside some text in the document that had a comment associated with it it
would then get the text of that comment. I have not been able to find out
how to work out the position of the focus (in any format that I can compare
to comments characters, line - col will do) or to find out from the comment
the position in the document that this comment applies to. If I could get a
method for geting focus location and getting the start point and the end
point of the comment in the document that would be great.
This may sound like a strange request but it is related to someone using
screenreader software to read a document.
I hope that this makes sense and that someone can offer me some pointers
thanks in advance
Spencer
I hope that you can help me, I'm afraid that I can't work this out for
myself. I am trying to create a macro that works out the current position of
the beam cursor in the active document. It would then take this position and
loop through all comments in the active document and if the current postion
was inside some text in the document that had a comment associated with it it
would then get the text of that comment. I have not been able to find out
how to work out the position of the focus (in any format that I can compare
to comments characters, line - col will do) or to find out from the comment
the position in the document that this comment applies to. If I could get a
method for geting focus location and getting the start point and the end
point of the comment in the document that would be great.
This may sound like a strange request but it is related to someone using
screenreader software to read a document.
I hope that this makes sense and that someone can offer me some pointers
thanks in advance
Spencer