nksunmoon Posted July 23, 2022 Share Posted July 23, 2022 I setup an Alfred workflow to open an APP and then dispatch "Enter" to the APP as shown in the picture. However, the dispatch key combo module doesn't work as I think. I connect a play sound module to the delay module, and it can work normally. I don't know why dispatch key module can not work normally. Is there anybody who knows the reason? Link to comment
vitor Posted July 23, 2022 Share Posted July 23, 2022 Welcome @nksunmoon, The Dispatch Key Combo is working normally, but it’s impossible to tell what’s wrong in your setup from a screenshot. How is your Launch Apps set up? How long is the delay (is it enough)? Have you tried doing it semi-manually—just have the Workflow up until the Launch Apps then press the ↩ yourself to ensure it works? Could you record your screen while running the Workflow, with the debugger open? Link to comment
nksunmoon Posted July 23, 2022 Author Share Posted July 23, 2022 1 hour ago, vitor said: Welcome @nksunmoon, The Dispatch Key Combo is working normally, but it’s impossible to tell what’s wrong in your setup from a screenshot. How is your Launch Apps set up? How long is the delay (is it enough)? Have you tried doing it semi-manually—just have the Workflow up until the Launch Apps then press the ↩ yourself to ensure it works? Could you record your screen while running the Workflow, with the debugger open? After the APP, which is a VPN client, is opened by the Hotkey, I can press enter key to login in semi-manually, so it works. In the workflow, the delay is 8 seconds, and I think it is long enough. As you suggested, I put a debugger, and I got the following result. Link to comment
vitor Posted July 23, 2022 Share Posted July 23, 2022 Make sure Alfred is present and with a ticked checkbox under System Preferences → Security & Privacy → Privacy → Accessibility. If it is already there and checked, remove it an add it again (macOS occasionally screws that up), then restart Alfred. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now