Simple Script - Remap home button to Next song.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
felipechalreo
Posts: 2
Joined: 23 Jun 2021, 11:40
Contact:

Simple Script - Remap home button to Next song.

Post by felipechalreo » 23 Jun 2021, 12:07

Hello,

I need a script (I think) to remap my Logitech K270 Media keys.

Image

Basicly I want this key to play the next song. I think I need to remap to vk_media_next_track

gregster
Posts: 8921
Joined: 30 Sep 2013, 06:48

Re: Simple Script - Remap home button to Next song.

Post by gregster » 23 Jun 2021, 12:56

Try

Code: Select all

Browser_Home::Media_Next

felipechalreo
Posts: 2
Joined: 23 Jun 2021, 11:40
Contact:

Re: Simple Script - Remap home button to Next song.

Post by felipechalreo » 23 Jun 2021, 13:18

nice! Works... But every time I restart the PC I gotta run the script? Do you know the code for the e-mail button next to it?

gregster
Posts: 8921
Joined: 30 Sep 2013, 06:48

Re: Simple Script - Remap home button to Next song.

Post by gregster » 23 Jun 2021, 14:45

felipechalreo wrote:
23 Jun 2021, 13:18
nice! Works... But every time I restart the PC I gotta run the script?
Yes, AHK remappings/hotkeys don't write to the registry and don't make permanent changes. So yes, you need to run the script to use this remapping - but, for example, you can put a shortcut to your script into your startup folder: please see https://www.autohotkey.com/docs/FAQ.htm#Startup

felipechalreo wrote:
23 Jun 2021, 13:18
Do you know the code for the e-mail button next to it?
Usually, it's called Launch_Mail. Compare https://www.autohotkey.com/docs/KeyList.htm#multimedia

Post Reply

Return to “Ask for Help (v1)”