playing WAV's

B

Babel17

I have moved this topic up as I am still looking for some additional
information. I have posted this in the past, but I can't seem to get the
solution to work on a new computer.

I want all Wav's to open in Sound Recorder. That part is easy.

I also want Sound Recorder to OPEN when I click a WAV, then PLAY
automatically without my having to click anything else, then CLOSE
automatically when the wave is finished playing without my having to click
anything else.

Can anyone give me some instructions on what to do in "File Types" to make
this happen?


Babel17 said:
I have posted this in the past, but I can't seem to get the solution to work
on a new computer.

I want all Wav's to open in Sound Recorder. That part is easy.

I also want Sound Recorder to OPEN when I click a WAV, then PLAY
automatically without my having to click anything else, then CLOSE
automatically when the wave is finished playing without my having to click
anything else.

Can anyone give me some instructions on what to do in "File Types" to make
this happen?


Remove "DELANY" to reply by e-mail.


This has been extracted from Technofile...
http://aroundcny.com/technofile/index.cfm

**Open an Explorer window. (Double clicking "My Computer" opens an Explorer
window, if what I just said seems confusing.) Click on the "View" menu, then
choose "Options." In the window that opens, click the tab at the top called
"File Types."
You'll see a list of descriptions. These describe the files that Windows
knows about. The list is alphabetical. Scroll down the list to the entry for
WAV files. You may see "Wave Sound" or simply as "WAV file" in the list.
Double click on the WAV entry.
You'll see another window. In the lower part of the window, under
"Actions," you'll see one or more words. (You may see "Edit," "Open" and
"Play," or perhaps just one or two of these.) One of them will be in dark
(or bold) type. Double click the entry in bold type.
Another window will open. In that window, which is smaller than the other
one, you'll see "Application used to perform action:" above a text-entry
line. It probably will look like this: "C:\Windows\sndrec32.exe /play
/close." (Don't worry if "/play /close" aren't there; I'll show you how to
add that part anyway, and I'll explain what those two words do.) Take out
"sndrec32.exe" and type "mplayer.exe" in its place. If "/play /close" are
not there, add them, so that the line looks like this:

c:\windows\mplayer.exe /play /close

Make sure that the only spaces in that line come after "exe" and after
"play" and that you use slashes and not backslashes. (A backslash tilts
backwards like this ... \ ... while a slash tilts forward like this ... /
.....)
Then click the "OK" button on that window, and the "Close" button on the
next two windows you see. You're done. The next time you double click on a
WAV file, media player will take care of it.
As for "/play" and "/close," they're called switches. They tell MPLAYER
to play the file without waiting for you to click the play button and then
close down when the sound has finished. Good luck finding those two switches
in the Windows help or in most "expert" books on Windows; they're
undocumented parts of the way Windows works.**
Hope this helps



This might defeat the purpose of what I am trying to do, that is, play a
wave with a single click, open to close.

Ronnie Vernon MVP said:
This may work in XP, but it was written for Win 9x and not XP.

A better option was posted by Mike Burgess a while back and works well in
XP.

You might want to try a different approach ..... rather than changing
the default File Types?

Create a new shortcut in your SendTo folder
Start - Run (type) "sendto" (no quotes)
File - New - Shortcut
Command Line: (paste the below)

C:\WINDOWS\system32\sndrec32.exe /play /close

Next time you want to play a sound file,
Right-click and select: Send To - Sound Recorder.

--
Ronnie Vernon
Microsoft MVP
Windows Shell/User

Please reply to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.


This has been extracted from Technofile...
http://aroundcny.com/technofile/index.cfm

**Open an Explorer window. (Double clicking "My Computer" opens an
Explorer window, if what I just said seems confusing.) Click on the
"View" menu, then choose "Options." In the window that opens, click
the tab at the top called "File Types."
You'll see a list of descriptions. These describe the files that
Windows knows about. The list is alphabetical. Scroll down the list
to the entry for WAV files. You may see "Wave Sound" or simply as
"WAV file" in the list. Double click on the WAV entry.
You'll see another window. In the lower part of the window, under
"Actions," you'll see one or more words. (You may see "Edit," "Open"
and "Play," or perhaps just one or two of these.) One of them will be
in dark (or bold) type. Double click the entry in bold type.
Another window will open. In that window, which is smaller than the
other one, you'll see "Application used to perform action:" above a
text-entry line. It probably will look like this:
"C:\Windows\sndrec32.exe /play /close." (Don't worry if "/play
/close" aren't there; I'll show you how to add that part anyway, and
I'll explain what those two words do.) Take out "sndrec32.exe" and
type "mplayer.exe" in its place. If "/play /close" are not there, add
them, so that the line looks like this:

c:\windows\mplayer.exe /play /close

Make sure that the only spaces in that line come after "exe" and
after "play" and that you use slashes and not backslashes. (A
backslash tilts backwards like this ... \ ... while a slash tilts
forward like this ... / ....)
Then click the "OK" button on that window, and the "Close" button
on the next two windows you see. You're done. The next time you
double click on a WAV file, media player will take care of it.
As for "/play" and "/close," they're called switches. They tell
MPLAYER to play the file without waiting for you to click the play
button and then close down when the sound has finished. Good luck
finding those two switches in the Windows help or in most "expert"
books on Windows; they're undocumented parts of the way Windows
works.**
Hope this helps

This may work in XP, but it was written for Win 9x and not XP.

A better option was posted by Mike Burgess a while back and works well in
XP.

You might want to try a different approach ..... rather than changing
the default File Types?

Create a new shortcut in your SendTo folder
Start - Run (type) "sendto" (no quotes)
File - New - Shortcut
Command Line: (paste the below)

C:\WINDOWS\system32\sndrec32.exe /play /close

Next time you want to play a sound file,
Right-click and select: Send To - Sound Recorder.

--
Ronnie Vernon
Microsoft MVP
Windows Shell/User

Please reply to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.



What is MPLAYER?
Will this make the WAV play in Sound Recorder or in a different player?
 
B

Big Mac

I am betting that the right-click\send to\sndrec32.exe shortcut is the
best you are going to get. That takes a right-click, and moveing the
pointer to "send to", which opens a window where you can click on
sndrec32.exe (which plays the file with the sound reecorder then
closes the window.

I too would be interested in something easier, but I am not going to
hold my breath. It's too bad you can't assign Sound Recrder to play a
particular type of file extension,
 
B

Babel17

I realy thought it could be done since it worked for me once, but I can't
duplicate what I did, unfortunately.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top