[jawsscripts] Re: Programmatically sending keystrokes or mouse clicks

  • From: "Katherine Moss" <plymouthroamer285@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 12 May 2010 12:22:19 -0400

Thanks.  I'll be having fun with that later in the week.  

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jackie McBride
Sent: Tuesday, May 11, 2010 9:04 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Programmatically sending keystrokes or mouse clicks

Kathrine:

In the case of malwarebytes, the problem of the checkboxes is solved
simply by labeling the graphics that represent the checked & unchecked
state of the control correctly. There are indeed issues of setting
focus properly to appropriate places in the program. It also does not
respond as well as might be expected to the tab key, which suggests a
good tab order has not been programmed in.

1 thing u might find helpful is to make certain that Malwarebytes is
maximized on startup. That way, it'll tell u accurately which tab is
focussed.

I think these thunder hoozee-wutzus controls are from vb, but I'm not
sure about that. I'm w/u--they'd make our lives a lot simpler if
they'd just use standard windows controls.

On 5/11/10, Katherine Moss <plymouthroamer285@xxxxxxxxx> wrote:
> Thanks a lot.  The reason why I was asking you about Expression web is
> because it is my goal to make it accessible with JAWS since it's predecessor
> FrontPage was.  Not only that, but I also have future goals to make both
> malwarebytes Anti-malware and Super Antispyware more accessible as well (and
> the change in window classes is being really stubborn with those).  I have
> always asked the question, why on earth don't people just learn to use win32
> standard controls unless they have no other choice but to use something else
> due to non-supported functionality?  A great example is Malwarebytes.  JAWS
> would be able to recognize the listviews in that by default if the control
> were set correctly, and not to mention, if they changed it for looks, then
> that's really not very nice since it looks fine using Microsoft standards.
> But thanks for the information, and since I am always trying out new things
> including code of different kinds, it never hurts to learn as much as
> possible.  And by the way, for these little accessibility issues I'm
> currently trying to fix, would AutoIt be the appropriate language to do it
> with since the win class reassign is being stubborn?  If you could let me
> know, that'd be awesome.
>
> Thanks,
> Katherine
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jamal Mazrui
> Sent: Tuesday, May 11, 2010 3:11 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: Programmatically sending keystrokes or mouse
> clicks
>
> To use AutoIt from another language, one would either shell run an
> executable compiled with AutoIt, or more likely, access the subset of
> the AutoIt language that is exposed via its COM server, AutoItX3.dll.
> This COM server would have to be "registered" (meta data about it placed
> in the Windows registry) on the client computer with a command like
> RegSvr32.exe AutoItX3.dll
>
> Alternatively, an installation program like those created with Inno
> Setup
> http://InnoSetup.org
>
> could register the COM server during the installation process with an
> instruction like
>
> Source: "c:\MyProject\autoitx3.dll"; DestDir: "{app}"; Flags: RegServer
>
>
> To instantiate an AutoIt COM object in JAWS script, use syntax like
>
> Var
> Object oAutoIt
>
> Let oAutoIt = CreateObject("AutoItX3.Control")
>
> In a .NET language, use syntax like
>
> oAutoIt =
> Microsoft.VisualBasic.Interaction.CreateObject("AutoItX3.Control")
>
> I have not used Expression Web, myself.
>
> Jamal
> On
> Tue,
> 11 May 2010, Katherine Moss wrote:
>
>> Date: Tue, 11 May 2010 13:50:43 -0400
>> From: Katherine Moss <plymouthroamer285@xxxxxxxxx>
>> Reply-To: jawsscripts@xxxxxxxxxxxxx
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: Programmatically sending keystrokes or mouse
> clicks
>>
>> Hi,
>> Speaking of AutoIt, what is the best way for that to be customized for
> JAWS,
>> and what is the most productive way to use it when combined with .net?
> And
>> one other thing.  Have you seen how horrendously laid out MS expression
> web
>> 3 is in terms of accessibility?  I want to be able to use that this
> summer,
>> but oh wow, looks like I've got lots to do and lots to learn now, doesn't
>> it?
>>
>> Regards,
>> Katherine Moss
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jamal Mazrui
>> Sent: Tuesday, May 11, 2010 10:58 AM
>> To: JAWSScripts@xxxxxxxxxxxxx; Program-L@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Programmatically sending keystrokes or mouse clicks
>>
>> I am posting this to two lists that have recently been discussing the
>> topic.
>>
>> I found that the free AutoHotkey utility can perform a control right
>> click,
>> http://autohotkey.com
>>
>> AutoIt also supports this functionality
>> http://AutoItScript.com
>>
>> AutoIt can create stand-alone executables, or be used as a COM server that
>> is accessed by client programs.  From its documentation, here is sample
>> VBScript code for clicking the right mouse button.
>>
>> Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
>> oAutoIt.ControlClick "Untitled -", "", "MDIClient1"
>>
>> Here is sample code for sending keystrokes that launch and control
>> Notepad.
>>
>> Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
>> oAutoIt.Send "#r"
>> oAutoIt.WinWaitActive "Run"
>> oAutoIt.Send "notepad.exe{Enter}"
>> oAutoIt.WinWaitActive "Untitled -"
>> oAutoIt.Send "Today's time/date is {F5}"
>>
>> Jamal
>>
>> __________o?>
>> View the list's information and change your settings at
>> //www.freelists.org/list/jawsscripts
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
>> database 5106 (20100511) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
>> database 5106 (20100511) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>> __________�
>>
>> 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
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 5106 (20100511) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 5106 (20100511) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Change the world--1 deed at a time
Jackie McBride
www.abletec.serverheaven.net
Please join me Saturday, 11/7, on my walk against breast cancer by
making a donation at:
http://main.acsevents.org/goto/larkspur>
__________�

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

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5106 (20100511) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5106 (20100511) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

__________�

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

Other related posts: