Re: Keychain Scripting (Was Re: Keeping a volume Mounted)
Re: Keychain Scripting (Was Re: Keeping a volume Mounted)
- Subject: Re: Keychain Scripting (Was Re: Keeping a volume Mounted)
- From: Rob Jorgensen <email@hidden>
- Date: Sat, 10 Feb 2001 12:37:55 -0500
On 2/10/01, Michelle Steiner commented on "Re: Keychain Scripting
(Was Re: Keeping a volume Mounte":
On 2/10/01 6:41 AM, Rob Jorgensen <email@hidden> wrote:
Could not run the script "Unlock KC" because the script is not
editable (it was saved as run-only.). -1756
The other result of running the run-only version is that the Keychain
Scripting app launches but is left running when the script fails.
When running the script under all of the other conditions, Keychain
Scripting does its deed and quits (the desired and anticipated
behavior).
Did you save it as a compiled script or as an applet? It sounds to me
like you saved it as a script.
I've saved it in every format available. If it is saved as run-only,
it doesn't work. All other formats perform as expected. Apparently,
and even transparently, somewhere along the way, it appears that
something is editing/attempting to edit/write back to the script. I
thought maybe I could catch whatever this might be by logging the
Apple events in Script Debugger, but nothing was revealed. <shrug>
Later,
Rob Jorgensen
Ohio, USA