politicus Posted February 12, 2015 Share Posted February 12, 2015 Web searches are very useful. For example, I've set web searches for iconfinder and iconarchive. When I do not find the result I want on one I search on the other one. It means I have to retype a keyword + the query. For example: I type "sico {query}" when I want to search on iconfinder.com. I can already search Spotlight / the default fallback via a modifying key but I would like to copy the {query} to the clipboard via a modifying key. Link to comment Share on other sites More sharing options...
conSilver Posted February 14, 2015 Share Posted February 14, 2015 Hi, there are two ways how you can fix your problem: 1. Create a workflow which automatically opens searches on both sites. 2. Create a workflow where the query get's saved in the clipboard. Link to comment Share on other sites More sharing options...
politicus Posted February 16, 2015 Author Share Posted February 16, 2015 @consilver Great ideas! Thanks! 1°) It doesn't work for workflows that list results (e.g. the Youtube Search workflow from Simon Stovring). 2°) Interesting workaround but retrieving the copied query from the clipboard is sometimes longer than writing a new keyword + a new query... Link to comment Share on other sites More sharing options...
dfay Posted February 21, 2015 Share Posted February 21, 2015 "2°) Interesting workaround but retrieving the copied query from the clipboard is sometimes longer than writing a new keyword + a new query..." - you can type a new keyword and new query faster than you can type command-V? Link to comment Share on other sites More sharing options...
politicus Posted February 21, 2015 Author Share Posted February 21, 2015 (edited) @dfay Thanks for your answer! I didn't know you could only copy the query (i.e. without the keyword). I understood "query" as "keyword+query". My bad. Now understand what @consilver really meant. Great feature! You are right I can't beat a command+v... even if I have to hit cmd+left arrow to move my cursor at the right left of the Alfred search bar. By asking this question I was also thinking about a use case I didn't mention in my question. I am talking about web searches with suggestions (i.e. youtube, google search, amazon workflows with suggestions). I do not think I can copy the query (not the keyword+the query) in the clipboard in that case. Am I right? As I was trying to find a solution, I saw that, when a suggestion of these workflows is selected, alt and ctrl keys let you search. Hitting the cmd key does nothing. So, I thought what a better place to add an action modifier that would let me copy the query. What do you think? Edited February 21, 2015 by politicus Link to comment Share on other sites More sharing options...
dfay Posted February 21, 2015 Share Posted February 21, 2015 I think this does what you're asking for with a regular web query. https://www.dropbox.com/s/nbeb0a5hnkge822/Search%20with%20option%20to%20copy.alfredworkflow?dl=0 The principle would be the same with any existing workflow - you need to duplicate the search action and add the bash script, and link both of them to the keyword with Ctrl modifier active. So it's a bit of work to set up, but I think it can be done with existing tools in Alfred. But I have to say, after using it, I agree that it would be a great built-in feature. Link to comment Share on other sites More sharing options...
politicus Posted February 24, 2015 Author Share Posted February 24, 2015 Works very well. Thank you! Link to comment Share on other sites More sharing options...
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