Re: How can I bind a Network Connection to a key on the keyboard?
From: David Candy (david_at_mvps.org)
Date: 03/29/04
- Next message: miejas: "Re: MY daughter"
- Previous message: Ziggy: "Re: new install of xp & cookies,temp internet file & history moved"
- In reply to: Sam Kerracher: "Re: How can I bind a Network Connection to a key on the keyboard?"
- Next in thread: Sam Kerracher: "Re: How can I bind a Network Connection to a key on the keyboard?"
- Reply: Sam Kerracher: "Re: How can I bind a Network Connection to a key on the keyboard?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 05:12:46 +1000
These are
a/ not where I told you to look
b/ the developers docs say they must never be changed (don't know why)
c/ are overridden by HKCU entries and is where any editing is likely to be occuring.
APPCOMMANDs and Windows Me
A number of APPCOMMANDs have been defined in Windows Me. A list of these can be found in Winuser.h. These APPCOMMANDs have special registry keys associated with each of them. Each key defines an application associated with a particular APPCOMMAND. These keys are stored in the following location.
HKLM\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ AppKey \<NUM>
HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ AppKey \< NUM>
Replace <NUM> with the appropriate numeric value for the APPCOMMAND as defined in Winuser.h. The value name stored inside each key should correspond to one of the following three choices:
• ShellExecute: This value is used to define a particular application that should be launched when this key is pressed--for example, calc.exe
Arguments can also be passed, but ensure that they are enclosed within the quotes--for example "runme.exe /arg"
• Association: This value establishes a relation between a file extension and a program to be launched for that particular extension-for example, .mp3
• RegisteredApp: This value is used to launch an application that is registered with the operating system--for example, mail
This data stored in the registry value field must be in the form of a string (REG_SZ). The registry keys are searched in the current user hive of the registry first. If a match is not found in this section, the local machine section is searched. It must be ensured that the registry keys do not contain incorrect values, which might cause the key to become useless.
Changing the value stored inside one of these registry keys does not require a reboot. Windows Millennium Edition, by default, contains five keys stored under the local machine hive. These keys contain the defaults associated with the corresponding APPCOMMAND and must not be removed.
Vendors can write their own user interface to program the registry keys or use INF files to install special entries as defaults.
Key Subkey Key Subkey
Back (Internet browser) 1 New 29
Calculator 18 Open 30
Close 31 Paste 38
Copy 36 Print 33
Corrections 45 Raise microphone volume 26
Cut 37 Redo 35
Favorites 6 Refresh (Internet browser) 3
Find 28 Reply 39
Forward (Internet browser) 2 Save 32
Forward (mail) 40 Search 5
Help 27 Send 41
Lower microphone volume 25 Spelling checker 42
Mail 15 Stop (Internet browser) 4
Media 16 Toggle dictation and command/control 43
Mute microphone 24 Toggle microphone 44
Mute volume 8 Undo 34
My Computer 17 WebHome 7
-- ---------------------------------------------------------- http://www.g2mil.com/Dec2003.htm "Sam Kerracher" <kingpin128@lineone.net> wrote in message news:ePqz12bFEHA.2576@TK2MSFTNGP11.phx.gbl... > Hi David, sorry if this is frustrating, here are the keys under the AppKey > string (it's only in Local_machine, they're isn't a Appkey section under > Current_User, I don't know why, anyway, here are the ones in > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Exploer\Appkey\ > ): > > 15 > (inside): > Default REG_SZ (value data not set) > RegisteredApp REG_SZ http > > 16 > (inside): > Default REG_SZ (value data not set) > Association REG_SZ .cda > > 17 > (inside) > Default REG_SZ (value data not set) > ShellExecute REG_SZ > ::{20D04FE0-3AEA-1069-A2D8-08002B30309D} > > 18 > (inside) > Default REG_SZ (value data not set) > ShellExecute REG_SZ cal.exe > > 7 > (inside) > Default REG_SZ (value data not set) > Association REG_SZ http > > Thanks again for your help. > > > "David Candy" <david@mvps.org> wrote in message > news:uGplwbbFEHA.3064@tk2msftngp13.phx.gbl... > I just gave the numbers as examples. What's under there? > > -- > ---------------------------------------------------------- > http://www.g2mil.com/Dec2003.htm > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > news:ubQmwgYFEHA.576@TK2MSFTNGP11.phx.gbl... > > Number 15 under Explorer does not seem to be this particular key. Either > > that or IntelliType takes over from this. I tried duplicating the > commands > > under the intellitype string (the key is number 20) to the number 15 under > > the AppKey strings and tried by creating a 20 string, but no matter what > > happened, pressing Web key causes the homepage to come up. > > > > I have currently got a shortcut that DOES work: > > > > rasphone -d internet > > > > The only problem is this doesn't show the connection status. What > rasphone > > command brings up the connection's status? > > > > Thanks for the help. > > > > "David Candy" <david@mvps.org> wrote in message > > news:O2fgx7XFEHA.2512@TK2MSFTNGP10.phx.gbl... > > As intellitype is a piece of crap I don't install or use it (as it > > interferes with full screen games). Nor do I ever use non standard keys. > But > > I used tweakui to assign a dialup shortcut to the mail button. It works > > fine. > > > > Type regedit and go to > > > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey > > Each key customised will have a number (mail is 7 ansd web is 15). The > > command should be a shellexecute type > > ShellExecute=c:\dialup.lnk > > > > Is it. > > -- > > ---------------------------------------------------------- > > http://www.g2mil.com/Dec2003.htm > > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > > news:%230ong2XFEHA.2052@TK2MSFTNGP11.phx.gbl... > > > As I stated earlier, linking to a dial up shortcut (no matter where the > > > shortcut is) DOESN'T work. For example, I have a shortcut in my C drive > > > (thus the path is: C:\Internet.lnk), although double clicking on this > link > > > works fine, for some reason when this link is binding via IntelliPoint, > it > > > doesn't work. I want to know HOW to get this to work. > > > > > > What I need to know is a command line I could enter into the IntelliType > > > program that will use the dial up in the same way using the link does. > > > > > > The Rasial method is one I would prefer not to use, sorry. > > > > > > > > > > > > "David Candy" <david@mvps.org> wrote in message > > > news:%236CmCFWFEHA.3372@TK2MSFTNGP10.phx.gbl... > > > Execute the shortcut. It can be anywhere. Assume it';s in C:\ > > > > > > "C:\My Dial Up Shortcut.lnk" > > > > > > Remember shortcuts have a hidden extension of lnk (pif for Dos shortcuts > > and > > > url for internet shortcuts). > > > > > > OR > > > > > > Type Rasdial in Help (at least in Pro). Rasdial is a command line > dialer. > > > > > > > > > -- > > > ---------------------------------------------------------- > > > http://www.g2mil.com/Dec2003.htm > > > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > > > news:%23TF0N1VFEHA.2512@TK2MSFTNGP10.phx.gbl... > > > > This is what the key currently does, I want it to bind to the dial up > so > > > > that when I AM online it will show me the online status. > > > > > > > > "wayne" <nowhere@example.com> wrote in message > > > > news:ztL9c.27318$JO3.27853@attbi_s04... > > > > > just set internet explorer to dial automatically and make you key > > > shortcut > > > > > iexplore.exe > > > > > > > > > > Wayne > > > > > > > > > > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > > > > > news:%23$6ogZSFEHA.4016@TK2MSFTNGP09.phx.gbl... > > > > > > My keyboard uses IntelliType software for hotkeys. In this > program > > > you > > > > > can > > > > > > define what a hotkey does. For example, when I press the Web/Home > > > > button, > > > > > > Internet Explorer opens to my home page. What I want this key to > do > > > is > > > > > > connect me to the internet (in other words connect via a dial-up > > > > > > connection). You have mistaken me for wanting to use the Shorcut > > Key > > > > > > function in Windows which is available in a shortcut's properites, > > > sorry > > > > > for > > > > > > the misunderstanding, this explains how we were both confused. I > > > cannot > > > > > use > > > > > > this method, as Shortcut Key does not recognise the pressing of > the > > > > > Web/Home > > > > > > key on my keyboard. > > > > > > > > > > > > What I want to know is how to enter a command in the IntelliType > > > > software > > > > > > that will open the dial-up when I press the Web/Home key. > > > > > > > > > > > > Thanks for your help. > > > > > > > > > > > > "David Candy" <david@mvps.org> wrote in message > > > > > > news:eKieEwRFEHA.3548@TK2MSFTNGP10.phx.gbl... > > > > > > I don't understand how intellitype fits into Shortcut hotkeys. Nor > > can > > > > you > > > > > > edit the target on this type of shortcut. I entered K into the > > Hotkey > > > > > field > > > > > > on the properties (it adds Ctrl + Alt automatically as most single > > > > > modifier > > > > > > + letter is used by other programs). I press Ctrl + Alt + K and, > as > > > I'm > > > > > > online, the status dialog pops up. > > > > > > > > > > > > Your shortcuts do show the arrow don't they? > > > > > > > > > > > > -- > > > > > > ---------------------------------------------------------- > > > > > > http://www.g2mil.com/Dec2003.htm > > > > > > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > > > > > > news:%23EGsINRFEHA.3856@TK2MSFTNGP12.phx.gbl... > > > > > > > The shortcut IS on the desktop. But when binding a keyboard key > > to > > > > this > > > > > > > shortcut, nothing happens, and the Microsoft IntelliType program > > > says: > > > > > > > The current assignment for this customizable key is not > available. > > > To > > > > > > > reassign this key, click Next. > > > > > > > > > > > > > > By the shortcut's properties bit, I meant, that when you right > > click > > > > the > > > > > > > actual Network Connection desktop shortcut, and enter the path > > under > > > > the > > > > > > > Target: section. > > > > > > > E.g. this would be C:\Program Files\Program.exe or something > like > > > that > > > > > > (but > > > > > > > in this case it's a registry entry) > > > > > > > > > > > > > > Hope that's clearer. > > > > > > > > > > > > > > "David Candy" <david@mvps.org> wrote in message > > > > > > > news:exBv%23kLFEHA.1012@TK2MSFTNGP11.phx.gbl... > > > > > > > I don't understand what you are talking about. The shortcut must > > be > > > on > > > > > the > > > > > > > desktop or Start Menu. > > > > > > > > > > > > > > Have no idea what this means > > > > > > > > either does entering > > > > > > > > the target that is in the shortcut's properties, as the > keyboard > > > > key's > > > > > > > > target. > > > > > > > > > > > > > > -- > > > > > > > ---------------------------------------------------------- > > > > > > > http://www.g2mil.com/Dec2003.htm > > > > > > > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > > > > > > > news:OYF6fRLFEHA.2600@TK2MSFTNGP09.phx.gbl... > > > > > > > > I don't understand what you are stating. I have assigned a > > > keyboard > > > > > key > > > > > > > to > > > > > > > > a network connection shortcut but that does not work, either > > does > > > > > > entering > > > > > > > > the target that is in the shortcut's properties, as the > keyboard > > > > key's > > > > > > > > target. > > > > > > > > > > > > > > > > "David Candy" <david@mvps.org> wrote in message > > > > > > > > news:u3BbAOLFEHA.4008@TK2MSFTNGP10.phx.gbl... > > > > > > > > Assign a key to a shortcut. Right click a shortcut - > Properties. > > > > > > Shortcut > > > > > > > > must be on Desktop or Start Menu (windows isn't going to spend > > 10 > > > > > > minutes > > > > > > > > searching your hard drive for all shortcuts). > > > > > > > > > > > > > > > > -- > > > > > > > > ---------------------------------------------------------- > > > > > > > > http://www.g2mil.com/Dec2003.htm > > > > > > > > "Sam Kerracher" <kingpin128@lineone.net> wrote in message > > > > > > > > news:eBOk9zKFEHA.4016@TK2MSFTNGP09.phx.gbl... > > > > > > > > > n/t > > > > > > > > > > > > > > > > > > And I know how to have a shortcut to a network connection on > > the > > > > > > desktop > > > > > > > > and > > > > > > > > > quicklaunch bar, I want a KEYBOARD key to have the same > > function > > > > (I > > > > > > have > > > > > > > > the > > > > > > > > > Microsoft Wireless Optical Desktop Elite set) > > > > > > > > > > > > > > > > > > Any help is appreciated. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
- Next message: miejas: "Re: MY daughter"
- Previous message: Ziggy: "Re: new install of xp & cookies,temp internet file & history moved"
- In reply to: Sam Kerracher: "Re: How can I bind a Network Connection to a key on the keyboard?"
- Next in thread: Sam Kerracher: "Re: How can I bind a Network Connection to a key on the keyboard?"
- Reply: Sam Kerracher: "Re: How can I bind a Network Connection to a key on the keyboard?"
- Messages sorted by: [ date ] [ thread ]