[jawsscripts] Re: SetSystemVolume

  • From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Sun, 26 Feb 2012 20:53:58 -0600

Ah, here's the answer.  So, Jim, where can one read about that API?

----- Original Message ----- 
From: "Jim Bauer" <holdsworthfan@xxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, February 24, 2012 9:41 AM
Subject: [jawsscripts] Re: SetSystemVolume


There's a COM API that has been included for quite a few versions now.
Methods/subs provided are:
Enable, Disable, SayString, StopSpeech, RunScript, RunFunction

It's limiting, though--no nested functions in calls to RunFunction(), no 
access
to global variables or even constants unless you've somehow generated JAWS
script functions to return their values.

There's an old Windows DLL that can be used outside of COM applications, 
too;
but I know nothing about it except that I've seen it at some point.

On Fri, Feb 24, 2012 at 09:02:11, Geoff Chapman wrote:
>
> Ah. now that's a very good question John!  I remember few years ago, 
> people
> asking Eric Damary on this, and the memory I have of his response was, 
> that
> this would not be something FS would be granting any time soon!
>
> But, I hope this has changed....
> ----- Original Message -----
> From: "John Martyn" <johnrobertmartyn@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Friday, February 24, 2012 8:03 PM
> Subject: [jawsscripts] Re: SetSystemVolume
>
>
> > This brings up another question. Does JAWS have an API we can access?
> > John
> >
> > -----Original Message-----
> > From: jawsscripts-bounce@xxxxxxxxxxxxx
> > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Don Marang
> > Sent: Thursday, February 23, 2012 6:08 PM
> > To: jawsscripts@xxxxxxxxxxxxx
> > Subject: [jawsscripts] Re: SetSystemVolume
> >
> > I have noticed that the JAWS functions for System and the JAWS voice
> > volume
> > on Windows 7 do not work independently as expected.  Freedom Scientific
> > has
> > been aware of this since the Windows 7 bvta.
> > In the past, I have attempted to call the nircmd commands from a JAWS
> > Script
> > to properly lower / raise the system volume and also scripts which 
> > create
> > hotkeys to lower / raise the volume of the current application, such as
> > Internet Explorer.  While this should not be that hard, I had difficulty
> > programmatically getting the text string for the application which is 
> > used
> > in the Volume Mixer and used as an argument in the nircnd command.
> >
> >
> > *Don Marang*
> > Vinux Package Development Coordinator - vinuxproject.org
> > <http://www.vinuxproject.org/>
> >
> >
> > On 2/22/2012 10:08 PM, Jim Snowbarger wrote:
> >> Yes, I just looked at the list of examples.  Pretty impressive.
> >> Haven't looked at the help yet.
> >> I now have a hot key established that will unmute the system volume,
> >> and set the volume to max.
> >> Made a .bat file with two NirCmd commands in it, made a short cut on
> >> the desktop, pointed it at the .bat file, and connected a hot key. 
> >> Works
> > good.
> >>
> >>
> >>
> >> ----- Original Message -----
> >> From: "Jackie McBride" <abletec@xxxxxxxxx>
> >> To: <jawsscripts@xxxxxxxxxxxxx>
> >> Sent: Wednesday, February 22, 2012 8:42 PM
> >> Subject: [jawsscripts] Re: SetSystemVolume
> >>
> >>
> >> Hay, Jim, he's got a whole list of stuff on his site that u can do
> >> w/that, including putting a shortcut on the desktop to unmute the
> >> volume, etc.
> >>
> >> Reid, in answer to your private contact, sounds like u might be
> >> getting some blocking of .chm files from your computer.
> >>
> >> On 2/22/12, Jim Snowbarger <Snowman@xxxxxxxxxxxxxxxx> wrote:
> >>> Absolutely,
> >>> pretty cool little utility.
> >>> one of the options in here is to set the system volume to the max.  I
> >>> bet you could put a simple .bat file on your desktop with nircmd.exe
> >>> setsysvolume 65535 in there, and attach some unused  hot key so that,
> >>> if you ever get speech locked out due to system volume, you could
> >>> just press the hotKey  and get it back.
> >>>
> >>> Thanks for that one.
> >>>
> >>> ----- Original Message -----
> >>> From: "Jackie McBride" <abletec@xxxxxxxxx>
> >>> To: <jawsscripts@xxxxxxxxxxxxx>
> >>> Sent: Wednesday, February 22, 2012 8:06 AM
> >>> Subject: [jawsscripts] Re: SetSystemVolume
> >>>
> >>>
> >>> Here's somethin useful yall might wanna check out if you're gonna
> >>> experiment w/the system volume:
> >>> http://www.nirsoft.net/utils/nircmd.html
> >>> HTH.
> >>>
> >>> On 2/22/12, Bissett, Tom <tom.bissett@xxxxxxx> wrote:
> >>>> Thanks guys,  I appreciate the info and I all ready killed my volume
> >>>> and had to get help to bring it back.  Thus the posting.
> >>>>
> >>>> Regards
> >>>> Tom Bisset
> >>>> -----Original Message-----
> >>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
> >>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim
> >>>> Snowbarger
> >>>> Sent: February 21, 2012 10:59 PM
> >>>> To: jawsscripts@xxxxxxxxxxxxx
> >>>> Subject: [jawsscripts] Re: SetSystemVolume
> >>>>
> >>>> And, don't get this one wrong, or you will lose speech.  So, beware.
> >>>>
> >>>> ----- Original Message -----
> >>>> From: "Jackie McBride" <abletec@xxxxxxxxx>
> >>>> To: <jawsscripts@xxxxxxxxxxxxx>
> >>>> Sent: Tuesday, February 21, 2012 2:46 PM
> >>>> Subject: [jawsscripts] Re: SetSystemVolume
> >>>>
> >>>>
> >>>> Looks like the system volume ranges from 0 to 65536 on a 32-bit
> >>>> machine.
> >>>>
> >>>> On 2/21/12, mark <marktorgerson@xxxxxxxxx> wrote:
> >>>>> Hi
> >>>>>      I have never tried this function but I am guessing it would be
> >>>>> a percentage from 0 to 100.
> >>>>>
> >>>>> God bless,
> >>>>> mark
> >>>>>
> >>>>> God Loves you!
> >>>>> You can visit my website at:
> >>>>> http://christiantraditions.info
> >>>>> Please visit my blog at:
> >>>>> http://christian-traditions.blogspot.com
> >>>>>
> >>>>> -----Original Message-----
> >>>>> From: jawsscripts-bounce@xxxxxxxxxxxxx
> >>>>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bissett, Tom
> >>>>> Sent: Tuesday, February 21, 2012 9:27 AM
> >>>>> To: jawsscripts@xxxxxxxxxxxxx
> >>>>> Subject: [jawsscripts] SetSystemVolume
> >>>>>
> >>>>> Hi,  There is the JAWS function called SetSystemVolume(),  it takes
> >>>>> one
> >>>>> parameter.  Can anyone tell me what the parameter should be?     I
> >>>>> persume
> >>>>> it is int but I don't know what numbers it is looking for.
> >>>>>
> >>>>> Regards
> >>>>> Tom Bisset
> >>>>> __________o?=
> >>>>>
> >>>>> View the list's information and change your settings at
> >>>>> //www.freelists.org/list/jawsscripts
> >>>>>
> >>>>>
> >>>>>
> >>>>> __________
> >>>>>
> >>>>> View the list's information and change your settings at
> >>>>> //www.freelists.org/list/jawsscripts
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> Blame the computer--why not? It can't defend itself & occasionally
> >>>> might even be the culprit Jackie McBride Ask Me Computer Questions
> >>>> at: www.pcinquirer.com Jaws Scripting training materials:
> >>>> www.screenreaderscripting.com
> >>>> homePage: www.abletec.serverheaven.net __________
> >>>>
> >>>> View the list's information and change your settings at
> >>>> //www.freelists.org/list/jawsscripts
> >>>>
> >>>>
> >>>>
> >>>> __________
> >>>>
> >>>> View the list's information and change your settings at
> >>>> //www.freelists.org/list/jawsscripts
> >>>>
> >>>> __________�
> >>>>
> >>>> View the list's information and change your settings at
> >>>> //www.freelists.org/list/jawsscripts
> >>>>
> >>>>
> >>>
> >>> --
> >>> Blame the computer--why not? It can't defend itself & occasionally
> >>> might even be the culprit Jackie McBride Ask Me Computer Questions
> >>> at: www.pcinquirer.com Jaws Scripting training materials:
> >>> www.screenreaderscripting.com
> >>> homePage: www.abletec.serverheaven.net __________�
> >>>
> >>> View the list's information and change your settings at
> >>> //www.freelists.org/list/jawsscripts
> >>>
> >>>
> >>>
> >>> __________�
> >>>
> >>> View the list's information and change your settings at
> >>> //www.freelists.org/list/jawsscripts
> >>>
> >>>
> >>
> >
> >
> > __________�
> >
> > View the list's information and change your settings at
> > //www.freelists.org/list/jawsscripts
> >
> > __________�
> >
> > View the list's information and change your settings at
> > //www.freelists.org/list/jawsscripts
> >
> >
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts




__________�

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



__________�

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

Other related posts: