Archived from groups: microsoft.public.windowsxp.customize (
More info?)
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.
--
----------------------------------------------------------
http://www.uscricket.com
"Trevor L." <TrevorL@discussions.microsoft.com> wrote in message news:2A76E185-1510-4CFF-8BE8-04DF43657F9D@microsoft.com...
> David,
> My apologies,
>
> I simply meant that the text of the file was everything between (but not
> including) START and END.
>
> I will review the newsgroup entires and see if this helps me. I don't know
> whether I have said before, but I spent most of my professional life as one
> of these (now almost obsolete!!) Mainframe programmers, who has only recently
> - at least in my time scale - had to come to grips with PCs. So I am still a
> learner on many things.
>
> I appreciate the help I have received from the Newsgroup.
>
>
>
>
> "David Candy" wrote:
>
>> Adding Start and End will stop it working.
>>
>> I've attached both files to previous posts.
>>
>> news://msnews.microsoft.com/#6wMCO40EHA.3368@TK2MSFTNGP10.phx.gbl
>> news://msnews.microsoft.com/OZJYXC20EHA.3596@TK2MSFTNGP12.phx.gbl
>>
>> To view this newsgroup use
>> news://msnews.microsoft.com/microsoft.public.windowsxp.customize
>>
>> In OE's main window you probably need to change the setting at
>> Tools - Options - Do Not Allow Attachments ....
>> before you can use them.
>> --
>> ----------------------------------------------------------
>>
http://www.uscricket.com
>> "Trevor L." <TrevorL@discussions.microsoft.com> wrote in message news:C21DF1E8-F1CB-43FC-A2D9-410AC74EB8DC@microsoft.com...
>> > 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." <TrevorL@discussions.microsoft.com> wrote in message news:483B65BF-8009-4F96-9AA1-44D3A0E11899@microsoft.com...
>> >> > 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/NTWorkstation/downloads/PowerToys/Networking/NTTweakUI.asp
>> >> >>
>> >> >> --
>> >> >> ----------------------------------------------------------
>> >> >>
http://www.uscricket.com
>> >> >> "Trevor L." <TrevorL@discussions.microsoft.com> wrote in message news:B44A0D3A-3095-49F6-9D07-C3072C3150C7@microsoft.com...
>> >> >> > 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
8905772-8EDE-422F-B704-BF118DCB379C@microsoft.com,
>> >> >> >> Trevor L. <TrevorL@discussions.microsoft.com> 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 news:B39E0365-478D-4EF2-AADC-5CE8FB2F9D60@microsoft.com,
>> >> >> >> >>> Trevor L. <TrevorL@discussions.microsoft.com> 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.
>> >> >> >>
>> >> >> >>
>> >> >>
>>