My use case is that I have a keypad that changes ID every time I switch it's port.
I want to be able to check to see that the device is set up correctly on macro start
for example
Code: Select all
lmc_device_set_name('kp', '12AAE65F') --Set Device
if (!lmc_device_exists('kp')) then --Check if it did not work
lmc_print_devices() --so print out our list
lmc.minimizeToTray = false
end