on alfred_script(q)
activate application "Keychain Access"
tell application "System Events"
tell process "Keychain Access"set value of text field 1 of group 2 of toolbar 1 of window "Keychain Access" to q
click button 1 of text field 1 of group 2 of toolbar 1 of window "Keychain Access"
click menu item "Copy Password to Clipboard" of menu 1 of menu bar item "Edit" of menu bar 1
end tell
end tell
quit application "Keychain Access"
end alfred_script
I have to modify "group 2" to "group 1" to make it work on Mojave
Can Alfred search the Mac Keychain
in Discussion & Help
Posted
I have to modify "group 2" to "group 1" to make it work on Mojave