I found this Bluetooth command line utility that lists paired and connected devices.
But I want to treat the output to only show the name of the connected device using RegExpSubstitute.
In this case it should be 'OnePlus Bullets Wireless Z'. This is where I need help...
I downloaded the app and tried it.
Windows cannot allow you to execute your application because there is no permission.
You need to allow the app on Windows.
Microsoft Windows [Version 10.0.19044.2006]
(c) Microsoft Corporation. Tm haklar sakldr.
C:\Users\----------\Documents\Rainmeter\Skins\005>More? 'c' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\---------\Documents\Rainmeter\Skins\005>More?
I don't know where i going from here, but i promise it won't be boring...
tass_co wrote: ↑September 25th, 2022, 3:50 pm
I downloaded the app and tried it.
Windows cannot allow you to execute your application because there is no permission.
You need to allow the app on Windows.
Microsoft Windows [Version 10.0.19044.2006]
(c) Microsoft Corporation. Tm haklar sakldr.
C:\Users\----------\Documents\Rainmeter\Skins\005>More? 'c' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\---------\Documents\Rainmeter\Skins\005>More?
Not exactly sure why you where not able to use it on your system without "allowing" it. maybe you are not admin?
Anyways, I made a example skin for you to try out.
BtDiscovery_1.rmskin
Should look like this:
output.png
The program works fine on my machine with no issues.
Although it takes about 10 seconds for the measure to return the list. (can live with that)
Ultimately I just need help with the syntax in the RegExpSubstitute,
so I just end up with whatever name is next to the connected status in the result.
You do not have the required permissions to view the files attached to this post.
StArL0rd84 wrote: ↑September 25th, 2022, 12:10 pm
I found this Bluetooth command line utility that lists paired and connected devices.
But I want to treat the output to only show the name of the connected device using RegExpSubstitute.
In this case it should be 'OnePlus Bullets Wireless Z'. This is where I need help...
Didn't try your program, but this may get you what you want.
It looks like you may need an additional substitution to handle eliminating devices that are 'Paired' but not 'Connected'.
I'm about at the limit of my knowledge on RegExp
Hopefully someone else may jump in with help,
or our 'Trial'n Error' method will eventually produce the desired result
eclectic-tech wrote: ↑September 25th, 2022, 6:51 pm
It looks like you may need an additional substitution to handle eliminating devices that are 'Paired' but not 'Connected'.
I'm about at the limit of my knowledge on RegExp
Hopefully someone else may jump in with help,
or our 'Trial'n Error' method will eventually produce the desired result
Thank you for the assistance.
I'm sure we made some headway.