Why don't bundled applets have a bundle ID?
Why don't bundled applets have a bundle ID?
- Subject: Why don't bundled applets have a bundle ID?
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 11 Jun 2010 08:56:29 -0400
I just noticed that an AppleScript applet saved as a bundled app doesn't have a bundle ID entry in the Info.plist file. It does still have type and creator codes. Why is that?
Ditto for a script saved as a script bundle.
This is on Mac OS X 10.6.3 Snow Leopard, AppleScript Editor 2.3. But I just verified that this was true (as to applets, at least; I didn't look at bundled scripts) on Mac OS X 10.5 Leopard, too. Bundled applets created with Script Debugger are the same.
Table 2-6 in Apple's Bundle Programming Guide says that a CFBundleIdentifier entry is "expected" in all bundles. The table's caption says that "you should always include" it. Developers writing utility software that deals with other applications would therefore normally expect applets to be identifiable by bundle id. I'm aware of one commercial product that posts a warning about a missing bundle id every time it tries to handle an applet.
I realize that it might not be appropriate for multiple applets to have the same bundle ID, but it wouldn't be hard for AppleScript Editor to generate a unique bundle ID for every applet using a UUID generated by the system. It would open up some new possibilities for developers with respect to management of applets.
--
Bill Cheeseman - email@hidden
_______________________________________________
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