Re: Name of file
Re: Name of file
- Subject: Re: Name of file
- From: KOENIG Yvan <email@hidden>
- Date: Fri, 11 Jan 2008 21:22:06 +0100
Le 11 janv. 2008 à 18:51, Skeeve a écrit :
No need to ask the finder because
standard edition (I will not comment that ;-)
already is able to handle it:
set thecsvfile to (choose file with prompt "Wählen Sie die CSV-
Datei:" of type {"TEXT"}) as alias
tell (info for thecsvfile)
set nme to name
set ext to name extension
if ext is not "" then
set nme to text 1 thru (-2 - (length of ext)) of nme
end if
end tell
return nme
You are perfectly right.
The problem is that, I don't know why, I coded a script which was
renaming the file when the question was to get the bare name.
I hope that this had no odd consequences on the OP's files.
Yvan KOENIG _______________________________________________
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