I have developed a Word Add-in using word java script API. When i click in Task pane to do some action the cursor focus removes from current document, i am not able to edit the document until click back on the document. Please advice me how i can set back cursor focus back to current document when doing some actions in Task Pane.
Thanks.
System.Windows.Forms.SendKeys.SendWait("{F10}"); System.Windows.Forms.SendKeys.SendWait("{F10}");
– Paederast