• 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: App names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App names


  • Subject: Re: App names
  • From: "Kyle Sluder" <email@hidden>
  • Date: Sun, 31 Aug 2008 18:16:24 -0400

On Sun, Aug 31, 2008 at 6:07 PM, John Joyce
<email@hidden> wrote:
> AppleScript certainly doesn't care about extensions on application
> bundles...
> Of course that seems to be due to the syntax...
> tell application Finder

That's because you're not specifying a bundle name.  You're specifying
an application name.  When the script is compiled, that app name is
converted into the Finder's FourCC and encoded in an Apple Event
struct.

If you are dealing with Apple Events, apps are known by their FourCC.
If you are dealing with file paths, apps are known by their
fully-qualified path (/Applications/TextEdit.app).  If you're dealing
with bundles, they're known by their bundle name (com.apple.TextEdit).
 There are a lot of different namespaces involved.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: App names (From: John Joyce <email@hidden>)

  • Prev by Date: Re: Problem with NSUserDefaultsController
  • Next by Date: Re: accessing netinfo db from cocoa?
  • Previous by thread: Re: App names
  • Next by thread: Re: App names
  • Index(es):
    • Date
    • Thread