I have a folder open in finder – what is the quickest way to save a new text file to it?
On Windows I would use "New Text" and then edit the file. On the Mac I open a new file in Sublime or Textedit but then I have to select the folder again when I want to save …?
Best Answer
You can run the following AppleScript through a service with keyboard shortcut or context menu item.
Alternatively, drag the current directory to Terminal and type
touch filename
. You can alias the command to something liken
for easier activation, and also add closing the Terminal window to the aliased command.