Use the Wiki instructions for
Style 2 VPT.
Macro1 and Macro2 are multi-macro buttons. If more than one macro is assigned to a multi-macro button, each press of the button runs the next macro in the sequence.
Most other buttons can be assigned only a single macro. YOu can use 995 to get a macro which will be run regardless of device mode. 978 will make the macro available in only one device mode.