Automator mac download a file from url






















There is an easier way:. Open Automator. From the list of templates, select Service. At the top right of the window, set the service to receive selected URLs in any application. That will add it to the editing window on the right.

By default, it will download URLs to your Downloads folder; if you wish them to go somewhere else, select that other location from the Where drop-down. Active Oldest Votes. Improve this answer. Your answer is way more formal than mine, but I enjoy using creativity to achieve my goals.

Anyway kudos for being well educated. Works like a charm. I tried your script above, and I'm getting this error: curl: 3 [globbing] unmatched brace in column 1. Not sure what that means. How can I fix it? For sake of simplicity, I created a folder on my desktop named Art and a file named Image list.

Thanks in advance! You might want to post a copy of the actual script you're using to, e. Mateus Ribeiro Mateus Ribeiro 7 7 silver badges 17 17 bronze badges. Aside from the fact that this particular type of coding is extremely susceptible to breakage while running, UI Scripting in general should only be used as the last resort when no better or more proper way exists!

The problem with your solution is it has to be a modal process, meaning once it's started the user must not touch anything else on the system until it's done, no multitasking allowed. While this may have worked for you in your limited testing, I can assure you it easily breaks with a long list of files. However I provided a decent solution in a short time. This is a one-time task, not an application. The Overflow Blog. A conversation about how to enable high-velocity DevOps culture at your Podcast An oral history of Stack Overflow — told by its founding team.

Featured on Meta. New responsive Activity page. Related 1. Hot Network Questions. Question feed. Ask Different works best with JavaScript enabled. Accept all cookies Customize settings.



0コメント

  • 1000 / 1000