SendCommandMessageToUser

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > Messages >

SendCommandMessageToUser

Description

Send a command to the execution queue of the specified user.

Syntax

call DBWShell("SendCommandMessageToUser MsgPathName UserName")

Parameters

MsgPathName

It's the complete path of the message file

UserName

it is the name of the user

Remarks

This command write a special file named !COMMAND.!!! in the DBWorks\Users folder of the remote machine.

DBWorks checks for this file presence and -if affermative- will automatically execute it.

Example

see the plot list example.