Edit

SetProgressMessage (message)

Sets a progress message that will show in the indeterminate progress dialog if it happens to show while executing the handler that the function is called from (including in any handlers/functions that that handler calls). Otherwise the message is the default "A script is running...".

When the handler exits, the default progress message is restored.

If the progress window is already visible when this function is called, the progress message is changed to the new message.

Use to indicate to the user what is happening during a time-consuming script process.

Availability:  within an MWScript handler in v9 and later