About keychain scripting
About keychain scripting
- Subject: About keychain scripting
- From: "Francois Houle" <email@hidden>
- Date: Wed, 9 Mar 2005 15:03:41 -0500
- Thread-topic: About keychain scripting
Hi,
I'm just wondering
something... When creating a new key in AS for Keychain it should
go\
tell application
"Keychain Access"
make new key with
name "my key name"
end
tell
What I want to know
is how I'm supposed to format the name that I type in... It states in the
Keychain scripting dictionnary that I have to put in things in this
format:
name string ...
How should I put in the string ? If I try siomply putting it in
quotes it won't accept it It simply states when I try to compile that it expects
another parameter but found " If I don't put quotes in, then it states that it
found an identifier...
If I set "mykeyname"
as string, and put in the string name this way:
set my_data to "my keyname" as string
and then use
my_data:
tell application
"Keychain Access"
make new key with
name " & my_data & "
end
tell
It doesn't work either... Any idea what I'm
doing wrong ?
Also would like to know what would be the
best way to write the script to put in all they key properties... What would I
need to put in to put them all after "make new key" ???
Thanks
Frank
_______________________________________________
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