Jump to content
ptmkenny

Is it possible to "paste from clipboard" with a keyword (like you can with a hotkey)?

Recommended Posts

I have a workflow that has the "Open URL" action to www.example.com/CLIPBOARDTEXT

 

With a "hotkey" trigger input, I can set the argument to "macOS Clipboard Content," and then enter www.example.com/{query} for the URL.

 

Now I want to do the same thing with a keyword input... but I don't see any way to do that.  Is it possible to use the clipboard as an argument in the case of a keyword input?

 

I want to do a keyword input instead of a hotkey because I have several workflows like this and it is too hard to remember the hot keys; keyword inputs are much easier because I can search for them using Alfred just like anything else.

Share this post


Link to post

Unfortunately, after using {clipboard}, I am just getting www.example.com/{clipboard}.

 

I tried both checking and unchecking the box for "Use UTF8 encoding."

Share this post


Link to post

I thought it would’ve gotten that capability with the latest pre-release, but apparently that action didn’t. No problem; easy fix. Just leave everything as is (including the http://example.com/{query} in the Open URL) but add a single Run Script between them.

 

QMMFEoh.png

 

In it, leave everything as is but make Script: read pbpaste.

Edited by vitor

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...