Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Security warning' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Security warning
Authored by: blalor on Dec 09, '04 09:01:31AM
got it:

tell application "Keychain Scripting"
	set theKey to first Internet key of current keychain whose server is ""
	display dialog "userid: " & (account of theKey) & "; password: " & (password of theKey)
end tell
That works for me because I let Safari save my userid and password for the form in the upper-right corner of I get prompted twice by the keychain, however.
I've got about 200 keychain entries, and this takes a few seconds to run; not terribly zippy.
You could create a new keychain entry just for this little app, but I like to re-use things when possible.

[ Reply to This | # ]