Questions tagged [windows-key]

23 questions
11
votes
3 answers

How to setup Super/Windows/mod4 key bindings for eclipse

I'd like to setup some key bindings in eclipse (3.7.2) involving the key ("windows" key), but it doesn't seem to be picking up that modifier key when I press it. Why? What can I do so it detects it?
srparish
  • 1,708
  • 1
  • 16
  • 22
6
votes
2 answers

Linux: Mapping Windows key to M-x for the purpose of emacs usage

I am an emacs user (on linux laptop) looking to make better use of my keyboard settings. The windows key is unused on my keyboard... is there any way to map it to m-x? This might make many emacs commands faster. Thanks, SetJmp
Setjmp
  • 27,279
  • 27
  • 74
  • 92
3
votes
3 answers

how to detect if the windows key is pressed?

I would like to be able to detect when the windows Key is pressed. I tried with getasynckeystate function bug didnt found the right virtual key. thanks for your help !
Patrice
  • 31
  • 1
  • 2
3
votes
2 answers

Tkinter windows key event

What is the event for the Windows key in Tkinter? I'm using Linux, but I would like answers for both Linux and Windows. If Mac has a similar key, feel free to let me know the binding for it. I imagine there are different events for the left and…
Brōtsyorfuzthrāx
  • 4,387
  • 4
  • 34
  • 56
2
votes
1 answer

Map Windows + JILK to Arrow keys using AutoHotKey?

I can't seem to find how to bind X + Y => Z. Most links online show how to do the opposite. I'm trying to achieve this mapping: RWin + j :: Left RWin + l :: Right RWin + i :: Up RWin + k :: Down I tried this syntax RWin&l::Right but it didn't…
vexe
  • 5,433
  • 12
  • 52
  • 81
1
vote
2 answers

Python key changer program

I have got a keyboard with a non-working windows key. I tried to fix it with Python if I press the > key, the program will press the windows key, but it's not working. Here's the code: import msvcrt import pyautogui while True: …
Charles
  • 7
  • 3
1
vote
0 answers

X11 stop windows/supper key event from reaching the OS

I am making a program that locks my computer by creating a full-screen window and disabling all ways to unfocus the window. For that I need to programmatically disable/enable the Windows key: Is there a way to catch and stop the windows key event…
TheLizzard
  • 7,248
  • 2
  • 11
  • 31
1
vote
1 answer

Autohotkey remapping Alt Gr to Win Modifyer

I am trying to build a very simple AutoHotkey script but it doesnt seem to be working. I've bought a keyboard with no Win key and no programable hardware layer so I am planning on using AHK to remap the Alt Gr key to the Windows key. Can anypoint…
user2230423
  • 69
  • 1
  • 1
  • 5
1
vote
2 answers

How can I send a right windows key with Dragon NaturallySpeaking's advanced scripting?

How can I send a right windows key with Dragon NaturallySpeaking's advanced scripting? Looking at What is the difference between the commands SendKeys, SendSystemKeys or SendDragonKeys? it doesn't seem possible with SendKeys, SendSystemKeys or…
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
1
vote
1 answer

AHK recursive map? (Map RAlt to RWin which is mapped to other keys)

I have a bunch of RWin+X => Y mappings. I would like RAlt to be mapped to RWin so that RWin+X == RAlt+X. For example: ; RWin+J => Left >#j::SendInput,{LEFT} Which works fine, I can hold down RWin and press j and it would keep sending Left. Now…
vexe
  • 5,433
  • 12
  • 52
  • 81
1
vote
2 answers

Web browser is not able to capture Windows key + D, why?

Web browsers fail to capture windows key shortcut. For instance, Windows key + D displays the desktop. However, in the browser, JS could only detect the keydown event of the Windows key, but is not able to capture the keyboard event of D or the…
Fiona
  • 904
  • 1
  • 8
  • 17
1
vote
2 answers

How to disable Windows keys (logo key and menu key) using Javascript

I write this Javascript code but it doesn't disable 2 windows keys (I mean logo key and menu key), though: document.onkeydown = function(e) { document.title = e.keyCode; if (e.keyCode == 91 || e.keyCode == 93) { window.event.keyCode…
Scott Chu
  • 972
  • 14
  • 26
1
vote
1 answer

Use the Windows-key for another purpose in C#

Is there a way to disable the standard built-in function of the Windows-Key (open the start-menu) and activate instead of that function for instance a delegate or an event in C#? I want to use this as an additional key in a full-screen app.
Willem Van Onsem
  • 443,496
  • 30
  • 428
  • 555
0
votes
1 answer

Handling windows button during Async BeginGetResponse in wp7

is there any way to handle the Windows button keypress within the *.Xaml.cs especially when the app is busy getting a request processed using an Asynchronous BeginGetResponse. is there a override handler like OnBackKeyPress? What's the appropriate…
Jay Kannan
  • 1,372
  • 3
  • 14
  • 30
0
votes
1 answer

How to disable the Win key if it's the only key being pressed using AutoHotkey?

I often find myself tapping the Win key by mistake, how to disable it when it's the only key being pressed using AutoHotkey? In other words, tapping Win shouldn't bring up the start menu, but the Win key combination shortcuts should still work, e.g.…
Wenfang Du
  • 8,804
  • 9
  • 59
  • 90
1
2