ISDBScriptControl::Terminate

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBScriptControl, Interface ISDBScriptControl

Property Get Terminate As Boolean


Property description

Returns TRUE if MediaMonkey wants to terminate the script, e.g. because the user commanded so.

A script should regularly check this property if it's doing long-running work, e.g. in each iteration of long loop. If the Terminate property returns TRUE, the script should terminate as safe and quickly as possible.