From: i.script@... Date: 2005-11-29T19:32:29+09:00 Subject: Re: Bluetooth on OSX A simple way to do it is using RubyCocoa. RubyCocoa offers two solutions. Either through the usage of its AppleScript bridge. With embedded AppleScript it becomes possible to control the application "Bluetooth File Exchanger" inside the "Utilities" folder. ..or you use native cocoa classes inside your Ruby code. This approach requires some knowledge about OBEX. Have a look into the application OBEXSample inside /Developer/Examples/Bluetooth ! Finally it will look similar to this ----------------------------------------------------- require 'osx/cocoa' OSX::NSBundle.bundleWithPath("/System/Library/Frameworks/IOBluetoothUI.framework").load OSX.ns_import :IOBluetoothDeviceSelectorController bluedevices = OSX::IOBluetoothDeviceSelectorController.deviceSelector bluedevices.runModal blue_data = bluedevices.getResults puts blue_data ----------------------------------------------------- - Tom