Re: App names
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