snsokstan Posted September 17, 2023 Share Posted September 17, 2023 I've been working on this for hours with no success. Not sure what I am doing wrong. Maybe it's something to do with Gmail. Workflow attached. I have no idea why there's a "filter" circle on the connector between the keyword and the "f" key combo MacOS Ventura, MacBook, Alfred 5 Pro, Google Workspace --> gmail When I have a gmail message open, with a hotkey, I want to forward a message to a specific email address (one of my email storages) and move the cursor to the end of the subject line so I can append to the subject. I want to use the hotkey "zzz" Here's the workflow: send an "f" to set up the forwarding box in Gmail type out an email string "xxx@yyy.com" (i set this up as a copy to clipboard and then paste) send shift-tab three times to move to the twisty next to the "from email address" that is the "type of response" send down arrow three to get to the "edit subject" on the drop down Send "enter" send "cmd-right arrow" to move to the end of the subject line send "space" and then "@" so as to append "@" to the subject line Then end the workflow Link to comment
vitor Posted September 17, 2023 Share Posted September 17, 2023 1 hour ago, snsokstan said: Not sure what I am doing wrong. What you’re doing is called GUI automation. Your problem is likely that the actions are happening too fast, before Gmail’s interface has had time to react. Add some Delay Utilities between the actions. 1 hour ago, snsokstan said: I have no idea why there's a "filter" circle on the connector between the keyword and the "f" key combo That’s not a filter circle, it’s just describing the connection. Double-click it to see additional options, but that’s not relevant to your workflow. Link to comment
snsokstan Posted September 17, 2023 Author Share Posted September 17, 2023 (edited) 54 minutes ago, vitor said: What you’re doing is called GUI automation. Your problem is likely that the actions are happening too fast, before Gmail’s interface has had time to react. Add some Delay Utilities between the actions. That’s not a filter circle, it’s just describing the connection. Double-click it to see additional options, but that’s not relevant to your workflow. So I just tried the workflow on a text editing program (TextEdit) and it turns out the keyword "zzz" isn't activating anything. I added 3 1-second delays and still nothing is happening. The problem is more global. None of my other keyword workflows are working, including the one delivered called "gettingstarted". I've rebooted, checked that all the workflows are enabled (right-click) and Alfred has full disc access in System Preferences. I saw this article but this shouldn't apply to a keyword workflow that I just created.I also did the Rebuild MacOS metadata in Alfred preferences. The settings for input monitoring in system preferences is also enabled for Alfred. My snippets are working and option-spacebar still brings up the Alfred input box. Edited September 17, 2023 by snsokstan Link to comment
vitor Posted September 17, 2023 Share Posted September 17, 2023 27 minutes ago, snsokstan said: it turns out the keyword "zzz" isn't activating anything. What are your exact steps to run the keyword? What does the debugger say? 28 minutes ago, snsokstan said: I added 3 1-second delays and still nothing is happening. Those are just overlayed on the existing connections, they aren’t doing anything. You have to connect to and from them. I recommend you see the Getting Started Guide for an interactive tutorial on making a workflow. 30 minutes ago, snsokstan said: including the one delivered called "gettingstarted". Please be more specific. There are multiple workflows in Getting Started. Link to comment
snsokstan Posted September 18, 2023 Author Share Posted September 18, 2023 14 hours ago, vitor said: What are your exact steps to run the keyword? What does the debugger say? Those are just overlayed on the existing connections, they aren’t doing anything. You have to connect to and from them. I recommend you see the Getting Started Guide for an interactive tutorial on making a workflow. Please be more specific. There are multiple workflows in Getting Started. What are your exact steps to run the keyword? What does the debugger say? type out zzz and press Enter. I have several workflows triggered by keywords and that's what's worked before Those are just overlayed on the existing connections When I hover over the delay step, it looks connected. Screenshot attached. I can post the actual .workflow file to a share drive if that's helpful. There are multiple workflows in Getting Started Screenshot attached Link to comment
Stephen_C Posted September 18, 2023 Share Posted September 18, 2023 14 minutes ago, snsokstan said: I can post the actual .workflow file to a share drive if that's helpful. I think that would be very helpful. It's always much easier looking at a workflow than it is seeing screenshots of a workflow. Stephen Link to comment
vitor Posted September 18, 2023 Share Posted September 18, 2023 You haven’t posted the output from the debugger. That’s the most important part. Also, check that the Keyword isn’t set to Argument Required. What you want in this case is probably No Argument. 14 minutes ago, snsokstan said: When I hover over the delay step, it looks connected. The first one is, but the others are not. Link to comment
snsokstan Posted September 18, 2023 Author Share Posted September 18, 2023 Debugger shows nothing at all. I tried invoking a couple of workflows. They don't respond to the keywords. Attached. Debugger shows activity when I invoke a snippet keyword. "No argument" in the keyword object. Attached. Here's a gdrive link to the shared workflow: Link to comment
vitor Posted September 18, 2023 Share Posted September 18, 2023 (edited) Please share a video with the debugger open and you activating the workflow. That debug log should have more in it, I need to see you triggering it to get a better sense of the cause. Edited September 18, 2023 by vitor Link to comment
snsokstan Posted September 18, 2023 Author Share Posted September 18, 2023 Here's a video of nothing happening with a workflow keyword. I included a snippet keyword that shows Alfred is active. My workflow keyword is not restricted to any particular program. I guess the question is not what's wrong with this workflow but more about why aren't keyword triggers working? video (with keyboard clicks!) Link to comment
vitor Posted September 18, 2023 Share Posted September 18, 2023 Keywords don’t work that way: you open Alfred with your main hotkey, then type the text in Alfred and press ↩. What you’re looking for is a Snippet Trigger. Link to comment
snsokstan Posted September 18, 2023 Author Share Posted September 18, 2023 23 minutes ago, vitor said: Keywords don’t work that way: you open Alfred with your main hotkey, then type the text in Alfred and press ↩. What you’re looking for is a Snippet Trigger. Perfect. At some point in the past, I lost the distinction between a keyword trigger and a snippet trigger. Much appreciated!! 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