Problems with Internet-Connect-Scripting

hey guys.

do you have an idea for an apple-script which asks Internet-Connect if there is an active internet-connection and opens the information-window in the tool bar (like “Ethernet”) where I can get more details?

thank you
greets nicki