shortcut to keyboard shortcut

J

Johan

Hope i can explain what i mean... i want to create a shortcut for the
keyboard shortcut 'windowskey + m' ( to minimize all windows )

reason, when using the show desktop shortcut in the quick launch the
widgets on my desktop become invisable... this is prevented by using
the keyboard shortcut to minimize all windows... but i'd like to have a
shortcut to that keyboard shortcut in the quicklaunch area aswell...
 
W

Wesley Vogel

Try this.

Create a VBS script for MinimizeAll.

Copy and paste text between the dashes (--) into Notepad.

------------Below this line----------
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.MinimizeAll
set objShell = nothing
------------Above this line----------

Save the file as MinimizeAll.vbs

Place MinimizeAll.vbs in My Documents or wherever, create a shortcut to
MinimizeAll.vbs.

Assign a Shortcut key to MinimizeAll.vbs.

Assign a Shortcut key

1. Locate the program file (.exe) or the program's shortcut icon.
Right-click the program file or shortcut and then click Properties.

2. Click the Shortcut tab.

3. With the cursor in the Shortcut key box, select the keyboard key you
want to use in combination with CTRL+ALT. Shortcut keys automatically start
with CTRL+ALT. The Shortcut key box will display None until you select the
key and then the box will display Ctrl+Alt+the key you selected. You cannot
use the ESC, ENTER, TAB, SPACEBAR, PRINT SCREEN, SHIFT, or BACKSPACE keys.

Note
Once you assign a shortcut key combination for a specific program, you will
not be able to use that key combination with other programs.

If you forget the key combination for your shortcut, you can follow steps 1
& 2 and review your shortcut keys.

Shortcut tab
Lists the shortcut name, target information, and shortcut key. Allows you to
choose the way the item is displayed when you open the shortcut: in a
standard window, a full screen (maximized), or as a button on the taskbar
(minimized). Also allows you to view the shortcut's target, change the icon
for the shortcut, and open a shortcut as a different user.

To specify shortcut keys for specific programs
http://www.microsoft.com/resources/...ddocs/en-us/windows_dos_specify_shortcut.mspx

MinimizeAll Method (Shell)
http://msdn.microsoft.com/library/e...ence/objects/shell/minimizeall.asp?frame=true

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
J

Johan

Wesley said:
Try this.

Create a VBS script for MinimizeAll.

Copy and paste text between the dashes (--) into Notepad.

------------Below this line----------
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.MinimizeAll
set objShell = nothing
------------Above this line----------

Save the file as MinimizeAll.vbs

Place MinimizeAll.vbs in My Documents or wherever, create a shortcut
to MinimizeAll.vbs.

Assign a Shortcut key to MinimizeAll.vbs.

Assign a Shortcut key

1. Locate the program file (.exe) or the program's shortcut icon.
Right-click the program file or shortcut and then click Properties.

2. Click the Shortcut tab.

3. With the cursor in the Shortcut key box, select the keyboard key
you want to use in combination with CTRL+ALT. Shortcut keys
automatically start with CTRL+ALT. The Shortcut key box will display
None until you select the key and then the box will display
Ctrl+Alt+the key you selected. You cannot use the ESC, ENTER, TAB,
SPACEBAR, PRINT SCREEN, SHIFT, or BACKSPACE keys.

Note
Once you assign a shortcut key combination for a specific program,
you will not be able to use that key combination with other programs.

If you forget the key combination for your shortcut, you can follow
steps 1 & 2 and review your shortcut keys.

Shortcut tab
Lists the shortcut name, target information, and shortcut key. Allows
you to choose the way the item is displayed when you open the
shortcut: in a standard window, a full screen (maximized), or as a
button on the taskbar (minimized). Also allows you to view the
shortcut's target, change the icon for the shortcut, and open a
shortcut as a different user.

To specify shortcut keys for specific programs
http://www.microsoft.com/resources/documentation/windows/xp/all/proddo
cs/en-us/windows_dos_specify_shortcut.mspx

MinimizeAll Method (Shell)
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/referen
ce/objects/shell/minimizeall.asp?frame=true

Thanx :)
i thought someone like a script could do the trick... i just lack the
skills to create those myself..
thanks again..works truly like a charm .. does exactly what was
intended...
 
W

Wesley Vogel

I didn't create it, just copied and pasted from the MSDN web site.

Keep having fun.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top