Re: The displayed name weird behaviour...
Re: The displayed name weird behaviour...
- Subject: Re: The displayed name weird behaviour...
- From: Emile Schwarz <email@hidden>
- Date: Sat, 05 Mar 2005 17:49:05 +0100
Hi John,
Thank you for your answer.
email@hidden wrote:
From: John Stewart <email@hidden>
Subject: Re: The displayed name weird behaviour...
To: email@hidden
Message-ID: <r02010400-1038-A70331E68D5711D996E5000A95D992BC@[10.0.1.2]>
Content-Type: text/plain; charset=US-ASCII
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.
Possible.
Does the applicable portion of the script still return the extension if you turn it off manually with "Get info"?
Not tested - yet -
I will do it later.
PB 15" Alu / Mac OS X 10.3.8 [Language set to French]
Have a nice Sunday,
Emile
_______________________________________________
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