• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why isn't there a constant called finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Why isn't there a constant called finder? (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Why isn't there a constant called finder?
  • Next by Date: Passing String Variables to Visual Basic within Applescript???
  • Previous by thread: Re: Why isn't there a constant called finder?
  • Next by thread: Re: Why isn't there a constant called finder?
  • Index(es):
    • Date
    • Thread