3

Looking to create a service in Automator so when I select multiple files in the Finder, I can in one right-click create a new folder and move the selected files into that newly created folder. This action could include a step that will ask me to name this folder but it's not mandatory. Any idea?

3
  • 2
    You asked "Any idea?", well sure but what have you tried? Commented Sep 12, 2019 at 1:02
  • Automator > New > Service | setting Service receives selected files or folders in Finder | add a Move Finder Items action, setting Options to: Show this action when the workflow runs Commented Sep 12, 2019 at 1:10
  • Firstly, welcome to Ask Different! :) I hope you come to find this site has a lot to offer! In case you haven't already, it's worth taking the time to read the tour. You may also want to read how to ask a question to improve your chances of getting a good answer.
    – Monomeeth
    Commented Sep 12, 2019 at 1:43

1 Answer 1

3

Here is an alternate solution.

Not sure if you're aware of this but there's already a keyboard shortcut in Finder, (control + command + N) which creates a new folder containing the selected finder items. This can also be accessed through the contextual menu when right clicking on selected Finder items.

This AppleScript code works for me using the latest version of macOS Mojave.

enter image description here

3
  • Thanks a lot. But for stability and compatibility reasons, I am still with High Sierra.
    – Marty
    Commented Sep 13, 2019 at 13:24
  • 1
    This solution works like a charm: hbase.net/2011/08/17/…
    – Marty
    Commented Sep 13, 2019 at 13:29
  • Sometimes you want to create a new Folder with only one item (e.g. so you can add more later) and then—doesn't work …
    – user38541
    Commented Sep 7, 2020 at 12:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .