Change function of Media Keys to other Media Keys

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
John234
Posts: 2
Joined: 09 Aug 2022, 04:25

Change function of Media Keys to other Media Keys

Post by John234 » 09 Aug 2022, 04:46

Hi,
I've used this script for years in win 7. Now in win 11 it seems that it don't work anymore. But it works, if the app is started, inside the app.

Code: Select all

; AutoHotkey Media Keys
Browser_Home::Send {Launch_Media}
Launch_Mail::Send {Media_Play_Pause}
Volume_Up::Send {Media_Next}
Volume_Mute::Send {Media_Prev}
is there a problem with rights in win 11?

Thanks and greetings
John

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

Re: Change function of Media Keys to other Media Keys

Post by gregster » 09 Aug 2022, 04:53

Not that I know of... perhaps a general permissions issue: https://www.autohotkey.com/docs/FAQ.htm#uac

John234
Posts: 2
Joined: 09 Aug 2022, 04:25

Re: Change function of Media Keys to other Media Keys

Post by John234 » 09 Aug 2022, 05:22

Hey,

thanks! "Run script with UI Access" works.

Is it possible to compile the script with UI Access? Or how can I start a compiled exe automatically on windows startup with UI Access?

Post Reply

Return to “Ask for Help (v1)”