Re: System Events Info
Re: System Events Info
- Subject: Re: System Events Info
- From: Emile Schwarz <email@hidden>
- Date: Tue, 10 May 2005 18:06:50 +0200
Hi,
email@hidden wrote:
Subject: Re: System Events Info
To: Simon Forster <email@hidden>
Cc: email@hidden
Message-ID: <BEA6958B.11E7A%email@hidden>
Content-Type: text/plain; charset="US-ASCII"
Thanks, what I want to do is close a specific window in the finder. I have
tried
Tell application "System Events"
close window "Dev"
End tell
But then for an error NSReceiverEvaluationScriptErr: 4 :-( . "Dev" is the
name of the window in the finder which is of path "/Volumes/Dev".
Any idea's - I like the keystroke approach, but not sure how I get it to be
directed at a particular window.
What about
close front window of application "Application-Name"
?
For the System Events dictionary, you can use "Open a dictionary" in the File
Menu (something like that) and if you use Tiger, use the new MenuItem
Bibliotheque (something like that) from the Window Menu (Command-Shift-L) to
make that window appears. A double click in the System Events entry opens its
dictionary.
HTH,
Emile
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden