Sorry for not getting back sooner. I chose Kevin's version since the if/else gives it a toggle function.
It works a treat!
I use an Infinitton LCD keypad and the image for the key I've set to the assigned shortcut also toggles.
It works a treat!
I use an Infinitton LCD keypad and the image for the key I've set to the assigned shortcut also toggles.