Is it possible to get a selected text using ActiveExplorer ?
All codes I've seen around uses the ActiveInspector, but in my case I need to use ActiveExplorer (aka preview pane, correct me if I am mistaken, please)
I've tried using the following, without success
GMID = Application.ActiveExplorer.Selection.Item(1)
The following (which uses Inspector) still works for the preview pane:
Or you can use Redemption, which explicitly exposes the preview pane through the SafeExplorer object (which also exposes the ribbon and a few other goodies):
I have an application where I retrieve several elements from the most recent message in the preview pane or popped out message.
You can use the following example:
Apparently, you need to create an instance of explorer before asking it to return the topmost item.
Link: https://msdn.microsoft.com/en-us/library/office/aa219397%28v=office.11%29.aspx