Re: File reference problems in Snow Leopard
Re: File reference problems in Snow Leopard
- Subject: Re: File reference problems in Snow Leopard
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 15 Sep 2009 10:32:18 -0700
- Thread-topic: File reference problems in Snow Leopard
On 9/15/09 1:08 AM, "Shane Stanley" <email@hidden> wrote:
> On 15/9/09 5:49 PM, "HÃ¥vard Graudo" <email@hidden> wrote:
>
>> I'm still on 10.5. Doesn't this error in 10.6 if file is not there?
>>
>> try
>> alias "some:file"
>> on error
>> -- file is not there
>> end
>
> It shouldn't error in 10.5.
The script Havard provided looks like it errors when he *runs* it - as it
should.
What no longer errors in 10.5 is when you *compile* the script. (That used
to error in 10.4 and earlier.) Executing it will of course bring up "file
not found", as it should, if there's no such file.
Just a little misunderstanding.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden