skip 10 or 20 seconds forward in a track?

Any ideas about how to improve MediaMonkey for Windows 4? Let us know!

Moderator: Gurus

gggirlgeek
Posts: 67
Joined: Mon Feb 11, 2008 4:24 pm
Location: Seattle, WA

Re: skip 10 or 20 seconds forward in a track?

Post by gggirlgeek »

For the button script: the buttons worked well but when playing videos they are hidden no matter where I move them. It doesn't matter whether I'm in Fullscreen or simply maximized, there is no way to move the buttons beside the player module, or up to the menu bar (which are the only two "modules" shown while videos are playing). I tried skinned and unskinned modes too.

Fortunately, I have the mouse tilt button set to the shortcut key mentioned above, so this is a workaround for now.

I am thinking of using MM for more serious video watching because the sound is so much better than VLC. These buttons would be important in that case.

Suggestions?
My current favorite software: MediaMonkey Gold!
Peke
Posts: 17484
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: skip 10 or 20 seconds forward in a track?

Post by Peke »

Have you tried Arrow keys in Full screen?
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
UpliftingPills

Re: skip 10 or 20 seconds forward in a track?

Post by UpliftingPills »

THANK YOU SOOOOOO MUCH!
Escay wrote: Tue Sep 20, 2011 3:57 pm For those wanting shortcuts instead of buttons, this works for me:

Store this in a file 'fastforward.vbs' in /Scripts, not in /Scripts/Auto

Code: Select all

Sub Forward
  Dim pltime
  'ffwd  time in seconds
  pltime = 20

  '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
  Dim pltime
  'rewind time in seconds
  pltime = 10

  '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
Then add 2 shortcuts by adding the following code at the end of /Scripts/Scripts.ini:

Code: Select all

[FastForward]
FileName=fastforward.vbs
ProcName=Forward
Order=60
DisplayName=Fast Forward 20
Description=Fast Forwards 20 seconds
Language=VBScript
ScriptType=0
Shortcut=.

[FastRewind]
FileName=fastforward.vbs
ProcName=Rewind
Order=61
DisplayName=Fast Rewind 10
Description=Fast Rewinds 10 seconds
Language=VBScript
ScriptType=0
Shortcut=,
Now you can fast forward 20 seconds with . and rewind 10 seconds with ,
Change the Shortcut= to your own preferences. See http://www.mediamonkey.com/wiki/index.p ... _scripting for more info on the Shortcut=

Thank you all for the original script!
Erwin Hanzl
Posts: 1189
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: skip 10 or 20 seconds forward in a track?

Post by Erwin Hanzl »

I If you work with the two shortcuts: the two buttons "." and "," cannot be used for tag editing.
I have included this script in my toolbar.


Please add code.
I received error messages after selection from column browser

Code: Select all

Sub Forward
     on error resume next

Code: Select all

Sub Rewind
     on error resume next
MMW 4.1.31.1919 Gold-Standardinstallation
Post Reply