SnipDo-Extensions icon indicating copy to clipboard operation
SnipDo-Extensions copied to clipboard

Microsoft Word 2021

Open burrinhoMAC opened this issue 3 years ago • 2 comments

Create a new file in Microsoft Word 2021

Microsoft-Word.zip

burrinhoMAC avatar Aug 17 '22 18:08 burrinhoMAC

This works! But it creates an extra blank word document. Try modifying the ps1 script like this :

Start-Sleep -Seconds .1
[System.Windows.Forms.SendKeys]::SendWait("^({c})")

[void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms')

start winword

Start-Sleep -Seconds 1
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}")

Start-Sleep -Seconds 1
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}^({v})")

Create a new file in Microsoft Word 2021

Microsoft-Word.zip

MisterProblems avatar Aug 14 '23 15:08 MisterProblems

Excellent. I will test it. Thanks

burrinhoMAC avatar Aug 14 '23 18:08 burrinhoMAC