Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. @Tsunami If you update to the 4.0.5 pre-releae, I've now reverted this behaviour
  3. Thanks! I've updated the repo and the first post.
  4. Ah boo... I had completely forgotten about hex notation in the calculator. I've already added a defaults write to reinstate the hex behaviour into the next build (I'd still like to default to x as multiplication for the masses), I'll get a dev build out later this week to sort this for you! Edit: On second thoughts, I'll likely fix the default behaviour to how it's been for the past decade.
  5. The debugger shows whatever your program writes to STDERR, so write your log messages to STDERR.
  6. thanks deanishe is there a way to write tot he debug console?
  7. Hey, New to workflows in general. Trying to set a reminder in slack through alfred. Can't find anything useful on the web. Any ideas?
  8. Alfred’s debugger shows whatever your script/program writes to STDERR. Anything written to STDOUT becomes the input for the next workflow element.
  9. I have been making work flow snippets in swift. They work great. How ever I was wondering if there was a way to connect to the Alfred debugger. I want to see print statements and errors in the debugger. Any guidance would be appreciate. On a secondary note I have made some Run scripts that I reuse. Is there a way to rename the run script GUI so I can see which is which without having to lock at my comments?
  10. Yesterday
  11. smargh19 isn't around any more. If you want the workflow updating, you'll have to do it yourself or find someone else to do it.
  12. The docs in general would benefit from a bit more depth. It's also just dumb bad luck that you copied the config from an Arg and Vars element. Anything else, and you'd have had the "right" JSON. But you picked the only one (AFAIK) that doesn't have the standard arg and variables fields.
  13. Yep. That's what got me. A couple of example workflows featuring the JSON Object would have gone a long way. Thanks again for your help!!
  14. Ah, right. Well, the Arg and Vars object does have variables in its configuration. The config object is element-specific, though. What works with Arg and Vars won't work with other elements. But I can see how that would lead to confusion.
  15. Wow, thanks @deanishe 🤘 Ok so here's where I got tripped up— I right clicked on the configured "Args and Vars" object and selected "Copy Configuration" Then I pasted that into the JSON Config object, and it gives me this: { "alfredworkflow" : { "config" : { "argument" : "", "variables" : { "c" : "chips", "a" : "apple", "b" : "ball" } } } } As you noted, this seems to be incorrect/nonfunctional. So, not sure if this is intended behavior, or a bug...
  16. This was a deliberate change, FWIW. The changelog for 4.0.4 says: "Recognise x as multiplication" Seems worth reversing.
  17. You need to read more carefully This is the example from that page: { "alfredworkflow" : { "arg" : "{query}", "config" : { }, "variables" : { } } } Notice that variables is a sibling of config, not a child. Also, there is no argument field. The config object contains settings for the following workflow element. It is a separate thing. This is your JSON: { "alfredworkflow" : { "config" : { "argument" : "", "variables" : { "a" : "apple", "b" : "ball", "c" : "chips" } } } } This is the correct JSON: { "alfredworkflow" : { "arg" : "{query}", "config" : { }, "variables" : { "a" : "apple", "b" : "ball", "c" : "chips" } } }
  18. Guys, can anyone help me out? I'm trying to use a `JSON Config` object to set some variables in my workflow. But it's not working. I've read https://www.alfredapp.com/help/workflows/utilities/json/ and done as much googl'ing as I can. I made a simple test workflow that illustrates my dilemma. When setting args using `Args and Vars` (hold SHIFT) it works, but the JSON Config seemingly does nothing. Download below: JSONConfig.alfredworkflow (github) Any ideas?
  19. v4.0.4 [1111] - macOS 10.14.6 In 4.0.3, typing =0xFF would return 255. In 4.0.4, x is recognized as multiplication, so the result is always 0.
  20. This is absolutely out of the ball park. But like @Jakub Sypiański i cant get the lookup-modifiers to work. Would be amazing to get this workflow to work with Alfred 4 🙌
  21. It appears so. Apparently, you can preview URLs with Automator. Perhaps you can add the Automator workflow to your Alfred workflow. I think that's probably the right way to go: an Open in Quick Look output is pretty niche, and I'd say it's unlikely to be added to Alfred any time soon.
  22. @moiraine Alfred 4 has been thoroughly tested in macOS Catalina and is working smoothly. There are a few things you need to do to use Clipboard History and Snippets, so take a look at the relevant setup steps below: 1. Grant Alfred permissions: You'll need to ensure you've granted Alfred the necessary permissions. You can access this list of permissions from the General tab in Alfred's prefs: https://www.alfredapp.com/help/getting-started/permissions/#integration Specifically, you need to ensure that you've granted Accessibility. 2. Enable Clipboard History: Clipboard History isn't saved automatically (for your privacy) so you need to enable it: https://www.alfredapp.com/help/features/clipboard/#clipboard-history Once it's enabled, you'll see your copied items appear in the clipboard. 3. Snippets expansion: Snippets expansion also needs to be activated: https://www.alfredapp.com/help/features/snippets/auto-expansion/ Make sure your snippets are ticked for auto-expansion as well, and that you're typing the correct keyword. If you're still having any issues, please take a look at the troubleshooting guides linked from each of the Clipboard and Snippets links above, and provide more details as to what is and isn't working. I'll then be happy to help you further [Moving this to Discussion & Help, as it isn't a bug issue] Cheers, Vero
  23. @deanishe I could never get this to work for a URL, it seems to want to display a file. I think I'd need to have it work the same way the QuickLook view works when you give the Script Filter a `quicklookurl` JSON value.
  24. Hi @egied, welcome to the forum. Could you please describe your issue in more detail? Like what kind of file you're talking about, how you're searching (Alfred's default search, Quick Search, a File Filter…), and what you've set Alfred's default search scope to.
  25. You can't specifically disable fallback searches, no. But if you return a "no results found" item instead of an empty set of results, Alfred won't show them.
  26. But did you remove it from Alfred's search scope? (Alfred Preferences > Features > Default Results > Search Scope)
  1. Load more activity
  • Create New...