Jump to content

Recommended Posts

Posted

Good day,
I hope that the day finds you well!

Can HotKeySet employ Hex Codes?

I need to be able to employ the following:

VK_VOLUME_MUTE
Volume Mute Key
Key Code: 173
Hex Key Code: 0xad

Thank you for the reply...appreciated!

Thank you for your time...appreciated!

Posted (edited)

 

; https://www.autoitscript.com/forum/topic/212919-hotkeyset-and-hex-codes/#findComment-1543578

HotKeySet("{VOLUME_MUTE}", "MuteVolume")

While 1
    Sleep(100)
WEnd

Func MuteVolume()
    ConsoleWrite("This will mute the volume" & @CRLF)
EndFunc

look at Send()

{VOLUME_MUTE} Mute the volume 
{VOLUME_DOWN} Reduce the volume 
{VOLUME_UP} Increase the volume 
{MEDIA_NEXT} Select next track in media player 
{MEDIA_PREV} Select previous track in media player 
{MEDIA_STOP} Stop media player 
{MEDIA_PLAY_PAUSE} Play/pause media player 

 

Edited by ioa747

I know that I know nothing

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...