Just came across this post. I know nothing about scripts, but followed your instructions and couldn't get any result. By "...simply tell Windows Task Manager to run that file at the set time," I assume you mean add path+filename.vbs as a scheduled task? I did that for a few minutes ahead, having changed the one occurrence of "Lunch" to "50s Possibles". MM was loaded, but nothing happened at the scheduled time. Tried using Run, but again nothing.Peke wrote:As one of users asked here is one small script for using with Windows Scheduler.ONE NOTE: I suggest that Mediamonkey is started before executing this script or any of its copies.Code: Select all
'========================================================================== ' ' NAME: Mediamonkey Scheduled Playlist v1.0 ' ' AUTHOR: Peke ' DATE : 16.08.2005 ' ' INSTALL: 1. Read info above line with 'Playlist =' ' 2. Just start Script in Scheduled time and MediaMonkey Will play ' desired playlist. ' ' COMMENT: This is third party Windows Host Script that takes advantage of ' MediaMonkey to play desired Playlist at desired time. ' ' NOTE: Mediamonkey needs to be started before script executes ' '========================================================================== Dim SDB, Songs, playlist 'Create Inits MM Object and Scripting Language Set SDB = CreateObject( "SongsDB.SDBApplication") 'Set MM to Stay Started after Script execution SDB.ShutdownAfterDisconnect = False ' Use this to Change Which playlist you wish to play on script execute? ' Enter name of Mediamonkey playlist you wanna play? Playlist = "Lunch" If SDB.Player.isPlaying or SDB.Player.isPaused then SDB.Player.Stop End If Sdb.player.playlistclear Sdb.player.currentSongIndex = 0 SDB.player.Play sdb.player.playlistaddtracks(SDB.PlaylistByTitle(Playlist).tracks) Sdb.player.currentSongIndex = 0 ' When MediaMonkey is starting playing of desired playlist. ' if you want that MediaMonkey do not start playing automaticaly add "'" in front of next line SDB.player.Play If Sdb.player.currentSongIndex > 0 Then sdb.player.Stop Sdb.player.currentSongIndex = 0 End If
Use it on your own risk free of charge.
Any pointers as to what might be going wrong please?
--
Terry, West Sussex, UK


