geekhack
geekhack Community => Keyboards => Topic started by: ykno on Mon, 04 April 2016, 17:35:22
-
so i want to program my keyboard to change the application menu key to FN and then add short cuts that use FN+insert for example to control volume down.
what program can i use to do this with OS like a reg edit or something?
-
If you use Windows OS AHK works really well for custom shortcuts. There are tons of scripts already available and the website has an indepth guide if you want to write your own script. I used AHK to emulate a scroll wheel for my logitech trackman marble trackball, to lock my Left Windows key, and I used it recently for media keys. :eek:
-
Another vote for AutoHotkey.
Here's where to get it...
https://autohotkey.com/
-
If you use Windows OS AHK works really well for custom shortcuts. There are tons of scripts already available and the website has an indepth guide if you want to write your own script. I used AHK to emulate a scroll wheel for my logitech trackman marble trackball, to lock my Left Windows key, and I used it recently for media keys. :eek:
Another vote for AutoHotkey.
Here's where to get it...
https://autohotkey.com/
ye i looked at this but couldnt work out how to use it xD
-
Here's the tutorial to get you started: https://autohotkey.com/docs/Tutorial.htm (https://autohotkey.com/docs/Tutorial.htm)
Or search Youtube for tutorials if you are more of a hands on type ;)
-
Here's the tutorial to get you started: https://autohotkey.com/docs/Tutorial.htm (https://autohotkey.com/docs/Tutorial.htm)
Or search Youtube for tutorials if you are more of a hands on type ;)
i made this script but its not working
if i press my fn key it mutes when i should have to press fn and pause to make it mute
SC163&Pause:: Volume_Mute
SC163&Insert:: Media_Play_Pause
SC163&Home:: Media_Stop
SC163&PgUp:: Volume_Up
SC163&Delete:: Media_Prev
SC163&End:: Media_Next
SC163&PgDn:: Volume_Down
-
Here's the tutorial to get you started: https://autohotkey.com/docs/Tutorial.htm (https://autohotkey.com/docs/Tutorial.htm)
Or search Youtube for tutorials if you are more of a hands on type ;)
i made this script but its not working
if i press my fn key it mutes when i should have to press fn and pause to make it mute
SC163&Pause:: Volume_Mute
SC163&Insert:: Media_Play_Pause
SC163&Home:: Media_Stop
SC163&PgUp:: Volume_Up
SC163&Delete:: Media_Prev
SC163&End:: Media_Next
SC163&PgDn:: Volume_Down
Try this:
SC163 & Pause:: Volume_Mute
SC163 & Insert:: Media_Play_Pause
SC163 & Home:: Media_Stop
SC163 & PgUp:: Volume_Up
SC163 & Delete:: Media_Prev
SC163 & End:: Media_Next
SC163 & PgDn:: Volume_Down
I was wondering if your FN key would be a problem but I guess it is registering so that's a good sign.
Edit - I just found a script to remap Caps Lock in to a layout switcher :eek:
-
Here's the tutorial to get you started: https://autohotkey.com/docs/Tutorial.htm (https://autohotkey.com/docs/Tutorial.htm)
Or search Youtube for tutorials if you are more of a hands on type ;)
i made this script but its not working
if i press my fn key it mutes when i should have to press fn and pause to make it mute
SC163&Pause:: Volume_Mute
SC163&Insert:: Media_Play_Pause
SC163&Home:: Media_Stop
SC163&PgUp:: Volume_Up
SC163&Delete:: Media_Prev
SC163&End:: Media_Next
SC163&PgDn:: Volume_Down
Try this:
SC163 & Pause:: Volume_Mute
SC163 & Insert:: Media_Play_Pause
SC163 & Home:: Media_Stop
SC163 & PgUp:: Volume_Up
SC163 & Delete:: Media_Prev
SC163 & End:: Media_Next
SC163 & PgDn:: Volume_Down
I was wondering if your FN key would be a problem but I guess it is registering so that's a good sign.
Edit - I just found a script to remap Caps Lock in to a layout switcher :eek:
no i get a error with that script to where it wont run the script
update never mind i fixed it !
SC163 & Pause::SendInput {Volume_Mute}
SC163 & Insert::SendInput {Media_Play_Pause}
SC163 & Home::SendInput {Media_Stop}
SC163 & PgUp::SendInput {Volume_Up}
SC163 & Delete::SendInput {Media_Prev}
SC163 & End::SendInput {Media_Next}
SC163 & PgDn::SendInput {Volume_Down}
-
Try something else!
-
I've found that quite a bit of the time the simple :: doesn't work, but using ':: send, ' usually does the trick.
-
:thumb: :thumb: