Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 02, 2015, 03:38:25 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Open clipboard content with program.  (Read 747 times)

guerillablood

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Open clipboard content with program.
« on: March 20, 2015, 05:55:04 PM »
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.
« Last Edit: March 20, 2015, 08:45:17 PM by guerillablood »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,977
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Open clipboard content with program.
« Reply #1 on: March 20, 2015, 06:01:46 PM »
My AHK script "SelectoSurf" does almost exactly this.  You could easily modify the AHK script to launch your app instead of the default browser.

guerillablood

  • Participant
  • Joined in 2013
  • *
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Re: Open clipboard content with program.
« Reply #2 on: March 20, 2015, 08:44:53 PM »
Works like a charm. Thank you Mouser! :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,977
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: Open clipboard content with program.
« Reply #3 on: March 20, 2015, 08:52:20 PM »
np  :up: