Re: Scripting Programs Linking - CRITICAL!!!
Re: Scripting Programs Linking - CRITICAL!!!
- Subject: Re: Scripting Programs Linking - CRITICAL!!!
- From: Clark <email@hidden>
- Date: Sun, 22 Apr 2001 11:37:58 -0500
- Organization: R.R. Donnelley & Sons
Instead of using Keychain access try using Akua sweets OSAX,
**untested**
<begin script>
talk as user "User Name" with password "password" on server "path to remote
mac"
tell application "foo" of machine "path to remote mac"
do your stuff
end tell
<end script>
this will bypass the login dialogs.
Clark
Steve Kump wrote:
>
Hi There,
>
>
I am using a few scripts across the network to perform some opening of files
>
and printing. Everything works well - except - if the machine crashes and is
>
restarted with Kick-Off, the next time the script runs to call the network
>
script, I first unlock the Keychain which gives access to the remote
>
application, but then a dialog pops up asking to give Finder unrestricted
>
access to the KeyChain.
>
>
The concern is not giving Finder the access but rather that this dialog pops
>
up and halts the execution of the script until someone noticed that nothing
>
is working and walks over to click the check box and hit OK.
>
>
Is there a way to prevent this dialog from and simply give the apps the
>
necessary privileges so that I can run this operation unattended even after
>
business hours? Certainly there is just something I am over looking. Perhaps
>
I shouldn't be using the KeyChain Scripting, although I don't know how else
>
I can allow the script to connect to the app through Program Linking.
>
>
I would appreciate any help I can get on this, please!
>
>
Thanks!
>
Steve Kump
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users