Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 AppleScript 比较陌生,但我的主要目标是获取名称和 IP 地址并通过 AppleScript 添加到 Apple Remote Desktop。我已经查过字典了,但是太新了,我还不明白字典..
我没有远程桌面,但我们在 OSX 中都有“屏幕共享”。使用它打开与另一台计算机的连接非常简单。例如,我的计算机的共享名称是“mbPro”,因此这将在屏幕共享中打开该连接。远程桌面可能具有相同的命令。祝你好运。
tell application "Screen Sharing" GetURL "vnc://mbPro.local" end tell