Windows Key Supported?

Announcements, questions
Post Reply
mst
Posts: 5
Joined: 29 Oct 2016, 12:01

Windows Key Supported?

Post by mst » 03 Nov 2016, 17:44

Hello,
I want to define hotkey-combinations including the Windows-Key. But in the list of supported modifiers for keystroke sequence I find Shift, Control and Alt, but not the Windows-Key :cry:
Is there a posibility to define key-combinations with the Windows-Key, too?
Thank you for your answer!
Martin

mst
Posts: 5
Joined: 29 Oct 2016, 12:01

Re: Windows Key Supported?

Post by mst » 03 Nov 2016, 19:27

Ok, I found the solution: It is the '#'.
Sorry :mrgreen:

But now I have the next question:
Can I define, that the Windows-Key stays pressed down until the moment I press a other certain key?

For example:
I want to define following code:
Win-Key down ... Tab-Key down ... Tab-Key up ... Tab-Key down ... Tab-Key up ... ... ... Tab-Key up ... Win-Key up

Is this possible to realize? :?

admin
Site Admin
Posts: 726
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Windows Key Supported?

Post by admin » 04 Nov 2016, 08:11

No, this is not possible, sorry
Petr Medek
LUAmacros author

codemann8
Posts: 1
Joined: 28 Jan 2022, 06:33

Re: Windows Key Supported?

Post by codemann8 » 28 Jan 2022, 06:37

How can I map a key (like 'a') to have it perform (Win+X)? I've been trying to use #x in the 'send keyboard sequence' portion of a 'predefined' action. But it is only outputting an 'x' and NOT pressing the Win key for it.

I also tried a 'scripted' action:
HIDMacros.SendKeys "#x"

But that didn't seem to work either.

vfbhfd123456789
Posts: 1
Joined: 06 Aug 2022, 20:04

Re: Windows Key Supported?

Post by vfbhfd123456789 » 06 Aug 2022, 20:21

Hi! Finally I could find my answer. Thank you so much mst.
WINDOWS KEY = # ---> win+shift+s = screencapture = HIDMacros.SendKeys "#+s"
That would be great to add in the Help section inside HIDMacros, but I'm seeing that there is no active support for the admin anymore.

And answeringcodemann8, as I said, I could make the sequence win+shift+s by writing HIDMacros.SendKeys "#+s" and I tried HIDMacros.SendKeys "#x" and it worked fine for me, so it's rare that you couldn't make it work.

Post Reply