Options
Possible options that can be used in the plugin measure
Role
The Role of operations the plugin will perform when its measure is updated.
Description: Get/Update the Bluetooth status and Bluetooth devices
Plugin Measure: Returns 0
Available Bangs:
[BluetoothMeasure]
Measure=Plugin
Plugin=Bluetooth
Role=[0/1/2]
UpdateAction
The list of bangs that needs to be executed when the measure is updated.
[BluetoothMeasure]
Measure=Plugin
Plugin=Bluetooth
UpdateAction=[!Log "Bang1" Debug][!Log "Bang2" Debug]
UpdateDivider=30
OutputFile
The path of an output file you want to save the devices list to.
The file will have this structure:
device_name|device_address|device_id|connected[0,1]|paired[0,1]|can_pair[0,1]major_category|minor_category|has_battery_level[0,1]|battery|is_ble[0,1];
device_name|device_address|device_id|connected[0,1]|paired[0,1]|can_pair[0,1]major_category|minor_category|has_battery_level[0,1]|battery|is_ble[0,1];
...
[BluetoothMeasure]
Measure=Plugin
Plugin=Bluetooth
OutputFile=#CURRENTPATH#\Devices.txt
UpdateDivider=30
This example saves the list of devices in a file in #CURRENTPATH#\Devices.txt
.
ThumbnailsFolder
The path of the folder you want to save devices thumbnails to.
The thumbnails are managed by Windows, and are a visual representation of the Major Category or of the Minor Category of the device if present.
[BluetoothDevicesMeasure]
Measure=Plugin
Plugin=Bluetooth
ThumbnailsFolder=#CURRENTPATH#\img
UpdateDivider=30
This example saves the images in the folder #CURRENTPATH#\img
.
These are a couple of examples of thumbnails:
mouse:
phone:
speaker:
Last updated
Was this helpful?