Depends on the program

A lot of micrsoft programs have the ability to use macro's.
Not all programs use the same commands