Re: Why isn't there a constant called finder?
Re: Why isn't there a constant called finder?
- Subject: Re: Why isn't there a constant called finder?
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 24 Jun 2001 12:48:37 -0400
At 7:00 AM -0700 6/24/01, Michelle Steiner wrote:
On 6/24/01 12:12 AM, Pier Kuipers <email@hidden> wrote:
>property finder : application "Finder"
>
>tell finder
> open item "Visual ID Server"
>end tell
>
>--> <<class sdsk>> of application "Finder"
Well, when I replace "visual ID Server" with the name of any of the
mounted disks, it works. But when I use "disk" instead of "item" it
doesn't work.
The result, though is
-->disk "Dora" of application "Finder"
I don't get the class response that you did.
--Michelle
I think it was too late and I was not thinking....
This works:
property finder : application "Finder"
using terms from application "Finder"
tell finder
open disk "MacOS 9" --disk becomes blue which means variable.
end tell
end using terms from
Which makes it very clear that property: application "Finder" is a
great short cut.
Instead of writing
Tell app "Finder"
end tell
we can short cut this to:
property: application "Finder"
using terms from application "Finder"
tell finder
end tell
end using terms from
I think we are into something here... copyright, patent ???
regards
Deivy Petrescu
http://www.dicas.com
Tips for your Mac.
Dicas para o seu Mac.
mailto:email@hidden
mailto:email@hidden