I know there is a playwav command, and I believe there is no playmp3 command. I've been doing some research and am considering using DirectShow, which is part of DirectX.
Any ideas? Anyone attempted this or thought to attempt this?
Playing a MP3 file?
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
One way is to use this free player which can be used via the command line:
http://www.spacejock.com/yPlay.html
Then the following code will run it hidden:
http://www.spacejock.com/yPlay.html
Then the following code will run it hidden:
Code: Select all
Let>file=c:\bla\bla\mysound.mp3
Let>RP_WAIT=2
Run>C:\Users\User\Documents\yPlay\yplay.exe "%file%" --hide --exit
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
That is a cool little solution. I may have to try it out! Thank you!mtettmar wrote:One way is to use this free player which can be used via the command line:
http://www.spacejock.com/yPlay.html
Then the following code will run it hidden:
Code: Select all
Let>file=c:\bla\bla\mysound.mp3 Let>RP_WAIT=2 Run>C:\Users\User\Documents\yPlay\yplay.exe "%file%" --hide --exit