Pm.InfoAction sInfoPath, sInfoName, nAction
|sInfoPath||(String) Path to the INFO item. It is for example "COMM/PmModbusMr_0" for communication.|
|sInfoName||(String) Name of the INFO item, which is the name of the page in the INFO system. It is for example "Monitor" for "COMM/driver" item.|
|nAction||(Long) Action number that has to be carried out over the item. Only the value 0 is reasonable in the meantime.|
by the right mouse button it is possible to open the local menu over some pages in the INFO system window and then to start an action in this menu. There can be even more actions in the menu. If we index the actions from 0, then a number can be assigned to each action. The InfoAction method enables to start the action (by setting its number) from the script.
The method has the practical exercise so far only for the items that enable cleanup (erasing the content). These actions are in the INFO items as for example Debug_info, "COMM/driver" - "Monitor" page, etc. These actions are always in the first place of the menu and hence they have the number 0.
Pm.InfoAction "Debug_info", "Debug1", 0