Jump to content

Use clipboard in Open URL?


Recommended Posts

Is there a way to open an URL like this 'http://somesite.com/{clipboard}'?



Yes, you can create a super simple workflow to do this.


In a new blank workflow, add a hotkey object. Set your hotkey, set action to "Pass through to workflow" and the Argument to "OS X Clipboard contents".

Then add an Open URL object, and type in http://somesite.com/{query}


Connect the two together and you're done! Now when you hit your hotkey, the site will launch with your clipboard content as the {query] :)

Link to comment
  • 3 weeks later...

Is there a way to do it w/o the hotkey? I never remember all the hotkeys I have set up!


You could also do it with a keyword that attaches to a Run Script. Set the Run Script to grab the value in the clipboard using pbpaste and then "open" the url with the variable in place. Does that make sense?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...