How can I bind a Network Connection to a key on the keyboard?

  • Thread starter Thread starter Sam Kerracher
  • Start date Start date
S

Sam Kerracher

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.
 
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).
 
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.

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).
 
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
 
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.

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
 
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?
 
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.

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?
 
just set internet explorer to dial automatically and make you key shortcut
iexplore.exe

Wayne
 
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.
 
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.
 
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.



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.
 
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.
 
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.

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.
 
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.


I just gave the numbers as examples. What's under there?
 
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
 
I know you told me to look in HKCU, but as I said, Appkey ISN'T there, and I have not changed ANY of these as they DIDN'T exist in that location in the first place, any changes I said I made were to the ones under HKLM, I made sure I replaced them with their original values after making experimental changes. As I stated, they were only present under HKLM NOT HKCU, that's why I listed those. It seems IntelliType uses the keys under its string, again like I said.

So now we know that the Web/Home button is number 7 in Windows terms and 20 in IntelliType terms. Deleting the 20 entry under IntelliType, makes the Web/Home key resume it's function of linking to the home webpage. I have tried adding an AppKey to where it should be under HKCU, with the command, ShellExecute, and C:\Dialup.lnk as its target, but pressing the Web/Home key still links to the home webpage, even with this entry. That means there must be another location where the key binding settings are. I am starting to believe that this is contained within the type32 program, and so editing the registry will not help as the type32 program probably overrides this.

If you have any more suggestions they're welcome.
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
 
Intellitype swallows the key strokes (I installed it). As intellitype offers nothing but a sub standard implementation of what's already in windows don't use it. Tweakui has the ability to edit the windows assignments. It's almost identical to intellitype's dialog. http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

I have a firm policy. Programs fit into windows and use windows services (corporate AV programs come with their own Task Schedulers - so you end up with two scheduling programs). If they don't meet this standard I don't use them.

I almost never install software that comes with hardware.

--
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
I know you told me to look in HKCU, but as I said, Appkey ISN'T there, and I have not changed ANY of these as they DIDN'T exist in that location in the first place, any changes I said I made were to the ones under HKLM, I made sure I replaced them with their original values after making experimental changes. As I stated, they were only present under HKLM NOT HKCU, that's why I listed those. It seems IntelliType uses the keys under its string, again like I said.

So now we know that the Web/Home button is number 7 in Windows terms and 20 in IntelliType terms. Deleting the 20 entry under IntelliType, makes the Web/Home key resume it's function of linking to the home webpage. I have tried adding an AppKey to where it should be under HKCU, with the command, ShellExecute, and C:\Dialup.lnk as its target, but pressing the Web/Home key still links to the home webpage, even with this entry. That means there must be another location where the key binding settings are. I am starting to believe that this is contained within the type32 program, and so editing the registry will not help as the type32 program probably overrides this.

If you have any more suggestions they're welcome.
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.
KeySubkeyKeySubkey
Back (Internet browser)1New29
Calculator18Open30
Close31Paste38
Copy36Print33
Corrections45Raise microphone volume26
Cut37Redo35
Favorites6Refresh (Internet browser)3
Find28Reply39
Forward (Internet browser)2Save32
Forward (mail)40Search5
Help27Send41
Lower microphone volume25Spelling checker42
Mail15Stop (Internet browser)4
Media16Toggle dictation and command/control43
Mute microphone24Toggle microphone44
Mute volume8Undo34
My Computer17WebHome7
 
The problem is, my hardware (keyboard and mouse) will ONLY work with this
software, this is the shit I am stuck with.

You're right, had the key strokes been left alone, I could have binded the
Web/Home key to Ctrl+Alt+K like your internet shortcut, and all would be
fine.

I'd like to say to the IntelliType/Point developers, that they have no clue
in what they're doing (shit for brains in other words)

Intellitype swallows the key strokes (I installed it). As intellitype offers
nothing but a sub standard implementation of what's already in windows don't
use it. Tweakui has the ability to edit the windows assignments. It's almost
identical to intellitype's dialog.
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

I have a firm policy. Programs fit into windows and use windows services
(corporate AV programs come with their own Task Schedulers - so you end up
with two scheduling programs). If they don't meet this standard I don't use
them.

I almost never install software that comes with hardware.

--
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
I know you told me to look in HKCU, but as I said, Appkey ISN'T there, and I
have not changed ANY of these as they DIDN'T exist in that location in the
first place, any changes I said I made were to the ones under HKLM, I made
sure I replaced them with their original values after making experimental
changes. As I stated, they were only present under HKLM NOT HKCU, that's
why I listed those. It seems IntelliType uses the keys under its string,
again like I said.

So now we know that the Web/Home button is number 7 in Windows terms and 20
in IntelliType terms. Deleting the 20 entry under IntelliType, makes the
Web/Home key resume it's function of linking to the home webpage. I have
tried adding an AppKey to where it should be under HKCU, with the command,
ShellExecute, and C:\Dialup.lnk as its target, but pressing the Web/Home key
still links to the home webpage, even with this entry. That means there
must be another location where the key binding settings are. I am starting
to believe that this is contained within the type32 program, and so editing
the registry will not help as the type32 program probably overrides this.

If you have any more suggestions they're welcome.
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.
KeySubkeyKeySubkey
Back (Internet browser)1New29
Calculator18Open30
Close31Paste38
Copy36Print33
Corrections45Raise microphone volume26
Cut37Redo35
Favorites6Refresh (Internet browser)3
Find28Reply39
Forward (Internet browser)2Save32
Forward (mail)40Search5
Help27Send41
Lower microphone volume25Spelling checker42
Mail15Stop (Internet browser)4
Media16Toggle dictation and command/control43
Mute microphone24Toggle microphone44
Mute volume8Undo34
My Computer17WebHome7
 
Back
Top