How to use Windows Key in Send Keys
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-09-18 10:13 PM
I am trying to do a minimize of all of the open applications thru Global Send Keys. Ideally, I would send Win Key + M (or D). I am having a hard time finding the code for the Windows key. I have tried LWIN, LWINDOWN, RWIN, RWINDOWN, WIN. Any ideas?
Thanks
Pete
3 REPLIES 3

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-09-18 12:12 AM
You could try {{CTRL}{ESC}}M
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-09-18 01:14 AM
Thanks Rachana. I did try that and that combination does not work for me. I find that Ctrl - Esc does open the Programs, but it does not work in combination with other keys. I tried that on both Windows 7 and 10, neither worked.
Pete
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-09-18 05:08 PM
Hi Pete,
You can create an scf file i.e shell command file with below code into a notepad and save it as ""desktop.scf"" .
Once done assign a Hotkey combination[Press CTRL+ALT+'anykey'] to the shortcut file of the original file.And then using send keys/events you can open pass the hotkey.
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
Regards,
Ravinder Saini
