Is there any way to use osascript to run AppleScripts from an ssh session using a MacPorts installation of OpenSSH?
0
votes
0
answers
69
views
I'm running macOS 13.6.5, and have installed OpenSSH via MacPorts since I want to be running the latest version of OpenSSH. However, one downside to using a MacPorts installation of OpenSSH is that each ssh session is apparently not running in the right context to be able to interact with the window server, and therefore trying to use
osascript
to run AppleScripts that interact with running applications will all fail with an error Application isn’t running. (-600)
.
Is there any way to be able to use MacPorts OpenSSH and still use osascript
to run AppleScripts that interact with running applications?
Asked by Bri Bri
(2930 rep)
Mar 14, 2024, 05:06 PM
Last activity: Mar 14, 2024, 05:15 PM
Last activity: Mar 14, 2024, 05:15 PM