Re: Simple newbie question
Re: Simple newbie question
- Subject: Re: Simple newbie question
- From: Pat Cannon <email@hidden>
- Date: Thu, 18 Jun 2009 13:14:58 -0500
Yeah, Michelle's "extension hidden" way
should work, but the Finder doesn't do that right, at least on my Mac (OS X 10.4.11).
This works for me:
tell application "
Finder"
set theItem to item
1 of (
the selection
as list)
set baseName to text
1 thru (
-1 * ((length
of ((name extension
of theItem)
as text)) +
2))
of ((name
of theItem)
as text)
end tell
_______________________________________________
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