Jump to content


Community Hero
  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by vitor

  1. The colours do indeed look a bit washed out. They look as if they were converted between colour formats. A possible solution is to increase the contrast:
  2. When making a request or a bug report pertaining to specific workflows, please do so in their specific threads. Making a new thread, while it seems like it’ll give your problem visibility, will only fragment the discussion and make it less likely the authors and users of the workflows (the people that can actually help) will see it. Please read the Reporting Problems with Workflows topic, as it gives a nice overview on how to make a report with a better chance of being addressed. I understand that in this case you may feel like this is a more general problem, since several Workflows broke, but it’s just as likely you’re using old versions of the Workflows or that they have some incompatibility with High Sierra. For example, the original Top Processes hasn’t even been officially updated to Alfred 3, and it has been broken for a while, as a consequence. By instead asking in their respective threads, you may at least find an alternative. I don’t use Dial with iPhone, but as an alternative to Top Processes you may try ProcessControl (disclaimer: I’m the author), and as an alternative to linguee-alfred-workflow you may try @deanishe’s Duden.de Search Workflow.
  3. That is exactly how it works already. By default it uses ⌘↑ and ⌘↓; if you want to to use ← and →, go to Alfred Preferences → Features → File Search → Navigation → Shortcuts (tick the first box).
  4. CSVs allow for fields to be multiline A1, A2, A3 B1, B2, "B 3" C1, C2, C3 B3 is a multiline field. As long as it’s encapsulated in quotes the newline is included. However, if dropped into a List Filter, this is what happens: As soon as the List Filter sees the newline, it assumes a new record. Multiline support is particularly relevant to the Arg field of List Filters, since those can have multiple lines if inserted manually. Not something I’d personally need, but noticed when advising on another post.
  5. You can’t capture arbitrary queries from a List Filter. If you want to do that, it needs to be a Script Filter (so you’ll have two in a row).
  6. I think that’s fine, since the argument can still be trimmed in the Workflow without changing the CSV or resorting to coding (via the Transform Utility).
  7. It feels more natural to me that the spaces are trimmed. However, I also think there might be users on both sides and saying “here’s the spec” makes more sense than “here’s the spec but with these changes”. So I think it’s best to follow the existing spec.
  8. Between the Script and List Filters, set up an Argument and Variables Utility and save the argument to a variable. You’ll be able to call that variable again later in the Workflow.
  9. Update. In the wls sorting order, added a “Best ratio first” option. This basically means at the top it’ll be the file that takes up more disk space per media second. This’ll only work on items that you add after the update. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  10. Keep a list of audiovisual content to watch and listen to. We often have series of videos and streams that we’d like to watch but not necessarily keep after, but tracking which we’ve already seen (and are thus safe to delete) can be a chore. Select in the Finder the files or directories you wish to add to your list and apply the file action Add to watchlist. Every time you do this the new items will be prepended or appended to the list (depending on the add_item_order Workflow Environment Variable). Alternatively, call swl to add the URL in your clipboard as a stream. You then have some options you can pick from, all starting with wl. wlp shows the list of items you can play. A reference to each subtitle section can be found at the end. wls calls wlp under the hood, but lets you first select a sort order. In both cases, ↵ plays the selection. Add ⌘ to play without marking as watched or ⌥ to rescan a directory (useful if you made manual changes to it). Items starting with ≈ are streams. They show no file size (since they aren’t taking up any space locally) and present the link they were taken from as opposed to a location on disk. To be able to stream video and audio you need either mpv or VLC. An item will never be marked as watched if we can access the player’s CLI and it exits with a failure exit code. wlu marks an item as unwatched. Note that in the case of files it does not recover them from the trash, as there is no reliable way to do so on macOS — that step you need to do yourself. If the item has a URL origin (you’ll see it in the subtitle) add ⌘ to open the URL in your default browser or ⌥ to copy it to the clipboard. wle allows you to reorder, rename, and remove items from the list. Finally, if you use DownVid it has an option to add the downloaded video files directly to your watchlist. Subtitle reference: There are three types of items: files, series, and streams. streams can be further categorised into single item or playlist. Each result has its name as the top title. The subtitle confers more detailed information and follows this template (~ means it never shows): ≈ (4) 𐄁 22m 32s 𐄁 691M 𐄁 /Some/Path ≈. Indicates item is a stream. file: ~ series: ~ stream: Always present. (4). Number of elements. file: ~ series: Remaining audiovisual files in directory. stream: Single item: ~. Playlist: All elements. 22m 32s. Running time. file: Running time of file. series: Running time of first audiovisual file in directory. stream: Combined running time of all elements. 691M. Size. file: Size of file. series: Size of first audiovisual file in directory. stream: ~ /Some/Path. Path. file: Path of file. series: Path of directory. stream: URL. Download | Source Works well with DownVid
  11. iCloud Drive file not showing in Alfred

    Try Alfred Preferences → Advanced → Rebuild macOS Metadata.
  12. iCloud Drive file not showing in Alfred

    Alfred Preferences → Features → Default Results → Search Scope. Check if ~/Library/Mobile Documents is present. If it’s not, add it.
  13. Move Forward Through History

    Alfred does not support this functionality, so I’ll move this to the Feature Request forum.
  14. "DO" Confusion

    It might be (emphasis added). Small note, @nasteffe, in case you don’t know what @deanishe is referring to: It’s the File Filter Input, which means you’d use a special keyword for those searches, and not the regular Alfred search.
  15. Yep. It’s the setting I use. Have you tried restarting?
  16. Call nf followed by a file name (if you don’t give it an extension, it’ll be .txt) to make a new file. If you type nfo instead the files will open after creation. If you have a Finder or Path Finder window as your frontmost window, the file will be created there, otherwise it will be created on your Desktop. Download | Source
  17. If you want to always open new Finder locations as tabs instead of windows, regardless of context, go into Finder Preferences → General → (tick) Open folders in tabs instead of new windows.
  18. I can’t reproduce this with either mode, but try this: Alfred Preferences → Appearance → Options → Focusing (change the mode).
  19. You don’t need the on run. You’ll also need to make sure you’re using POSIX paths. Try this: tell application "System Events" set runningProcesses to (every process whose background only is false) end tell set alfredJSON to "{\"items\": [" repeat with runningProcess in runningProcesses set appName to name of runningProcess set appPath to POSIX path of (file of runningProcess as alias) set alfredJSON to alfredJSON & "{\"uid\": \"" & appName & "\", \"type\": \"default\", \"title\": \"" & appName & "\",\"subtitle\": \"\", \"arg\": \"" & appName & "\",\"autocomplete\": \"insert passage\", \"icon\": { \"type\": \"fileicon\", \"path\":\"" & appPath & "\" }}," end repeat set alfredJSON to alfredJSON & "]}" return alfredJSON
  20. Instead of trying to get the icon with AppleScript, leverage what Alfred already gives you for free. In the JSON, set icon: { "type": "fileicon", "path": "{{path_to_app}" }. But in the future, when asking help with a Workflow please upload it somewhere. See the Reporting Problems with Workflows topic, as it gives a nice overview on how to build an effective report.
  21. Yes. Unless you call your script via source (which you’ll likely never do, that’s more for your shell’s configuration files). Just so we’re clear here, if you create a function inside a script, that function will have the same fate as the variables — it’ll be forgotten when the script ends and not affect the shell. But if you define a function outside a script, directly in your shell or by sourceing your shell’s startup files, then it’ll affect the shell. You are very welcome! The users that give the most joy to help are the ones that genuinely want to learn.
  22. Clipboard copy shuffled

    Welcome @Will Beethoven, This is not a bug, but a feature (that you can turn off). Alfred Preferences → Features → Clipboard → Advanced → (untick) Move items to top of clipboard history when used.
  23. Update. Use JXA instead of AppleScript. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater.
  24. Welcome @whiskeyjack, The solution is to instead make a Workflow. Connect a Keyword Input to a Open URL Action. On the Browser choice don’t leave it as Default Browser (even if Chrome is your default), but set it specifically to Chrome.