Re: What is the best way to get the name (without the extension) of a file?
Re: What is the best way to get the name (without the extension) of a file?
- Subject: Re: What is the best way to get the name (without the extension) of a file?
- From: Gnarlodious <email@hidden>
- Date: Wed, 04 May 2005 16:06:14 -0600
Title: Re: What is the best way to get the name (without the extension) of a file?
How about this one:
set fileName to "com.apple.iTunes.eq.plist"
do shell script "echo " & quoted form of the fileName & "| sed 's|\\(.*\\)\\..*$|\\1|' "
-- Gnarlie
_______________________________________________
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