Apple - Is there a faster way or keyboard shortcut to close files without saving in Preview?

In a "Save As" window, press Delete to close the window and delete the unsaved file.

This essentially selects the "Delete" option from that "Save As" window.

Pressing Escape selects the "Cancel" option. Enter selects "Save".


You can create a new Automator.app Quick Action document and add a "Run AppleScript" action to your workflow.

Then you would paste this following AppleScript code into the "Run AppleScript" action.

tell application "Preview" to close window 1 saving no

You can also use this following AppleScript code, instead, if you prefer to close all of the Preview documents at the same time without any dialogs popping up

tell application "Preview" to close windows saving no

enter image description here

Then you could save the Automator file as "Preview Close No Save". Once that file is saved you can now assign it a keyboard shortcut in System Preferences. Now anytime you are using Preview app, any time you use your new assigned keyboard shortcut, it should automatically close the visible document without popping up any dialogs.

enter image description here

If for some reason your new keyboard shortcut does not work, it may be because it conflicts with another keyboard shortcut already assigned. In that case try assigning it a new keyboard shortcut.