Can I use an AppleScript on one computer to trigger one on another?

Can I use an AppleScript on one computer to trigger an AppleScript on another computer within the same LAN…or even over a WAN?

It may be possible, if the script is in a shared folder on the ‘client’ mounted on the originating computer (not sure and can’t test), but it’s not generally possible because it’s a security risk. I could attach a script to an email to you and run it to do nasty things from afar.

you will be able to do it but you will have to set up ssh rsa/dsa keys using ssh-keygen

then you can on you system do something like

do shell script "ssh user@mac.local osascript \"tell application \\"Finder\\" to activate \" "

Thanks for your reply. I will have to read up on SSH keygen.