ISDBScriptControl::Terminate: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
(style)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
===Property description===
===Property description===


Returns <tt>TRUE</tt> 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 <tt>TRUE</tt>, the script should terminate as safe and quickly as possible.


[[Category:Scripting|{{PAGENAME}}]]
[[Category:Scripting|{{PAGENAME}}]]

Latest revision as of 20:27, 20 April 2013

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.