Saturday, 23 December 2023

Set keyboard Shortcut keys (Mail, home, etc)

media keys on your keyboard can be set using the registry: 

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\n\",

where n is key number from:

Button Key number

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 Play/Pause 16
Toggle dictation and command/control 43
Mute microphone 24
Toggle microphone 44
Mute volume 8
Undo 34
My Computer 17
WebHome
xxx

 Action - Description
 RegisteredApp - Runs an app (Mail starts e-mail)
 Association - File association (http starts the browser) 
 ShellExecute -Run a program 

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\
under the new 5 key.
add a new "String" ShellExecute
add the path to your executable


No comments: