Adam Penny wrote:
Actually, I just tried the link I mentioned and it didn't work.
I'm guessing that script uses Internet Connect.app, which was dropped in 10.5.
There's an example of how to do exactly what you want on this page though. http://developer.apple.com/releasenotes/AppleScript/RN-AppleScript/index.html
That'll only work on 10.5 and later. If the OP also needs to support 10.4 or earlier, they'd need to implement both and then check the OS version to decide which one to run.
HTH has -- Control AppleScriptable applications from Python, Ruby and ObjC: http://appscript.sourceforge.net _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]