SDBApplication: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
Another global variable also accessibl in scripts is <tt>Script</tt>, pointing to [[SDBScriptControl]] object. | Another global variable also accessibl in scripts is <tt>Script</tt>, pointing to [[SDBScriptControl]] object. | ||
See also [[MediaMonkey_Automation_Categorized|this page]] which presents the below information organized in a more functional way. | |||
=== ISDBApplication members === | === ISDBApplication members === |
Revision as of 21:25, 7 September 2014
- SDBAlbum
- SDBAlbumArtItem
- SDBAlbumArtList
- SDBAlbums
- SDBApplication
- SDBArtist
- SDBArtists
- SDBCommonDialog
- SDBDatabase
- SDBDBIterator
- SDBDevice
- SDBDeviceList
- SDBDropTarget
- SDBDropTargetLast
- SDBDropTargetNext
- SDBDropTargetRip
- SDBFileSystem
- SDBHWEvents
- SDBImage
- SDBIniFile
- SDBMedia
- SDBMenuItem
- SDBPlayer
- SDBPlaylist
- SDBPlaylists
- SDBProgress
- SDBRegistry
- SDBScriptControl
- SDBSongData
- SDBSongIterator
- SDBSongList
- SDBStringList
- SDBTextFile
- SDBTimer
- SDBTools
- SDBTrackSynchStatus
- SDBTracksWindow
- SDBTree
- SDBTreeNode
- SDBUI
- SDBUIActiveX
- SDBUIButton
- SDBUICheckBox
- SDBUICommon
- SDBUIDockablePanel
- SDBUIDropDown
- SDBUIEdit
- SDBUIForm
- SDBUIGroupBox
- SDBUILabel
- SDBUIListBox
- SDBUIMaskEdit
- SDBUIMultiLineEdit
- SDBUIPanel
- SDBUIRadioButton
- SDBUISpinEdit
- SDBUITrackBar
- SDBUITranspPanel
- SDBUITreeList
- SDBUITreeListItem
- SDBWebSearch
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.
Plugins can get to object using exported DLL Procedure:
C++: extern "C" __declspec(dllexport) void MMSetInterfaceCookie(DWORD cookie)
Delphi: procedure MMSetInterfaceCookie( MMInterfCookie : cardinal); cdecl;
Another global variable also accessibl in scripts is Script, pointing to SDBScriptControl object.
See also this page which presents the below information organized in a more functional way.
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 |
RunningAsService | 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 |