-
Content Count
3,852 -
Joined
-
Last visited
-
Days Won
277
Content Type
Profiles
Forums
Articles
Media Demo
Everything posted by vitor
-
MarkdownTransform — Convert Markdown to other formats
vitor replied to vitor's topic in Share your Workflows
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. -
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
-
To clarify, I don’t decide which features go into Alfred (or not).
-
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.
-
Switch to Finder when operation requires authentication
vitor replied to vitor's topic in Alfred Feature Suggestions
That’s what I was thinking; an ownership and/or permissions check. -
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.
- 90 replies
-
Alfred opens new Safari window instead opens link in current one
vitor replied to sosaveme's topic in Discussion & Help
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. -
RecentDownloads — List and act on the contents of a directory
vitor replied to vitor's topic in Share your Workflows
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. -
RecentDownloads — List and act on the contents of a directory
vitor replied to vitor's topic in Share your Workflows
@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: -
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
-
Alfred starts up frozen and unresponsive [macOS Contacts issue]
vitor replied to Ben100's topic in Bug Reports
I’m guessing you meant to post a link? -
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.
-
UploadFile — Upload files and directories for easy sharing
vitor replied to vitor's topic in Share your Workflows
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. -
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 ç).
-
That’s the one! Though now that I see it, the equivalent request is your second post, not the first.
-
Python run script not finding installed modules
vitor replied to Boofeast's topic in Workflow Help & Questions
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. -
Python run script not finding installed modules
vitor replied to Boofeast's topic in Workflow Help & Questions
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 -
Python run script not finding installed modules
vitor replied to Boofeast's topic in Workflow Help & Questions
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. -
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).
-
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.
-
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.
-
WatchList — Play and manage local audiovisual content and streams
vitor replied to vitor's topic in Share your Workflows
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. -
Filtering JSON Output: A Very Basic Python Question
vitor replied to Jasondm007's topic in Discussion & Help
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).- 28 replies
-
- script filter
- python
-
(and 1 more)
Tagged with:
-
have a default list when trigger alfred input window
vitor replied to Alan He's topic in Discussion & Help
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.