Re: Dumb Finder scripting question
Re: Dumb Finder scripting question
- Subject: Re: Dumb Finder scripting question
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 14 Dec 2007 20:00:07 -0500
On Dec 14, 2007 7:03 PM, Michelle Steiner <
email@hidden> wrote:
on
rootName(incoming_file)
tell
application
"Finder"
if the
name extension
of the
incoming_file
is
"" then
return
the
name of
the
incoming_file
else
set
flag
to
extension hidden of
the
incoming_file
set
the
extension hidden of
the
incoming_file
to
true
set
temp
to the
displayed name
of the
incoming_file
set
the
extension hidden of
the
incoming_file
to the
flag
end
if
end
tell
return
temp
end
rootName
Doesn't work OMM. Still have the extension in |displayed name| even with |extension hidden| set to true.
--
Mark J. Reed <
email@hidden>
_______________________________________________
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