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: Jan Pieter Kunst <email@hidden>
- Date: Tue, 12 Jun 2001 08:15:28 +0200
Paul Skinner (email@hidden) schreef op 12-06-2001 03:47 :
>
One of a zilljon ways...
>
>
set someAlias to alias "dark star:Desktop Folder:current TS scripts:"
>
tell application "Finder"
>
name of someAlias
>
--> "current TS scripts"
>
end tell
Thanks to everyone who responded. The above way is the most convenient in my
case. I remember that I did try this at one point, but I was telling the
wrong application so all I got was errors.
Oh, and even though Michelle's text items delimiters solution is not the
most practical in my situation, thanks to it I think I now understand for
the first time what text items delimiters are, which is surely useful in the
long run.
JP