tell application "Keychain Scripting"
set myKey to "Your computer's sharing name"
tell keychain 1
set chosenKey to the first key whose name is myKey as string
set adminpwd to the password of chosenKey as string
end tell
end tell
The first time you run this script to get the password, you will need to authorise Script Editor twice to run the script. From then, your Periodic scripts will run without needing to be authorised.
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