MediaKey measure
Measure=MediaKey
sends various keystrokes found on multimedia keyboards. The measure is controlled by !CommandMeasure bangs.
Windows will briefly display a small volume UI element in the upper-left corner of the screen when the volume is changed or the sound is muted.
Note: MediaKey was previously a plugin measure.
In many existing skins you might see the syntax:
[MeasureMedia] |
MediaKey still works with those forms, and changing existing skins to the new Measure=MediaKey
syntax is entirely optional. However, new skins created going forward should use the correct syntax for accuracy and clarity. MediaKey is a measure, and not a plugin.
[MeasureMedia] |
Options
- General measure options
- All general measure options are valid.
Bangs
To control keystrokes on multimedia keyboards, use the !CommandMeasure bang. In the examples below MeasureMediaKey
is the section name for the MediaKey measure. Your section name may differ.
!CommandMeasure "MeasureMediaKey" "NextTrack"
- Moves to the next track in the list.
!CommandMeasure "MeasureMediaKey" "PrevTrack"
- Moves to the previous track in the list.
!CommandMeasure "MeasureMediaKey" "Stop"
- Stop playback.
!CommandMeasure "MeasureMediaKey" "PlayPause"
- Plays/Pause playback.
!CommandMeasure "MeasureMediaKey" "VolumeMute"
- Mutes the sound.
!CommandMeasure "MeasureMediaKey" "VolumeDown"
- Decreases volume.
!CommandMeasure "MeasureMediaKey" "VolumeUp"
- Increases volume.
Example
[MeasureMediaKey] |