• 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: Sat, 23 Jun 2001 23:42:27 +0100

In your message of 23/6/2001 18:22 BST, you wrote:

>on 6/23/01 12:54 PM, Nigel Garvey wrote:
>
>> Bryan wrote on Sat, 23 Jun 2001 01:58:15 -0400:
>>
>>> I put the following in the first line of all my scripts now:
>>>
>>> property finder : application "Finder"
>>>
>>> It accomplishes what you desire.
>>
>> Not with Mac OSses 8.6 or 9.0.4 (AppleScripts 1.3.7 or 1.4).
>>
>> NG
>>
>
>What does it do in these environments? Got an error number to go with this
>statement?

Various compilation errors. The 'tell' block doesn't understand Finder
terminolgy.

property finder:app "Finder"

tell the finder
open disk "RAM Disk"
end

In this case, the first quote in "RAM Disk" is highlighted and the error
is 'Expected end of line but found ".'

NG


  • Prev by Date: Re: What the "tell" is going on?
  • Next by Date: Re: What the "tell" is going on?
  • 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