Is it possible to do the following in PowerShell, using Get-Clipboard and Set-Clipboard or any other method?
- Export the current clipboard content to a file. Clipboard content will contain binary content due copying from MS apps (like OneNote).
- String-based text replacement to the file (e.g. replace "asdf" with "test")
- Import modified clipboard content file back into clipboard (Get-Clipboard)
Modified clipboard could then be used in the original app just as normal. Another reason to have this go to a file is because I would like to be able to use this clipboard as a template for future clipboard replacements.