To be as simple as possible, I'm looking for a program or an AHK script that can take the contents of the clipboard and send it to a program to be opened in.
My idea is basically: copy/paste a URL to a video and then following a key combination or clicking on a tray icon, send it to my installation of
MPV (as it streams a wider variety of web videos than say, VLC).
I don't know the mileage of this beyond sending youtube/dailymotion links to mpv, but the avoidance of flash player alone would be helpful. You set a file path (or maybe several paths for different file types), copy a URL to a video/image/document, and then hit a key combination or click a tray context menu to paste the link from the clipboard into the program's launch path. I know this is possible because of browser addons for
Firefox and
Chrome like OpenWith, but those require you to be inside of the browser, looking at an embedded link. A file inside of a flash player or raw URL in an instant message are unable to utilize this function.