There is an interesting Microsoft tool that permits, on Windows 10, having Macros applied to O.S. Windows 10 ("Robotic process automation" (RPA) )
https://flow.microsoft.com/en-us/desktop/?cdn=disable
Introduction Microsoft article:
https://www.microsoft.com/en-us/videoplayer/embed/RE4I00v?masklevel=0
[Original Article]