Finder alternative with New File
I can offer you 3 options:
Option 1.
I think the most popular alternative to Finder is Path Finder and it has the "new file" feature.
Option 2.
If you search the App Store with "New file"
, you'll find quite a few Finder extensions that do this.
I'd maybe suggest:
-
New File Menu Free
- You'd probably want to set the template to be
Blank Document
- You'd probably want to set the template to be
-
New File Menu (~$2)
- I believe the key difference is that the free one only allows one new file item to be added at a time and the paid one allows you to add multiple.
I haven't really tested many of these so I don't know if this is the best one or not.
Option 3.
I've made myself this applescript:
This could be triggered using Alfred or pretty much anything that supports applescripts.
A dialog window will open up asking for filename and when you press enter, new file will be put in the current Finder or Path Finder folder. It is restricted to only proceed if Path Finder or Finder is the active application.
- This is the icon I use in the script (not that it's important or anything...)
- If it was unclear, in the code the path to the icon is the root of the user folder:
~/new-file.icns
and it is defined in theiconfile
variable.
if application "Path Finder" is frontmost then
tell application "Path Finder"
set currentPath to the path of the target of the front finder window
end tell
makeNewFile( currentPath )
else if application "Finder" is frontmost then
tell application "Finder"
set currentPath to (folder of the front window) as alias
end tell
makeNewFile( currentPath )
end if
on makeNewFile( currentPath )
set userPath to POSIX path of (path to home folder)
set iconfile to POSIX file (userPath & "new-file.icns") as alias
display dialog "For instance:
My File.txt, index.html, Markdown file.md" with title "Create a new file..." default answer "" with icon iconfile
set fileName to text returned of result
tell application "Finder"
make file at currentPath with properties {name:fileName}
end tell
end makeNewFile
I created a little AppleScript applet you can add to the toolbar in Finder. When clicked, it creates a new blank file in the current directory, letting you rename it immediately – just like in Windows.
In the future, I plan to implement it also as a Finder extension.