With a few years of fruit, suddenly found in the Internet to download a lot of gadgets in fact, with the system Automator can be easily realized, today to take the official Apple Tutorial to swim once!
Let's get to know this stuff first.
Click the Automator robot's “Otto” icon to open the Automator from the Launchpad. A new Automator Workflow window appears. Select the type of Automator workflow document you want to create from the template picker form
Automator Work Flow window
The Automator window (pictured above) contains:
(1) There is a “ repository ” column on the left, sorted by application or category, containing a list of all Automator actions installed on the computer
(2) There is an action bar in the middle that shows the actions available for the selected application or category
(3) Search bar for quick Find operations to add to Workflow
(4) There is an information box at the bottom left that provides useful information about the selected action
(5) There is a workflow panel on the right side of the window where you can drag the operation to establish “ Automation formula ”
(6) “ Service received ” pop-up menu
To create a new file features several chestnut:
Automator a new application
Add an action "Run AppleScript" (Chinese search “ run ”) as follows:
The code is as follows
The code is as follows |
Copy Code |
On run {input, parameters} Tell Application "Finder" Set selection to make new file in (Get insertion location) End Tell return input End Run |
Save to the "apps" folder with the name "New File.app".
Finder toolbar Right button, custom, then drag New file.app (press the command drag yo ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~), finished,
When you need to click, you can generate an empty file in the current folder.