[jawsscripts] Re: PlaySound

  • From: Sean Farrow <sean.farrow@xxxxxxxxxxxxxxxx>
  • To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sat, 21 Jun 2014 04:32:53 +0000

Hi Brian,

There are two approaches you could take for this:
Firstly, use the GetVolume function to ascertain the current volume. Then use 
the SetVolume function to get the volume to what you would like, resetting it 
to the previous value afterwards.
Secondly, you could write a com server to do this at the Win32 API level. What 
operating systems should this run on?
I've used both approaches in the past, and personally prefer the second as the 
first is the easiest but is areal hack!
Hope this is of some use.
Cheers
Sean.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Brian Hartgen
Sent: 20 June 2014 20:41
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] PlaySound

Hi everyone
 

I don't expect there is, but is there a way of changing the volume of the 
PlaySound feature? So if I put a sound in a script to play, a wav file, the 
volume can be adjusted by the user?

 

Thanks.

 

Brian

 

 

 



__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: