xnetwork

How to make a simple script that uses XNetwork to disable AirPort card on the mac?

There's an library called XNetwork. I downloaded the package, and there is an XNetwork.osax file inside. When I open that file, I see an "AppleScript-Editor" window. What would be the next steps to get an simple and fast launchable script which deactivates AirPort card (callinc the command stop airport)? And where must I put that XNetw...