Type out your parameters
Russ last edited by Russ
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:
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.
IAMISOBE last edited by
@russ BIG HELP!
EL Dirtbag last edited by
I'm trying to improve the dictation that I've been using via this parameter. Things that I run into often is my Google Home will only listen to me for a sentence or two and I struggle with punctuation.
How can I code for Google to listen longer and to enter in punctuation? Commas work! But not periods, hyphens, colons, etc. I've played with sendkeys to navigate software in the past with success. Another feature I'm trying to accomplish is a new paragraph.
Thanks in advance.
Russ last edited by
@EL-Dirtbag, I'm actually surprised you can use this to type more than a short sentence. I think Google Assistant has a timeout of only a few seconds. That said, you could have your script type two enter keys at the end (or beginning), so each time you invoke the script via TRIGGERcmd, it would create a new paragraph.