I'm writing a workflow to take selected text and dump it into Grammarly. The plan is to select the text use shortcut keys, and have Grammarly open; wait for me to select the "New Document" button and automatically paste my text into the window.
If you know Grammarly, there are few menu items, and AFAIK, none can make this happen cleanly.
It doesn't matter where the New Document button is on the screen, as I will find it myself; anything that acknowledges a mouse click should work.
I'm not interested in waiting for a pause. If I get distracted, I want the workflow to wait.
Shell scripts work too, so I don't have to wait for the click in Applescript. Another scripting language should work fine.
Can anybody help?