I wrote an Service using Apple's Automator. The first action is an "Ask for Text" action. However, when I trigger the shortcut to initiate the service, the modal asking for text pops up, but it does not have focus. I have to use the mouse to click on it.
Is there any way to have automator open this window with the focus on the text input?
Add some applescript to the top of your workflow with the following code. Just replace myapp with your app name
tell application "myapp"
activate
end tell
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With