Create new file (en)

An Alfred Workflow


Short Description

Create a new file (optionally with a filename and -extension) in the current Finder window.

Last Updated

10 Aug 2015

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.0
 

Bundle ID

pro.firepanther.new_en
 

Language: english (just the screenshots are german)

Select a Finder window (selecting Desktop is also possible).

Open your AlfredApp and write "new" or "new filename.txt" and the file will be created. You can abstain the filename or the extension and the file will be created with the name "untitled.txt".

It's also possible to write "new php" to create a file named "untitled.php".

 

Create a file named "-.txt" (or another extension) in the "template" folder to set default content for all newly created files with this extension.

This workflow remembers your inputs and shows your history when you create a new file. The history is sorted by your current input (if you're writing "ind", the history files "index.php" and "index.html" will appear at the beginning).

 

If this extension doesn't work, it's possible that you've disabled the function "exec" in your php.ini

Screenshots