EPPC 経由で表示ダイアログをリモート マシンに送信するにはどうすればよいですか? リリース ノートの Scripting Addition Security でこの問題について説明されていると思いますが、まだ解決できていません。リリースノート
試行 1
using terms from application "Finder"
set remoteFinder to application "Finder" of machine "eppc://user:password@host"
tell remoteFinder to display dialog "Hi!" buttons {"A", "B"}
end using terms from
試行 2 アプリケーション「dispD.app」はリモート マシンに保存され、yourMessage パラメータを受け入れる必要があります。
on run {yourMessage}
display dialog yourMessage buttons {"A", "B"}
end run
ローカル コンピューターから次のスクリプトを実行します。
using terms from application "Finder"
set remoteFinder to application "Finder" of machine "eppc://user:password@host"
tell remoteFinder to run script file "path:to:my:dispD.app" with parameters {"Hi!"}
end using terms from