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

    volume controller with Parameter

    Windows
    2
    2
    1.5k
    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.
    • K
      kingaustin247
      last edited by kingaustin247

      This allows you to set the volume to whatever you want,
      by using "ask Trigger cmd to run Volume (ON Computer Name) with parameter (Volume Level)"

      Parameter, when executed, is optional execution deflates to mute volume or unmute volume.

      Trigger: Volume
      Command: wscript "C:\Users\USER NAME\Desktop\Volume.vbs"
      Group: Foreground
      Voice: Volume
      Voice Reply: ok setting Volume
      Allow Parameters: true (IMPORTANT)
      File Name: Volume.vbs
      File Code:
      Set WshShell = CreateObject("WScript.shell")
      Dim Args, Var1
      Set Args = WScript.Arguments
      if wscript.arguments.count > 0 then
      Var1= Args(0)
      Var1= Var1/2
      Var1= Var1-1
      else
      Var1= 0
      end if
      if Var1 = 0 then
      WshShell.SendKeys(chr(173))
      else
      for i = 0 to 49
      WshShell.SendKeys(chr(174))
      next
      for i = 0 to Var1
      WshShell.SendKeys(chr(175))
      next
      end if

      1 Reply Last reply Reply Quote 1
      • D
        duduw1
        last edited by duduw1

        hi, i can't make working.
        não consigo fazer funcionar, podem me ajudar

        1 Reply Last reply Reply Quote 0
        • First post
          Last post