opensubscriber
   Find in this group all groups
 
Unknown more information…

a : applescript-users@lists.apple.com 18 January 2006 • 9:17PM -0500

Re: Scripting Internet Connection
by Luther Fuller

REPLY TO AUTHOR
 
REPLY TO GROUP




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      (Applescript-users@list...)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/subscriber%40opensubscriber.com

This email sent to subscriber@open...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.