A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Shortcut keys cannot be re-used



 
 
Thread Tools Display Modes
  #31  
Old November 27th 04, 02:34 AM
David Candy
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

I used to write BQL and XEdit/Rexx in IBM's CP/VMS (I think that the =
right collections of letters - they're all so similar).

But in 86 we wanted to do a mailing list and our printers only did upper =
case so we bought a AT.

The mainframe could do sorts in a blink of an eye. DBase III+ took =
overnight. But it could do lower case. And the mainframe hung 20 times a =
day.
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =
...
David,
My apologies,
=20
I simply meant that the text of the file was everything between (but =

not=20
including) START and END.
=20
I will review the newsgroup entires and see if this helps me. I don't =

know=20
whether I have said before, but I spent most of my professional life =

as one=20
of these (now almost obsolete!!) Mainframe programmers, who has only =

recently=20
- at least in my time scale - had to come to grips with PCs. So I am =

still a=20
learner on many things.
=20
I appreciate the help I have received from the Newsgroup. =20
=20
=20
=20
=20
"David Candy" wrote:
=20
Adding Start and End will stop it working.
=20
I've attached both files to previous posts.=20
=20
news://msnews.microsoft.com/#6wMCO40...TNGP10.phx.gbl
news://msnews.microsoft.com/OZJYXC20...TNGP12.phx.gbl
=20
To view this newsgroup use
news://msnews.microsoft.com/microsof...wsxp.customize
=20
In OE's main window you probably need to change the setting at=20
Tools - Options - Do Not Allow Attachments ....
before you can use them.
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David and Wes,
I must be as thick as a brick.
=20
I cannot get either of the two files to run.
=20
This is C:\findhotkey.vbs (copied exactly as David sent it - I have =

added=20
START and END delimiters)
START
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
END
=20
Double-clicking it caused a response from Norton
"Alert:Malicious Script detected"
=20
I selected "Allow the entire script once" and pressed OK and I got=20
absolutely nothing
=20
This is C:\findhotkeys.bat (modified as suggested by David so that =

"%A" is=20
at the end of the line - I have added START and END delimiters)
START
cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
END
=20
I opened the Command Prompt, changed directory to C: (command cd \) =

and=20
typed findhotkeys (to execute the .bat file of that name)
=20
The result was
C:\cd C:\Documents and Settings\Trevor\
desktop
A" was unexpected at this time.
=20
I restarted the computer and tried again with exactly the same =

result.
=20
I note that both of you have run this successfully, so what is =

dunderhead=20
(namely me!) doing wrong?
=20
Cheers
=20
=20
"David Candy" wrote:
=20
All tweakui have features that the other don't. 1.33 was written =

for new features introduced with Win ME / Win 2000. It's the only =
version to repair hotkeys.
=20
If you want to edit Add/Remove you need the first Tweakui for 95.
=20
My whole point of joining in was to say those registry keys are =

probably irrelevent.
=20
When starting a program one can specify a hotkey for the main =

window. A program can register a hotkey for it's own main window. Or it =
can register global hotkeys (ie not just for the main window).
=20
None of these are shortcut hotkeys. They are registered in memory. =

Presumbably Explorer is registering global hot keys on startup and then =
starts the whatever when windows tells explorer it has been pressed. But =
that's a guess.
=20
I've attached a script that prints hotkey in a msgbox, and include =

the content in the body here
=20
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
=20
To use type cmd in start Run
=20
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.
=20
Type in a command prompt
=20
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"
=20
Each shortcut, that has a hotkey, will pop up a dialog with the =

name of the shortcut and it's hotkey.
=20
You may have path problems. To make it work put in c:\ and change=20
=20
for %A in (*.url) do c:\findhotkey.vbs "%1"
=20
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).
=20
Ctrl + C Copies the text of a message box to the clipboard.=20
=20
It is not reccommended that Ctrl + Alt be used with Hotkeys. Ctrl =

+ left hand side Alt =3D Right hand side Alt and enters international =
characters if using the US International keyboard. Also F12 is reserved =
for the use of debuggers.
=20
=20
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David,
Thanks.
=20
So that is not the right place to look.
=20
I set the hotkey in the normal way. I created a shortcut to the =

Nero Manual=20
on the desktop and then set the key in the shortcut. I doubt =

that Nero set=20
anything.
=20
Yes, it was a shortcut that I deleted, but then I reinstated it =

and set the=20
key to "none". I then used the same key in another program, =

which I think=20
works the second way, i.e. the program registers the key. =

(Although I wonder=20
where!)
=20
I will have a look at Tweakui Ver 1.33 and see what I can find. =

I already=20
have a version of TweakUI (File Version 2.10.0.0). If the other =

one is later=20
and has more features, including repairing hot keys that would =

be great.
=20
Thanks for the help to date.
=20
"David Candy" wrote:
=20
The point is they are ONLY multi language hotkeys for use only =

with multi language features. It is Soooooooooo unlikely to be under =
here.
=20
So there are two ways (apart from these multilingual features) =

of setting a hotkey. In shortcuts on Start Menu or Desktop items. By a =
program registering a hotkey when that program is started.
=20
I presume Nero doesn't do this?
You have checked all shortcuts (after all it could be in a =

shortcut to an item you deleted and Windows found the closest match for =
you)?
=20
Tweakui Ver 1.33 has a repair hotkey feature.=20
=

http://www.microsoft.com/NTWorkstati...etworking/NTT=
weakUI.asp
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in =

message ...
Wes and David,
=20
All good things come to an end.
=20
I now find that Ctl-Alt-R invokes the old program again - =

Nero BurningRom=20
Help Manual. (I have restarted the computer since it last =

worked as I wanted.)
=20
The contents of HKEY_CURRENT_USER\Control Panel\Input =

Method\Hot Keys follows
=20
START
Windows Registry Editor Version 5.00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys]
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000010]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000011]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000012]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:be,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000070]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000071]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000072]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:bc,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000200]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:47,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000201]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4b,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000202]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4c,00,00,00
END
=20
It is difficult to understand what these mean, but I =

certainly cannot find=20
any reference to Ctl-Alt-R
=20
From what you (David) said,=20
Ctl-Alt should be &H03
R should be &H52
This combination does not appear anywhere!
=20
So I assume that the reference to Ctl-Alt-R is not stored in =

Hot Keys
=20
Any ideas?
=20
It doesn't have to involve Registry tweaking so long as I can =

reuse the Key=20
(or any other key, for that matter) .
=20
Cheers
=20
"Wesley Vogel" wrote:
=20
Trevor,
=20
See David Candy's post. I mentioned that I couldn't read =

hex, he can.
=20
Glad to hear that you got it sorted out.
=20
BTW, I'm still deciphering David's post. :-) And working =

on 49 other
things.
=20
--=20
Hope this helps. Let us know.
Wes
=20
In news Trevor L. hunted and =

pecked:
Zulu and Wes,
Thanks to you both

Zulu,
Yes, I will set the shortcut key as you suggested.
I will try different keys, including Function keys - =

sounds good.

Wes,
I have yet to try your suggestions for the Registry, but =

am looking
forward to it.

BTW,
I have managed to assign the key I used before to the new =

program.
Whether this is the only way or not or whetehr it will =

continue to
work, I don't know, but here is what I did.

I re-created the old Shortcut (it had been deleted) and =

enetered the
old shortcut key. I tested it and it worked (referring to =

the old
program). I then changed the key in that shortcut to =

"none" and tried
the shortcut key again - it did nothing (as one would =

hope). I then
allocated the key to the new program, tried it, and it =

worked !!

I still have the old shortcut with key set to "none", but =

that's OK -
I just moved it a general folder with other shortcuts - =

not the
desktop, which I don't want cluttered.

I don't know whether this is worth posting anywhere, as =

the KB
article I read (can't remember the number) said keys =

cannot be
reallocated, as did you , Wes.

Many thanks

"Trevor L." wrote:

Wes,

I am disappointed that I can't reassign a shortcut key to =

another
program. As I say, there are only so many combinations =

one can use
before you run out of keys - 26 alpha, 10 numeric (and =

perhaps the
12 Function keys although I have ever tried these, so I =

don't know).

I have already deleted the shortcut to the Nero Help =

Manual, but
before I did, I made sure that the shortcut key was set =

to "(none)".
Thanks for the info. as to how to find what key is =

assigned to a
particular shortcut, but since changing it to "(none)" =

and deleting
it makes no difference, it sort of doesn't help too much.

Do you know where the info. is stored as to what shortcut =

key opens
what program?

Because the info. is retained after the shortcut itself =

is deleted,
I would assume that the info. must be stored in the =

Registry. But I
searched the registry for the value "BurningRom" (as the =

name of the
program opened by the shortcut key is "C:\Program
Files\Ahead\Nero\NeroBurningRom_Eng.pdf"). But no entry =

that I found
seemed to contain any info. about shortcut key values.

If I could edit the registry to remove/change shortcut =

key
assignments, that would solve the problem.

Many thanks

"Wesley Vogel" wrote:

Once you assign a shortcut key combination for a =

specific program,
you will not be able to use that key combination with =

other
programs.

Find the Nero Help Manual or the shortcut to same. =

Delete the
shortcut, if it exists.

Follow the instructions below if no shortcut.

If you forget the key combination for your shortcut, you =

can follow
steps 2 through 3 and review your shortcut keys.

2. Locate the program file (.exe) or the program's =

shortcut icon.
Right-click the program file or shortcut, and then click =

Properties.

3. Click the Program tab for an MS-DOS program or the =

Shortcut tab
for a Windows program.

--
Hope this helps. Let us know.
Wes

In =

,
Trevor L. hunted and =

pecked:
I used to have a Shortcut Ctl-Alt-R which opened a User =

manual
(actually for Nero). I no longer want to do this as I =

am fairly
used to Nero now and can open it directly when I want =

to, so I
changed the key to (none).

I later decided to re-use Ctl-Alt-R to invoke a program =

which will
restart the PC. (I changed the setting in this program =

to use this
sequence.)

But I find that using Ctl-Alt-R still invokes the User =

manual.
There was some info. on a Microsoft KB document re this =

problem,
but I can't get it to work. I made sure that the old =

Shortcut had
(none), then deleted it.

As there are limited letters to use with Ctl-Alt, the =

ability to
reuse them is important. Can anyone help?
However, the Ctl-Alt-R sequence still opend the Help =

Manual.
=20



Ads
  #32  
Old November 27th 04, 03:59 AM
Trevor L.
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

David,
Wonderful,

I changed C:\findhotkeys.bat so that "%A" became "%%A" and findhotkey.vbs
became C:\findhotkey.vbs, and from the CMD prompt ran C:\findhotkeys.bat
C:\hotkeys.txt

The .bat file and the .vbs file have different names as Wes' response
suggests. C:\findhotkeys.bat calls C:\findhotkey.vbs

I got a window for every shortcut with a hotkey and in C:\hotkeys.txt I got
every shortcut listed, with or without a shortcut key set.

The set of windows and the list of shortcuts repeated which must mean that
%UserProfile% is the same as %AllUsersProfile%.

It is great to actually succeed in doing this. However, no result showed a
key Alt+Ctl+R, which is the hotkey causing the problem.

Cheers

"David Candy" wrote:

Also in bat files what you type as %letter in a prompt you use %%letter in a bat (that is pretty much the only difference between typing and bats). Again no start or end. Also the script is called once for each shortcut. If you have 100 shortcuts you need to allow it to run 100 times.

Also it's safer when one has two executables of the same name to specify the extension
findhotkeys.bat
although in this case bat have precedence over vbs.
--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message ...
David and Wes,
I must be as thick as a brick.

I cannot get either of the two files to run.

This is C:\findhotkey.vbs (copied exactly as David sent it - I have added
START and END delimiters)
START
on error resume next
set WshShell = WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=Wscript.Arguments
If Ag.Count 0 then
For x = 0 to Ag.Count -1
A = A & Ag(x)
Next
End If
Set FSO = CreateObject("Scripting.FileSystemObject")
f=FSO.GetFile(A)
set lnk = WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
END

Double-clicking it caused a response from Norton
"Alert:Malicious Script detected"

I selected "Allow the entire script once" and pressed OK and I got
absolutely nothing

This is C:\findhotkeys.bat (modified as suggested by David so that "%A" is
at the end of the line - I have added START and END delimiters)
START
cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
END

I opened the Command Prompt, changed directory to C: (command cd \) and
typed findhotkeys (to execute the .bat file of that name)

The result was
C:\cd C:\Documents and Settings\Trevor\
desktop
A" was unexpected at this time.

I restarted the computer and tried again with exactly the same result.

I note that both of you have run this successfully, so what is dunderhead
(namely me!) doing wrong?

Cheers


"David Candy" wrote:

All tweakui have features that the other don't. 1.33 was written for new features introduced with Win ME / Win 2000. It's the only version to repair hotkeys.

If you want to edit Add/Remove you need the first Tweakui for 95.

My whole point of joining in was to say those registry keys are probably irrelevent.

When starting a program one can specify a hotkey for the main window. A program can register a hotkey for it's own main window. Or it can register global hotkeys (ie not just for the main window).

None of these are shortcut hotkeys. They are registered in memory. Presumbably Explorer is registering global hot keys on startup and then starts the whatever when windows tells explorer it has been pressed. But that's a guess.

I've attached a script that prints hotkey in a msgbox, and include the content in the body here

on error resume next
set WshShell = WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=Wscript.Arguments
If Ag.Count 0 then
For x = 0 to Ag.Count -1
A = A & Ag(x)
Next
End If
Set FSO = CreateObject("Scripting.FileSystemObject")
f=FSO.GetFile(A)
set lnk = WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If

To use type cmd in start Run

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.

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.

It is not reccommended that Ctrl + Alt be used with Hotkeys. Ctrl + left hand side Alt = Right hand side Alt and enters international characters if using the US International keyboard. Also F12 is reserved for the use of debuggers.



--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message ...
David,
Thanks.

So that is not the right place to look.

I set the hotkey in the normal way. I created a shortcut to the Nero Manual
on the desktop and then set the key in the shortcut. I doubt that Nero set
anything.

Yes, it was a shortcut that I deleted, but then I reinstated it and set the
key to "none". I then used the same key in another program, which I think
works the second way, i.e. the program registers the key. (Although I wonder
where!)

I will have a look at Tweakui Ver 1.33 and see what I can find. I already
have a version of TweakUI (File Version 2.10.0.0). If the other one is later
and has more features, including repairing hot keys that would be great.

Thanks for the help to date.

"David Candy" wrote:

The point is they are ONLY multi language hotkeys for use only with multi language features. It is Soooooooooo unlikely to be under here.

So there are two ways (apart from these multilingual features) of setting a hotkey. In shortcuts on Start Menu or Desktop items. By a program registering a hotkey when that program is started.

I presume Nero doesn't do this?
You have checked all shortcuts (after all it could be in a shortcut to an item you deleted and Windows found the closest match for you)?

Tweakui Ver 1.33 has a repair hotkey feature.
http://www.microsoft.com/NTWorkstati.../NTTweakUI.asp

--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message ...
Wes and David,

All good things come to an end.

I now find that Ctl-Alt-R invokes the old program again - Nero BurningRom
Help Manual. (I have restarted the computer since it last worked as I wanted.)

The contents of HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys follows

START
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys]

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000010]
"Key Modifiers"=hex:02,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000011]
"Key Modifiers"=hex:04,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000012]
"Key Modifiers"=hex:02,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:be,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000070]
"Key Modifiers"=hex:02,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000071]
"Key Modifiers"=hex:04,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000072]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:bc,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000200]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:47,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000201]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:4b,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000202]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:4c,00,00,00
END

It is difficult to understand what these mean, but I certainly cannot find
any reference to Ctl-Alt-R

From what you (David) said,
Ctl-Alt should be &H03
R should be &H52
This combination does not appear anywhere!

So I assume that the reference to Ctl-Alt-R is not stored in Hot Keys

Any ideas?

It doesn't have to involve Registry tweaking so long as I can reuse the Key
(or any other key, for that matter) .

Cheers

"Wesley Vogel" wrote:

Trevor,

See David Candy's post. I mentioned that I couldn't read hex, he can.

Glad to hear that you got it sorted out.

BTW, I'm still deciphering David's post. :-) And working on 49 other
things.

--
Hope this helps. Let us know.
Wes

In news Trevor L. hunted and pecked:
Zulu and Wes,
Thanks to you both

Zulu,
Yes, I will set the shortcut key as you suggested.
I will try different keys, including Function keys - sounds good.

Wes,
I have yet to try your suggestions for the Registry, but am looking
forward to it.

BTW,
I have managed to assign the key I used before to the new program.
Whether this is the only way or not or whetehr it will continue to
work, I don't know, but here is what I did.

I re-created the old Shortcut (it had been deleted) and enetered the
old shortcut key. I tested it and it worked (referring to the old
program). I then changed the key in that shortcut to "none" and tried
the shortcut key again - it did nothing (as one would hope). I then
allocated the key to the new program, tried it, and it worked !!

I still have the old shortcut with key set to "none", but that's OK -
I just moved it a general folder with other shortcuts - not the
desktop, which I don't want cluttered.

I don't know whether this is worth posting anywhere, as the KB
article I read (can't remember the number) said keys cannot be
reallocated, as did you , Wes.

Many thanks

"Trevor L." wrote:

Wes,

I am disappointed that I can't reassign a shortcut key to another
program. As I say, there are only so many combinations one can use
before you run out of keys - 26 alpha, 10 numeric (and perhaps the
12 Function keys although I have ever tried these, so I don't know).

I have already deleted the shortcut to the Nero Help Manual, but
before I did, I made sure that the shortcut key was set to "(none)".
Thanks for the info. as to how to find what key is assigned to a
particular shortcut, but since changing it to "(none)" and deleting
it makes no difference, it sort of doesn't help too much.

Do you know where the info. is stored as to what shortcut key opens
what program?

Because the info. is retained after the shortcut itself is deleted,
I would assume that the info. must be stored in the Registry. But I
searched the registry for the value "BurningRom" (as the name of the
program opened by the shortcut key is "C:\Program
Files\Ahead\Nero\NeroBurningRom_Eng.pdf"). But no entry that I found
seemed to contain any info. about shortcut key values.

If I could edit the registry to remove/change shortcut key
assignments, that would solve the problem.

Many thanks

"Wesley Vogel" wrote:

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

Find the Nero Help Manual or the shortcut to same. Delete the
shortcut, if it exists.

Follow the instructions below if no shortcut.

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

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

3. Click the Program tab for an MS-DOS program or the Shortcut tab
for a Windows program.

--
Hope this helps. Let us know.
Wes

In ,
Trevor L. hunted and pecked:
I used to have a Shortcut Ctl-Alt-R which opened a User manual
(actually for Nero). I no longer want to do this as I am fairly
used to Nero now and can open it directly when I want to, so I
changed the key to (none).

I later decided to re-use Ctl-Alt-R to invoke a program which will
restart the PC. (I changed the setting in this program to use this
sequence.)

But I find that using Ctl-Alt-R still invokes the User manual.
There was some info. on a Microsoft KB document re this problem,
but I can't get it to work. I made sure that the old Shortcut had
(none), then deleted it.

As there are limited letters to use with Ctl-Alt, the ability to
reuse them is important. Can anyone help?
However, the Ctl-Alt-R sequence still opend the Help Manual.




  #33  
Old November 27th 04, 04:21 AM
David Candy
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

These are settings for all users.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\She=
ll Folders
This is for 95/98 programs. It uses absolute paths and Reg_sz data type
Common Start Menu=3DC:\Documents and Settings\All Users\Start Menu

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Explorer\Use=
r Shell Folders
This is for faulty ME/XP/2000 programs that incorrectly read the =
registry. It uses variables and Reg_Expand_sz (which tells it to convert =
variables to absolute paths)
Common Start Menu=3D%ALLUSERSPROFILE%\Start Menu

These are for your user only. Comments above apply to the respective =
last key name.

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Shel=
l Folders
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User=
Shell Folders

Programs (and commonprograms) and Startup (and commonstartup) are other =
Start Menu sub folders.


--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =
news
David,
Wonderful,
=20
I changed C:\findhotkeys.bat so that "%A" became "%%A" and =

findhotkey.vbs=20
became C:\findhotkey.vbs, and from the CMD prompt ran =

C:\findhotkeys.bat =20
C:\hotkeys.txt
=20
The .bat file and the .vbs file have different names as Wes' response=20
suggests. C:\findhotkeys.bat calls C:\findhotkey.vbs=20
=20
I got a window for every shortcut with a hotkey and in C:\hotkeys.txt =

I got=20
every shortcut listed, with or without a shortcut key set.=20
=20
The set of windows and the list of shortcuts repeated which must mean =

that=20
%UserProfile% is the same as %AllUsersProfile%.
=20
It is great to actually succeed in doing this. However, no result =

showed a=20
key Alt+Ctl+R, which is the hotkey causing the problem.
=20
Cheers
=20
"David Candy" wrote:
=20
Also in bat files what you type as %letter in a prompt you use =

%%letter in a bat (that is pretty much the only difference between =
typing and bats). Again no start or end. Also the script is called once =
for each shortcut. If you have 100 shortcuts you need to allow it to run =
100 times.
=20
Also it's safer when one has two executables of the same name to =

specify the extension
findhotkeys.bat
although in this case bat have precedence over vbs.
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David and Wes,
I must be as thick as a brick.
=20
I cannot get either of the two files to run.
=20
This is C:\findhotkey.vbs (copied exactly as David sent it - I have =

added=20
START and END delimiters)
START
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
END
=20
Double-clicking it caused a response from Norton
"Alert:Malicious Script detected"
=20
I selected "Allow the entire script once" and pressed OK and I got=20
absolutely nothing
=20
This is C:\findhotkeys.bat (modified as suggested by David so that =

"%A" is=20
at the end of the line - I have added START and END delimiters)
START
cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
END
=20
I opened the Command Prompt, changed directory to C: (command cd \) =

and=20
typed findhotkeys (to execute the .bat file of that name)
=20
The result was
C:\cd C:\Documents and Settings\Trevor\
desktop
A" was unexpected at this time.
=20
I restarted the computer and tried again with exactly the same =

result.
=20
I note that both of you have run this successfully, so what is =

dunderhead=20
(namely me!) doing wrong?
=20
Cheers
=20
=20
"David Candy" wrote:
=20
All tweakui have features that the other don't. 1.33 was written =

for new features introduced with Win ME / Win 2000. It's the only =
version to repair hotkeys.
=20
If you want to edit Add/Remove you need the first Tweakui for 95.
=20
My whole point of joining in was to say those registry keys are =

probably irrelevent.
=20
When starting a program one can specify a hotkey for the main =

window. A program can register a hotkey for it's own main window. Or it =
can register global hotkeys (ie not just for the main window).
=20
None of these are shortcut hotkeys. They are registered in memory. =

Presumbably Explorer is registering global hot keys on startup and then =
starts the whatever when windows tells explorer it has been pressed. But =
that's a guess.
=20
I've attached a script that prints hotkey in a msgbox, and include =

the content in the body here
=20
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
=20
To use type cmd in start Run
=20
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.
=20
Type in a command prompt
=20
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"
=20
Each shortcut, that has a hotkey, will pop up a dialog with the =

name of the shortcut and it's hotkey.
=20
You may have path problems. To make it work put in c:\ and change=20
=20
for %A in (*.url) do c:\findhotkey.vbs "%1"
=20
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).
=20
Ctrl + C Copies the text of a message box to the clipboard.=20
=20
It is not reccommended that Ctrl + Alt be used with Hotkeys. Ctrl =

+ left hand side Alt =3D Right hand side Alt and enters international =
characters if using the US International keyboard. Also F12 is reserved =
for the use of debuggers.
=20
=20
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David,
Thanks.
=20
So that is not the right place to look.
=20
I set the hotkey in the normal way. I created a shortcut to the =

Nero Manual=20
on the desktop and then set the key in the shortcut. I doubt =

that Nero set=20
anything.
=20
Yes, it was a shortcut that I deleted, but then I reinstated it =

and set the=20
key to "none". I then used the same key in another program, =

which I think=20
works the second way, i.e. the program registers the key. =

(Although I wonder=20
where!)
=20
I will have a look at Tweakui Ver 1.33 and see what I can find. =

I already=20
have a version of TweakUI (File Version 2.10.0.0). If the other =

one is later=20
and has more features, including repairing hot keys that would =

be great.
=20
Thanks for the help to date.
=20
"David Candy" wrote:
=20
The point is they are ONLY multi language hotkeys for use only =

with multi language features. It is Soooooooooo unlikely to be under =
here.
=20
So there are two ways (apart from these multilingual features) =

of setting a hotkey. In shortcuts on Start Menu or Desktop items. By a =
program registering a hotkey when that program is started.
=20
I presume Nero doesn't do this?
You have checked all shortcuts (after all it could be in a =

shortcut to an item you deleted and Windows found the closest match for =
you)?
=20
Tweakui Ver 1.33 has a repair hotkey feature.=20
=

http://www.microsoft.com/NTWorkstati...etworking/NTT=
weakUI.asp
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in =

message ...
Wes and David,
=20
All good things come to an end.
=20
I now find that Ctl-Alt-R invokes the old program again - =

Nero BurningRom=20
Help Manual. (I have restarted the computer since it last =

worked as I wanted.)
=20
The contents of HKEY_CURRENT_USER\Control Panel\Input =

Method\Hot Keys follows
=20
START
Windows Registry Editor Version 5.00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys]
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000010]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000011]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000012]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:be,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000070]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000071]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000072]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:bc,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000200]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:47,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000201]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4b,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000202]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4c,00,00,00
END
=20
It is difficult to understand what these mean, but I =

certainly cannot find=20
any reference to Ctl-Alt-R
=20
From what you (David) said,=20
Ctl-Alt should be &H03
R should be &H52
This combination does not appear anywhere!
=20
So I assume that the reference to Ctl-Alt-R is not stored in =

Hot Keys
=20
Any ideas?
=20
It doesn't have to involve Registry tweaking so long as I can =

reuse the Key=20
(or any other key, for that matter) .
=20
Cheers
=20
"Wesley Vogel" wrote:
=20
Trevor,
=20
See David Candy's post. I mentioned that I couldn't read =

hex, he can.
=20
Glad to hear that you got it sorted out.
=20
BTW, I'm still deciphering David's post. :-) And working =

on 49 other
things.
=20
--=20
Hope this helps. Let us know.
Wes
=20
In news Trevor L. hunted and =

pecked:
Zulu and Wes,
Thanks to you both

Zulu,
Yes, I will set the shortcut key as you suggested.
I will try different keys, including Function keys - =

sounds good.

Wes,
I have yet to try your suggestions for the Registry, but =

am looking
forward to it.

BTW,
I have managed to assign the key I used before to the new =

program.
Whether this is the only way or not or whetehr it will =

continue to
work, I don't know, but here is what I did.

I re-created the old Shortcut (it had been deleted) and =

enetered the
old shortcut key. I tested it and it worked (referring to =

the old
program). I then changed the key in that shortcut to =

"none" and tried
the shortcut key again - it did nothing (as one would =

hope). I then
allocated the key to the new program, tried it, and it =

worked !!

I still have the old shortcut with key set to "none", but =

that's OK -
I just moved it a general folder with other shortcuts - =

not the
desktop, which I don't want cluttered.

I don't know whether this is worth posting anywhere, as =

the KB
article I read (can't remember the number) said keys =

cannot be
reallocated, as did you , Wes.

Many thanks

"Trevor L." wrote:

Wes,

I am disappointed that I can't reassign a shortcut key to =

another
program. As I say, there are only so many combinations =

one can use
before you run out of keys - 26 alpha, 10 numeric (and =

perhaps the
12 Function keys although I have ever tried these, so I =

don't know).

I have already deleted the shortcut to the Nero Help =

Manual, but
before I did, I made sure that the shortcut key was set =

to "(none)".
Thanks for the info. as to how to find what key is =

assigned to a
particular shortcut, but since changing it to "(none)" =

and deleting
it makes no difference, it sort of doesn't help too much.

Do you know where the info. is stored as to what shortcut =

key opens
what program?

Because the info. is retained after the shortcut itself =

is deleted,
I would assume that the info. must be stored in the =

Registry. But I
searched the registry for the value "BurningRom" (as the =

name of the
program opened by the shortcut key is "C:\Program
Files\Ahead\Nero\NeroBurningRom_Eng.pdf"). But no entry =

that I found
seemed to contain any info. about shortcut key values.

If I could edit the registry to remove/change shortcut =

key
assignments, that would solve the problem.

Many thanks

"Wesley Vogel" wrote:

Once you assign a shortcut key combination for a =

specific program,
you will not be able to use that key combination with =

other
programs.

Find the Nero Help Manual or the shortcut to same. =

Delete the
shortcut, if it exists.

Follow the instructions below if no shortcut.

If you forget the key combination for your shortcut, you =

can follow
steps 2 through 3 and review your shortcut keys.

2. Locate the program file (.exe) or the program's =

shortcut icon.
Right-click the program file or shortcut, and then click =

Properties.

3. Click the Program tab for an MS-DOS program or the =

Shortcut tab
for a Windows program.

--
Hope this helps. Let us know.
Wes

In =

,
Trevor L. hunted and =

pecked:
I used to have a Shortcut Ctl-Alt-R which opened a User =

manual
(actually for Nero). I no longer want to do this as I =

am fairly
used to Nero now and can open it directly when I want =

to, so I
changed the key to (none).

I later decided to re-use Ctl-Alt-R to invoke a program =

which will
restart the PC. (I changed the setting in this program =

to use this
sequence.)

But I find that using Ctl-Alt-R still invokes the User =

manual.
There was some info. on a Microsoft KB document re this =

problem,
but I can't get it to work. I made sure that the old =

Shortcut had
(none), then deleted it.

As there are limited letters to use with Ctl-Alt, the =

ability to
reuse them is important. Can anyone help?
However, the Ctl-Alt-R sequence still opend the Help =

Manual.
=20



  #34  
Old November 27th 04, 04:32 AM
David Candy
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

Also thinking about how the bat file is coded.

Check under here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows =
NT\CurrentVersion\ProfileList

and what does echo %allusersprofile% say?
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =
news
David,
Wonderful,
=20
I changed C:\findhotkeys.bat so that "%A" became "%%A" and =

findhotkey.vbs=20
became C:\findhotkey.vbs, and from the CMD prompt ran =

C:\findhotkeys.bat =20
C:\hotkeys.txt
=20
The .bat file and the .vbs file have different names as Wes' response=20
suggests. C:\findhotkeys.bat calls C:\findhotkey.vbs=20
=20
I got a window for every shortcut with a hotkey and in C:\hotkeys.txt =

I got=20
every shortcut listed, with or without a shortcut key set.=20
=20
The set of windows and the list of shortcuts repeated which must mean =

that=20
%UserProfile% is the same as %AllUsersProfile%.
=20
It is great to actually succeed in doing this. However, no result =

showed a=20
key Alt+Ctl+R, which is the hotkey causing the problem.
=20
Cheers
=20
"David Candy" wrote:
=20
Also in bat files what you type as %letter in a prompt you use =

%%letter in a bat (that is pretty much the only difference between =
typing and bats). Again no start or end. Also the script is called once =
for each shortcut. If you have 100 shortcuts you need to allow it to run =
100 times.
=20
Also it's safer when one has two executables of the same name to =

specify the extension
findhotkeys.bat
although in this case bat have precedence over vbs.
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David and Wes,
I must be as thick as a brick.
=20
I cannot get either of the two files to run.
=20
This is C:\findhotkey.vbs (copied exactly as David sent it - I have =

added=20
START and END delimiters)
START
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
END
=20
Double-clicking it caused a response from Norton
"Alert:Malicious Script detected"
=20
I selected "Allow the entire script once" and pressed OK and I got=20
absolutely nothing
=20
This is C:\findhotkeys.bat (modified as suggested by David so that =

"%A" is=20
at the end of the line - I have added START and END delimiters)
START
cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
END
=20
I opened the Command Prompt, changed directory to C: (command cd \) =

and=20
typed findhotkeys (to execute the .bat file of that name)
=20
The result was
C:\cd C:\Documents and Settings\Trevor\
desktop
A" was unexpected at this time.
=20
I restarted the computer and tried again with exactly the same =

result.
=20
I note that both of you have run this successfully, so what is =

dunderhead=20
(namely me!) doing wrong?
=20
Cheers
=20
=20
"David Candy" wrote:
=20
All tweakui have features that the other don't. 1.33 was written =

for new features introduced with Win ME / Win 2000. It's the only =
version to repair hotkeys.
=20
If you want to edit Add/Remove you need the first Tweakui for 95.
=20
My whole point of joining in was to say those registry keys are =

probably irrelevent.
=20
When starting a program one can specify a hotkey for the main =

window. A program can register a hotkey for it's own main window. Or it =
can register global hotkeys (ie not just for the main window).
=20
None of these are shortcut hotkeys. They are registered in memory. =

Presumbably Explorer is registering global hot keys on startup and then =
starts the whatever when windows tells explorer it has been pressed. But =
that's a guess.
=20
I've attached a script that prints hotkey in a msgbox, and include =

the content in the body here
=20
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
=20
To use type cmd in start Run
=20
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.
=20
Type in a command prompt
=20
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"
=20
Each shortcut, that has a hotkey, will pop up a dialog with the =

name of the shortcut and it's hotkey.
=20
You may have path problems. To make it work put in c:\ and change=20
=20
for %A in (*.url) do c:\findhotkey.vbs "%1"
=20
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).
=20
Ctrl + C Copies the text of a message box to the clipboard.=20
=20
It is not reccommended that Ctrl + Alt be used with Hotkeys. Ctrl =

+ left hand side Alt =3D Right hand side Alt and enters international =
characters if using the US International keyboard. Also F12 is reserved =
for the use of debuggers.
=20
=20
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David,
Thanks.
=20
So that is not the right place to look.
=20
I set the hotkey in the normal way. I created a shortcut to the =

Nero Manual=20
on the desktop and then set the key in the shortcut. I doubt =

that Nero set=20
anything.
=20
Yes, it was a shortcut that I deleted, but then I reinstated it =

and set the=20
key to "none". I then used the same key in another program, =

which I think=20
works the second way, i.e. the program registers the key. =

(Although I wonder=20
where!)
=20
I will have a look at Tweakui Ver 1.33 and see what I can find. =

I already=20
have a version of TweakUI (File Version 2.10.0.0). If the other =

one is later=20
and has more features, including repairing hot keys that would =

be great.
=20
Thanks for the help to date.
=20
"David Candy" wrote:
=20
The point is they are ONLY multi language hotkeys for use only =

with multi language features. It is Soooooooooo unlikely to be under =
here.
=20
So there are two ways (apart from these multilingual features) =

of setting a hotkey. In shortcuts on Start Menu or Desktop items. By a =
program registering a hotkey when that program is started.
=20
I presume Nero doesn't do this?
You have checked all shortcuts (after all it could be in a =

shortcut to an item you deleted and Windows found the closest match for =
you)?
=20
Tweakui Ver 1.33 has a repair hotkey feature.=20
=

http://www.microsoft.com/NTWorkstati...etworking/NTT=
weakUI.asp
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in =

message ...
Wes and David,
=20
All good things come to an end.
=20
I now find that Ctl-Alt-R invokes the old program again - =

Nero BurningRom=20
Help Manual. (I have restarted the computer since it last =

worked as I wanted.)
=20
The contents of HKEY_CURRENT_USER\Control Panel\Input =

Method\Hot Keys follows
=20
START
Windows Registry Editor Version 5.00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys]
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000010]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000011]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000012]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:be,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000070]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000071]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000072]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:bc,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000200]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:47,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000201]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4b,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000202]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4c,00,00,00
END
=20
It is difficult to understand what these mean, but I =

certainly cannot find=20
any reference to Ctl-Alt-R
=20
From what you (David) said,=20
Ctl-Alt should be &H03
R should be &H52
This combination does not appear anywhere!
=20
So I assume that the reference to Ctl-Alt-R is not stored in =

Hot Keys
=20
Any ideas?
=20
It doesn't have to involve Registry tweaking so long as I can =

reuse the Key=20
(or any other key, for that matter) .
=20
Cheers
=20
"Wesley Vogel" wrote:
=20
Trevor,
=20
See David Candy's post. I mentioned that I couldn't read =

hex, he can.
=20
Glad to hear that you got it sorted out.
=20
BTW, I'm still deciphering David's post. :-) And working =

on 49 other
things.
=20
--=20
Hope this helps. Let us know.
Wes
=20
In news Trevor L. hunted and =

pecked:
Zulu and Wes,
Thanks to you both

Zulu,
Yes, I will set the shortcut key as you suggested.
I will try different keys, including Function keys - =

sounds good.

Wes,
I have yet to try your suggestions for the Registry, but =

am looking
forward to it.

BTW,
I have managed to assign the key I used before to the new =

program.
Whether this is the only way or not or whetehr it will =

continue to
work, I don't know, but here is what I did.

I re-created the old Shortcut (it had been deleted) and =

enetered the
old shortcut key. I tested it and it worked (referring to =

the old
program). I then changed the key in that shortcut to =

"none" and tried
the shortcut key again - it did nothing (as one would =

hope). I then
allocated the key to the new program, tried it, and it =

worked !!

I still have the old shortcut with key set to "none", but =

that's OK -
I just moved it a general folder with other shortcuts - =

not the
desktop, which I don't want cluttered.

I don't know whether this is worth posting anywhere, as =

the KB
article I read (can't remember the number) said keys =

cannot be
reallocated, as did you , Wes.

Many thanks

"Trevor L." wrote:

Wes,

I am disappointed that I can't reassign a shortcut key to =

another
program. As I say, there are only so many combinations =

one can use
before you run out of keys - 26 alpha, 10 numeric (and =

perhaps the
12 Function keys although I have ever tried these, so I =

don't know).

I have already deleted the shortcut to the Nero Help =

Manual, but
before I did, I made sure that the shortcut key was set =

to "(none)".
Thanks for the info. as to how to find what key is =

assigned to a
particular shortcut, but since changing it to "(none)" =

and deleting
it makes no difference, it sort of doesn't help too much.

Do you know where the info. is stored as to what shortcut =

key opens
what program?

Because the info. is retained after the shortcut itself =

is deleted,
I would assume that the info. must be stored in the =

Registry. But I
searched the registry for the value "BurningRom" (as the =

name of the
program opened by the shortcut key is "C:\Program
Files\Ahead\Nero\NeroBurningRom_Eng.pdf"). But no entry =

that I found
seemed to contain any info. about shortcut key values.

If I could edit the registry to remove/change shortcut =

key
assignments, that would solve the problem.

Many thanks

"Wesley Vogel" wrote:

Once you assign a shortcut key combination for a =

specific program,
you will not be able to use that key combination with =

other
programs.

Find the Nero Help Manual or the shortcut to same. =

Delete the
shortcut, if it exists.

Follow the instructions below if no shortcut.

If you forget the key combination for your shortcut, you =

can follow
steps 2 through 3 and review your shortcut keys.

2. Locate the program file (.exe) or the program's =

shortcut icon.
Right-click the program file or shortcut, and then click =

Properties.

3. Click the Program tab for an MS-DOS program or the =

Shortcut tab
for a Windows program.

--
Hope this helps. Let us know.
Wes

In =

,
Trevor L. hunted and =

pecked:
I used to have a Shortcut Ctl-Alt-R which opened a User =

manual
(actually for Nero). I no longer want to do this as I =

am fairly
used to Nero now and can open it directly when I want =

to, so I
changed the key to (none).

I later decided to re-use Ctl-Alt-R to invoke a program =

which will
restart the PC. (I changed the setting in this program =

to use this
sequence.)

But I find that using Ctl-Alt-R still invokes the User =

manual.
There was some info. on a Microsoft KB document re this =

problem,
but I can't get it to work. I made sure that the old =

Shortcut had
(none), then deleted it.

As there are limited letters to use with Ctl-Alt, the =

ability to
reuse them is important. Can anyone help?
However, the Ctl-Alt-R sequence still opend the Help =

Manual.
=20



  #35  
Old November 27th 04, 05:31 AM
Trevor L.
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

David,
Well, I think it is all sorted out.

When I changed %A to %%A I used "Replace All" in Notepad which also changed
%AllUsersProfile% to %%AllUsersProfile%. Since the latter doesn't exist, the
directory wasn't changed and the batch file re-searched the old one.

When I corrected this error, the batch file went through the All Users
directory correctly.
(As expected, echo %AllUsersProfile% returned C:\Documents and Settings\All
Users and
echo %UserProfile% returned C:\Documents and Settings\Trevor )

I have also solved my problem. I searched C: drive for Nero*.lnk, and
manually checked each relevant shortcut for Alt+Ctl+R. I found the offender
in "Unused Desktop Shortcuts", changed the hotkey to "none", altered the
other program to use Alt+Ctl+R and hi presto - success!

It has been a long haul, but an obvious answer, eventually.

This suggests that a more generalised batch file could be written to seach
for all occurences of *.lnk on any directory in any drive. Perhaps it would
take a long time to run, though !! :-)

Maybe, I can do it myself as I have written a few batch files since starting
to use PCs at work, and I have your example to guide me.

Many thanks for your patience and help.

"David Candy" wrote:

Also thinking about how the bat file is coded.

Check under here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

and what does echo %allusersprofile% say?
--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message news
David,
Wonderful,

I changed C:\findhotkeys.bat so that "%A" became "%%A" and findhotkey.vbs
became C:\findhotkey.vbs, and from the CMD prompt ran C:\findhotkeys.bat
C:\hotkeys.txt

The .bat file and the .vbs file have different names as Wes' response
suggests. C:\findhotkeys.bat calls C:\findhotkey.vbs

I got a window for every shortcut with a hotkey and in C:\hotkeys.txt I got
every shortcut listed, with or without a shortcut key set.

The set of windows and the list of shortcuts repeated which must mean that
%UserProfile% is the same as %AllUsersProfile%.

It is great to actually succeed in doing this. However, no result showed a
key Alt+Ctl+R, which is the hotkey causing the problem.

Cheers

"David Candy" wrote:

Also in bat files what you type as %letter in a prompt you use %%letter in a bat (that is pretty much the only difference between typing and bats). Again no start or end. Also the script is called once for each shortcut. If you have 100 shortcuts you need to allow it to run 100 times.

Also it's safer when one has two executables of the same name to specify the extension
findhotkeys.bat
although in this case bat have precedence over vbs.
--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message ...
David and Wes,
I must be as thick as a brick.

I cannot get either of the two files to run.

This is C:\findhotkey.vbs (copied exactly as David sent it - I have added
START and END delimiters)
START
on error resume next
set WshShell = WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=Wscript.Arguments
If Ag.Count 0 then
For x = 0 to Ag.Count -1
A = A & Ag(x)
Next
End If
Set FSO = CreateObject("Scripting.FileSystemObject")
f=FSO.GetFile(A)
set lnk = WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
END

Double-clicking it caused a response from Norton
"Alert:Malicious Script detected"

I selected "Allow the entire script once" and pressed OK and I got
absolutely nothing

This is C:\findhotkeys.bat (modified as suggested by David so that "%A" is
at the end of the line - I have added START and END delimiters)
START
cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
END

I opened the Command Prompt, changed directory to C: (command cd \) and
typed findhotkeys (to execute the .bat file of that name)

The result was
C:\cd C:\Documents and Settings\Trevor\
desktop
A" was unexpected at this time.

I restarted the computer and tried again with exactly the same result.

I note that both of you have run this successfully, so what is dunderhead
(namely me!) doing wrong?

Cheers


"David Candy" wrote:

All tweakui have features that the other don't. 1.33 was written for new features introduced with Win ME / Win 2000. It's the only version to repair hotkeys.

If you want to edit Add/Remove you need the first Tweakui for 95.

My whole point of joining in was to say those registry keys are probably irrelevent.

When starting a program one can specify a hotkey for the main window. A program can register a hotkey for it's own main window. Or it can register global hotkeys (ie not just for the main window).

None of these are shortcut hotkeys. They are registered in memory. Presumbably Explorer is registering global hot keys on startup and then starts the whatever when windows tells explorer it has been pressed. But that's a guess.

I've attached a script that prints hotkey in a msgbox, and include the content in the body here

on error resume next
set WshShell = WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=Wscript.Arguments
If Ag.Count 0 then
For x = 0 to Ag.Count -1
A = A & Ag(x)
Next
End If
Set FSO = CreateObject("Scripting.FileSystemObject")
f=FSO.GetFile(A)
set lnk = WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If

To use type cmd in start Run

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.

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.

It is not reccommended that Ctrl + Alt be used with Hotkeys. Ctrl + left hand side Alt = Right hand side Alt and enters international characters if using the US International keyboard. Also F12 is reserved for the use of debuggers.



--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message ...
David,
Thanks.

So that is not the right place to look.

I set the hotkey in the normal way. I created a shortcut to the Nero Manual
on the desktop and then set the key in the shortcut. I doubt that Nero set
anything.

Yes, it was a shortcut that I deleted, but then I reinstated it and set the
key to "none". I then used the same key in another program, which I think
works the second way, i.e. the program registers the key. (Although I wonder
where!)

I will have a look at Tweakui Ver 1.33 and see what I can find. I already
have a version of TweakUI (File Version 2.10.0.0). If the other one is later
and has more features, including repairing hot keys that would be great.

Thanks for the help to date.

"David Candy" wrote:

The point is they are ONLY multi language hotkeys for use only with multi language features. It is Soooooooooo unlikely to be under here.

So there are two ways (apart from these multilingual features) of setting a hotkey. In shortcuts on Start Menu or Desktop items. By a program registering a hotkey when that program is started.

I presume Nero doesn't do this?
You have checked all shortcuts (after all it could be in a shortcut to an item you deleted and Windows found the closest match for you)?

Tweakui Ver 1.33 has a repair hotkey feature.
http://www.microsoft.com/NTWorkstati.../NTTweakUI.asp

--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message ...
Wes and David,

All good things come to an end.

I now find that Ctl-Alt-R invokes the old program again - Nero BurningRom
Help Manual. (I have restarted the computer since it last worked as I wanted.)

The contents of HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys follows

START
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys]

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000010]
"Key Modifiers"=hex:02,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000011]
"Key Modifiers"=hex:04,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000012]
"Key Modifiers"=hex:02,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:be,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000070]
"Key Modifiers"=hex:02,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000071]
"Key Modifiers"=hex:04,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:20,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000072]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:bc,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000200]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:47,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000201]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:4b,00,00,00

[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys\00000202]
"Key Modifiers"=hex:03,c0,00,00
"Target IME"=hex:00,00,00,00
"Virtual Key"=hex:4c,00,00,00
END

It is difficult to understand what these mean, but I certainly cannot find
any reference to Ctl-Alt-R

From what you (David) said,
Ctl-Alt should be &H03
R should be &H52
This combination does not appear anywhere!

So I assume that the reference to Ctl-Alt-R is not stored in Hot Keys

Any ideas?

It doesn't have to involve Registry tweaking so long as I can reuse the Key
(or any other key, for that matter) .

Cheers

"Wesley Vogel" wrote:

Trevor,

See David Candy's post. I mentioned that I couldn't read hex, he can.

Glad to hear that you got it sorted out.

BTW, I'm still deciphering David's post. :-) And working on 49 other
things.

--
Hope this helps. Let us know.
Wes

In news Trevor L. hunted and pecked:
Zulu and Wes,
Thanks to you both

Zulu,
Yes, I will set the shortcut key as you suggested.
I will try different keys, including Function keys - sounds good.

Wes,
I have yet to try your suggestions for the Registry, but am looking
forward to it.

BTW,
I have managed to assign the key I used before to the new program.
Whether this is the only way or not or whetehr it will continue to
work, I don't know, but here is what I did.

I re-created the old Shortcut (it had been deleted) and enetered the
old shortcut key. I tested it and it worked (referring to the old
program). I then changed the key in that shortcut to "none" and tried
the shortcut key again - it did nothing (as one would hope). I then
allocated the key to the new program, tried it, and it worked !!

I still have the old shortcut with key set to "none", but that's OK -
I just moved it a general folder with other shortcuts - not the
desktop, which I don't want cluttered.

I don't know whether this is worth posting anywhere, as the KB
article I read (can't remember the number) said keys cannot be
reallocated, as did you , Wes.

Many thanks

"Trevor L." wrote:

Wes,

I am disappointed that I can't reassign a shortcut key to another
program. As I say, there are only so many combinations one can use
before you run out of keys - 26 alpha, 10 numeric (and perhaps the
12 Function keys although I have ever tried these, so I don't know).

I have already deleted the shortcut to the Nero Help Manual, but
before I did, I made sure that the shortcut key was set to "(none)".
Thanks for the info. as to how to find what key is assigned to a
particular shortcut, but since changing it to "(none)" and deleting
it makes no difference, it sort of doesn't help too much.

Do you know where the info. is stored as to what shortcut key opens
what program?

Because the info. is retained after the shortcut itself is deleted,
I would assume that the info. must be stored in the Registry. But I
searched the registry for the value "BurningRom" (as the name of the
program opened by the shortcut key is "C:\Program
Files\Ahead\Nero\NeroBurningRom_Eng.pdf"). But no entry that I found
seemed to contain any info. about shortcut key values.

If I could edit the registry to remove/change shortcut key
assignments, that would solve the problem.

Many thanks

"Wesley Vogel" wrote:

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

Find the Nero Help Manual or the shortcut to same. Delete the
shortcut, if it exists.

Follow the instructions below if no shortcut.

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

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

3. Click the Program tab for an MS-DOS program or the Shortcut tab
for a Windows program.

--
Hope this helps. Let us know.
Wes

In ,
Trevor L. hunted and pecked:
I used to have a Shortcut Ctl-Alt-R which opened a User manual
(actually for Nero). I no longer want to do this as I am fairly
used to Nero now and can open it directly when I want to, so I
changed the key to (none).

I later decided to re-use Ctl-Alt-R to invoke a program which will
restart the PC. (I changed the setting in this program to use this
sequence.)

But I find that using Ctl-Alt-R still invokes the User manual.
There was some info. on a Microsoft KB document re this problem,
but I can't get it to work. I made sure that the old Shortcut had
(none), then deleted it.

As there are limited letters to use with Ctl-Alt, the ability to
reuse them is important. Can anyone help?
However, the Ctl-Alt-R sequence still opend the Help Manual.





  #36  
Old November 27th 04, 05:42 AM
David Candy
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

I'm glad it solved.

Put a /r to recurse sub directories. See the start menu examples.

MS has NEVER said it does sub folders of the desktop. What they say =
imply otherwise.

And people have not solved this problem over the last three years. So =
congrats.
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =
...
David,
Well, I think it is all sorted out.
=20
When I changed %A to %%A I used "Replace All" in Notepad which also =

changed=20
%AllUsersProfile% to %%AllUsersProfile%. Since the latter doesn't =

exist, the=20
directory wasn't changed and the batch file re-searched the old one.
=20
When I corrected this error, the batch file went through the All Users =


directory correctly.=20
(As expected, echo %AllUsersProfile% returned C:\Documents and =

Settings\All=20
Users and=20
echo %UserProfile% returned C:\Documents and Settings\Trevor )
=20
I have also solved my problem. I searched C: drive for Nero*.lnk, and=20
manually checked each relevant shortcut for Alt+Ctl+R. I found the =

offender=20
in "Unused Desktop Shortcuts", changed the hotkey to "none", altered =

the=20
other program to use Alt+Ctl+R and hi presto - success!
=20
It has been a long haul, but an obvious answer, eventually.
=20
This suggests that a more generalised batch file could be written to =

seach=20
for all occurences of *.lnk on any directory in any drive. Perhaps it =

would=20
take a long time to run, though !! :-)
=20
Maybe, I can do it myself as I have written a few batch files since =

starting=20
to use PCs at work, and I have your example to guide me.
=20
Many thanks for your patience and help.
=20
"David Candy" wrote:
=20
Also thinking about how the bat file is coded.
=20
Check under here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows =

NT\CurrentVersion\ProfileList
=20
and what does echo %allusersprofile% say?
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

news
David,
Wonderful,
=20
I changed C:\findhotkeys.bat so that "%A" became "%%A" and =

findhotkey.vbs=20
became C:\findhotkey.vbs, and from the CMD prompt ran =

C:\findhotkeys.bat =20
C:\hotkeys.txt
=20
The .bat file and the .vbs file have different names as Wes' =

response=20
suggests. C:\findhotkeys.bat calls C:\findhotkey.vbs=20
=20
I got a window for every shortcut with a hotkey and in =

C:\hotkeys.txt I got=20
every shortcut listed, with or without a shortcut key set.=20
=20
The set of windows and the list of shortcuts repeated which must =

mean that=20
%UserProfile% is the same as %AllUsersProfile%.
=20
It is great to actually succeed in doing this. However, no result =

showed a=20
key Alt+Ctl+R, which is the hotkey causing the problem.
=20
Cheers
=20
"David Candy" wrote:
=20
Also in bat files what you type as %letter in a prompt you use =

%%letter in a bat (that is pretty much the only difference between =
typing and bats). Again no start or end. Also the script is called once =
for each shortcut. If you have 100 shortcuts you need to allow it to run =
100 times.
=20
Also it's safer when one has two executables of the same name to =

specify the extension
findhotkeys.bat
although in this case bat have precedence over vbs.
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message =

...
David and Wes,
I must be as thick as a brick.
=20
I cannot get either of the two files to run.
=20
This is C:\findhotkey.vbs (copied exactly as David sent it - I =

have added=20
START and END delimiters)
START
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
END
=20
Double-clicking it caused a response from Norton
"Alert:Malicious Script detected"
=20
I selected "Allow the entire script once" and pressed OK and I =

got=20
absolutely nothing
=20
This is C:\findhotkeys.bat (modified as suggested by David so =

that "%A" is=20
at the end of the line - I have added START and END delimiters)
START
cd %UserProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\desktop
for %A in (*.lnk) do findhotkey.vbs "%A"
for %A in (*.pif) do findhotkey.vbs "%A"
for %A in (*.url) do findhotkey.vbs "%A"
cd %UserProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
cd %AllUsersProfile%\Start Menu
for /r %A in (*.lnk) do findhotkey.vbs "%A"
for /r %A in (*.pif) do findhotkey.vbs "%A"
for /r %A in (*.url) do findhotkey.vbs "%A"
END
=20
I opened the Command Prompt, changed directory to C: (command cd =

\) and=20
typed findhotkeys (to execute the .bat file of that name)
=20
The result was
C:\cd C:\Documents and Settings\Trevor\
desktop
A" was unexpected at this time.
=20
I restarted the computer and tried again with exactly the same =

result.
=20
I note that both of you have run this successfully, so what is =

dunderhead=20
(namely me!) doing wrong?
=20
Cheers
=20
=20
"David Candy" wrote:
=20
All tweakui have features that the other don't. 1.33 was =

written for new features introduced with Win ME / Win 2000. It's the =
only version to repair hotkeys.
=20
If you want to edit Add/Remove you need the first Tweakui for =

95.
=20
My whole point of joining in was to say those registry keys are =

probably irrelevent.
=20
When starting a program one can specify a hotkey for the main =

window. A program can register a hotkey for it's own main window. Or it =
can register global hotkeys (ie not just for the main window).
=20
None of these are shortcut hotkeys. They are registered in =

memory. Presumbably Explorer is registering global hot keys on startup =
and then starts the whatever when windows tells explorer it has been =
pressed. But that's a guess.
=20
I've attached a script that prints hotkey in a msgbox, and =

include the content in the body here
=20
on error resume next
set WshShell =3D WScript.CreateObject("WScript.Shell")
Dim A
Dim Ag
Set Ag=3DWscript.Arguments
If Ag.Count 0 then=20
For x =3D 0 to Ag.Count -1
A =3D A & Ag(x)=20
Next
End If
Set FSO =3D CreateObject("Scripting.FileSystemObject")
f=3DFSO.GetFile(A)
set lnk =3D WshShell.CreateShortcut(A)
If lnk.hotkey "" then
msgbox A & vbcrlf & lnk.hotkey
End If
=20
To use type cmd in start Run
=20
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.
=20
Type in a command prompt
=20
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"
=20
Each shortcut, that has a hotkey, will pop up a dialog with the =

name of the shortcut and it's hotkey.
=20
You may have path problems. To make it work put in c:\ and =

change=20
=20
for %A in (*.url) do c:\findhotkey.vbs "%1"
=20
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).
=20
Ctrl + C Copies the text of a message box to the =

clipboard.=20
=20
It is not reccommended that Ctrl + Alt be used with Hotkeys. =

Ctrl + left hand side Alt =3D Right hand side Alt and enters =
international characters if using the US International keyboard. Also =
F12 is reserved for the use of debuggers.
=20
=20
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in =

message ...
David,
Thanks.
=20
So that is not the right place to look.
=20
I set the hotkey in the normal way. I created a shortcut to =

the Nero Manual=20
on the desktop and then set the key in the shortcut. I doubt =

that Nero set=20
anything.
=20
Yes, it was a shortcut that I deleted, but then I reinstated =

it and set the=20
key to "none". I then used the same key in another program, =

which I think=20
works the second way, i.e. the program registers the key. =

(Although I wonder=20
where!)
=20
I will have a look at Tweakui Ver 1.33 and see what I can =

find. I already=20
have a version of TweakUI (File Version 2.10.0.0). If the =

other one is later=20
and has more features, including repairing hot keys that =

would be great.
=20
Thanks for the help to date.
=20
"David Candy" wrote:
=20
The point is they are ONLY multi language hotkeys for use =

only with multi language features. It is Soooooooooo unlikely to be =
under here.
=20
So there are two ways (apart from these multilingual =

features) of setting a hotkey. In shortcuts on Start Menu or Desktop =
items. By a program registering a hotkey when that program is started.
=20
I presume Nero doesn't do this?
You have checked all shortcuts (after all it could be in a =

shortcut to an item you deleted and Windows found the closest match for =
you)?
=20
Tweakui Ver 1.33 has a repair hotkey feature.=20
=

http://www.microsoft.com/NTWorkstati...etworking/NTT=
weakUI.asp
=20
--=20
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in =

message ...
Wes and David,
=20
All good things come to an end.
=20
I now find that Ctl-Alt-R invokes the old program again - =

Nero BurningRom=20
Help Manual. (I have restarted the computer since it last =

worked as I wanted.)
=20
The contents of HKEY_CURRENT_USER\Control Panel\Input =

Method\Hot Keys follows
=20
START
Windows Registry Editor Version 5.00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot Keys]
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000010]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000011]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000012]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:be,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000070]
"Key Modifiers"=3Dhex:02,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000071]
"Key Modifiers"=3Dhex:04,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:20,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000072]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:bc,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000200]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:47,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000201]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4b,00,00,00
=20
[HKEY_CURRENT_USER\Control Panel\Input Method\Hot =

Keys\00000202]
"Key Modifiers"=3Dhex:03,c0,00,00
"Target IME"=3Dhex:00,00,00,00
"Virtual Key"=3Dhex:4c,00,00,00
END
=20
It is difficult to understand what these mean, but I =

certainly cannot find=20
any reference to Ctl-Alt-R
=20
From what you (David) said,=20
Ctl-Alt should be &H03
R should be &H52
This combination does not appear anywhere!
=20
So I assume that the reference to Ctl-Alt-R is not stored =

in Hot Keys
=20
Any ideas?
=20
It doesn't have to involve Registry tweaking so long as I =

can reuse the Key=20
(or any other key, for that matter) .
=20
Cheers
=20
"Wesley Vogel" wrote:
=20
Trevor,
=20
See David Candy's post. I mentioned that I couldn't read =

hex, he can.
=20
Glad to hear that you got it sorted out.
=20
BTW, I'm still deciphering David's post. :-) And =

working on 49 other
things.
=20
--=20
Hope this helps. Let us know.
Wes
=20
In =

news
Trevor L. hunted and =

pecked:
Zulu and Wes,
Thanks to you both

Zulu,
Yes, I will set the shortcut key as you suggested.
I will try different keys, including Function keys - =

sounds good.

Wes,
I have yet to try your suggestions for the Registry, =

but am looking
forward to it.

BTW,
I have managed to assign the key I used before to the =

new program.
Whether this is the only way or not or whetehr it will =

continue to
work, I don't know, but here is what I did.

I re-created the old Shortcut (it had been deleted) and =

enetered the
old shortcut key. I tested it and it worked (referring =

to the old
program). I then changed the key in that shortcut to =

"none" and tried
the shortcut key again - it did nothing (as one would =

hope). I then
allocated the key to the new program, tried it, and it =

worked !!

I still have the old shortcut with key set to "none", =

but that's OK -
I just moved it a general folder with other shortcuts - =

not the
desktop, which I don't want cluttered.

I don't know whether this is worth posting anywhere, as =

the KB
article I read (can't remember the number) said keys =

cannot be
reallocated, as did you , Wes.

Many thanks

"Trevor L." wrote:

Wes,

I am disappointed that I can't reassign a shortcut key =

to another
program. As I say, there are only so many combinations =

one can use
before you run out of keys - 26 alpha, 10 numeric (and =

perhaps the
12 Function keys although I have ever tried these, so =

I don't know).

I have already deleted the shortcut to the Nero Help =

Manual, but
before I did, I made sure that the shortcut key was =

set to "(none)".
Thanks for the info. as to how to find what key is =

assigned to a
particular shortcut, but since changing it to "(none)" =

and deleting
it makes no difference, it sort of doesn't help too =

much.

Do you know where the info. is stored as to what =

shortcut key opens
what program?

Because the info. is retained after the shortcut =

itself is deleted,
I would assume that the info. must be stored in the =

Registry. But I
searched the registry for the value "BurningRom" (as =

the name of the
program opened by the shortcut key is "C:\Program
Files\Ahead\Nero\NeroBurningRom_Eng.pdf"). But no =

entry that I found
seemed to contain any info. about shortcut key values.

If I could edit the registry to remove/change shortcut =

key
assignments, that would solve the problem.

Many thanks

"Wesley Vogel" wrote:

Once you assign a shortcut key combination for a =

specific program,
you will not be able to use that key combination with =

other
programs.

Find the Nero Help Manual or the shortcut to same. =

Delete the
shortcut, if it exists.

Follow the instructions below if no shortcut.

If you forget the key combination for your shortcut, =

you can follow
steps 2 through 3 and review your shortcut keys.

2. Locate the program file (.exe) or the program's =

shortcut icon.
Right-click the program file or shortcut, and then =

click Properties.

3. Click the Program tab for an MS-DOS program or the =

Shortcut tab
for a Windows program.

--
Hope this helps. Let us know.
Wes

In =

,
Trevor L. hunted =

and pecked:
I used to have a Shortcut Ctl-Alt-R which opened a =

User manual
(actually for Nero). I no longer want to do this as =

I am fairly
used to Nero now and can open it directly when I =

want to, so I
changed the key to (none).

I later decided to re-use Ctl-Alt-R to invoke a =

program which will
restart the PC. (I changed the setting in this =

program to use this
sequence.)

But I find that using Ctl-Alt-R still invokes the =

User manual.
There was some info. on a Microsoft KB document re =

this problem,
but I can't get it to work. I made sure that the old =

Shortcut had
(none), then deleted it.

As there are limited letters to use with Ctl-Alt, =

the ability to
reuse them is important. Can anyone help?
However, the Ctl-Alt-R sequence still opend the Help =

Manual.
=20




  #37  
Old November 27th 04, 11:40 PM
Wesley Vogel
external usenet poster
 
Posts: n/a
Default Shortcut keys cannot be re-used

Trevor,

Unused Desktop Shortcuts folder implies that the Desktop Cleanup Wizard has
run at least once. Have your turned it off?

HOW TO: Disable the Automatic Desktop Cleanup Feature in Windows XP
http://support.microsoft.com/default...b;en-us;320154

Empty Temp Folders 2.8.3 has a broken shortcut checker. It finds all *.lnk
files and then lists the broken ones. Doesn't take long to run.

Glad you got rid of the Alt+Ctl+R Nero*.lnk.

--
Hope this helps. Let us know.
Wes

In ,
Trevor L. hunted and pecked:
David,
Well, I think it is all sorted out.

When I changed %A to %%A I used "Replace All" in Notepad which also
changed %AllUsersProfile% to %%AllUsersProfile%. Since the latter
doesn't exist, the directory wasn't changed and the batch file
re-searched the old one.

When I corrected this error, the batch file went through the All Users
directory correctly.
(As expected, echo %AllUsersProfile% returned C:\Documents and
Settings\All Users and
echo %UserProfile% returned C:\Documents and Settings\Trevor )

I have also solved my problem. I searched C: drive for Nero*.lnk, and
manually checked each relevant shortcut for Alt+Ctl+R. I found the
offender in "Unused Desktop Shortcuts", changed the hotkey to "none",
altered the other program to use Alt+Ctl+R and hi presto - success!

It has been a long haul, but an obvious answer, eventually.

This suggests that a more generalised batch file could be written to
seach for all occurences of *.lnk on any directory in any drive.
Perhaps it would take a long time to run, though !! :-)

Maybe, I can do it myself as I have written a few batch files since
starting to use PCs at work, and I have your example to guide me.

Many thanks for your patience and help.

"David Candy" wrote:

Also thinking about how the bat file is coded.

Check under here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList

and what does echo %allusersprofile% say?
--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." wrote in message
news


snip
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Shortcut Keys - List / Remove Scott The Basics 1 October 28th 04 06:25 PM
HOWTO: Query registered shortcut keys Craig General XP issues or comments 5 October 27th 04 03:44 PM
Shortcut keys de-activated bb The Basics 1 October 5th 04 05:20 PM
Run Shortcut keys Baja General XP issues or comments 1 September 20th 04 05:04 PM
shortcut keys Art The Computer Kid General XP issues or comments 0 September 1st 04 06:25 PM






All times are GMT +1. The time now is 11:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.