A device and method for programming an implantable pulse generator. In one embodiment, commands are entered designating implantable pulse generator programming variables into programmer memory. At least some of the commands are transformed into an executable macro. The macro is stored in the programmer memory. The macro is executed to transmit the programming variables to the implantable pulse generator.