Eventually, our team had to introduce the possibilities of changing the keyboard shortcuts for different applications and adding the custom scripts.
Solution: we developed an own protocol, conducted several procedures, and built API with specific functionality for each OS. Now users are able to combine some actions and perform them again later.
All in all, our customer received a convenient remote control system which runs on Linux, Mac OS, and Windows. The program translates the user's actions and commands, sends them to PC in the form of specific messages (events), and automatically performs.