Inspired from: https://www.maketecheasier.com/create-blank-text-file-mac/
-
Launch
Automator.app
-
In the menubar click
File
>New
> SelectApplication
then clickChoose
-
In the left pane search for the item
Run AppleScript
It should be located inLibrary
>Utilities
>Run AppleScript
-
Click and drag the item
Run AppleScript
into the right pane -
In the newly created box, delete all its content and then copy-paste this:
tell application "Finder" to make new file at (the target of the front window) as alias
-
In the menubar click
File
>Save...
-
For the field
Save As
, name your app as you want, for exampleNew Blank Text File
-
For the field
Where
, make sure to select the folderApplications
-
For the field
File Format
, make sure to selectApplication
-
-
In your Finder open the folder
Applications
-
While pressing they key ⌘ command drag and drop the application you just created onto the Finder's toolbar
-
Now every time you browse your folders using the Finder, you can click on the icon of your app in the toolbar to create a new blank text file on the fly