Im building a Keyboard Maestro macro that will work on email responses. As part of the macro I want to the macro at a stage to pause until text expander fill ins are finished. I'm trying to use the pause until option but can't find the correct way to address the text expander fill ins finish.
Can anyone guide me in the right direction? is that even possible?
In the TextExpander window I use the "Tab Key" to jump to the different input fields and the popup menus I edit with the space bar (open and close) and with the arrow keys.
Here is a hint if you want to have the TextExpander window centered (MBP 15 inch). Use this Applescript in this macro and it will look like this:
tell application "System Events"
repeat while (count of windows of application process "TextExpander Helper") is equal to 0
end repeat
set position of first window of application process "TextExpander Helper" to {1000, 600}
end tell
Ps. runs both on macOS Catalina and macOS Big Sur (Gif) without problems
to further explain in more detail im trying to hit create a macro that hits the reply shortcuts then launches a textexpander expansion and then as you suggested when I hit the enter key will prompt me to add an attachment
@zeltak the AppleSkript is the TextExpander window, if you need to make additional input
Therefore it must also be used after the TextExpander shortcut/trigger (here eeat).
Thx @appleianer! sorry for the slow response had a busy few days
for some reason when using your example macro (with slight modifications towards English use :)) the expansion docent seem to trigger textexpander..
it does type the eeatt characters but no expansion happens..
maybe this is to complicated and ill just have to manually press attach like a caveman after I complete the expansion lol
Important are the pauses between the individual actions. The selection for the file attachment may only start after the text has been completely inserted with the TextExpander Snippet.