Re: Scripting Internet Connection
Re: Scripting Internet Connection
- Subject: Re: Scripting Internet Connection
- From: Luther Fuller <email@hidden>
- Date: Wed, 18 Jan 2006 07:17:12 -0600
David C Andrews asked ...
Is there any way to script the Internet Connection (PPPoE in the Menu
Bar that shows as <ïïï>)? UlElementInspector show the menu name as ""
so there appears that there is no way to "Connect" or "Disconnect"
using script on the Menu Bar. Any help would be appreciated. (I do not
want to have to open a control panel to do this, unless it can be
hidden -- not come up even briefly.)
The most I ever did with Internet Connect was this ...
tell application "Internet Connect"
activate
set current configuration to PPP configuration "Internal Modem"
connect PPP configuration "Internal Modem"
set rect to bounds of (item 1 of windows)
--
set width to (item 3 of rect) - (item 1 of rect)
set height to (item 4 of rect) - (item 2 of rect)
set item 1 of rect to hOff
set item 3 of rect to hOff + width
set item 2 of rect to vOff
set item 4 of rect to vOff + height
--
set bounds of (item 1 of windows) to rect
end tell
... then I got DSL.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden