I am using another method of trapping the Windows key for a few years, and it works very well. It is a hardware-based method. I have... taken out the key from the keyboard. :-) --Octavian ----- Original Message ----- From: "David Pinto" <davepinto@xxxxxxxxxxx> To: <jawsscripts@xxxxxxxxxxxxx> Sent: Thursday, November 14, 2013 12:28 AM Subject: [jawsscripts] Windows key > Got a couple of related questions. > 1. Does anyone have a strategy to determine if the Windows key has been > pressed? > 2. Is there any way to intercept the Windows key from going to the system? > > Basically, I've been frustrated in my ambition to take control of the > Windows key in scripted environments where students are getting in trouble > by inadvertantly pressing the Windows key. Here's what I've noticed about > JAWS and the single Windows key. > 1. In JAWS keyboard help mode, the Windows key is not trapped, but rather > executes its function of opening the start menu. > 2. The Windows key doesn't register in the KeyPressedEvent () either in the > currently loaded scripts or the default scripts that are invoked when the > start menu gains focus. > > So right now, the only way I know of determining if the Windows key has been > pressed, is to test for its effect in the WindowActivatedEvent (). In other > words, did the start menu open? Fortunately, before the currently loaded > scripts unload and the Start Menu's default scripts load, the > WindowActivatedEvent () contains that information. At any rate, does anyone > have a better strategy to determine if the Windows key has been pressed? > > Thanks in advance, > David Pinto > YesAccessible.com > > > __________ďż˝ > > 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