This article tags: mac Efficiency tool mac gadget MacOS launchbar One-click Download Web File
Sometimes we encounter this problem, a page is hung a lot of documents need to download:
? SIt's not a smart way to tap and hold or right-click and select Download. We can use Automator to implement the file bulk download in this case.
Create a workflow for downloading files with Automator
Start Automator, select New Service, and then add the following six operating modules:
First read the page of the current Safari pages, and then get all the URLs under this page, filter them, filter content is the end of the URL contains the file we need to download the extension:
Then I downloaded the filtered content and I chose to download it to the desktop. It then displays a download complete notification and opens the desktop through the Shell in the Finder:
Save As "download_all_files_on_this_website" so that the workflow is complete and we can pick up the service in Safari.
Combined with Launchbar
When some workflows are invoked with Launchbar, the results are not ideal and run unstable. And in the Automator, in addition to the service of the workflow, Launchbar will not be listed, we use the workflow into action to the workflow and Launchbar together.
Start by creating a new action in action Editor named "download all Files on the current Safari website" and give it a nice-looking icon (see the previous section for an experiment):
(This, of course, is another benefit of making the workflow action, and you can customize the icon.) )
On the Scripts page, select Run in background and select Run script as AppleScript, click Edit to Start Script Editor and enter the following code:
# 关闭 LaunchBar 界面tell application "LaunchBar"closeend tell# 运行 Shell 脚本:运行 Automator 工作流(后面的路径改成刚才所保存的工作流的路径)do shell script "automator /Users/用户名/Library/Services/Download_All_Files_on_This_Website.workflow"
Save again, this action is done.
Test
Open a page with multiple documents, use Launchbar to call out Download all files on the current Safari Website, when the download is complete, the Finder will automatically open the file to show just downloaded.
written at the end: for Freedom look outside the world, and it this line, not to go to Google data, finally, Amway some speed agent.
| Accelerator recommended |
Free solution |
Payment Scheme |
official website |
| a red apricot accelerator |
free program, stable high speed |
Enter 80 percent coupon code WH80, annual pay only 80 yuan/year |
official website to http://whosmall.com/go/yzhx< /td> |
| Azumino accelerator |
Best Foreign Trade VPN |
minimum ¥30/month |
official website Direct Http://whosmall.com/go/ay |
| Loco accelerator |
free 2 hours per day |
minimum ¥15/month |
official website Direct Http://whosmall.com/go/loco | /tr>
This article tags: mac Efficiency tool mac gadget MacOS launchbar One-click Download Web File
Turn from SUN's BLOG-focus on Internet knowledge, share the spirit of the Internet!
Original Address : How can i download all the files on my Web page with Launchbar on the MAC system? "
Related reading : How does MacOS use Launchbar to upload files to Google drive? "
Related reading : " best Mac App Quick Start and Switch tool: Manico 2.0"
Related reading : Why do I choose Window Tidy as the MacOS split-screen tool? "
Related reading : Chrome extension Stylish: "Skin-changing" with one click to not like a website
Related reading : "Integrating QQ music, NetEase cloud music and shrimp music resources" with chrome extension listen 1 "
Related reading : "8" new tab "chrome Extensions: teach you to play the New tab page with a sneak "
Related reading : "7 Practical Chrome Extensions recommended: help you improve your chrome experience "
Related reading : " no extension is not Chrome: 15 Premium Chrome Extensions recommended for everyone "
Related reading : thebest experience for Web browsing with 12 no less chrome extensions
Related reading : "5 Chrome extensions that bring happiness "
Related reading: useful for programmers: 2017 latest in Google's Hosts file download and summary of the various hosts encountered the problem of the solution and configuration of the detailed
Related blog:SUN's blog -focus on Internet knowledge, share the spirit of the Internet! Go and see:www.whosmall.com
Original address: http://whosmall.com/?post=470
How do I use Launchbar to download all the files on a webpage?