[jawsscripts] Re: Simulate mouse scroll

  • From: "John Martyn" <johnrobertmartyn@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 15 Oct 2012 13:03:19 -0700

I'll try that. I just have to figure out the key value to send for the
scroll up and scroll down. You wouldn't happen to know these values off the
top of your head by chance?
I got the thing to work, and I think it works better by clicking the arrow
since the tracks have to be visible during the drag after the scroll. For
example, if they want to drag the songs up 20 tracks in the list,
itcalculates the pixels needed to complete the drag, which is a negative
value, then I multiply it nby -1 and divide it by 19 which is the line
height to give me a number of times needed to click the scroll button. Works
like a champ now. This feature of blind tunes hasn't worked this good ever.
John

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Doug Lee
Sent: Monday, October 15, 2012 5:41 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Simulate mouse scroll

Not COM-visible, but SendMessage works to send key codes I believe.
TypeKey and TypeString work much more easily if the window you want to send
to is in focus.

On Mon, Oct 15, 2012 at 12:34:47PM +0000, Scott Huey wrote:
I've read a few articles on CodePlex and MSDN that the Win32 interface can
be used to send hex codes for raw key inputs directly to the program through
the WNDPROC interface pointer. MSDN documentation
(http://msdn.microsoft.com/en-us/library/windows/desktop/ms645617%28v=vs.85%
29.aspx) lists the constant used for the mouse wheel and states that the
functionality was included from Window 2000 onward. WindowProc should be COM
visible, so it should be possible to hook it with an object reference in the
JAWS script. 

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of John Martyn
Sent: Saturday, October 13, 2012 11:30 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Simulate mouse scroll

I have seen some topics about this on the list before, but how can you
simulate a mouse scroll without a mouse?
Is there a command that you can use? I can get to the clicker with mixed
results in iTunes, but it would be easier to scroll the wheel in a direction
of the drag when reordering tracks.

Any help would be appreciated.

John Martyn



__________???

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

--
Doug Lee, Senior Accessibility Programmer SSB BART Group -
Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx
http://www.ssbbartgroup.com "While they were saying among themselves it
cannot be done, it was done." --Helen Keller __________o?=

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: