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

    volume controller with Parameter

    Scheduled Pinned Locked Moved Windows
    2 Posts 2 Posters 2.0k Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post