What is the character for WINDOWS key in XYplorer "sendkeys"?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
cadu
Posts: 245
Joined: 18 Mar 2012 21:50

What is the character for WINDOWS key in XYplorer "sendkeys"?

Post by cadu » 10 Feb 2019 16:27

Hi,

I'd appreciate help.
What is the character for Win key in XYplorer "sendkeys"?
For instance, in AutoHotKey the character is #
SnagitEditor_2019-02-10_13-27.png
SnagitEditor_2019-02-10_13-27.png (15.48 KiB) Viewed 198 times
Thank you!
Carlos

jupe
Posts: 1250
Joined: 20 Oct 2017 21:14
Location: 1909 x64

Re: What is the character for WINDOWS key in XYplorer "sendkeys"?

Post by jupe » 11 Feb 2019 02:33

This is one way: sendkeys "^{Esc}"; depending on what you are trying to do though it may not be suitable, so you may have to outsource that part of your script via command line or find an alternative way to achieve what you are trying to do because the win key isn't supported by VB sendkeys AFAIK.

SammaySarkar
Posts: 4221
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: What is the character for WINDOWS key in XYplorer "sendkeys"?

Post by SammaySarkar » 11 Feb 2019 06:49

https://docs.microsoft.com/en-us/previo ... 9(v=vs.60) As you can see, Windows key is not supported by the sendkeys API. You're better off using external solutions like AutoHotKey.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply