• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Name only of app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Name only of app
      • From: Michelle Steiner <email@hidden>
References: 
 >Name only of app (From: Robert Poland <email@hidden>)
 >Re: Name only of app (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Name only of app
  • Next by Date: Re: Name only of app
  • Previous by thread: Re: Name only of app
  • Next by thread: Re: Name only of app
  • Index(es):
    • Date
    • Thread