|Before you begin, make sure that the option "Create and edit macros" is active.|
Macro code can be written in standard Notepad, Notepad ++, or in any other editor. To write code, use the functions that interact with PUMOTIX. The list of functions and their description is presented in the block of articles “Description of the functions of the macro language” and, for convenience, is divided into sections.
The finished code is saved in *.pm format and transferred to the %UserProfile%\Local Settings\Application Data\Purelogic\PUMOTIX\Server\Macros folder.
|Copies of macros are located at %ProgramFiles%\PUMOTIX\DefaultMacros! If you save modified or new macros there, the program will not see them!|
You can find the necessary directory yourself in two ways.
To find the necessary directory, copy the address: %UserProfile%\Local Settings\Application Data\Purelogic\PUMOTIX\Server\Macros to "Explorer" or any other file manager. Then follow these steps:
Recall that the names of user macros must be in the range M120 - M199, since the range M0 - M99, as well as M100 - M119, is allocated for standard macros used in PUMOTIX, and with the possibility of editing by the user.
To create custom macros, take a look at the proposed articles on the Lua language: