Text selected / right click event (Outlook 2007 VBA) -


i'm looking event that's raised when user selects text in preview pane of email. e.g. you're viewing email in preview pane , select text. didn't see in object reference effect, namespace large, seems there's object somewhere need, i'm not aware of.

overall, i'd see if selected text matches pattern , if so, insert sub-menu in right click menu (the 1 says copy, is, synonyms, translate..). appreciated too. believe commandbar "text", i'm unsure how go accessing via name.

outlook object model not expose preview pane @ all. can word's document object in preview pane using creative window searching , accessibility api.

if using redemption option, exposes safeexplorer object, has readingpane property. once have word.document object, can read document.application property , use application.windowselectionchange event. selected text can accessed using safeexplorer.readingpane.seltext property. word.application can retrieved safeexplorer.readingpane.wordeditor.application.

 set sexplorer = createobject("redemption.safeexplorer")  sexplorer.item = application.activeexplorer  msgbox sexplorer.readingpane.seltext 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -