I'm a newbie and so far have only done simple keyboard macros. Now I'm trying something more sophisticated. The workflow is this:
- Send a keystroke on a key trigger
- Wait for a couple of secs
- If a dialog box opens up with a certain text in the window, choose an option by sending arrow down and return. (The dialog usually does not appear at all.)
- End after 2 secs, regardless of what happens
If 2. does not block that is even better.
I have no idea if this is something that can be done by KM or even if MacOS allows it.
My other question is can I detect when I'm in a text input field? I have a PC keyboard and sometimes pressing home/end in a text field goes to begin/end of line as expected and sometimes it scrolls the window? It's very odd behavior. If I can detect when I'm in a text field, I want to send cmd+left/cmd+right when home/end is pressed.
Thank you in advance for any help