How to place output from the Notepad++ Run command to the current file's cursor position?

150 Views Asked by At

I have a simple one line run script in Notepad++ that sends the output of a Powershell script to the clipboard. I'm trying to send the output directly to the current cursor position in the current file. Yes, just to save a keyboard stroke... I'm using the "Run > Run..." menu option.

Note: The version of Notepad++ I'm using is 7.5.1 (64bit)

    powershell.exe $("Set-Clipboard '------------------------------------------------------' ; Get-Date -Format 'yyyy-MM-dd hh:mm tt' | Set-Clipboard -Append")
0

There are 0 best solutions below