| 1. |
Solve : Background Music? |
|
Answer» Hi Guys I Appreciate helpmeh but any example of music player which can b ran silently during the show I think silence and playing music are sort of conflicting requirements here. Quote from: The Italian Stallion on August 10, 2010, 10:25:59 AM I Appreciate helpmeh but any example of music player which can b ran silently during the showCode: [Select]SET wshShell=wscript.CreateObject("WScript.Shell") wshshell.run "MPLAY32 /play /close PATHTOMP3\file.mp3", 0i made this program that does that(with special thanks to helpmeh for the vbs script) music.exe C:\test.mp3 [recovering DISK space - old attachment deleted by admin]First: Why do people insist on compiling batch files? Original batch for "music.exe": Code: [Select]echo off echo Set wshShell=Wscript.CreateObject("WScript.Shell")>temp.vbs echo wshshell.run "MPLAY32 /play /close "%1"",0>>temp.vbs cscript //nologo temp.vbs del temp.vbs Second: MPLAY32 is the windows 95 media player. It can be found on Windows XP,Windows 2000, 98, 95, and ME. Now, let's look at The_Mad_Joker's OS: "Windows 7". Now, allow me to tell you, that mplay32 is not present on Vista or 7. therefore that solution will not work. third: it doesn't solve the problem anyway, since the windows is simply minimized. Quote from: BC_Programmer on August 10, 2010, 05:43:40 PM First: Why do people insist on compiling batch files? #1 Insecurities? #2 Mplay2 then? #2.5 Not again...why does he return? #3 No... Also, the quotes need to be escaped somehow, because Wscript is expecting an end of statement at L:2 C:37 (when run straight from VBS).i complied it so it would be hidden so there is less confusion IE no popupsOr use JUST a vbs file, that way there is no need to compile anything, nor are there any popups.Batch file too doesnt give any pop ups, and yes that music.exe is not workingIs there a preferred option? Quote from: The Italian Stallion on August 11, 2010, 12:36:05 AM Batch file too doesnt give any pop ups, and yes that music.exe is not workingOk, then just use the batch file. Quote Ok, then just use the batch file.Okies thank u all 4 your help |
|