To assign macros to a button:
1. Click the Advance Options on the top-right corner of the button or right click on the button.
2. Select Assign an Existing Macro.
3. In the macro list that appears, choose the desired macro and click "Assign".
4. To create a new macro select Assign New Macro. You can write or record the macro.