ISDBApplicationEvents::OnDownloadFinished: Difference between revisions

From MediaMonkey Wiki
Jump to navigation Jump to search
No edit summary
 
Line 9: Line 9:


Is called whenever a file download finishes.
Is called whenever a file download finishes.
Note: This event takes effect from MediaMonkey 4.0 and higher!


===Example code===                     
===Example code===                     

Revision as of 08:23, 8 June 2010

CoClass SDBApplication, Interface ISDBApplicationEvents

Sub OnDownloadFinished(URL As String)


Parameters

Name Type Description
URL String URL of file that has been just downloaded


Event description

Is called whenever a file download finishes.

Note: This event takes effect from MediaMonkey 4.0 and higher!

Example code

Sub OnStartUp()    
    Script.RegisterEvent SDB, "OnDownloadFinished", "SDBDownloadFinished"
End Sub

Sub SDBDownloadFinished( URL)
    MsgBox("Download has finished for the URL:"&URL)
End Sub