Pausing

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Pausing

by greggy » Thu Jul 14, 2005 4:28 pm

You are a legend.

this works perfectly for what i want it for. thank you very much. i would only need to use it when mediamonkey is running, so that isn't a problem.

many thanks onkel_enno :D

Greg

by onkel_enno » Thu Jul 14, 2005 1:20 am

I use these short scripts for my keys:

Code: Select all

Option Explicit
On Error Resume next
Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False

if SDB.IsRunning then
	SDB.Player.Previous
	SDB.Player.Play
end if

Set SDB = Nothing

Code: Select all

Option Explicit
On Error Resume next
Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False

if SDB.IsRunning then
	if SDB.Player.IsPlaying then
		SDB.Player.Pause
	else
		SDB.Player.Play
	end if
end if

Set SDB = Nothing

Code: Select all

Option Explicit
On Error Resume next
Dim SDB
Set SDB = CreateObject("SongsDB.SDBApplication")
SDB.ShutdownAfterDisconnect = False

if SDB.IsRunning then
	SDB.Player.Next
	SDB.Player.Play
end if

Set SDB = Nothing
But it only workes, if MM is already running.

by Peke » Wed Jul 13, 2005 7:18 pm

If you want I could Email you my Keyboard fix I made for Myself which can be programmed to act as front end/Emulation of Multimedia keys on keyboard.

by greggy » Wed Jul 13, 2005 10:22 am

demm wrote:i can't help you on the issue with the multimedia buttons, but i can tell you that if mm is playing and you click once on the monkey icon in the tray, playback will pause. it will resume if you click on it again.
thank you

i know this is the case, i just find it easier to use the keyboard, instead of having to locate the mouse on the screen, and click on the logo.

Greg

by greggy » Wed Jul 13, 2005 3:23 am

hey

sorry... the keys on top of my keyboard do work, however when people call me from other rooms in my house and my music is on, it always takes me a while to stop the music.

Above the keyboard keys on my laptop i have 2 programmable buttons which i can set to perform certain actions when pressed i.e. one currently opens mediamonkey. I wanted to make the other button pause the music if it is currently playing.

I use windows xp pro, the latest mediamonkey, and just want to make it easier for me to pause so i can hear the people speaking to me from other rooms.

Thank you, and sorry about confusion

Greg

by demm » Wed Jul 13, 2005 3:22 am

i can't help you on the issue with the multimedia buttons, but i can tell you that if mm is playing and you click once on the monkey icon in the tray, playback will pause. it will resume if you click on it again.

by Peke » Tue Jul 12, 2005 8:33 pm

Could you be more specific?

Are you saying that Multimedia keys do not work on your laptop?
What version of Windows you use?
What version Of MM you use?
What exactly you want to gain (Less latency)?

Pausing

by greggy » Tue Jul 12, 2005 7:50 pm

Hey

I wanted to make pausing mediamonkey easy by being able to use one of the programmable buttons above the keyboard on my laptop to pause mediamonkey, or continue playing it if it isn't already playing.

i am guessing that i will need to write a script that accesses the API to check whether mediamonkey is open and also whether it is playing or not, however i have no idea where to start doing this, so if anyone has a script or can shed some light on how to go about doing this, it would be much appreciated.

It always takes me too long to pause the song (and for some reason in the more recent versions of mediamonkey, i have found myself needing to double click the pause button) so a button on the keyboard would be useful.

thank you

Greggy

p.s. - i tried using this http://www.mediamonkey.com/forum/viewto ... ht=pausing but i could not understand it that much.

Top