Shahrukh Posted October 21, 2022 Share Posted October 21, 2022 Hey. I am in need of a Universal Action workflow that takes the files that i have added to the buffer and copy it to the frontmost finder window. Anyone here knows of any workflow that can achieve this? Did tried creating one myself but to no avail. Any help is appreciated. Thanks!! Link to comment
Shahrukh Posted October 21, 2022 Author Share Posted October 21, 2022 https://forumfiles.com/rezcGcD1y7/Copy_Files_to_Frontmost_Finder_Window_alfredworkflow Here is the Workflow I tried to make but failed Link to comment
Stephen_C Posted October 21, 2022 Share Posted October 21, 2022 Thanks for making me crazy trying to find a way to do this! 😀 Here is one way that seems to work: The first File Buffer action is set to add the passed-in files and output the File Buffer contents. The second File Buffer action is simply set to output the File Buffer contents. However, there is one aspect of your workflow that puzzles me. When you run the workflow to select the files is that not going to be the frontmost Finder window for the purposes of the workflow—so that the files get copied into the same folder? (At least, that's what happens for me!) Sorry if I've misunderstood anything. Stephen Link to comment
Shahrukh Posted October 21, 2022 Author Share Posted October 21, 2022 Thanks for helping on this. I did try your method but it did not work for me. would you share the workflow file so that I can take a look what I am doing wrong Link to comment
Shahrukh Posted October 21, 2022 Author Share Posted October 21, 2022 35 minutes ago, Stephen_C said: Thanks for making me crazy trying to find a way to do this! 😀 Here is one way that seems to work: The first File Buffer action is set to add the passed-in files and output the File Buffer contents. The second File Buffer action is simply set to output the File Buffer contents. However, there is one aspect of your workflow that puzzles me. When you run the workflow to select the files is that not going to be the frontmost Finder window for the purposes of the workflow—so that the files get copied into the same folder? (At least, that's what happens for me!) Sorry if I've misunderstood anything. Stephen I am not adding files to the buffer after opening the finder window. I am searching for the file in Alfred and then Option+Right Arrow to add the file to buffer while the folder where I want to copy the file is open as the frontmost finder window. Link to comment
Alan He Posted October 21, 2022 Share Posted October 21, 2022 (edited) demo workflow @Shahrukh https://github.com/alanhg/alfred-workflows/blob/master/copy-files-to-frontmost-finder/Copy Files to The frontmost Finder.alfredworkflow Edited October 21, 2022 by Alan He Link to comment
Shahrukh Posted October 21, 2022 Author Share Posted October 21, 2022 5 minutes ago, Alan He said: demo workflow @Shahrukh https://github.com/alanhg/alfred-workflows/blob/master/copy-files-to-frontmost-finder/Copy Files to The frontmost Finder.alfredworkflow Still having the same issue. No files are getting copied still. Thanks for the help though Link to comment
Alan He Posted October 21, 2022 Share Posted October 21, 2022 (edited) 5 minutes ago, Shahrukh said: Still having the same issue. No files are getting copied still. Thanks for the help though You need to understand file buffer and use it correctly, demo is no problem Edited October 21, 2022 by Alan He Link to comment
Shahrukh Posted October 21, 2022 Author Share Posted October 21, 2022 2 minutes ago, Alan He said: You need to understand file buffer and use it correctly, demo is no problem So I added 2 files to buffer by hitting option+up arrorw. Then for performing an action on them I hit option+right arrow. Universal action menu says do performing action on 2 files. If I perform "Copy to" action that is bundled in Alfred, it does copies those same files to another folder. Am I doing something wrong here in performing the action for this particular workflow? Link to comment
Stephen_C Posted October 21, 2022 Share Posted October 21, 2022 One possible solution, then, is to try deleting the first two items in my sample workflow, trigger the remainder of the workflow with a hotkey and that should/might work (because the buffer will retain the files you have placed in it). Stephen Alan He 1 Link to comment
Shahrukh Posted October 21, 2022 Author Share Posted October 21, 2022 6 minutes ago, Stephen_C said: One possible solution, then, is to try deleting the first two items in my sample workflow, trigger the remainder of the workflow with a hotkey and that should/might work (because the buffer will retain the files you have placed in it). Stephen This works great. Thanks Link to comment
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