|
|
|
|
|
by achal
5012 days ago
|
|
Semi related: Not sure how many people have played with PowerShell/COM, but it's fun to toy with. Haven't used it for anything too useful (yet) but for example, to delete all the comments in a Word document in a couple lines: $a = New-Object -com Word.Application $a.visible = $false $a.Documents.Open("{absolute path}").DeleteAllComments() Better examples: http://www.simple-talk.com/dotnet/.net-tools/com-automation-... |
|
This was just word, com and nothing else. Even the application host was an instance of word.
I doubt it could have been done with anything else then or now.