Setup network use PPPOE
Setup network use PPPOE
- Subject: Setup network use PPPOE
- From: Xianyu_Ge <email@hidden>
- Date: Tue, 11 Nov 2008 09:50:04 +0800
Hi, everyone, I am new to applescript, I want to use applescript in my app, In application, I have to use user name and current time to calculate real user name, use this name according to pppoe to connect network. I have find some codes: tell application "System Events" | tell network preferences | tell current location | set aPPPoEService to a reference to (first service whose kind is 10) | if exists aPPPoEService then | connect aPPPoEService | end if | end tell | end tell | end tell |
but this just support 10.5 or later, and I don't know how to set the real user name. I find system events in dictionary, if I should set the "account name" to the real name, or others, please help me, or give me some sample, I am grateful that, thanks.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden