Re: Can't Add a Script App to the Keychain
Re: Can't Add a Script App to the Keychain
- Subject: Re: Can't Add a Script App to the Keychain
- From: Shane Stanley <email@hidden>
- Date: Fri, 03 Apr 2015 13:29:23 +1100
On 3 Apr 2015, at 12:05 pm, S. J. Cunningham <email@hidden> wrote:
>
> get id of application "myScriptApp.app"
> --> "aplt"
Bundle identifiers should be unique -- later versions of Script Editor try to give you one, and let you edit it in its sidebar. You're going to have to edit it yourself manually in Snow Leopard: use the contextual menu in the Finder and open the app package, and open /Contents/Info.plist in a text editor or property list editor. There should be an entry for CFBundleIdentifier; you need to change that to something unique.
Generally, if you own an Internet domain, you start with that -- but in reverse order. So merci.co.uk becomes uk.co.merci. And you usually end with something like the app's name. But you are restricted to A-Z, a-z, 0-9, period or stop, and hyphens. No spaces, and no underscores. Because an individual can use a lot of scripts, it's not a bad idea to include something in the middle -- perhaps "scptd" or "applet". The end result should be unique. A look at the names in ~/Library/Preferences/ should give you the general idea.
(And for those using more recent versions of the OS, overriding the default bundle identifier Script Editor provides is a good idea. Script Debugger lets you enter your reverse domain name in prefs, and will use that -- that's a much safer method.)
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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