• 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: Nigel Garvey <email@hidden>
  • Date: Mon, 25 Jun 2001 00:54:21 +0100

Michelle Steiner wrote on Sun, 24 Jun 2001 07:00:55 -0700:

>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"

This works with Mac OS 8.6 as well. I can even successfully do a few
things like:

tell finder
kind of item "4400 HD:Applications:"
--> "folder"
creation date of file "4400 HD:Applications:SimpleText"
--> date "Friday, 30 May 1997 11:00:00"
end tell

The conditions seem to be that:

1) The line has to be able to compile *without* the tell block.
2) The compiled code has to mean something in a Finder context.

NG


  • Prev by Date: Re: Passing String Variables to Visual Basic withinApplescript???
  • Next by Date: Re: say command, out of memory?
  • 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