Shortcut for creating blank text file on MacOS

August 15th, 2019

  1. Launch Automator application
  2. Create a document typed Application
  3. Action as Run AppleScript
  4. Type below code:

    tell application "Finder" to make new file at (the target of the front window) as alias
    
  5. Click on the "File" menu on the top, and select "Save…" to save Blank Text File and File Format as Application, then save it to Applications folder.
  6. Open Applications in Finder, and hold on CMD key and drap and drop Blank Text File to toolbar of Finder.
  7. Get info for Blank Text File and copy a icon into the icon on Get Info dialog