解决macos在睡眠后蓝牙鼠标断开无法连接的问题

使用MBP遇到了MACOS睡眠一段时间后会有蓝牙键鼠断开连接的问题,重启才能解决。目前最新的版本10.12.3还没有修复这个问题,因此需要用脚本方式开关蓝牙键鼠服务从而达到重启服务的目的,从而能重连蓝牙键鼠。



1.control+空格打开Spotlight,输入automator,打开




2.点击新建应用程序



3.在搜索栏输入 AppleScript,双击新建



4.将内容替换为以下内容

 
on run {input, parameters}
	
	do shell script "kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport;
	kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport" with administrator privileges
	return input
end run


解决macos在睡眠后蓝牙鼠标断开无法连接的问题_第1张图片



5.文件-》保存,放在桌面上或者放在iCloud


解决macos在睡眠后蓝牙鼠标断开无法连接的问题_第2张图片

你可能感兴趣的:(日常问题)