Re: name of file
Re: name of file
- Subject: Re: name of file
- From: "Gary (Lists)" <email@hidden>
- Date: Mon, 18 Jul 2005 06:49:58 -0400
"Wayne Melrose" wrote:
> Hi,
>
> I'm using a folder action to move a file around, and I would really
> like to be able to get the name of the file without using the Finder.
>
> I can get the path to the file without the finder but not the name by
> itself.
'info for' is the Finder-less way to access some information about a file.
set f to (choose file)
set nfo to info for f
name of nfo
--> "Z39-85.pdf"
-- or with an explicit 'get'
name of (get info for f)
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >name of file (From: Wayne Melrose <email@hidden>) |