Hello all, I’m currently playing around with some remote apple events but I keep on getting this error: “Finder got an error: Unable to authenticate user.” number -927. Here is my script:
set remoteMachine to "eppc://192.168.86.218"
tell application "Finder" of machine remoteMachine
say "Hello"
end tell
tell application "Finder" of machine (get "eppc://192.168.2.7")
using terms from application "Finder"
say "Hello"
end using terms from
end tell
This form allows the script to compile even if the remote machine isn’t available on the network for some reason. Using the code (get “eppc://…”) prevents AppleScript from identifying the machine during compilation. The script will compile using the terms taken from the application identified by the using terms from block, and the real machine will be evaluated and found only when the script runs.
Of course you should add to keychain password and username for remote machine early. Embedding password and username in the code is unsecure. Have password and username to remote machine?
If you have it, do not show it to us. And if not, then it’s time to visit and add yourself to the users of the remote computer. Or ask a friend to add you in an urgent telegram.