Re: Getting the name of a file from an "alias"
Re: Getting the name of a file from an "alias"
- Subject: Re: Getting the name of a file from an "alias"
- From: Timothy Bates <email@hidden>
- Date: Tue, 12 Jun 2001 13:49:44 +1000
>
At 23:15 +0200 6/11/2001, Jan Pieter Kunst wrote:
>
> How do I get just the name of a file whose path is known?
On 12/6/01 10:46 AM, "John W Baxter" <email@hidden> wrote:
>
tell application "Finder"
>
name of x
>
end tell
A non Finder-dependent method is to use "info for"
e.g. name of (info for (choose file))
tim
remember - info for is your friend