nikivi Posted May 29, 2019 Share Posted May 29, 2019 (edited) I have a workflow that has a keyword trigger that I activate with external trigger. Activating it from keyword works (pressing enter): Activating it from external trigger (my preferred way) doesn't work: Pressing return does nothing. No logs added in Debugger too. This workflow worked perfectly in Alfred 3 but now fails in Alfred 4. I really rely on this working as its one of my most used workflows. Thank you. Edited May 29, 2019 by nikivi Link to comment Share on other sites More sharing options...
GuiB Posted May 30, 2019 Share Posted May 30, 2019 From my tests the bug is not because the keyword object is activated externally, but because it has an empty 'Title' or 'Subtext'. Your "{var:empty}" get changed to an empty string, so it does the same. For now, just replacing your '{var:empty}" to any string (but only spaces since Alfred strip them) will repair your workflow. So, the problem is "Getting" into a keyword object that has no Title or Subtext defined. I mean arriving to the keyword from another object won't work, but invoking it directly using it's keyword work. Link to comment Share on other sites More sharing options...
deanishe Posted May 30, 2019 Share Posted May 30, 2019 2 hours ago, GuiB said: From my tests the bug is not because the keyword object is activated externally, but because it has an empty 'Title' or 'Subtext'. That's right. IIRC, Andrew recommended doing it this way to Niki to prevent the title flashing up when activating the Keyword via External Trigger. Link to comment Share on other sites More sharing options...
Andrew Posted May 30, 2019 Share Posted May 30, 2019 @nikivi Hmm, I'll take a look at this once we're through the inbox... sorry about that! Link to comment Share on other sites More sharing options...
Andrew Posted May 30, 2019 Share Posted May 30, 2019 @nikivi as a workaround while I look into fixing this properly (i.e. I don't want an empty row showing, but still being able to action the result), add a workflow variable of "empty" with a single space as the value. That will get you up and running for now. Link to comment Share on other sites More sharing options...
Andrew Posted June 7, 2019 Share Posted June 7, 2019 @nikivi could you please update to the 4.0.2 pre-release and let me know if things are back to how they were in v3? Link to comment Share on other sites More sharing options...
nikivi Posted June 7, 2019 Author Share Posted June 7, 2019 Amazing. Works wonderfully. Andrew 1 Link to comment Share on other sites More sharing options...
nikivi Posted June 7, 2019 Author Share Posted June 7, 2019 Actually I take that back. Shouldn't this not be there: I think that was the point of the change. Now it activates but that empty thing shouldn't be there. Only Alfred input prompt. Link to comment Share on other sites More sharing options...
nikivi Posted June 7, 2019 Author Share Posted June 7, 2019 Or perhaps I am doing it wrong? Link to comment Share on other sites More sharing options...
Andrew Posted June 8, 2019 Share Posted June 8, 2019 @nikivi For now, I wanted to revert to the v3 behaviour just to get you up and running, can I confirm that this is the case? The change to make Alfred correctly act on "no results" as if there is a result requires a bit more thought as I don't want to "fudge" things in the framework. Link to comment Share on other sites More sharing options...
nikivi Posted June 8, 2019 Author Share Posted June 8, 2019 47 minutes ago, Andrew said: can I confirm that this is the case? It is. Should I open a feature request for clean empty external prompt? Link to comment Share on other sites More sharing options...
Andrew Posted June 8, 2019 Share Posted June 8, 2019 6 minutes ago, nikivi said: It is. Should I open a feature request for clean empty external prompt? No no, it's ok, I already have a ticket for it Link to comment Share on other sites More sharing options...
Andrew Posted June 11, 2019 Share Posted June 11, 2019 @nikivi if you update to Alfred's latest 4.0.2 pre-release b1086, you should get the behaviour you're after. Could you let me know? nikivi 1 Link to comment Share on other sites More sharing options...
nikivi Posted June 11, 2019 Author Share Posted June 11, 2019 4 hours ago, Andrew said: Could you let me know? Pretty sweet. It works, thanks. Link to comment Share on other sites More sharing options...
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