Windows 10 How to select item from Clipboard using Powershell or Vbscript?

Sunny Wong 1 Reputation point
2021-08-30T05:12:19.837+00:00

Is it possible to call up Clipboard and select from its list to paste using Powershell or Vbscript?

Keys Enum in [https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.keys?view=net-5.0
shows LWin 91 The left Windows logo key (Microsoft Natural Keyboard).][1]

But Vbscript rejects following code
Set vb = CreateObject("WScript.Shell")
vb.sendkeys "{91} + v"

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
Small BASIC
Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
279 questions
0 comments No comments
{count} votes