scripting:api:shell:send-message

SendMessage

Method of IShell

Sends Window Message

var pnResult = Shell.SendMessage(hWnd, nCommand, wParam, lParam);
pnResult = Shell.SendMessage hWnd, nCommand, wParam, lParam
long nResult;
HRESULT hr = Shell.SendMessage(hWnd, nCommand, wParam, lParam, &nResult);