script python que liga o Bluetooth
import asyncio
from winrt.windows.devices import radios
async def bluetooth_power(turn_on):
all_radios = await radios.Radio.get_radios_async()
for this_radio in all_radios:
if this_radio.kind == radios.RadioKind.BLUETOOTH:
if turn_on:
result = await this_radio.set_state_async(radios.RadioState.ON)
else:
result = await this_radio.set_state_async(radios.RadioState.OFF)
if __name__ == '__main__':
asyncio.run(bluetooth_power(False)) # if u want it On write True instead of False
Shy Sloth