github mahirozdin/SmartClose v0.4.3
SmartClose 0.4.3

one hour ago

New

  • Quit when last document closes (#29, #30). Adobe Illustrator keeps its empty Application Frame open after the last document closes, and macOS still reports it as a normal window, so SmartClose never saw the last window close. InDesign's windows could be classified as ambiguous, so SmartClose passed the close through. A new per-app policy, Quit when last document closes, handles apps like these:
    • The red close button or Cmd+W goes through normally, so the app closes the document and shows any save prompt itself.
    • SmartClose then asks the app how many documents are open (the same as count documents in AppleScript). It requests a normal quit only when none remain and at most the empty frame is left.
    • If the count cannot be read, SmartClose does nothing. Closing a panel or dialog never quits.
    • To use it, open Settings → Per-App Rules and add the app's exact bundle ID (com.adobe.illustrator, com.adobe.InDesign) with this policy. For Cmd+W, also turn on Handle Cmd+W (experimental). macOS asks once per app for Automation permission.

Improvements

  • Diagnostics for the red close button now list why windows were ignored or why the classification was ambiguous. For apps using the new policy, Diagnostics also shows each document check and, when a click in the window's corner did not reach a close button, what the app exposed.
  • A per-app rule with a policy a version does not know is now skipped instead of resetting all settings. Versions before 0.4.3 cannot read the new policy, so downgrading after using it resets SmartClose's settings.

Thanks to @boltclan for the detailed Illustrator and InDesign reports.

Installed copies of SmartClose 0.3.0 or later will be offered this update automatically. You can also use Check for Updates… in the menu bar.

Full Changelog: v0.4.2...v0.4.3

Don't miss a new SmartClose release

NewReleases is sending notifications on new releases.