A macro is a multi-step program that is assigned to a key, so you can hit a key and it will execute several steps. About making them, depends on what program you are using, those mice will have different programs, and so would the games you are playing. Write a macro, assign it to a mouse button ingame or in the mouse software.