OK, after some further research, I found a working command:
control printers
It opens the Devices and Printers window, containing not only Bluetooth devices, but also all known devices. Thus, the contents of the window are a superset of the content requested in the question, but the only difference is that Bluetooth device filtering is not applied this time. Entering the name of the device moves the focus of the selection to its element, and nothing prevents the launch of a command from the context menu of the device. Thus, the full script for the MyPhone1 model device:
Run, control printers WinWaitActive, Devices and Printers Sleep, 500 Send MyPhone1{AppsKey}ca
And AutoHotKey is activated again. :)
Edit: According to MCL's comment, the ugly wait loop has been replaced with a sleek WinWaitActive . Thanks!
EDIT:
from the command line:
devices and printers:
explorer shell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}
Bluetooth devices:
explorer shell:::{28803F59-3A75-4058-995F-4EE5503B023C}
other locations:
โถ list on eightforums.com
source share