2017年10月17日 星期二

connect pppoe by applescript

tell application "System Events"
tell network preferences
connect service "PPPoE"
end tell

end tell

tell application "System Events"
tell network preferences
disconnect service "PPPoE"
end tell
end tell

沒有留言:

張貼留言