Thanks for the idea. It might of course eventually work; but would require a chunk of coding.
GW staff, why not have a method implemented in the Toolkit, that would return marked text right away? ----- Original Message ----- From: Jared Wright To: [email protected] Sent: Monday, September 05, 2011 10:51 PM Subject: Re: How to retrieve marked text? FYI there's a hotkey that does this in Wineyes itself, Ctrl+Shift+M by default. Don't know if there's a way to get at it through the object model or not. I guess you could overload the hotkey and hook onSpeak and dump what it says into a string if nothing else. On 9/5/2011 1:50 PM, David wrote: In my app, I want to be able to retrieve the text a user has marked. That is, if you for instance are in a text document, and use the Shift-Arrow keys to mark a text, then hit the hotkey of my app, the app should retrieve the text you have marked, and do its job with the retrieved text. Hopefully this could be performed whether you are in a text editor, in browse mode on a wbpage, or from any other situation where it is possible to mark text the normal way. Is there an easy to reach method in WE to achieve this? Thanks,
