The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
Charles SteynSubject:
RE: Registering braille hotkeysDate:
Fri, Nov 12, 2010 12:43:55 amHi Doug,
Thanks very much. I'll try your suggestion.
Regards
Charles Steyn
From: Doug Geoffray [mailto:geoffray@gwmicro.com]
Sent: 11 November 2010 08:22 PM
To: gw-scripting@gwmicro.com
Subject: Re: Registering braille hotkeys
Charles,
Good or bad we didn't think it made sense for a script to insert new
braille hotkeys. A script can however intercept braille keys and do
whatever they want. So for example you could hook BrailleDisplay.OnKey
and when you get the key combination of interest eat the key and do your
thing. This way only while your script is running would you be
effecting the braille hotkeys.
Doug
On 11/11/2010 1:44 AM, Charles Steyn wrote:
Hi Aaron and list,
Thanks for the reply. I looked at the Capture and Insert methods, but
don't really understand how I can use these methods to register the hot
key. Let me explain what I want to do. I want to register a hot key for
instance D1D2 on my Focus Blue and then assign the letter "b" to that
hot key. I can do this in the braille hot keys dialogue box, but is it
possible to do it with a script? I actually want to define a whole
braille input mode for the Focus Blue.
Thanks
Charles Steyn
From: Aaron Smith [mailto:aaron@gwmicro.com]
Sent: 10 November 2010 03:17 PM
To: gw-scripting@gwmicro.com
Subject: Re: Registering braille hotkeys
On 11/10/2010 1:46 AM, Charles Steyn wrote:
I want to register braille hot keys in a script. I cannot find any
method such as RegisterBrailleHotkey or something similar under the
BrailleDisplay object. I also cannot find any examples of working with
braille hot keys. Any help would be appreciated.
You can use the BrailleDisplay object's Capture method to obtain a
BrailleHotkey object. Alternatively, you can use the BrailleDisplay
object's Insert method to insert a Braille Hot Key. Insert has some
examples.
DISCLAIMER
Also, just an FYI, your disclaimer doesn't disclaim anything.
Aaron
--
Aaron Smith
Product Support Specialist * Web Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.
Thanks very much. I'll try your suggestion.
Regards
Charles Steyn
From: Doug Geoffray [mailto:geoffray@gwmicro.com]
Sent: 11 November 2010 08:22 PM
To: gw-scripting@gwmicro.com
Subject: Re: Registering braille hotkeys
Charles,
Good or bad we didn't think it made sense for a script to insert new
braille hotkeys. A script can however intercept braille keys and do
whatever they want. So for example you could hook BrailleDisplay.OnKey
and when you get the key combination of interest eat the key and do your
thing. This way only while your script is running would you be
effecting the braille hotkeys.
Doug
On 11/11/2010 1:44 AM, Charles Steyn wrote:
Hi Aaron and list,
Thanks for the reply. I looked at the Capture and Insert methods, but
don't really understand how I can use these methods to register the hot
key. Let me explain what I want to do. I want to register a hot key for
instance D1D2 on my Focus Blue and then assign the letter "b" to that
hot key. I can do this in the braille hot keys dialogue box, but is it
possible to do it with a script? I actually want to define a whole
braille input mode for the Focus Blue.
Thanks
Charles Steyn
From: Aaron Smith [mailto:aaron@gwmicro.com]
Sent: 10 November 2010 03:17 PM
To: gw-scripting@gwmicro.com
Subject: Re: Registering braille hotkeys
On 11/10/2010 1:46 AM, Charles Steyn wrote:
I want to register braille hot keys in a script. I cannot find any
method such as RegisterBrailleHotkey or something similar under the
BrailleDisplay object. I also cannot find any examples of working with
braille hot keys. Any help would be appreciated.
You can use the BrailleDisplay object's Capture method to obtain a
BrailleHotkey object. Alternatively, you can use the BrailleDisplay
object's Insert method to insert a Braille Hot Key. Insert has some
examples.
DISCLAIMER
Also, just an FYI, your disclaimer doesn't disclaim anything.
Aaron
--
Aaron Smith
Product Support Specialist * Web Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.




