Re: Tell Launcher to quit
Re: Tell Launcher to quit
- Subject: Re: Tell Launcher to quit
- From: Hans Haesler <email@hidden>
- Date: Sun, 24 Dec 2000 18:19:56 +0100
On Sat, 23 Dec 2000, Paul Berkowitz wrote:
>
Yes, but it's not a Finder window. The Finder doesn't know anything about.
>
Try asking the Finder to close a window of any other application and you'll
>
get the same error.
Let's see. When I run this...
---
tell application "Finder"
close window "Document1" of application "QuarkXPress 4.11"
end tell
---
... I don't get an error.
Just a dialog which asks:"Save the new document "Document1"?"
The dialog pops up only because the document is not saved.
With a saved document the window closes. No error, no dialog.
With...
---
tell application "Finder"
close window "Document Layout" of application "QuarkXPress 4.11"
end tell
---
... the Layout palette is closed with no error at all.
Hans
---
Hans Haesler | email@hidden