Re: The displayed name weird behaviour...
Re: The displayed name weird behaviour...
- Subject: Re: The displayed name weird behaviour...
- From: John Stewart <email@hidden>
- Date: Sat, 5 Mar 2005 04:19:18 -0500
On 03/04/05 at +0100 Emile Schwarz said this
>I was thinking that when one change the extension hidden to true (it is set on
>my machine to false as default) that the name or displayed name (I think that it
>was this one) shows the file name without its extension...
>
That's correct
>Example:
>
>tell application "Finder"
> -- ask the user to choose a file
> set zeFile to choose file
>
> -- hide the extension
> set extension hidden of zeFile to true
>
> -- get the file properties
> return properties of zeFile
>end tell
This works just fine OMM with 10.3.8 installed. It correctly hides the extension and returns displayed name sans extension. So neither of your suppositions is correct, you do understand it and it's not a bug. However, it does look like you might have an issue with your Finder.
Does the applicable portion of the script still return the extension if you turn it off manually with "Get info"?
JBS
--
The views expressed here do not necessarilly represent the unanimous view of all parts of my mind.
_______________________________________________
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