Application not running error
Application not running error
- Subject: Application not running error
- From: John Baltutis <email@hidden>
- Date: Sun, 8 May 2005 16:57:10 -0700
I have a simple AppleScript which I use to generate a list containing the
name, account username, and password for each key in my login.keychain. I
use this list as a backup for all generic and webpage keys.
<scpt>
set osXKeychainScriptingPath to ¬
(path to scripting additions from system domain as Unicode text) ¬
& "Keychain Scripting.app:" -- one line
set theSecuridPIN to {}
tell application "Keychain Access" to launch
using terms from application "Keychain Scripting"
tell application osXKeychainScriptingPath
set KeyList to every key of current keychain
repeat with aKey in KeyList
set theSecuridPIN to theSecuridPIN & (name of aKey) & tab ¬
& (account of aKey) & tab & (password of aKey) & return
-->ERROR (see below for details)
end repeat
end tell
end using terms from
theSecuridPIN
<end scpt>
This works without a problem in Panther (10.3.9 w/latest security updates)
when run in Script Editor, prompting with a dialog box for approval to open
each key, and continuing on to the end, producing the desired list.
However, in Tiger, it starts the process, generates a list of all keys in
the login.keychain, processes the first key, getting its name and account
username, and hiccups on getting the password in the script's only repeat
block (highlighting password) with this error message:
'get password of generic key 1 of keychain "login.keychain"
-->"Keychain Scripting got an error: Application isn't running."'
Script Editor, Keychain Scripting, and Keychain Access are all running.
According to the Panther and Tiger Keychain Scripting dictionaries, every
key contained by a keychain has as one of its properties:
password (string) : the password
So the question is, which Application isn't running but should be running
so that this script works in Tiger?
_______________________________________________
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