chris2k Posted February 11, 2008 Share Posted February 11, 2008 I was searching for a solution to get an automated pppoe reconnect script, but only found one for Tiger. Since "Internet Connect.app" isn't in Leopard anymore, I wrote this. Maybe someone of you needs this thing, so I am posting it. tell application "System Events" tell network preferences disconnect service "profile-name" delay 5 connect service "profile-name" end tell end tell Set "profile-name" to your assigned name that you added in the network preferences. You may edit "delay 5" too. Note: This is my first applescript and I got no skills with it at all. If you can enhance it, then post a better version. Link to comment Share on other sites More sharing options...
DOCa Cola Posted November 2, 2008 Share Posted November 2, 2008 thanks a lot for your script! Link to comment Share on other sites More sharing options...
Recommended Posts