Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How To Disable Save changes to the Adobe Photoshop document before closing? Dialogue

Explorer ,
Dec 25, 2021 Dec 25, 2021

Hello, Is there a way do disable following dialgogue when closing an opened document (not quitting photoshop) in photoshop 2022? Please see attached screenshot.

 

 

TOPICS
Actions and scripting , macOS
5.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

People's Champ , Dec 25, 2021 Dec 25, 2021
To the script or action that closes the document without saving,
assign the combination ctrl+w (for windows) and enjoy : )
Translate
Community Expert , Dec 25, 2021 Dec 25, 2021

You make it yourself. Go to Window>Actions to open the actions panel.

Then you can create a New Folder for YOUR specific new set of actions. 
Then click the little "+" at the bottom of the actions panel to create a NEW ACTION.
Name it and choose a Keyboard Shortcut to use. Then just make sure you have a file open, with something changed (use a brush, add a layer... anything) then press record, then Press Command+W (Control +W on PC) then click "Don't save" then stop the recording on your Action. 

T

...
Translate
Adobe
Adobe Employee ,
Dec 25, 2021 Dec 25, 2021

Hi there,

 

This is as designed and cannot be disabled. Photoshop will always ask to save a file if it's not already saved and you close it after making changes.

Regards,
Sahil

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 25, 2021 Dec 25, 2021

Yes, that's understood that it is desgined in that way and that under normal circumstances we don't need to override it. 

 

I want to know if there is hack/workaround to disable it temporarily?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 25, 2021 Dec 25, 2021

Generally, if this was possible, there would be a flood of "Adobe ruined my work".

 

As r-bin says, make an action to close without saving and assign a shortcut to it.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Dec 25, 2021 Dec 25, 2021
To the script or action that closes the document without saving,
assign the combination ctrl+w (for windows) and enjoy : )
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 25, 2021 Dec 25, 2021

Command +W doesnt bypass the save changes dialogue. But you could create an ACTION using Command +W TO close the window and selecting "Don't Save" then you can assign a keyboard shortcut to the action and VOILA! Like Magic!

Hope this helps!

 

Merry Christmas!
mark

headTrix, Inc. | Adobe Certified Training & Consulting
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 25, 2021 Dec 25, 2021

Sound good workaround, now I gotta find ACTION script....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 25, 2021 Dec 25, 2021

You make it yourself. Go to Window>Actions to open the actions panel.

Then you can create a New Folder for YOUR specific new set of actions. 
Then click the little "+" at the bottom of the actions panel to create a NEW ACTION.
Name it and choose a Keyboard Shortcut to use. Then just make sure you have a file open, with something changed (use a brush, add a layer... anything) then press record, then Press Command+W (Control +W on PC) then click "Don't save" then stop the recording on your Action. 

Then you can open a new file, make a quick change, and try out your new Action with the keyboard shortcut you chose!

Hope that helps.

mark

headTrix, Inc. | Adobe Certified Training & Consulting
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 26, 2021 Dec 26, 2021

Thanks Mark didn't realize thare was something called Action thingy. It opened up a pandora box for me 😉

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 26, 2021 Dec 26, 2021
quote

Thanks Mark didn't realize thare was something called Action thingy. It opened up a pandora box for me 😉


By @MikeLondon22

 

If you didn't know about the automation options, either actions or scripting, then you have a whole new world to explore!

 

https://helpx.adobe.com/photoshop/using/actions-actions-panel.html

https://helpx.adobe.com/photoshop/using/creating-actions.html

https://helpx.adobe.com/photoshop/using/scripting.html

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2021 Dec 27, 2021
LATEST

Happy to hear it was helpful Ajay! 

Happy Holidays!
mark

headTrix, Inc. | Adobe Certified Training & Consulting
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 25, 2021 Dec 25, 2021

@headTrix Training wrote:

Command +W doesnt bypass the save changes dialogue. But you could create an ACTION


 

Mark, please re-read r-bin's post, I have bolded to make it more obvious, this is exactly what r-bin was suggesting:

 

To the script or action that closes the document without saving,
assign the combination ctrl+w (for windows) and enjoy : )
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 25, 2021 Dec 25, 2021

With a script and a custom keyboard shortcut, one has more flexible keyboard shortcuts than are available to action F-key shortcuts.

 

// Close without saving, no prompt
var idclose = stringIDToTypeID( "close" );
    var desc361 = new ActionDescriptor();
    var idsaving = stringIDToTypeID( "saving" );
    var idyesNo = stringIDToTypeID( "yesNo" );
    var idno = stringIDToTypeID( "no" );
    desc361.putEnumerated( idsaving, idyesNo, idno );
    var iddocumentID = stringIDToTypeID( "documentID" );
    desc361.putInteger( iddocumentID, 289 );
    var idforceNotify = stringIDToTypeID( "forceNotify" );
    desc361.putBoolean( idforceNotify, true );
executeAction( idclose, desc361, DialogModes.NO );

 

or

 

// Close without saving, no prompt
app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);

 

https://prepression.blogspot.com/2017/11/downloading-and-installing-adobe-scripts.html

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 27, 2021 Dec 27, 2021

oh yeah that makes it easy, huh? This chat. arleady had 2 correct answers and was happy to learn about Actions. Not sure why you decided to post 3 more posts.... seems like they could have been better spent aiding another user.

headTrix, Inc. | Adobe Certified Training & Consulting
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines