Author Topic: Program keyboard to have media shortcuts  (Read 2043 times)

0 Members and 1 Guest are viewing this topic.

Offline ykno

  • Thread Starter
  • Posts: 35
  • Frustration, Face Meet Keyboard.
Program keyboard to have media shortcuts
« 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?

     Filco TK       Tomoko TK

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2716
  • Location: Gainesville, FL
  • KA2 touchpad on top
    • csmertx.com
Re: Program keyboard to have media shortcuts
« Reply #1 on: Mon, 04 April 2016, 18:33:48 »
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:
(sold) Chris Schammert (Christopher Schammert)

Offline Tactile

  • Posts: 1439
  • Location: Portland, OR
Re: Program keyboard to have media shortcuts
« Reply #2 on: Mon, 04 April 2016, 18:57:21 »
Another vote for AutoHotkey.

Here's where to get it...

https://autohotkey.com/
REΛLFORCE

Offline ykno

  • Thread Starter
  • Posts: 35
  • Frustration, Face Meet Keyboard.
Re: Program keyboard to have media shortcuts
« Reply #3 on: Tue, 05 April 2016, 14:07:10 »
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

     Filco TK       Tomoko TK

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2716
  • Location: Gainesville, FL
  • KA2 touchpad on top
    • csmertx.com
Re: Program keyboard to have media shortcuts
« Reply #4 on: Tue, 05 April 2016, 14:15:18 »
Here's the tutorial to get you started: https://autohotkey.com/docs/Tutorial.htm

Or search Youtube for tutorials if you are more of a hands on type ;)
(sold) Chris Schammert (Christopher Schammert)

Offline ykno

  • Thread Starter
  • Posts: 35
  • Frustration, Face Meet Keyboard.
Re: Program keyboard to have media shortcuts
« Reply #5 on: Tue, 05 April 2016, 15:29:40 »
Here's the tutorial to get you started: 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

     Filco TK       Tomoko TK

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2716
  • Location: Gainesville, FL
  • KA2 touchpad on top
    • csmertx.com
Re: Program keyboard to have media shortcuts
« Reply #6 on: Tue, 05 April 2016, 16:09:11 »
Here's the tutorial to get you started: 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:
(sold) Chris Schammert (Christopher Schammert)

Offline ykno

  • Thread Starter
  • Posts: 35
  • Frustration, Face Meet Keyboard.
Re: Program keyboard to have media shortcuts
« Reply #7 on: Tue, 05 April 2016, 16:14:57 »
Here's the tutorial to get you started: 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}
« Last Edit: Tue, 05 April 2016, 16:57:09 by ykno »

     Filco TK       Tomoko TK

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2716
  • Location: Gainesville, FL
  • KA2 touchpad on top
    • csmertx.com
Re: Program keyboard to have media shortcuts
« Reply #8 on: Tue, 05 April 2016, 16:56:58 »
Try something else!
(sold) Chris Schammert (Christopher Schammert)

Offline DvorakDachshund

  • Posts: 27
  • Location: Arizona
Re: Program keyboard to have media shortcuts
« Reply #9 on: Tue, 05 April 2016, 17:11:32 »
I've found that quite a bit of the time the simple :: doesn't work, but using ':: send, ' usually does the trick.

Offline xtrafrood

  • formerly csmertx
  • * Elevated Elder
  • Posts: 2716
  • Location: Gainesville, FL
  • KA2 touchpad on top
    • csmertx.com
Re: Program keyboard to have media shortcuts
« Reply #10 on: Tue, 05 April 2016, 17:13:25 »
 :thumb: :thumb:
(sold) Chris Schammert (Christopher Schammert)