Announcement

Collapse
No announcement yet.

Launching windows CD Player?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Launching windows CD Player?

    I've searched the forum, and can't find any answers. Curious if anyone can help...
    How do I (or can I) Launch windows cd player and have it start playing the audio tracks on my cd?
    Thanks for the help.
    brian

  • #2
    Re: Launching windows CD Player?

    I am hardly the code guy around here...but, my experience is that you have to include a specific player if you want a specific player to play your sound files. Most computer assign a 'program' to open certain types of files. I.e. Music Match opens my audio files...

    Comment


    • #3
      Re: Launching windows CD Player?

      Using the FILE > OPEN action will cause a file to get opened in it's default viewer, just point it to the file, i.e. MP3 or M3U or any other type...

      Corey Milner
      Creative Director, Indigo Rose Software

      Comment


      • #4
        Re: Launching windows CD Player?

        If you want a less bulky version of Media Player to open, you can instead launch:

        c:\program files\windows media player\mplayer2.exe /play %SrcDrv%

        that will play CD music (not mp3's), starting from track 1 on the drive that the CD with your AMS app is currently in.

        Comment


        • #5
          Re: Launching windows CD Player?

          Cool tip Adam...

          Corey Milner
          Creative Director, Indigo Rose Software

          Comment


          • #6
            Re: Launching windows CD Player?

            [img]/ubbthreads/images/icons/smile.gif[/img]

            Comment


            • #7
              Re: Launching windows CD Player?

              So would you use the file/execute action? and type in c:\program files\windows media player\mplayer2.exe /play %SrcDrv% under the "File to execute" Parameter.
              And do you type anything in the "Command Line Argument"
              and "Working directory" parameters?
              Thanks,
              brian

              Comment


              • #8
                Re: Launching windows CD Player?

                Neither of those apply in this case.

                Corey Milner
                Creative Director, Indigo Rose Software

                Comment


                • #9
                  Re: Launching windows CD Player?

                  Corey,
                  The project that I'm working on has audio tracks(cd), and multimedia content. When the initial menu pops up, the first choice the user has is a button that says, "Listen to cd". What do I do in this buttons actions to have it start playing the audio portion of the cd in the default media player?
                  thanks for your much needed help! :-)
                  brian

                  Comment


                  • #10
                    Re: Launching windows CD Player?

                    I tried figuring out a way of maybe just lauching the systems cd player,(assuming most everyone has it installed in windows)
                    here's what I thought of...
                    Have the button opening the file...
                    %SystemRoot%\System32\cdplayer.exe
                    But when I try and work it, I get the error message "File not Found". Am I on the right track...
                    brian

                    Comment


                    • #11
                      Re: Launching windows CD Player?

                      Not sure, I always integrat emy audio right into my projects, usually as MP3. I wouldn't use CD Audio nor .wav to distribute personally but that's just my tastes... I'm an MP3 fan, here's an example of using a web object to create an MP3 jukebox for examplehttp://www.indigorose.com/ubbthreads...fpart=&vc=

                      Corey Milner
                      Creative Director, Indigo Rose Software

                      Comment


                      • #12
                        Re: Launching windows CD Player?

                        Finally figured it out!
                        Most windows cdplayer.exe file are stored in the sytem32 folder in the windows directory. A simple action of...
                        %WinDir%\System32\cdplayer.exe
                        launches the windows cd player letting the user start the audio portion of the cd.
                        Seems to work fine!
                        brian

                        Comment


                        • #13
                          Re: Launching windows CD Player?

                          Cool... [img]/ubbthreads/images/icons/smile.gif[/img]

                          Corey Milner
                          Creative Director, Indigo Rose Software

                          Comment


                          • #14
                            Re: Launching windows CD Player?

                            Better yet, use "%SysDir%\cdplayer.exe". This will ensure that the path to the system folder is correct on all Windows versions.

                            Comment


                            • #15
                              Re: Launching windows CD Player?

                              A little ditty, 'bout controlling the cd-rom
                              a DLL I made to help you along.

                              Download Sample and DLL

                              BTW, be careful trying to use cdplayer.exe. There is no such file on my system (XP Pro).

                              Comment

                              Working...
                              X