Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Command name:
- <media_options> track
- ' Media options list:
- mute
- next
- pause
- play
- previous
- ' My Advanced Scripting script:
- '#Uses "C:\Users\username\Documents\Dragon\wristofdoom.txt"
- Sub Main
- AHKmediaOptions(ListVar1)
- End Sub
- ' From my functions file WristOfDoom.txt:
- Function AHKmediaOptions(ListVar1)
- ' Depends on autohotkey script epomaker.ahk
- If ListVar1 = "pause" Then
- SendKeys "{Windowshold}{F8}", 1
- ElseIf ListVar1 = "play" Then
- SendKeys "{Windowshold}{F8}", 1
- ElseIf ListVar1 = "mute" Then
- SendKeys "{Windowshold}{F10}", 1
- ElseIf ListVar1 = "next" Then
- SendKeys "{Windowshold}{F9}", 1
- ElseIf ListVar1 = "previous" Then
- SendKeys "{Windowshold}{F7}", 1
- End If
- End Function
- ' From Autohotkey file
- #F7::Media_Prev
- #F8::Media_Play_Pause
- #F9::Media_Next
- #F10::Volume_Mute
- #F11::Volume_Down
- #F12::Volume_Up
RAW Paste Data
Copied