One of the great features of Windows is the ability to create a new, blank text file from the right-click context menu, but this feature isn’t inherent on a Mac. However, it is possible, albeit more complex, than a simple right-click.
This article looks at how to create a new blank text file in any Mac folder. While there are several ways to do this, we will address the main ones.
1. Create an empty text file in any folder using Automator
In this first method, we use Automator to create a script, which helps you create a new blank text file in any folder.
1. Start Automator in the Applications or Spotlight folder that works best for you.
2. Select the “Applications” folder in the left panel and click “New Document” to create a new application.
3. Select the type of document you want to create. In this case, we want the app. Select this, and then click the Select button:
4. From there, you need to drag an action called “Run AppleScript” from the Actions panel on the left and drop it on the workflow panel on the right.
Note that you may need to search for it using the small search bar at the top.
5. You will notice that the AppleScript editor appears in the workflow panel. Delete the content and paste the following script:
6. Click the File menu at the top and select Save…
7. The following screen will ask your application for the name and location of the saved file. You can type anything you want, but be sure to select Applications in the Where and File Format fields.
8. When you click Save, open the Applications folder in the Finder. You can use the new app anywhere by holding Option + Order and drag the app to the Finder toolbar.
9. From there, navigate to any folder and create a new blank text file with a single click of the application.
It will create a new text file called “Untitled” in the folder where you are.
2. Create a new, blank text file using Automator’s shortcuts
You can also use Automator’s Quick action create a new blank text file. This approach is slightly faster than the previous approach, although it follows almost the same process.
Related to: Protecting your computer on the go
The advantage is that you can add shortcuts to the Services menu and the Actions menu on the Finder toolbar. In addition, it can help you alleviate repetitive tasks.
The only difference in the process is that you select the shortcut instead of the application when you first create the Automator script.
While you can create the entire script here, you can also configure the last part of the application for quick action.
Regardless of your approach, however, you can go to the Finder -> Services menu in the toolbar and find your new quick action.
3. Create a new blank text file in any folder using the terminal
First, select the folder where you want to create the file from the Finder. Then go to Finder -> Services in the toolbar. Here you will see several different services. Select the option that says “New Terminal in Folder.” This will open a terminal window in the current working directory.
With the Terminal window open, type the following command and press Enter:
You can replace the placeholder text with the file name of your choice. Once confirmed, the file will fill the selected folder.
4. Create a new blank text file with a third-party file manager
Many Mac users see enough flaws in the current Finder system to complete the functionality with a third-party application. There are a few on the market, however Path search is a great solution.
The good news is that there is a shortcut to help you create a new, blank text file, even if it’s hidden in the Path Finder menus.
To access it, navigate to the folder you want in Path Finder, and then open the File menu in the toolbar. You will see the option to create a new file.
In addition, you can create a file with a keyboard shortcut. When you press Order + Option + Control + NO, this will create a file in the specified folder.
It is possible to create a new blank text file on your Mac with one click. Although there is no native method, you can create native applications to create an Automator script. Depending on the type of script you are creating, you can use it from several different search menus. If you are using an application such as Path Finder, you will get this feature in the box.
Related to: Repairing disk permissions on a Mac
If you want to use Automator to do more with your Mac, we have an article for you. Does this auto-tip help you be more effective? Share your thoughts in the comments section below!