INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Playing Something or not ?  (Read 1153 times)

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Playing Something or not ?
« on: August 31, 2010, 02:59:35 am »

I am doing some scripting in EventGhost to control Jrmc 15, and I am running into a bit of a snag..
I need to find out if Jrmc 15 is playing something before issuing a command.
I am thinking there might be something like an mcc command that can return a playing state like a one or zero.

Here is why I need to know.
my android phone sends events to EG on my computer, So I have set up EG to tell Jrmc 15 to pause when I get a phone call. The problem is that if Jrmc 15 is not playing anything and I get a call Jrmc 15 will start playing.
this is logical since the pause function is a toggle.
If I can query Jrmc 15 in some way to find out if it's playing something then I can fix my scripts.
Any help would be appreciated..
Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: Playing Something or not ?
« Reply #1 on: August 31, 2010, 03:15:31 am »

you could use
mc15.exe /mcc 10022,1
this sets mcc to pause. wont toggle but stays paused when fired again.

 :)
gab
Logged

666JackTheKnife666

  • World Citizen
  • ***
  • Posts: 150
Re: Playing Something or not ?
« Reply #2 on: September 01, 2010, 07:17:35 pm »

Thank you for that info, I had a bit of trouble finding mc15.exe for a bit, but finally located it in my windows\system32 directory. Pause is not toggling now teriffic!!
Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: Playing Something or not ?
« Reply #3 on: September 02, 2010, 01:51:18 am »

nice that it works. maybe i should clarify a bit: the mc15.exe is indeed where you found. because its in the system 32 folder you dont have to use the fullpath. mc15.exe is enough and windows knows where to find it  8)

 :)
gab
Logged
Pages: [1]   Go Up