Jump to content

deanishe

Member
  • Posts

    8,759
  • Joined

  • Last visited

  • Days Won

    522

Everything posted by deanishe

  1. @pacifist Yeah, that sounds like the default behaviour of the mv command. I agree that smarter behaviour would be preferable, especially not silently overwriting existing files.
  2. Search the forum for “node_modules”. This topic has come up several times.
  3. Sorry. I was having a bad day yesterday. If it’s only a dumb list of numbers, you can write them to a text file. Then you can just write another line on the end. But if you save the numbers as a set via the data API, then you don’t have to worry about duplicates. When you do have so many data it’s not feasible to load them all every time, you likely want to use SQLite.
  4. No. Why is that even as issue? You said it was a matter of dozens of phone numbers, not megabytes of data.
  5. Well, that's kind of the whole point… The system makes network volumes look like normal, local volumes to applications. You might be able to get the source of the volume using a command like df or system_profiler SPNetworkVolumeDataType.
  6. That would explain why it still works for me. It's possible that the workflow just needs recompiling.
  7. No, that's not possible. Alfred sorts results based on your past behaviour. Sorting by type only makes sense for a "dumb" algorithm that doesn't learn, like Spotlight's.
  8. Are dozens of phone numbers settings? If not, then don't use the settings API. What do you mean? Why would you write a "bunch of files"?
  9. No. There is no API. The workflow scrapes the HTML from the search suggestion endpoint.
  10. Hard to say from your rather vague description. You can add two Keywords, one after the other, and save the first input to a variable.
  11. Right. Because you originally said External Trigger: As you noticed, entering ~ does the same thing. So your AppleScript should be: tell application "Alfred 3" to search "~". It's more portable. Shouldn't hardcode paths without a very good reason.
  12. Not really: it's working fine for me. Were you using it a lot? It's possible they blocked you…
  13. Have you ever actually read the sample AppleScript in an External Trigger? tell application "Alfred 3" to run trigger "settings" in workflow "net.deanishe.alfred-appscripts" with argument "test" with argument "test"
  14. I've just poked it with a stick a bit. Basically, Alfred only lets you position elements at 10px intervals. If you want to ensure perfect alignment, select your element(s) and use the arrow keys (or SHIFT+arrow keys) for positioning.
  15. I'm fairly certain there is a touch of "snap to grid" at a couple of points when your elements get close together. At least, I don't think I've imagined it… I think having an actual grid is complicated by the fact that elements can have fairly arbitrary heights due to comments.
  16. I don't know for certain, as I don't have High Sierra, but Apple probably removed the history files along with the bookmark files (which are definitely gone). Check the directory ~/Library/Caches/Metadata/Safari. On Sierra and earlier, it contains a Bookmarks and a History folder, which contain individual files for each bookmark and history item respectively. The data do appear to still be available in the ~/Library/Safari/History.db file, but those are definitely "internal" data, and I don't think Andrew will go near them for that reason. Sounds like a job for a workflow, tbh. If the feature really is gone in High Sierra, I'll doubtless build one (if nobody else has) when I eventually get around to upgrading (which won't be anytime soon).
  17. The proper way to do that is: export ZSH=$HOME/oh-my-zsh
  18. It's one of Alfred's Web Searches. You can create your own Web Search for any website that has a search URL. That won't work for DeepL, apparently, because there's no way to pass your text in the URL: you have to type it in the box. Here's a Web Search for Linguee, though: alfred://customsearch/Search%20linguee.com%20for%20%27%7Bquery%7D%27/l/ascii/nospace/http%3A%2F%2Fwww.linguee.com%2Fdeutsch-englisch%2Fsearch%3Fsourceoverride%3Dnone%26source%3Dauto%26query%3D%7Bquery%7D Paste that into Alfred.
  19. That’s exactly what File Filters are for. https://www.alfredapp.com/help/workflows/inputs/file-filter/
  20. This. Spotlight doesn't index hidden folders, so Alfred doesn't see them either. oh-my-zsh doesn't overly care where it's installed, so if you must search it, install it in a non-hidden directory.
  21. Perhaps the behaviour has changed in High Sierra. In any case, problems with specific workflows should be posted in the corresponding workflow's thread. There's a much better chance that the developer will see it, and it keeps down the "noise" on the forum.
  22. The first issue sounds like you need to allow Alfred in accessibility again. The Packal updater doesn’t work any more. It’s not really compatible with Alfred 3.
×
×
  • Create New...