I'm trying to make a script that mutes\unmutes all sound and increases\decreases volume by pressing right windows key (called Fn on my keyboard) AND F9-F11 keys respectively. I'm using Windows 10. The problem is I can't find the correct code for Fn key. I've tried these:
RWin & F9::SoundSet, +1, , mute ; Toggle the master mute (set it to the opposite state)
RWin::LWin
LWin & F9::SoundSet, +1, , mute ; Toggle the master mute (set it to the opposite state)
># & F9::SoundSet, +1, , mute ; Toggle the master mute (set it to the opposite state)
>#F9::SoundSet, +1, , mute ; Toggle the master mute (set it to the opposite state)
Nothing works. Using only F9 without trying to add the right win keys works fine, but that's not what I want. Please advice.