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