Re: Simple newbie question
Re: Simple newbie question
- Subject: Re: Simple newbie question
- From: Michelle Steiner <email@hidden>
- Date: Wed, 17 Jun 2009 14:40:07 -0700
On Jun 17, 2009, at 1:17 PM, Peter Robertson wrote: How can I get just the name of a file without the extension?
tell application "Finder" set foo to item 1 of (get the selection) set hid to extension hidden of foo set extension hidden of foo to true set trunc_Name to displayed name of foo set extension hidden of foo to hid return trunc_Name end tell
-- Michelle
-- If you're not going somewhere, you're not getting anywhere.
|
_______________________________________________
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