Re: Name only of app
Re: Name only of app
- Subject: Re: Name only of app
- From: Tom Robinson <email@hidden>
- Date: Sun, 25 Jan 2009 07:01:26 +1300
On 2009-01-25, at 06:54, Michelle Steiner wrote:
Normally, ".app" is not displayed in the Finder in the name of an
application; in fact, in the get info window for an application,
"Hide extension" is checked and disabled, so it can't be unchecked.
Although I don't know of any situation where the extension is
displayed, here is code to handle that possibility:
If you have the Finder preference 'Show all file extensions' checked
then 'name of (path to frontmost application)' will include the '.app'
extension (so your code example to remove it will be necessary).
_______________________________________________
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