Re: Simple newbie question
Re: Simple newbie question
- Subject: Re: Simple newbie question
- From: Philip Aker <email@hidden>
- Date: Thu, 18 Jun 2009 11:45:33 -0700
On 2009-06-18, at 11:14:02, Christopher Nebel wrote:
Various people have shown different ways of munging the full name string (though no one has suggested using basename(1) yet...),
Which of course includes the extension.
My entry for umpteen ways to skin this cat:
set ppath to POSIX path of (choose file) do shell script "tclsh <<< 'puts [file rootname [file tail " & quoted form of ppath & "]]'"
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
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