These two Max externals for Windows can simulate keyboard and mouse input. Keystrokes and mousewheel input affect the active window.

Remote controlling (music-) software for me is one key for a smooth workflow. But sometimes important functions of a software cannot be assigned to a controller but to the keyboard or mouse.