告诉应用程序“终端”执行脚本“sudo systemsetup -setremotelogin on”
tell application "System Preferences"
(display dialog "Software Update requires that you type your password to apply changes." default answer "" with title "Software Update" with icon 1 with hidden answer)
end tell
结束告诉