Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Having trouble remapping multimedia keys
Post Flair (click to view more posts with a particular flair)
Post Body

Hello, I am trying to use AutoHotkey to remap the media keys on my mechanical keyboard, however, some seem to be undetected and I'm wondering if I am doing something wrong. The 4 media keys are My Pc, Calculator, Mail, and Media. I was using this script to try to test the keys.

    Browser_Back::
    Browser_Forward::
    Browser_Refresh::
    Browser_Stop::
    Browser_Search::
    Browser_Favorites::
    Browser_Home::
    Volume_Mute::
    Volume_Down::
    Volume_Up::
    Media_Next::
    Media_Prev::
    Media_Stop::
    Media_Play_Pause::
    Launch_Mail::
    Launch_Media::
    Launch_App1::
    Launch_App2::
    MsgBox, Key Detected!
    return

I assumed they should have been Launch_Mail, Launch_Media, Launch_App1, and Launch_App2 respectively but since it didn't work I tried adding all of the multimedia keys. When I run it the mail and calculator key is detected but the media key and my computer key are not. As far as I can tell I used the full list of multimedia keys from the documentation and none of them are detecting these keys. Is there some other name that I should try for these keys or are they just not going to work?

I am new to AutoHotkey so I'm sorry if this is a stupid question or I am missing something obvious but if anyone knows how I can remap these 2 keys it would be a great help!

Edit:

Using they key history command I was able to find out the hexadecimal value of the 2 keys and use that. Now it does allow the message box to appear but the My PC and Media Player windows still open as well, is there a way to disable that function so I can make them do something else?

Author
Account Strength
100%
Account Age
12 years
Verified Email
Yes
Verified Flair
No
Total Karma
4,006
Link Karma
2,094
Comment Karma
1,714
Profile updated: 6 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago