–指定アドレスのBluetooth Deviceを接続するonconnectBluetoothDeviceByAddress(addressStrasstring)ifgetBluetoothPowerState() = falsethenerror“Bluetooth Power is not active with your Mac”setaBTListtoIOBluetoothDevice’spairedDevices() aslist

–指定アドレスのBluetooth Deviceの接続を切るondisconnectBluetoothDeviceByAddress(addressStrasstring)ifgetBluetoothPowerState() = falsethenerror“Bluetooth Power is not active with your Mac”setaBTListtoIOBluetoothDevice’spairedDevices() aslist