Remove Mac Apps

Remove Mac Apps

A Technical Site Providing Uninstall Tutorial For Mac OS X

How-to Guides

How to Create A New Text File in Any Finder Window

  • Catherine
  • Nov 01,2016
  • 3135

Many users, after they switched from Windows OS to Mac OS, may get lost in many different features. For instance, they cannot create a new document from the contextual menu that appears when right click on the blank space in a folder. In Mac OS this feature is missing, and many users find it a little inconvenient to create a new blank text file. Surely there are many 3rd party apps that help user to accomplish this goal, such as NuFile, Path Finder. But actually, you can make use of Mac’s built-in Automator or Terminal to help create a new blank text file in Finder. Want to know how? Here we go now.

To easily create a new blank text file in any folder using Automator, you can follow the steps below:

  • Launch Automator from the Applications > Utilities folder, Launchpad, or Spotlight.
  • As Automator opens, select the Applications folder in the left panel as saved location, and click on “New Document” to create a new application.
  • Choose “Application” as the type of your document, and click on “Choose” button.
  • Type “Run AppleScript” in the search box, and drag the entry that appear in the search result to the workflow panel on the right.

how-to-create-a-new-text-file-in-any-finder-window-5

  • Copy the following script and paste it into the AppleScript box in the workflow:
    tell application “Finder” to make new file at (the target of the front window) as alias

how-to-create-a-new-text-file-in-any-finder-window-1

  • Click on the “File” menu on the top and select “Save…”.
  • Enter a name for the workflow (e.g. “Create Blank Text File”), make sure the file location is “Applications” and file format is “Application”, and click “Save” button.

how-to-create-a-new-text-file-in-any-finder-window-3

Now you have saved the workflow in Applications folder, so head to Applications folder, locate the app from there, then drag and drop it to the Finder’s toolbar. After that, you can go to any folder you want to create a new text file, and click the app icon in the toolbar to create a new blank text file with the name “untitled”.

If you insist to create a text file from the contextual menu, here is the alternative:

  • Launch Automator, and select the “Service” as the type for your document.
  • Click on “Text” in the left column, and locate “New Text File” in the next column.
  • Drag the entry to the workflow window, and save as whatever name you prefer.

how-to-create-a-new-text-file-in-any-finder-window-6

Now go to the folder where you want to create a new file, control-click on an existing file, and you will be offered the option to create new file from the “Service” submenu. If you wish, you can even create a keyboard shortcut for this service. To do so, you need to go to System Preferences > Keyboard > Shortcuts > Services. Then find your Automator service there, and assign a shortcut key that you like to this service.

how-to-create-a-new-text-file-in-any-finder-window-7

There are multiple ways to create a new blank text file and here we only list a few. If you are interested in more mac tips and tricks, keep eye on our tech blog and we will update our articles soon 🙂

Leave your comments here:

Name
E-mail

Comments