Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

"Where is Keychain Scripting?"

I just upgraded to Lion. When I tried to open the Address Book, a Choose Application comes up asking "Where is Keychain Scripting?". I have no idea what it's talking about and Spotlight did not help find anything called Keychain Scripting. Any ideas?

MacBook Core 2 Duo, Mac OS X (10.6.4), Mac mini Intel Core Duo

Posted on Jul 20, 2011 11:45 AM

Reply
18 replies

Aug 11, 2011 10:58 AM in response to Jim Bailey

matt.maier's

"security find-generic-password -a <Account> -g"

is a shell command, entered from Terminal.app


To get the same effect in AppleScript you need something like:


set QKeyName to quoted form of "account name"

set t to do shell script "security 2>&1 find-generic-password -ga " & QKeyName


See

http://blog.macromates.com/2006/keychain-access-from-shell/

"Where is Keychain Scripting?"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.