ptmkenny Posted January 22, 2017 Posted January 22, 2017 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.
vitor Posted January 22, 2017 Posted January 22, 2017 (edited) Use {clipboard} instead of {query}. Edited January 22, 2017 by vitor
ptmkenny Posted January 22, 2017 Author Posted January 22, 2017 Unfortunately, after using {clipboard}, I am just getting www.example.com/{clipboard}. I tried both checking and unchecking the box for "Use UTF8 encoding."
vitor Posted January 22, 2017 Posted January 22, 2017 (edited) 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. In it, leave everything as is but make Script: read pbpaste. Edited January 22, 2017 by vitor ptmkenny 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now