Hi,
I’ve been reading this post:
http://macscripter.net/viewtopic.php?id=36818
and the poster uses this to get the password:
set pwrd to do shell script "security 2>&1 >/dev/null find-generic-password -gl " & Qlabel
I know that other options may be used besides the label. This seems to work for me when just using the label:
do shell script “security find-generic-password -wl QLabel”
Are the other things still needed (i.e. 2>&1 >/dev/null). Also, the -w instead of the -g option returns just the password. Was the -w option added to security after the above post?
Thanks,
os 10.8.2