edoskii Posted May 28 Posted May 28 Hi all, I was wondering if there was a way to quickly copy files to clipboard (like the universal action does) but directly from listing files with the "Open File..." search after hitting space on my keyboard within Alfred? Ideally to copy a file to clipboard I would want to: 1. Open Alfred (CMD + Space) 2. Start searching for a file (Space → <File Name>) 3. Upon finding the desired file copy it to my clipboard with a shortcut like: CMD + C Currently in order to perform step 3 I have to manually open Universal Actions and click on the "Copy File to Clipboard" action. Is there any way to skip this and copy a file as I have described above, like with some workflow or a setting I may have missed? Many thanks.
sj_offl Posted November 5 Posted November 5 Hi, Did you get a solution to this query ? I'm currently looking for the same solution as well and would appreciate any insights you might have. Thanks.
FireFingers21 Posted November 5 Posted November 5 @sj_offl To better gauge a solution for this, where/how are you trying to paste these files? In other words, what are you specifically using the clipboard for that would make this a useful feature for you?
edoskii Posted November 20 Author Posted November 20 On 11/5/2024 at 7:19 AM, sj_offl said: Hi, Did you get a solution to this query ? I'm currently looking for the same solution as well and would appreciate any insights you might have. Thanks. I'm afraid not Currently I just go through the motions of finding a file I want to copy, open universal actions with <CMD + \> and hit <f> (filtering the actions down to just copy file to clipboard) followed by <enter> to execute it. It's become muscle memory at this point so not too bothered about it but still would be great to have the immediate <CMD + c>
edoskii Posted November 20 Author Posted November 20 On 11/5/2024 at 10:11 AM, FireFingers21 said: @sj_offl To better gauge a solution for this, where/how are you trying to paste these files? In other words, what are you specifically using the clipboard for that would make this a useful feature for you? Personally there are a few scenarios for which this would be useful, but the most recurring one for me I would say is with the ChatGPT desktop app, having the often need to upload some documents/slides/code files to it. An immediate <CMD + c> would make it a bit quicker/more convenient having not to enter the intermediary universal actions step^^
Vero Posted November 20 Posted November 20 @edoskii @sj_offl When you find the file, you can also just use the right arrow to enter Universal Actions (or the key you've set in the preferences) In other words: Open Alfred & search for file Right arrow to show actions Filter for your action and press Return Hope this helps Cheers, Vero
edoskii Posted November 20 Author Posted November 20 4 minutes ago, Vero said: @edoskii @sj_offl When you find the file, you can also just use the right arrow to enter Universal Actions (or the key you've set in the preferences) In other words: Open Alfred & search for file Right arrow to show actions Filter for your action and press Return Hope this helps Cheers, Vero @Vero Hi yes thank you In my case I use <CMD + \>, I have the whole sequence of finding the file → <CMD + \> → <f> → <enter> down by muscle memory, but would be really neat if there was a way to just find file → <CMD + c>, cheers^^
zeitlings Posted November 20 Posted November 20 Here are two ideas: 1. Create a File Filter, define the scope, and use the keyword to find your file. On return, copy the path to the clipboard as file. 2. Add your files to the File Buffer (⌥↓), dispatch a Hotkey to copy the contents of the buffer to the clipboard as files. This approach works with the default search. Here is a workflow that combines both solutions. The files are copied with some Swift code, as there seems to be no built-in Alfred object for this task. https://transfer.archivete.am/RhOO8/Demo | File or File Buffer to Clipboard.alfredworkflow
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