Difference between revisions of "ISDBApplicationEvents::OnPartyModeEnabled"

From MediaMonkey Wiki
Jump to: navigation, search
(Created page with "===Parameters=== {{MethodParameters |Enabled |Boolean | Enabled is True when Party mode has entered and False when Party mode has exited ===Event description=== Is called w...")
 
(Parameters)
Line 3: Line 3:
 
{{MethodParameters  
 
{{MethodParameters  
 
  |Enabled |Boolean | Enabled is True when Party mode has entered and False when Party mode has exited
 
  |Enabled |Boolean | Enabled is True when Party mode has entered and False when Party mode has exited
 
+
}}
  
 
===Event description===
 
===Event description===

Revision as of 16:18, 11 October 2012

Parameters

Name Type Description
Enabled Boolean Enabled is True when Party mode has entered and False when Party mode has exited


Event description

Is called whenever a file download finishes.

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

Example code

Sub OnStartUp()    
    Script.RegisterEvent SDB, "OnPartyModeEnabled", "SDBPartyModeEnabled"
End Sub

Sub SDBPartyModeEnabled( Enabled)
    if Enabled then
      MsgBox("Party mode entered")
    else
      MsgBox("Party mode exited")
    end if  
End Sub