• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Winamp visuals control panel

Windows
1
1
181
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Russ
    last edited by Russ Mar 21, 2024, 1:27 AM Mar 21, 2024, 12:22 AM

    Anyone still use Winamp to play .mp3 files?

    The Milkdrop visuals are still the best - for example.

    I built a TRIGGERcmd panel to control Winamp, including a set of my favorite visual "presets."

    Here's a Youtube video showing how it works.

    This is the panel:

    3413edbd-355f-4250-a93b-101c3986a2f6-image.png

    The "Preset Favorite" panel buttons run my winamp_preset.bat script with the letter as the parameter, and uses nircmd to press a series of buttons to pick the preset that starts with that letter.

    You can see here I copied some of my favorite presets to a folder called russ, and prefixed each one with a letter from a to h:

    32f0df12-b2df-46a4-b62c-87615497cc23-image.png

    This my panel JSON:

    [
      {
        "name": "Preset Favorite",
        "trigger": "DS | winamp preset",
        "params": "a,b,c,d,e,f,g,h"
      },
      {
        "name": "Next/Previous Preset",
        "trigger": "DS | winamp next/previous preset",
        "params": "previous,next"
      },
      {
        "name": "Volume",
        "trigger": "DS | winamp volume",
        "params": "up,down"
      },
      {
        "name": "Show Song Title",
        "trigger": "DS | winamp show title",
        "params": ""
      },
      {
        "name": "Presets List",
        "trigger": "DS | winamp preset folder",
        "params": "russ,all"
      },
      {
        "name": "Forward/Reverse",
        "trigger": "DS | winamp forward reverse",
        "params": "reverse,forward"
      }
    ]
    

    My commands.json entries:

     {
      "trigger": "winamp preset",
      "command": "c:\\tools\\winamp_controller.bat",
      "offCommand": "",
      "ground": "foreground",
      "voice": "",
      "voiceReply": "",
      "allowParams": "true"
     },
     {
      "trigger": "winamp show title",
      "command": "nircmd sendkeypress t",
      "offCommand": "",
      "ground": "foreground",
      "voice": "",
      "voiceReply": "",
      "allowParams": "false"
     },
     {
      "trigger": "winamp preset folder",
      "command": "c:\\tools\\winamp_preset_folder.bat",
      "offCommand": "",
      "ground": "foreground",
      "voice": "",
      "voiceReply": "",
      "allowParams": "true"
     },
     {
      "trigger": "winamp volume",
      "command": "c:\\tools\\winamp_volume.bat",
      "offCommand": "",
      "ground": "foreground",
      "voice": "",
      "voiceReply": "",
      "allowParams": "true"
     },
     {
      "trigger": "winamp forward reverse",
      "command": "c:\\tools\\winamp_ff_rw.bat",
      "offCommand": "",
      "ground": "foreground",
      "voice": "",
      "voiceReply": "",
      "allowParams": "true"
     },
     {
      "trigger": "winamp next/previous preset",
      "command": "c:\\tools\\winamp_next_previous_preset.bat",
      "offCommand": "",
      "ground": "foreground",
      "voice": "",
      "voiceReply": "",
      "allowParams": "true"
     }
    

    These are the .bat files in my c:\tools folder:
    fb158ec6-7a00-4e27-aa2e-12de367e7e89-image.png

    winamp_ff_rw.bat

    if "%1"=="reverse" nircmd sendkeypress left
    if "%1"=="forward" nircmd sendkeypress right
    

    winamp_next_previous_preset.bat

    if "%1"=="next" nircmd sendkeypress spc
    if "%1"=="previous" nircmd sendkeypress backspace
    

    winamp_preset.bat

    nircmd sendkeypress l
    nircmd sendkeypress %1
    nircmd sendkeypress enter
    nircmd sendkeypress esc
    

    winamp_volume.bat

    if "%1"=="+" nircmd sendkeypress up
    if "%1"=="-" nircmd sendkeypress down
    if "%1"=="up" nircmd sendkeypress up
    if "%1"=="down" nircmd sendkeypress down
    

    winamp_preset_folder.bat

    rem bring up the current presets path
    nircmd sendkeypress f8
    
    if "%1"=="russ" goto russ
    if "%1"=="all" goto all
    goto end
    
    :russ
    rem backspace for each letter in "presets"
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    rem type out russ
    nircmd sendkeypress r
    nircmd sendkeypress u
    nircmd sendkeypress s
    nircmd sendkeypress s
    goto select
    
    :all
    rem backspace for each letter in "russ"
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    nircmd sendkeypress backspace
    rem type out presets
    nircmd sendkeypress p
    nircmd sendkeypress r
    nircmd sendkeypress e
    nircmd sendkeypress s
    nircmd sendkeypress e
    nircmd sendkeypress t
    nircmd sendkeypress s
    goto select
    
    :select
    rem press enter
    nircmd sendkeypress enter
    nircmd sendkeypress esc
    nircmd sendkeypress escape
    
    :end
    

    Russell VanderMey

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post