scripting:api:text-document:is-job-running

IsJobRunning

Method of ITextDocument

Checks if specific is still running (so its results are not up-to-date)

var pbVal = TextDocument.IsJobRunning(sJobID);
pbVal = TextDocument.IsJobRunning sJobID
VARIANT_BOOL bVal;
HRESULT hr = TextDocument.IsJobRunning(sJobID, &bVal);