Right click > new File, when?

Is it possible to do right click > new file in mac ?

I found that I could do right click > new Folder, but I can't find this for the new file.


I found a trick: open a terminal, and type "touch myfile.txt", but it takes longer.

Is there a fastest way to do so?


Thanks.

I'm on MacOS Mojave by the way.



iMac 27", macOS 10.14

Posted on May 6, 2019 10:11 PM

Reply
Question marked as Top-ranking reply

Posted on May 7, 2019 3:46 AM

You create new files in an application - text files in TextEdit, Word documents in Word, etc.


In most cases it is trivial to do so: just press Command-N (just as you would in Windows, except that there it would be Control-N).


If you want to be able to create an empty file right there in the Finder, it is possible to do so - though I really don't understand the purpose. Just create a little Automator "Service". You can even add a keyboard shortcut, if you like. It would not be control-click->New File, but control-click->Services->New File. Again, I don't see the point, but it can be done easily.

32 replies

May 8, 2019 10:38 AM in response to lingtalfi

For the mail message, that's because I'm used to use the keyboards

shortcuts a lot, and one of them in PhpStorm is cmd + D, which

duplicates the line, whereas in Mail, cmd + D will actually send the

mail.


Is a UX issue.

You can use an app like Keyboard Maestro to intercept the command+d and do something else with it.



You need to create a new group, pick what app the group covers.

https://forum.keyboardmaestro.com/t/how-to-create-an-application-specific-macro/7287


May 8, 2019 10:53 AM in response to lingtalfi

"For the mail message, that's because I'm used to use the keyboards shortcuts a lot, and one of them in PhpStorm is cmd + D, which duplicates the line, whereas in Mail, cmd + D will actually send the mail."


The shortcut to send the message in Mail is command-Shift-D, not command-D.


Each application defines its own keyboard shortcuts.


However, macOS lets YOU define your own shortcuts, so you can CHANGE that yourself! (don't try this on Windows...)


Look at what I just did:



Now my shortcut is Command-Control-Shift-Option-D, so if I accidentally press Command-Shift-D, nothing happens.

Furthermore, I can reassign Command-Shift-D to something else.


All of this is done in System Preferences->Keyboard->Shortcuts->App Shortcuts:


May 8, 2019 10:08 PM in response to Barney-15E

I don't agree. If Apple were to implement the right click > new File feature, they would just need to create the file, and they wouldn't need to care about the consequences of the app opening it or not (i.e. they wouldn't need to contact all the vendors that work with them, nor to adapt anything in their system). That's because the "Right click > new File" feature I'm talking about is just the Automator script that does the same thing (and automator doesn't care if word or excel or whatever app will be able to open the file once created: those are two different operations: creating the file, and opening the file with the right app).


Here I'm just talking about creating the file (not opening it, one problem at the time). And so again, I would personally prefer like to have an item in the Finder right click menu that allows me at least to create the file (like the touch command does), than having to do it myself.


You can adapt to a situation without fixing the problem, sure.

But here, I'm describing a basic usability problem and I'm asking Apple to fix it.


As Dialabrain said:

"I wouldn't get my hopes up. Mac users have managed without it for 35 years.".


Well, before the car existed, people used horses, but in a world where we strive for more optimization every day,

at one point we should be there (maybe I'll be dead already but still).


Are you telling me that you don't need "Right click > new File" feature?

Well, in that case good for you.

Please don't tell me what I need, I know exactly what I need, and the "Right click > new File" feature

by Apple (not by me) is one of the thing I would love to be implemented in their next release.


May 9, 2019 5:26 AM in response to lingtalfi

"I think it's useless to debate now, some people don't see the point of right click new file, some others do, that's all."


The point that you may be missing about the whole right click thing could be some sort of legal

infringement issue. There are many things that can would be nice to have from Windows and

many that would be have nice to have on Windows form Mac. Many here may recall the

sue-me/sue-you times between apple and MS, some of these may have been compromises.

May 6, 2019 10:59 PM in response to Kappy

Thanks for your reply, but what do you mean there is no need to do so?

At least I need to do so.

I'd prefer to right click to create a new file, rather than use a third party macros.

I had a windows pc before I switched to mac, and that's something I miss from windows.


Sounds like creating a new file is a complicated thing on mac, that's a shame, but thanks for pointing out to a workaround.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Right click > new File, when?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.