Type out your parameters

  • I can say:

    • Alexa, ask TRIGGERcmd to run Type This with parameter I am the coolest

    And my computer will type "I am the coolest" wherever my cursor happens to be.

    Create c:\tools\typeit.vbs with these contents:

    Dim Wsh
    Set Wsh = Wscript.CreateObject("Wscript.Shell")
    Set args = Wscript.Arguments
    For Each arg In args
      Wsh.SendKeys arg
      Wsh.SendKeys " "

    Then create a command in TRIGGERcmd like this with parameters turned on:

    wscript c:\tools\typeit.vbs

    TRIGGERcmd runs your commands super fast, so if you're testing this on the computer where the agent is running and using the Parameters button on the website, you can add a 5 second pause at the beginning of the script with this command. That should give you enough time to click another window before it types your parameters in that window.

    WScript.sleep 5000

  • @russ BIG HELP!

Log in to reply