iansited Posted March 27, 2013 Share Posted March 27, 2013 (edited) This Workflow allows you to easily create a new file in the Mac OS Finder by typing new into Alfred. You can also setup pre-populated templates for filetypes (instructions on my blog). I have also added a hotkey option. You can specify the hotkey from your Alfred Workflow window (I find CTRL + ALT + N works quite nicely). This is a re-write of the Alfred 1.x extension I released last year. Once again I'd like to thank Chris Kalafarski (farski) for improving the first ever version of my script. Download Workflow here (8kb). I hope you find this as useful as I do. To those who may not use Finder, I plan to add Path Finder support at some point in the future! Edited March 27, 2013 by ianisted 40-02 and djc 2 Link to comment
djc Posted May 4, 2014 Share Posted May 4, 2014 This is awesome. The only thing I don't like it how the default extension is .txt , as I sometimes make files with no extension. Link to comment
asbjornu Posted May 20, 2014 Share Posted May 20, 2014 Awesome workflow! But for some reason, I'm only able to create files named "Untitled.txt". Whatever I write after pressing the hotkey is ignored. Link to comment
fredcallaway Posted July 1, 2014 Share Posted July 1, 2014 (edited) Would it be possible to set it up to open the new file automatically? (I don't know Ruby). Edited July 1, 2014 by fredcallaway Link to comment
jeromegamez Posted July 29, 2014 Share Posted July 29, 2014 Awesome workflow! But for some reason, I'm only able to create files named "Untitled.txt". Whatever I write after pressing the hotkey is ignored. The same happens for me if I don't specify a file extension - but if I do, everything works as advertised. Link to comment
aidanjporter Posted April 4, 2016 Share Posted April 4, 2016 Thanks so much, you are amazing! Link to comment
aidanjporter Posted April 4, 2016 Share Posted April 4, 2016 The same happens for me if I don't specify a file extension - but if I do, everything works as advertised. It works for me, for example I right 'new index.html' or 'new text.txt' You need to specify a name and extension Link to comment
amparose Posted February 13, 2020 Share Posted February 13, 2020 Anybody got any suggestions to get this working in Pathfinder? Currently it creates the file on the Desktop instead of in the focused Pathfinder location. Link to comment
deanishe Posted February 13, 2020 Share Posted February 13, 2020 2 minutes ago, amparose said: Anybody got any suggestions to get this working in Pathfinder? You need to change the AppleScript in the workflow to get Path Finder's current directory instead of Finder's. Here's some JXA code to do that. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now