I know I can use explorer.Search(filter, scope) to search outlook using instant search. But it's overwriting existing query in instant search.

Is it possible to read existing query from search box, or add more text to it? Similar to what existing buttons in search ribbon are doing.

有帮助吗?

解决方案

The intent of Explorer.Search is only to automate searching in the UI. Unfortunately you cannot work with the results nor obtain the current search query.

What exactly do you want to do?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top