I am using AppleScript to close windows in Google Sketchup as follows:
$ osascript -e 'tell application "SketchUp" to close window 1'
When I close the window, the program prompts me to save, and there is a dialog box with buttons "Don't Save", "Cancel", and "Save...".
How do I make my script click on the "Don't Save" button in this situation?
Also, if there is a better way of closing the window, I'm all ears.