AppleScript, Panther, and Internet Connect
AppleScript, Panther, and Internet Connect
- Subject: AppleScript, Panther, and Internet Connect
- From: Ronald Gold <email@hidden>
- Date: Fri, 12 Dec 2003 11:21:50 -0500
Under OS 8.6 and OS X 10.2.8, the following script worked to connect
me to my DSL ISP with Built-In Ethernet selected as my active
Internet connect configuration:
tell application "Internet Connect"
Connect
Quit
end tell
Under OS X 10.3.1, the same script opens Internet Connect, does not
connect to Internet, and quits.
If I switch to dial up modem configuration manually, the above script
works fine. It just fails with the Built-In Ethernet connection.
After looking at the Internet Connect dictionary, I elaborated the
script to the following:
tell application "Internet Connect"
connect PPPoE configuration "Built-in Ethernet"
end tell
Again, no connection.
If I substitute "PPP configuration "Internal Modem" in the above
script, then it connects
System Profiler gives "Built-In Ethernet" as the configuration name
for Ethernet connect, yet the script doesn't work.
Conversely, the script
Tell application "Internet Connect"
Disconnect
end Tell
works fine in 10.3.1, just as it did under 8.6 and 10.2.8.
Any suggestions would be gratefully received.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.