Closing without saving script that won't compile

This isn’t so much of a bug, but more of a user interface issue. I seem to remember this being reported before.

Basically, if you have a script that won’t compile and you just want to close it without saving it, SD doesn’t let you do that.

You get a compile error dialog with two options “Save as Text” or “Cancel.”

I would like to see a third option allowing you to close without saving.

→ Mac OS: 14.3.1 (23D60)
→ Script Debugger 8.0.7 (8A75)
→ SD Notary 2 2.0 (102)
→ FastScripts 3.2.7 (1767)

3 Likes

This just isn’t possible because a compiled script document (.scpt or .scptd) must compile in order to be saved. The only alternative is to save as text.

Just to be clear this is a new a script I do not want to save at all.

Not as an uncompiled script or text, I’m just done with it and never want to see it again.

I either have to fix it so it can compile and then close it and hit the delete button, or clear out all the text and then close it and hit the delete button.

I’d rather just close it, and have a dialog with a delete button.

Okay, noted. We’ll look at this in a future maintenance release.

1 Like