Simple NumpadSub to Media_Next script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
robhayes
Posts: 19
Joined: 28 Dec 2015, 15:35

Simple NumpadSub to Media_Next script

06 Jul 2017, 13:34

Hello, I am trying to make a presumably very simple script to remap my Numpad's subtract key to Media_Next. Can someone please help?

Code: Select all

; stop AHK by pressing the PAUSE key:
; http://www.autohotkey.com/docs/commands/Suspend.htm

#NoEnv
SendMode Input
#persistent
#r::Reload
#InstallKeybdHook


NumpadSub::Media_Next
Return
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Simple NumpadSub to Media_Next script

06 Jul 2017, 15:38

Code: Select all

NumpadSub::Media_Next
Should work as is.
robhayes
Posts: 19
Joined: 28 Dec 2015, 15:35

Re: Simple NumpadSub to Media_Next script

07 Jul 2017, 12:23

Ultimately, using the vk/sc values is what worked:

vk6Dsc04A::vkB0sc119

However, I am now faced with a new issue. My hotkey does not work when Chrome is in focus. Any ideas why?
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Simple NumpadSub to Media_Next script

07 Jul 2017, 13:18

Run script as Admin. (chrome is most likely running elevated)
robhayes
Posts: 19
Joined: 28 Dec 2015, 15:35

Re: Simple NumpadSub to Media_Next script

07 Jul 2017, 13:44

That did not solve it.
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Simple NumpadSub to Media_Next script

07 Jul 2017, 15:00

Weird i cant get it to not work with either hotkey syntax and chrome active or not.
Maybe someone else will chime in with a thought.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: doodles333, vysmaty and 245 guests