Re: Deselecting items of the desktop
Re: Deselecting items of the desktop
- Subject: Re: Deselecting items of the desktop
- From: Nigel Garvey <email@hidden>
- Date: Sat, 20 Oct 2001 02:51:37 +0100
macgix wrote on Fri, 19 Oct 2001 19:24:46 +0200:
>
Freaky:
>
>
tell application "Finder"
>
select items of desktop
>
activate
>
display dialog "Deselecting now!" buttons {"Do so!"} default button 1
>
giving up after 5
>
try
>
select null
>
end try
>
end tell
>
>
;)
:-)
Of course, there are loads of variations that don't need a try block.
These all work with Mac OS 8.6:
select {} -- the "official" way
select
select it
select some window
select the selection
select (every file whose kind is "folder")
select (every character whose id is false)
select (the months where Tuesday comes after Wednesday)
... etc. ;-)
NG