Difference between revisions of "SDBApplication"

From MediaMonkey Wiki
Jump to: navigation, search
m (ISDBApplicationEvents members: added version information)
m (added note about Scripts object and ActiveX name)
Line 2: Line 2:
 
== CoClass SDBApplication ==
 
== CoClass SDBApplication ==
  
This is the main MediaMonkey scripting object that you initially have accessible as 'SDB' variable in your scripts. All your communication with MediaMonkey should start here, you can get references to other objects from properties of this object.
+
This is the main MediaMonkey scripting object that you initially have accessible as global <tt>SDB</tt> variable in your scripts launched from MediaMonkey. All your communication with MediaMonkey should start here, you can get references to other objects from properties of this object.
 +
 
 +
Object is exposed to ActiveX under name <tt>SongsDB.SDBApplication</tt>.
 +
 
 +
Another global variable also accessibl in scripts is <tt>Script</tt>, pointing to [[SDBScriptControl]] object.
  
 
=== ISDBApplication members ===
 
=== ISDBApplication members ===

Revision as of 22:37, 20 April 2013

CoClass SDBApplication

This is the main MediaMonkey scripting object that you initially have accessible as global SDB variable in your scripts launched from MediaMonkey. All your communication with MediaMonkey should start here, you can get references to other objects from properties of this object.

Object is exposed to ActiveX under name SongsDB.SDBApplication.

Another global variable also accessibl in scripts is Script, pointing to SDBScriptControl object.

ISDBApplication members

Name Type Description
AllVisibleSongList Property Get
ApplicationPath Property Get
EqualizerPath Property Get From 3.1 beta 1
IconsPath Property Get From 3.1 beta 1
PluginsPath Property Get From 3.1 beta 1
CurrentAddonInstallRoot Property Get From 4.0
ScriptsPath Property Get From 3.1 beta 1
SkinsPath Property Get From 3.1 beta 1
CommonDialog Property Get
CreateTimer Method
CurrentSongList Property Get
CursorType Property Get/Let
Database Property Get
Device Property Get
Format Method
IniFile Property Get
IsKnownFiletype Method From 3.0
IsRunning Property Get
InPartyMode Property Get From 4.1
Localize Method
LocalizedFormat Method
LocalizeGen Method
MainTracksWindow Property Get
MainTree Property Get
MessageBox Method
MyMusicPath Property Get
NewSongData Property Get
NewSongList Property Get
NewStringList Property Get From 3.0
Objects Property Get/Let
Player Property Get
PlaylistByTitle Property Get
PlaylistByID Property Get From 4.0
ProcessMessages Method
Progress Property Get
RefreshScriptItems Method From 3.0
RegisterIcon Method
RegisterIconHandle Method
Registry Property Get
SelectedSongList Property Get
SelectFolder Method
ShutdownAfterDisconnect Property Get/Let
TemporaryFolder Property Get
toASCII Method
Tools Property Get
UI Property Get
VersionBuild Property Get
VersionHi Property Get
VersionLo Property Get
VersionRelease Property Get
VersionString Property Get
ComServerUIActive Property Get/Let
WebControl Property Get
Downloader Property Get From 4.0
Collections Property Get From 4.0
VisibleCollectionsCount Property Get From 4.0
VisibleCollectionID Property Get From 4.0


ISDBApplicationEvents members

Name Type Description
OnBeforeTracksMove Event
OnChangedSelection Event
OnCompletePlaybackEnd Event From 4.0
OnDownloadFinished Event From 4.0
OnFilterChange Event From 3.1
OnIdle Event From 3.1
OnNowPlayingModified Event From 3.1
OnNowPlayingSelectionChanged Event From 3.1
OnOptionsChange Event From 3.1
OnPause Event
OnPlay Event
OnPlaybackEnd Event From 3.1
OnRepeatClicked Event From 3.1
OnSeek Event
OnShuffleClicked Event From 3.1
OnShutdown Event
OnStop Event
OnTrackAdded Event
OnTrackConverted Event
OnTrackDeleting Event From 3.1
OnTrackDoubleClick Event
OnTrackEnd Event From 3.1
OnTrackListFilled Event From 3.1
OnTrackListFilling Event From 3.1
OnTrackListModified Event From 4.0
OnTrackListSelectionChanged Event From 3.1
OnTrackProperties Event
OnTrackSkipped Event From 4.0
OnPartyModeEnabled Event From 4.1
OnDeviceSyncStarted Event From 4.1
OnDeviceSyncCompleted Event From 4.1