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

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

Explorer ,
Dec 25, 2021 Dec 25, 2021

Copy link to clipboard

Copied

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

Views

3.4K

Translate

Translate

Report

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 : )

Votes

Translate

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

...

Votes

Translate

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

 

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

To the script or action that closes the document without saving,
assign the combination ctrl+w (for windows) and enjoy : )

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Consulting | Design | Motion | Training>headTrix, Inc. | Adobe Certified Training & Consulting<br />Consulting | Design | Development | Training

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Consulting | Design | Motion | Training>headTrix, Inc. | Adobe Certified Training & Consulting<br />Consulting | Design | Development | Training

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Happy to hear it was helpful Ajay! 

Happy Holidays!
mark

Consulting | Design | Motion | Training>headTrix, Inc. | Adobe Certified Training & Consulting<br />Consulting | Design | Development | Training

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied


mark@headTrix 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 : )

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Consulting | Design | Motion | Training>headTrix, Inc. | Adobe Certified Training & Consulting<br />Consulting | Design | Development | Training

Votes

Translate

Translate

Report

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