Archived from groups: microsoft.public.windowsxp.customize (
More info?)
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
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 /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%\desktop
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 %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.
You may have path problems. To make it work put in c:\ and change
for %A in (*.url) do c:\findhotkey.vbs "%1"
as all these directory changes may make it difficult for the script to be found (but shorten the amount of typing for the start menu FORs).
Ctrl + C Copies the text of a message box to the clipboard.
Your comments about Hotkey detective shows that it was incorrectly programmed. If it was correctly written it wouldn't care that paths are different.
--
----------------------------------------------------------
http://www.uscricket.com
"Stan Brown" <the_stan_brown@fastmail.fm> wrote in message news:3688heF3vo4srU3@individual.net...
> PC Magazine used to distribute a ?Hotkey Detective? program,
> which would look through all the Start Menu and find the
> key combinations, then present them in an easyview list.
>
> Unfortunately that program can?t read the Win XP Start Menu
> structure, and PC Mag is charging for the XP-compatible
> version.
>
> Does anyone know of a good way to list all the user-defined
> hotkey shortcuts in the Start Menu? (I?m not asking about
> the accelerator keys, the ones that show up underlined in
> menus, but about the ones users can define in the Properties
> dialog for shortcuts.)
>
> --
>
> Stan Brown, Oak Road Systems, Tompkins County, New York, USA
>
http://OakRoadSystems.com/