Jump to content

vitor

Community Hero
  • Content Count

    3,852
  • Joined

  • Last visited

  • Days Won

    277

Everything posted by vitor

  1. Welcome @Bill Alpert, All of those should go into ~/Library/Application Support/Alfred (~ is your home directory, e.g. /Users/bill).
  2. Major update (which you will likely not notice). Switched to using MultiMarkdown, which means more transformations to HTML and a few more for BBCode and RTF (subscript). Also removed support for footnotes in BBCode. 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.
  3. Welcome to the community, @nagym, You don’t need to map every single key (that would be a huge undertaking, due to language-specific characters). You can use keystroke instead of key code for typeable characters (keystroke "q" using command down). Nice idea with pasting the key code with the corresponding using! Makes a ton of sense. Regarding this, the best advice I can give you is “move to another language as soon as possible”. In this forum you’ll find plenty of posts where I and @deanishe discourage people from using AppleScript as their main l
  4. To clarify, I don’t decide which features go into Alfred (or not).
  5. Welcome @postnumbers. When asking for help, please be specific. If you say some configuration functions don’t work, which? And which do work? Help the developer help you. The more information you provide, the likelier anyone will be able (and willing) to help.
  6. That’s what I was thinking; an ownership and/or permissions check.
  7. Safari 14 Is not supported on @deanishe’s computer, so he can’t diagnose whatever might the broken with the Workflow in the most recent release. Essentially, the Workflow is (out of necessity) deprecated until further notice.
  8. Especially if one was happy with the previous OS, because the tendency is to try to make the new one behave like the old, when the correct approach is to understand—not fight—the conventions of the new OS. That said, macOS isn’t for everyone, just like no OS is.
  9. We’ve all been through it! The quintessential example is forgetting a semi-colon, though I doubt that particular example happens much with the checks we have today.
  10. @seishonagon No plans to officially add alphabetical sort. But you can make a new Script Filter with language set to /usr/bin/ruby and paste the following: require 'json' require 'pathname' script_filter_items = Pathname.new(ENV['downloads_dir']).expand_path.children.sort.each_with_object([]) do |entry, array| name = if entry.directory? entry.basename.to_path else entry.basename(entry.extname).to_path end array.push( type: 'file', title: name, subtitle: entry, icon: { path: entry, type: 'fileicon' }, arg: entry ) end puts({ items:
  11. I’m on a Mac with a fingerprint sensor (but this might happen with password prompts as well). Here’s what happens when I’m on any app but the Finder and use Alfred to navigate to and delete a path with elevated permissions: And here’s what happens if I do the same thing but the Finder is the active app: This is a huge difference. On the latter I need only put my finger to the sensor and the operation is complete. On the former, because the Finder isn’t active, neither is the dialog, and putting my finger on the sensor does nothing. I have to go to the trackpad and
  12. No. But that’s not Alfred-relates. Search for “spotlight indexing stuck” and see what works. Under the threads title, on the right, you have an option that controls that.
  13. Updates. Better handling of software bundles (e.g. if you upload an .app, it will package the app, not the contents as a normal directory) and deletion of temporary paths on exit. 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.
  14. Without a way to specify the keyboard layout, the feature as explained could cause some problems. Even in places where QWERTY is used, the a to ; might not work. It wouldn’t in Portugal, where ; is to the right of m (they key next to l is ç).
  15. That’s the one! Though now that I see it, the equivalent request is your second post, not the first.
  16. The practical reason to use env—as I understand it from the original post—is that if you have two Macs, one Intel and one ARM, both with Homebred-installed pythons, setting PATH will allow the Workflow to work on both machines when synced.
  17. Like you’d do it in an empty shell without startup files: export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" /path/to/script.py
  18. Welcome @Boofeast, Alfred doesn’t read your shell’s environment, so you’ll need to tell it where to find the language. Either by using the full path as you used to, or by populating your PATH before invoking the script.
  19. No, but there’s a feature request for that which you can follow and add a “like” to show your support and possibly comment a link back to this post to share your use case. I’m on a phone so it’s harder to look for it, but perhaps @nikivi will be able to link you (it’s originally his request).
  20. Connect whatever kind of trigger you want (Hotkey trigger; Keyword Input) to a Copy to Clipboard Output. On the latter, paste the exact text you have in your example. Done.
  21. Welcome @Charles Garrison, The percent sign already has a special meaning in Alfred’s calculator, for the modulo operator (available in the advanced mode), so changing it to mean percentages might be confusing or cause breaking changes. There could be a settings toggle, but I’m not sure it would be worth it when the point solution exists.
  22. Update. Detect mpv installations even when only the CLI is installed. It only searches Homebrew default paths (/usr/local/bin/mpv and /opt/homebrew/bin/mpv). 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.
  23. Yes, it’s trivial. But forget {query}, that’s something specific to Alfred and with input as {query}, which you’re not using. You’re (correctly) using with input as argv. To do what you want, it should be something like "arg": sys.argv[0], (don’t forget to import sys).
  24. Connect a Hotkey Trigger to a Show Alfred Utility (Argument: the keyword for your Workflow) and a Dispatch Key Combo Output with ⌘⇧←. Like so: Then use your new Hotkey to invoke Alfred. It will call Alfred with your Workflow but its text selected, meaning you only need to start typing to overwrite it.
×
×
  • Create New...