Re: OS 10.4.2: Keychain scripting "Application not running" error
Re: OS 10.4.2: Keychain scripting "Application not running" error
- Subject: Re: OS 10.4.2: Keychain scripting "Application not running" error
- From: John Baltutis <email@hidden>
- Date: Sun, 24 Jul 2005 11:30:38 -0700
On 07/24/05, Jolin M Warren wrote:
>
> Back in 10.4.0 and 10.4.1, I was having a problem accessing keychain
> passwords using Keychain Scripting that didn't cause problems under
> 10.3.x. This was apparently a bug.
>
> <http://lists.apple.com/archives/Applescript-users/2005/Jun/msg00596.html>
> <http://discussions.info.apple.com/webx?email@hiddennsJStM.1@.68addd0b>
>
> So I was excited to read in the release notes for 10.4.2 that this
> bug had been fixed.
>
>> Addresses a Keychain Scripting issue in which the "password"
>> property of a key often could not be retrieved.
>
> <http://docs.info.apple.com/article.html?artnum=301722>
>
> However, I installed the update yesterday and still get the same
> "Application not running" error when trying to use AppleScript to
> access a key's password in my default keychain. This is the same
> script that worked in 10.3.x. Has anyone else had any luck with
> Keychain Scripting in 10.4.2? Did my update not install properly, or
> is the bug still there?
It's been partially fixed in 10.4.2. The discussion at:
<http://discussions.info.apple.com/webx?email@hiddennsJStM.1@.68addd0b>
describes the workaround-see the last post. Basically, you need to
explicitly launch Keychain Scripting and Keychain Access, in that order,
before calling for the password:
tell application "Keychain Scripting" to launch
tell application "Keychain Access" to launch
If you reverse the order, the error returns.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden