Hi Jim,
I'm pretty sure I missed that one, which goes to prove what I've just posted to
Jackie:)
Many thanks - I'll give it a try.
Best wishes.
Tim Burgess
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Bauer
Sent: 12 January 2018 22:49
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Faking the applications key
Have you tried posting WM_CONTEXTMENU to your window(s)?
const WM_CONTEXTMENU = 0x007B
;Given that HWND = your desired control...
postMessage(hwnd, WM_CONTEXTMENU, hwnd, -1)
The WParam is The handle of the window receiving the message (or a child); the
LParam is a long of cursor coordinates, with X in the low word and Y in the
high word. If WM_CONTEXTMENU is generated by key press, LParam is -1.
HTH
On 1/12/2018 1:55 PM, Tim Burgess wrote:
Hi,
I frequently run Jaws on a MacBook Pro, which has no applications key.
I can obviously get around this problem by plugging in an external
keyboard, but it keeps occurring to me that there must be a way of
faking the scan code. I have a couple of applications that have
functionality bound to the applications key that isn't supported when
shift+F10 is used, so this isn't just an academic enquiry.
Has anybody ever had any success doing this? I've tried the obvious
TypeKey and {ApplicationsKey} approaches within a script and I'm
pretty sure I've tried SendMessage and PostMessage approaches, so I've
either goofed or I'm missing the trick of it.
Any and all ideas gratefully received.
Best wishes.
Tim Burgess
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts