Using MCScript to Update Your Script Files
284
Management Edition
Program Manager commands
NOTE:
[..] Indicates optional parameters and switches.
Command name
Min #
params
Usage, examples, and comments
PMEXEC
1
PMEXEC
<CMD_STR>
Executes a Program Manager command.
PMCREATEGROUP
1
PMCREATEGROUP
<GROUP_NAME>
[<GROUP_PATH>]
Example:
PMCREATEGROUP !PMGroup!
"!INSTALLDIR!"
PMDELETEGROUP
1
PMDELETEGROUP
<GROUP_NAME>
PMSHOWGROUP
1
PMSHOWGROUP
<GROUP_NAME>
Example:
PMSHOWGROUP !PMGroup!
PMADDITEM
3
PMADDITEM
<COMMAND> <CAPTION>
<WORKDIR> [<ICON_PATH> <ICON_INDEX>]
Adds a Program Manager item to a group.
Example:
PMADDITEM
"!INSTALLDIR!\veinfo95.hlp"
"Virus Encyclopedia"
"!INSTALLDIR!"
PMDELETEITEM
1
PMDELETEITEM
<CAPTION>
Deletes a Program Manager item from a group.
Example:
PMDELETEITEM "Virus
Encyclopedia"
PMREPLACEITEM
1
PMREPLACEITEM
<CAPTION>
Deletes an item, and remembers its place so it
can be replaced by a subsequent call to
PMADDITEM.
PMRELOAD
1
PMRELOAD
<GROUP_NAME>
Reloads a Program Manager group.
PMEXIT
0
Exits program manager.