Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App names



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.