• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: About keychain scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >RE: About keychain scripting (From: "Michelle Steiner" <email@hidden>)

  • Prev by Date: Re: Folder Action to create Archive
  • Next by Date: Re: Illustrator Scripting
  • Previous by thread: RE: About keychain scripting
  • Next by thread: save story in Quark6 seems flaky
  • Index(es):
    • Date
    • Thread