I am trying to create a batch script which puts a screenshot on the clipboard for me to save in another application.
I am using the "^{PRTSC}" and have copied code from another posting here (I would ask/comment there but the listing is closed and I do not have enough points to post there.)
When I run the following line line I get no errors:
powershell -c "$wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys("%{PRTSC}")
But when I create a new document in Photoshop and select Paste ctrl+v, nothing is pasted from the clipboard.
Clearly the code is not putting a screenshot in the clipboard.
( I do not want to use Navcmd )