Hey guys!
So, I want to have VA do a couple things:
- First, I want to ask it to type a command for my bot to respond to.
- Second, I want audio confirmation (things like, "right away sir", "yes sir" etc)
- Third, I need this to not be seen by the chat, that VA is actually just typing out the commands in chat just as they would.
I already got parts of this to work, but I have a problem...
The way I'm doing it now is, the voice command triggers these:
- Move mouse to specific position in application window (the chatbot app in this case)
- Click the chat input field
- Type in command
- Press enter
Now, I'm using Streamlabs Chatbot, the offline version because it accepts Python scripts.
This bot has a feature to choose from where the bot accepts commands. I have it set to "Stream Both".
That means the bot will work and respond to commands, whether they're typed in open chat, or whispered to the bot.
And, it'll respond in the same way it was triggered, as in, if you type in chat, response is in chat. If you whisper, it whispers back to you.
All dandy, but if I'm voicing commands and I don't want my chat to see the command was actually just typed, I have to whisper the bot. Which then would make the bot whisper the response back to me and the chat won't see it, thus defeating the whole thing.
But, this bot has a "/me" option. This, colors the bot's response in the same color as the bot's nickname, AND it forces the bot's response to display in chat. Voila! I can now whisper it, and it responds in chat, no matter what. The downside is, if a viewer wanted to get the response in a whisper, they can't. It'll always respond in chat.
But, here's the reason I'm posting here:
The way I have this being done now, obviously, involves moving the mouse and clicking in the bot's screen.
This means I'm technically alt-tabbing from whatever game I'm playing, and it'll take control of my mouse and screw up whatever it is that I'm doing in the game.
To make sure the keystrokes only go where they're supposed to go, I have each command target the specific bot application too.
But, I still need a way to do this without having to simulate mouse behavior to go and type the commands in the application window.
The other possibility would be to use the bot's macro hotkeys for each command, and have VA trigger the macros via F13-F24.
Problem there is, the bot only offers 7 macros. I'm going to need a LOT more.
Help?