Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Folder shortcut key not working properly

Reply
 
Old 06-30-2008   #1 (permalink)


Basic
 
 

Folder shortcut key not working properly

I assigned a shortcut key to a shortcut, but it always stop working after I restart the computer. I have to keep changing the key in order for it to work again.

My System SpecsSystem Spec
Old 07-01-2008   #2 (permalink)


 
 

Re: Folder shortcut key not working properly

Is this shortcut on the desktop or start menu, or a subfolder of either? Do
you have the same shortcut key assigned to another shortcut on the desktop
or start menu, or a subfolder of either?



"Viperx116" <guest@xxxxxx-email.com> wrote in message
news:e21d7f8a4cd78ffa1079913e4979fd79@xxxxxx-gateway.com...
Quote:

>
> I assigned a shortcut key to a shortcut, but it always stop working
> after I restart the computer. I have to keep changing the key in order
> for it to work again.
>
>
> --
> Viperx116
My System SpecsSystem Spec
Old 07-02-2008   #3 (permalink)


Basic
 
 

Re: Folder shortcut key not working properly

It's a shortcut on the desktop and I don't have the keys assigned to anything else. Though, I did make it a hidden file and changed my folder settings to hide all hidden files.
My System SpecsSystem Spec
Old 07-02-2008   #4 (permalink)


 
 

Re: Folder shortcut key not working properly

I've attached a hta that includes diagnostics for hotkeys (and a rather full
keyboard guide). See the "Hotkey" topic (and a quick listing of current
hotkeys) and the "Diagnostic" topic (Tests here take 30 minutes).
"Viperx116" <guest@xxxxxx-email.com> wrote in message
news:146abae6426f3199340e8b4cd826a265@xxxxxx-gateway.com...
Quote:

>
> It's a shortcut on the desktop and I don't have the keys assigned to
> anything else. Though, I did make it a hidden file and changed my folder
> settings to hide all hidden files.
>
>
> --
> Viperx116
My System SpecsSystem Spec
Old 07-02-2008   #5 (permalink)


 
 

Re: Folder shortcut key not working properly

Hotkeys are also known as accelerators or shortcut keys (although there are
subtle differences between them). There are two general types of hotkeys.
Application hotkeys and global hotkeys.

Application hotkeys are application specific and can't be changed (at least
not easily). If you must change it then get a program like Resource Hacker
and edit the hotkey table in the application. Not all hotkeys are set in
this table, some are set by code and you can't change these.

There are two types of global hotkeys. Application registered and window (as
in what you see on the monitor) registered. When a hotkey is pressed the
application that registered it is activated and sent a message that a key
has been pressed. Windows when they are created can also have a hotkey
assigned.

When a user sets a hotkey they are telling Explorer (the program that does
the desktop, start menu, and taskbar) to register the hotkey to explorer,
and explorer starts the program, and then assigns the hotkey to the window
that is created.

Explorer looks in only 4 places for user defined hotkeys. The per user and
all user's start menu and desktop (and subfolders). However if it starts a
program that has a hotkey assigned it will register that hotkey to the
window.

E.G. If there is a shortcut on the start menu to notepad that has a hotkey
assigned, pressing that hotkey starts the program. Pressing it later while
the program is still running will switch to that program (as explorer then
registered that key to the window). If the shortcut is somewhere that
explorer does not look (like the Quick Launch bar) the hotkey does not get
registered. However if you start the program from this shortcut its hotkey
is registered to the window.

Microsoft is divided into teams. The Shell team decided that for letters
only Ctrl + Alt + a letter would be allowed (so users don't assign keys that
programs normally use like Ctrl + S for Save a file). The International team
forbids the same keystrokes (as Alt Gr key is the same as Ctrl + Alt and
thus prevents entering that international character). So one can only assign
hotkeys that are forbidden. Also F12 is reserved for a debugger. The Shell
team considers this legal as well.

Below is a list of hotkeys that can start programs. If you need to list all
user hotkeys see the Diagnostics section as it will be slow as all files
need to be examined. Also Internet Shortcuts aren't included due to speed
reasons. The Diagnostics section does list these as well.

List user set hotkeys

List all user set hotkeys

This includes all favourites and shortcuts. This will take a quite a few
minutes (30 minutes for 33,000 files in 7,000 folders on my machine) and the
application will be listed as Not Responding till it finishes (a program
listed as Not Responding means it hasn't picked up any messages from windows
for 10 seconds - windows guesses it has crashed but can't actually tell -
the program is unaffected by the status windows assigns to it). You can
continue to use other programs.

Under Hotkeys a similar routine lists all hotkeys that can start programs
(and takes a fraction of the time). This lists all shortcuts and favourites
on your hard drive. If a program is started from this shortcut then the
hotkey is applied to the window, and will switch to that window, even if the
hotkey can't start the program.

As mentioned in the Hotkeys topic, Explorer looks in 4 locations (and their
sub folders) for Hotkeys to register. This lists what 4 locations Explorer
is actually looking at on this computer.

Current User Desktop
C:\Users\David Candy\Desktop
Current User Start Menu
C:\Users\David Candy\AppData\Roaming\Microsoft\Windows\Start Menu
All Users Desktop
C:\Users\Public\Desktop
All Users Start Menu
C:\ProgramData\Microsoft\Windows\Start Menu
Using multiple keyboards may also reserve hotkeys. See Switching Keyboards
topic. Unlike other hotkeys here, which can be any key, these can only be
from a small specified list, Ctrl or Shift + Left Alt + <a number, tilde
(~), or accent grave (`)>. If you have problems with these keys see the
Switching Keyboards topic to review your settings. Other hotkeys may have
rules but the rules are enforced when setting the key. One can manually
change it to any key.

The debugger hotkey is stored at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug in a
dword value named UserDebuggerHotKey. The default value is 0 which means the
F12 key is used. A non 0 value here is the virtual key code (0x7b is the key
code for F12 so 0 or 0x7b will make F12 the hotkey). Microsoft's
documentation incorrectly states it is a scancode.

On this computer the key is F12

In Windows XP Professional (or Windows 2000) type in Start - Run ntsd
c:\windows\notepad, then type g (for Go) at the command prompt. Notepad will
start. Press F12 and the debugger will halt notepad and one can single step
through its' code (type p). Type g again to allow notepad to continue
running. When exiting Notepad press g again to finish terminating it. It
automatically breaks after loading and just before unloading.


"Viperx116" <guest@xxxxxx-email.com> wrote in message
news:146abae6426f3199340e8b4cd826a265@xxxxxx-gateway.com...
Quote:

>
> It's a shortcut on the desktop and I don't have the keys assigned to
> anything else. Though, I did make it a hidden file and changed my folder
> settings to hide all hidden files.
>
>
> --
> Viperx116
My System SpecsSystem Spec
Old 07-03-2008   #6 (permalink)


Basic
 
 

Re: Folder shortcut key not working properly

Where are the Hotkey and Diagnostic topics? I can't find the.
My System SpecsSystem Spec
Old 07-03-2008   #7 (permalink)
Ramesh, MS-MVP


 
 

Re: Folder shortcut key not working properly

Welcome back!

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com


<.> wrote in message news:%23ZQ3G0L3IHA.1808@xxxxxx
Quote:

> I've attached a hta that includes diagnostics for hotkeys (and a rather
> full
> keyboard guide). See the "Hotkey" topic (and a quick listing of current
> hotkeys) and the "Diagnostic" topic (Tests here take 30 minutes).
> "Viperx116" <guest@xxxxxx-email.com> wrote in message
> news:146abae6426f3199340e8b4cd826a265@xxxxxx-gateway.com...
Quote:

>>
>> It's a shortcut on the desktop and I don't have the keys assigned to
>> anything else. Though, I did make it a hidden file and changed my folder
>> settings to hide all hidden files.
>>
>>
>> --
>> Viperx116
>

My System SpecsSystem Spec
Old 07-03-2008   #8 (permalink)


 
 

Re: Folder shortcut key not working properly

Create a text file and paste lines in

on error resume next
set WshShell = WScript.CreateObject("WScript.Shell")
Set Ag=Wscript.Arguments
set lnk = WshShell.CreateShortcut(A)
If lnk.hotkey <> "" then
msgbox A & vbcrlf & lnk.hotkey
End If

Rename it to findhotkey.vbs and put in c:\windows

Explorer looks in 4 places for hotkeys, these are read on startup. The
hotkey is stored in the shortcut. Only hotkeys on shortcuts in the four
locations are live.

Type in a command prompt

cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%1"
for %A in (*.pif) do findhotkey.vbs "%1"
for %A in (*.url) do findhotkey.vbs "%1"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%1"
for %A in (*.pif) do findhotkey.vbs "%1"
for %A in (*.url) do findhotkey.vbs "%1"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%1"
for /r %A in (*.pif) do findhotkey.vbs "%1"
for /r %A in (*.url) do findhotkey.vbs "%1"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%1"
for /r %A in (*.pif) do findhotkey.vbs "%1"
for /r %A in (*.url) do findhotkey.vbs "%1"

Each shortcut, that has a hotkey, will pop up a dialog with the name of the
shortcut and it's hotkey.


"Viperx116" <guest@xxxxxx-email.com> wrote in message
news:8e35839ea9b6eee0f5dc7ca2c1d8f886@xxxxxx-gateway.com...
Quote:

>
> Where are the Hotkey and Diagnostic topics? I can't find the.
>
>
> --
> Viperx116
My System SpecsSystem Spec
Old 07-04-2008   #9 (permalink)


 
 

Re: Folder shortcut key not working properly


"Ramesh, MS-MVP" <ramesh@xxxxxx> wrote in message news:OJk5FhM3IHA.4036@xxxxxx
Quote:

> Welcome back!
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
> The Winhelponline Blog: http://www.winhelponline.com/blog
> Windows® Troubleshooting: http://www.winhelponline.com
>
>
> <.> wrote in message news:%23ZQ3G0L3IHA.1808@xxxxxx
Quote:

>> I've attached a hta that includes diagnostics for hotkeys (and a rather
>> full
>> keyboard guide). See the "Hotkey" topic (and a quick listing of current
>> hotkeys) and the "Diagnostic" topic (Tests here take 30 minutes).
>> "Viperx116" <guest@xxxxxx-email.com> wrote in message
>> news:146abae6426f3199340e8b4cd826a265@xxxxxx-gateway.com...
Quote:

>>>
>>> It's a shortcut on the desktop and I don't have the keys assigned to
>>> anything else. Though, I did make it a hidden file and changed my folder
>>> settings to hide all hidden files.
>>>
>>>
>>> --
>>> Viperx116
>>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Is this working properly? Vista networking & sharing
Windows Explorer: folder shortcut, can't navigate up the folder tree Vista General
AutoExpand Folder shortcut with > 100 files in Folder Vista file management
TASKBAR NOT WORKING PROPERLY!!! Vista General
USB Ports not working properly Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46