Re: About keychain scripting
Re: About keychain scripting
- Subject: Re: About keychain scripting
- From: "francois.houle" <email@hidden>
- Date: Fri, 11 Mar 2005 15:43:06 -0500
Now getting a strange one with this script
It actually states "Can't make a key" as the script error when trying to run
it... However it does create the key...
If I Run it in Script Debugger, it states the following:
Message: Keychain Scripting got an error: Can't make a Internet key.
Partial: {}
Offending: Internet key
Application: application "Keychain Scripting"
Expect: class
If I change it to key, generic key it states the same issue... Anyone have
an idea ???
Also want to know how to add to the Access Control tab... Which is populated
automatically by Keychain Scripting but I would like to add another
element...
On 3/10/05 4:59 PM, "Michelle Steiner" <email@hidden> wrote:
> On Thu, March 10, 2005 8:01 pm, Francois Houle said:
>> Another question that in a way foolows the last one... If I want to set it
>> so that it chekcs to see if the key exists first and if it does skip the
>> key creation... how woudl I do it ? I can get as far as this: but am
>> missing the "skip key creating part if key exists"
>>
>> tell application "Keychain Scripting"
>> if key {name:"keyname"} exists then "skip key creating part"
>> else
>> make new internet key with properties {account:"account", name:"name",
>> password:"password"}
>> end tell
>
> tell application "Keychain Scripting"
> if not (key "keyname" exists) then
> make new Internet key with properties {account:"account", name:"name",
> password:"password"}
> end if
> end tell
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> ll.ca
>
> This email sent to email@hidden
_______________________________________________
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