Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Creating a Show Desktop Script for keyboard Hotkey.

20 Jul 2010   #1

Windows 7 x64 Ultimate
Creating a Show Desktop Script for keyboard Hotkey.


(firstly i wasnt too sure where to put this post, so if a moderators reading this - feel free to move it.)

Okay so ive just got a Logitech Cordless Desktop EX110, and the keyboard (like most moderately priced keyboards) has numerous 'hot-keys' (like music controls, email button, internet button, calc button etc.)

On the side of my keyboard is two hot keys, a 'back' button and a 'close window' button. Now in the Logitech SetPoint software it is possible to customize this buttons function. So i want to make it a 'show desktop' button.

Here's the problem, the SetPoint software is a bit restricted and gives me these (function) choices:
  • Default Task (in this case, close window)
  • Open Web Page
  • Launch Program
  • Open File
  • Open Folder
  • Show Custom Menu
  • Keystroke Assignment
  • Do Nothing
So, first of all i tried Keystroke Assignment. Well that would work, just there is only one keyboard short cut i know to show desktop (windows key & D). But this program only takes short cuts that use alpha-numeric keys, Alt or CTRL keys (or in comination, like CTRL+ALT+R) - not the windows key.

So heres my first question: Are there any OTHER keyboard shortcuts to show the desktop? Can i make a new keyboard shortcut?

But before i started asking that question i thought well ill try 'Open Program'. Found on the Microsoft website the script for Show Dekstop.scf, got that all ready. Targeted the file in SetPoint, no it doesnt work - SetPoint's 'Open Program' only works with executables (exe).

So i tried, open file - with the same file, nope - the computer does nothing when that happens.

So let me summarise:

  1. Is there an alternative shortcut to Win+D?
    If not, is there a way of me making a new shortcut (side note, without using a third party program like HotKeyz - coz it doesnt work that way either).
  2. Is there an executable script that will show desktop. And i'd need it to be a background sort of script, it'd be curde if everytime i pressed the button up came the cmd box.

My System SpecsSystem Spec
20 Jul 2010   #2

64-bit Windows 10 Pro

Hello Dan,

You could download or create the "Show Desktop" shortcut from the link below, then save it somewhere and assign the keyboard hot-key button to open it when pressed.

Hope this helps,
My System SpecsSystem Spec
20 Feb 2011   #3

Windows 7 32bit

My System SpecsSystem Spec


 Creating a Show Desktop Script for keyboard Hotkey.

Thread Tools

Similar help and support threads
Thread Forum
help creating a recovery partition for hotkey restore
Hey, I am not sure if this is possible however is there a way of installing Windows 7, activating it with my OEM key and then created a recovery partition just in case I am ever in the situation where I need to run it using a hot key during boot? Cheers
Installation & Setup
Creating a batch script or use a 3rdpartyprogram to create shortcuts
Hello! I'm having trouble creating a batch script to simply copy a shortcut to the desktop from a program installation, then carry out some tasks. Overall my goals are: Burn a CD that includes a autorun.inf that will load a batch script In the script I want it to activate two self...
General Discussion
uk extended keyboard: hotkey for tilda's characters not working
Hello, I've got a laptop, sony fz21e, which did come with Vista installed. Now that windows 7 has been around for a while, my friend has maanged to install it on the laptop, since it can use vista drivers. Ive added uk extended keyboard to the standard list (which was uk keyboard and some other...
General Discussion
Creating a WinPE Script File
Hello All, I'm using the WIAK CD to create a winpe boot media and it works fine, there are a few commands that you have to remember so I created a winpe.cmd file to make life easier. Here is the content of my winpe.cmd file: copype x86 c:\winpe copy c:\winpe\winpe.wim...
Installation & Setup
keyboard problems periodically.. hotkey?
This has been happening for years, but I never figured out what it is, but now this is the third time in a week, and this time it doesn't go away with a reboot so I want to know exactly what's up. Every so often, I don't know if it is a hotkey I press or a series of keys, but all of a sudden my...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:40.
Twitter Facebook Google+