Pro Tools Recording light

Hello bedilaci and everybody,
How is your project working? I'm very interested in making a tally light for the record status of my protools. Does it work wlell? Can you shqre the code?
Best rgeards