Author Topic: Medial keys as variable keypress  (Read 2400 times)

kourou

  • Jr. Member
  • **
  • Posts: 81
  • Anything that can go wrong will go wrong
    • FANNY (Discord)
Medial keys as variable keypress
« on: December 16, 2018, 09:50:58 AM »
Hi there,
Is it possible to add the media keys like Play/Pause Next/Prev Track ... as values to a variable keypress ?


EDIT by Pfeil: Implemented.
« Last Edit: April 18, 2020, 12:30:12 PM by Pfeil »

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: Medial keys as variable keypress
« Reply #1 on: December 16, 2018, 10:19:09 AM »
They are already available as virtual key values:

Volume Mute key = 173
Volume Down key = 174
Volume Up key = 175
Next Track key = 176
Previous Track key = 177
Stop Media key = 178
Play/Pause Media key = 179


As noted on VoiceAttackHelp.pdf page 158, you can use a virtual key value enclosed in brackets for variable hotkeys, E.G.
Code: [Select]
Set Text [~key] to '[179]'
Press variable key(s) [~key] and hold for 0,06 seconds and release
will press media play/pause.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Medial keys as variable keypress
« Reply #2 on: December 16, 2018, 12:07:32 PM »
Whoa... media keys are not in the list o_O

Ok, well... that needs to change.

Thanks, guys!

kourou

  • Jr. Member
  • **
  • Posts: 81
  • Anything that can go wrong will go wrong
    • FANNY (Discord)
Re: Medial keys as variable keypress
« Reply #3 on: December 16, 2018, 12:29:37 PM »
yes it works fine with the decimal values thnx Pfeil ;D

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: Medial keys as variable keypress
« Reply #4 on: December 16, 2018, 10:35:16 PM »
The next release will have [VOLUMEMUTE], [VOLUMEDOWN], [VOLUMEUP], [NEXTTRACK], [PREVTRACK], [STOP], [PLAYPAUSE] included.

Those totally slipped past ;)