• 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: Can't Add a Script App to the Keychain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 21:26:57 +1100

On 3 Apr 2015, at 7:56 pm, S. J. Cunningham <email@hidden> wrote:
>
> If I execute the script from Script Debugger, Script Debugger gets added to the keychain for the target network computer but, although I can select the modified applet to add with the Keychain Access Utility, it ignores it and doesn't add it to the list.

Bummer. I'm not sure what else to suggest.

> As an aside, the applet had no Bundle Identifier before I added it.  Shouldn't "get id of application "myScriptApp.app"" have returned an error instead of "aplt" (which is the Bundle Creator Type Code?  After adding the Bundle Identifier, it returns "com.sjc.applet-name" as expected.

It's working as documented. This was actually defined in the days when Rosetta was part of the standard installation, which even precedes Snow Leopard ;-) From the 10.5 release notes:

> It is now possible to simply address an application object by id, where the id is either the bundle identifier or the four-character signature code.

They even go on to say:

> Scripts intended for distribution should use the id form.

Anyway, this sort of thing still works:

tell application id "MACS"
	id
end tell
--> com.apple.finder



--
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


References: 
 >Can't Add a Script App to the Keychain (From: "S. J. Cunningham" <email@hidden>)
 >Re: Can't Add a Script App to the Keychain (From: Shane Stanley <email@hidden>)
 >Re: Can't Add a Script App to the Keychain (From: "S. J. Cunningham" <email@hidden>)
 >Re: Can't Add a Script App to the Keychain (From: Shane Stanley <email@hidden>)
 >Re: Can't Add a Script App to the Keychain (From: "S. J. Cunningham" <email@hidden>)

  • Prev by Date: Re: Can't Add a Script App to the Keychain
  • Next by Date: Re: Microsoft Outlook 2011 - Changing Subject field
  • Previous by thread: Re: Can't Add a Script App to the Keychain
  • Next by thread: Test
  • Index(es):
    • Date
    • Thread