Page 1 of 1

Batch File or Powershell

Posted: 27 Aug 2020 00:30
by lkrsF
Does anyone have a batch file or powershell file that will read a url from the clipboard in windows 10 and open it in VLC?

Re: Batch File or Powershell

Posted: 27 Aug 2020 09:43
by chubinou
on linux I would do it with xclip. so I guess you can achieve the same goal on windows using something like this

https://gist.github.com/Rapptz/9664773178da1bc397cf


Or directly access the clipboard from powershell

https://docs.microsoft.com/en-us/powers ... wershell-7