Sending messages through Google Messages for Web
Posted: Thu Aug 20, 2020 2:27 pm
Hello! Recently discovered this program and am absolutely loving it so far. In testing out and trying to create some of my own cards, I ran into a problem with inputting text to Google Messages for Web specifically. Since Google Assistant doesn't have texting capability yet, I decided to try and do it through Push2Run. Forking the "Tweet" card, I tried to write up a card to pull up the Google Messages URL and enter in text, then tab 5 times and enter to send. Google Messages is opened up, however, it never enters any text or the tab and enter keystrokes.
This is what my card looks like below: This is what Google Messages looks like when you open up a link. When logged in, the number at the end of the URL specifies which conversation you open up. (In the image, the number for my mom is 10; if I changed it to 19 it would open up my chat with my dad.) Opening up the URL automatically places your cursor in the text entry field. Sidenote: I usually run ublock origin on everything but I've whitelisted this site to support with ad revenue since I can't support through donation
In the previous screenshot, I made the window tiny to be able to capture the URL with the whole screen, so the "send" button is only one {tab} away from the text entry field. Usually, when you open it fullscreen, there's emoji, sticker, etc. buttons, so the send button is 5 tabs away (which is what I used in my card, since I've set it to open up in a maximized window). I am able to enter text separately (run this card, which opens up the Google Messages site, then use a separate command "type $") I am able to type in a text and send it. But it doesn't work in conjunction with opening the link and then typing and sending, and I can't figure out why.
I also tried setting the "Open" field to Chrome, with the link as the parameter, like the Tweet card had it. That didn't work either, so I went back to the link as the "Open" field since it's more concise. I'm not running Push2Run with administrator privileges, so it can't be that. I'd really love for this to work, so thank you in advance for any advice/solutions!
This is what my card looks like below: This is what Google Messages looks like when you open up a link. When logged in, the number at the end of the URL specifies which conversation you open up. (In the image, the number for my mom is 10; if I changed it to 19 it would open up my chat with my dad.) Opening up the URL automatically places your cursor in the text entry field. Sidenote: I usually run ublock origin on everything but I've whitelisted this site to support with ad revenue since I can't support through donation
In the previous screenshot, I made the window tiny to be able to capture the URL with the whole screen, so the "send" button is only one {tab} away from the text entry field. Usually, when you open it fullscreen, there's emoji, sticker, etc. buttons, so the send button is 5 tabs away (which is what I used in my card, since I've set it to open up in a maximized window). I am able to enter text separately (run this card, which opens up the Google Messages site, then use a separate command "type $") I am able to type in a text and send it. But it doesn't work in conjunction with opening the link and then typing and sending, and I can't figure out why.
I also tried setting the "Open" field to Chrome, with the link as the parameter, like the Tweet card had it. That didn't work either, so I went back to the link as the "Open" field since it's more concise. I'm not running Push2Run with administrator privileges, so it can't be that. I'd really love for this to work, so thank you in advance for any advice/solutions!