Type out your parameters


  • administrators

    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 " "
    Next
    

    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
 

Looks like your connection to TRIGGERcmd Forum was lost, please wait while we try to reconnect.