Apple Script to launch app on remote mac

I am trying to launch an application on a remote mac using the apple script below. But it seems it will only work with signed applications. Is there anyway to get this to work with unsigned applications, in particular Apple Scripts saved as apps?


set remoteMachine to "eppc://user:password@computer"

tell application "Finder" of machine remoteMachine

open ("/Applications/textedit.app" as POSIX file as alias)

end tell

end tell

Thanks.

Wiz

Posted on May 17, 2018 9:03 PM

Reply
3 replies

May 17, 2018 10:22 PM in response to Wizard of Oz

I don't know, specifically, but this is almost certainly implemented as a security measure to ensure that only known, developer-signed apps can be launched like this. The possibility for abuse to arbitrarily launch any process is just too great.


If the target app is your own, then you can probably sign it and publish it as a regular application, which may overcome the problem.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Apple Script to launch app on remote mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.