by nolabar » Sun Aug 23, 2009 4:01 am
Peke wrote:One of benefits of MediaMonkey you can easily add new feature if you want

Save this Code to
Scripts\Auto under name
fwdrewbuttons.vbs and restart MM you will get two buttons that will fwd rew on entered number seconds (10 By default)
Code: Select all
Dim pltime
'time in seconds
pltime = 10
Sub OnStartup
Dim rew10
Set rew10 = SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
SDB.Objects("rew10") = rew10
rew10.Caption = "Rewind "&pltime&" seconds"
rew10.OnClickFunc = "Rewind"
rew10.UseScript = Script.ScriptPath
rew10.IconIndex = 0
rew10.Hint = "Clicking on this will rewind playing track "&pltime&" seconds"
Dim fwd10
Set fwd10 = SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
SDB.Objects("fwd10") = fwd10
fwd10.Caption = "Forward "&pltime&" seconds"
fwd10.OnClickFunc = "Forward"
fwd10.UseScript = Script.ScriptPath
fwd10.IconIndex = 4
fwd10.Hint = "Clicking on this will forward playing track "&pltime&" seconds"
End Sub
Sub Forward(arg)
Script.Reload(Script.ScriptPath)
if (SDB.Player.isPlaying) And (Not SDB.Player.isStartingPlayback) Then
If Not (SDB.Player.PlaybackTime+(pltime*1000) > SDB.Player.CurrentSongLength) Then
SDB.Player.PlaybackTime = SDB.Player.PlaybackTime+(pltime*1000)
end If
End If
End Sub
Sub Rewind(arg)
Script.Reload(Script.ScriptPath)
If (SDB.Player.isPlaying) And (Not SDB.Player.isStartingPlayback) Then
If Not (SDB.Player.PlaybackTime-(pltime*1000) < 0) Then
SDB.Player.PlaybackTime = SDB.Player.PlaybackTime-(pltime*1000)
end if
End if
End sub
Thanks for your reply! I'm down with a lot of scripts, and I appreciate you suggesting that one. What I was referring to is a
slightly taller progress bar, and not the whole playback area. Not longer even drastically taller, at that. In other skins I just hit a spot that I want and it's there but your bar is so thin that I always miss, lol. But you know what? Your skin is so badass that I use it, anyway. The only I've liked anywhere near yours is the "MMultimate." I used that for what seems like ever, but the I like how elegant/minimal this one is. I have my MM set up with a minimal of icons and clutter, and the skin really accentuates the clean look. Thanks again!
[quote="Peke"]One of benefits of MediaMonkey you can easily add new feature if you want ;)
Save this Code to [b]Scripts\Auto[/b] under name [b]fwdrewbuttons.vbs[/b] and restart MM you will get two buttons that will fwd rew on entered number seconds (10 By default)
[code]Dim pltime
'time in seconds
pltime = 10
Sub OnStartup
Dim rew10
Set rew10 = SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
SDB.Objects("rew10") = rew10
rew10.Caption = "Rewind "&pltime&" seconds"
rew10.OnClickFunc = "Rewind"
rew10.UseScript = Script.ScriptPath
rew10.IconIndex = 0
rew10.Hint = "Clicking on this will rewind playing track "&pltime&" seconds"
Dim fwd10
Set fwd10 = SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
SDB.Objects("fwd10") = fwd10
fwd10.Caption = "Forward "&pltime&" seconds"
fwd10.OnClickFunc = "Forward"
fwd10.UseScript = Script.ScriptPath
fwd10.IconIndex = 4
fwd10.Hint = "Clicking on this will forward playing track "&pltime&" seconds"
End Sub
Sub Forward(arg)
Script.Reload(Script.ScriptPath)
if (SDB.Player.isPlaying) And (Not SDB.Player.isStartingPlayback) Then
If Not (SDB.Player.PlaybackTime+(pltime*1000) > SDB.Player.CurrentSongLength) Then
SDB.Player.PlaybackTime = SDB.Player.PlaybackTime+(pltime*1000)
end If
End If
End Sub
Sub Rewind(arg)
Script.Reload(Script.ScriptPath)
If (SDB.Player.isPlaying) And (Not SDB.Player.isStartingPlayback) Then
If Not (SDB.Player.PlaybackTime-(pltime*1000) < 0) Then
SDB.Player.PlaybackTime = SDB.Player.PlaybackTime-(pltime*1000)
end if
End if
End sub[/code][/quote]
Thanks for your reply! I'm down with a lot of scripts, and I appreciate you suggesting that one. What I was referring to is a [i]slightly[/i] taller progress bar, and not the whole playback area. Not longer even drastically taller, at that. In other skins I just hit a spot that I want and it's there but your bar is so thin that I always miss, lol. But you know what? Your skin is so badass that I use it, anyway. The only I've liked anywhere near yours is the "MMultimate." I used that for what seems like ever, but the I like how elegant/minimal this one is. I have my MM set up with a minimal of icons and clutter, and the skin really accentuates the clean look. Thanks again!