TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. kingaustin247
    3. Posts
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by kingaustin247

    • volume controller with Parameter

      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

      posted in Windows
      K
      kingaustin247