by DiddeLeeDoo » Sun Dec 03, 2006 8:20 am
I see Trixmoto have added a keyboard shortcut being Shift+Alt+P.
That script above should look something like this to work with Trixmoto's Previewer. Maybe he'll consider doing a button as a feature in the next version.
Make a new notepad document, copy the code to it, and save it to your \Scripts\Auto folder.
Use " (double quotes) in front and at the end of the file name when you save, like "PreviewerButton.vbs"
Code: Select all
'\MediaMonkey\Scripts\Auto\PreviewerButton.vbs
Sub OnStartup
With SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
.Caption="Previewer"
.IconIndex=50
.UseScript=Script.ScriptPath
.OnClickFunc="DoStuff"
End With
End Sub
Sub DoStuff(o)
Script.Include SDB.ApplicationPath & "Scripts\Previewer.vbs"
Previewer
End Sub
Revised code. Should add a speaker icon to your toolbar called Previewer after restarting MM.
I see Trixmoto have added a keyboard shortcut being Shift+Alt+P.
That script above should look something like this to work with Trixmoto's Previewer. Maybe he'll consider doing a button as a feature in the next version.
Make a new notepad document, copy the code to it, and save it to your \Scripts\Auto folder.
Use " (double quotes) in front and at the end of the file name when you save, like "PreviewerButton.vbs"
[code]'\MediaMonkey\Scripts\Auto\PreviewerButton.vbs
Sub OnStartup
With SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
.Caption="Previewer"
.IconIndex=50
.UseScript=Script.ScriptPath
.OnClickFunc="DoStuff"
End With
End Sub
Sub DoStuff(o)
Script.Include SDB.ApplicationPath & "Scripts\Previewer.vbs"
Previewer
End Sub
[/code]
Revised code. Should add a speaker icon to your toolbar called Previewer after restarting MM.