-
Posts
8,497 -
Joined
-
Last visited
-
Days Won
708
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Everything posted by vitor
-
ZotHero — Generate Zotero citations in Alfred
vitor replied to deanishe's topic in Share your Workflows
When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it. I have moved the post to the correct thread. But not the correct version of the Workflow. Use @giovanni’s fork. -
Ninja Sort - sort your text alphabetically
vitor replied to ninjasmurf's topic in Share your Workflows
Git can indeed be hard to grasp at first. My advice would be to not fret about it and learn as you go. There are a few things you’ll need all the time, but most of its capabilities you’ll likely never use. See OneUpdater. If you have questions, I can help you make sure your setup is correct. -
Welcome @vanwoods, Check if there’s a conflict with the Hotkey. To find Hotkeys in use by Workflows, go to Alfred Preferences → Workflows and click the (…) at the top (to the right of the Filter bar) followed by Show Hotkeys. For keyboard shortcut conflicts caused by other apps, ShortcutDetective (scroll down until you see the detective badge) may be of help.
-
A Workflow to connect my iPad to my mac using airplay
vitor replied to Afoan's topic in Discussion & Help
As far as I gather, Airplay has to be initiated from the sending device (the iPad), you can’t “pull” from one. If you find a way it can be done, we can try to help you integrate it with Alfred. -
Snippets expand slower, leading to word jumbling
vitor replied to andy4222's topic in Discussion & Help
See Snippets and Text Expansion Troubleshooting, especially the part on the speed of key events. -
Welcome @jesused, Create a new Workflow and connect some input (like a Keyword) to a System Commands Action (Sleep Displays) which connects immediately to another (Lock). That way both will fire in succession, giving you what you want. Alternatively, just activate the regular Lock. When you do so, macOS turns off the display after about five seconds.
-
Automatically switch Output and Input sound
vitor replied to Saez's topic in Workflow Help & Questions
I understand the solution you’re pursuing. But like I said you’re making something which is a workaround, GUI automation which is likely to break on Ventura. Wouldn’t you rather a more robust solution which has a better chance of surviving through (at least) the next update? Furthermore, the command-line tool I linked you to seems to do exactly what you want, is maintained, relatively popular, and should allow you to switch sources with literally one line of code. So why pursue the long winded slow solution which is likely to break instead of switching to the quick robust solution which is likely to continue working? -
Automatically switch Output and Input sound
vitor replied to Saez's topic in Workflow Help & Questions
@Saez I don’t understand the post reaction. I can try to guide you further, but I need specifics on what is tripping you up. -
Gauth: Google Authenticator (Time-Based Two-Factor Authentication)
vitor replied to moul's topic in Share your Workflows
@glawrie Looks like you’re on an old version. The line from your error is quoted out in the version for download in the repo (meaning it doesn’t run).- 62 replies
-
- authenticator
-
(and 7 more)
Tagged with:
-
Ninja Sort - sort your text alphabetically
vitor replied to ninjasmurf's topic in Share your Workflows
@ninjasmurf Instead of a text field user configuration where uses need to type true or false, use a checkbox user configuration—those are made specifically for such cases. You won’t need to change anything else about the Workflow, the conditional will understand that as well. -
Automatically switch Output and Input sound
vitor replied to Saez's topic in Workflow Help & Questions
If you don’t have a working solution yet, don’t get married to a specific language. In particular, you’re using GUI automation to control System Preferences, meaning the approach is likely to break once you update to macOS Ventura because the app is being revamped. There are Workflows to switch input sources as well as command-line tools which you can use and will likely continue to work with the update. The latter should be easier to work with too, since you’re likely to be able to switch to the specific sources you want with a single line in your Workflow. -
Request integration of Alfred with Medium
vitor replied to alxfyv's topic in Alfred Feature Suggestions
Welcome @alxfyv, Alfred’s expansion is tool-agnostic. See the Snippets and Text Expansion Troubleshooting and tweak some settings, such as slowing down key events. -
php not found on macos 版本15.6 (17613.3.9.1.5)
vitor replied to wilson jack's topic in Workflow Help & Questions
Welcome @wilson jack, Apple has removed PHP from macOS in the initial release of Monterey. Easiest way to get it back (Alfred will pick it up) is to install Homebrew, followed by brew install php. -
For the first steps ([AT] for “Automation Task”): [AT] Get safari Tab List → [AT] Get Matching Arguments (for instagram URLs) → Join Args (with newline) → [AT] Get Column from Text (for the username). On the last one you could also use a Replace Utility to strip the part of the URL you don’t want. Then it gets trickier, because Instagram (for some reason) doesn’t provide a way to go directly to a Direct Message page for a specific person (I don‘t use Instagram, this is based on a quick search). And at lest in Safari, opening the same page a bunch of times in a row will just make it go back to the same one (which is sensible behaviour). You’d have to automate the browser to do the opening of each tab and pasting of content. Instagram is incredibly restrictive to anyone who doesn’t have an account, so I cannot be more precise here. To close the matching tabs, there is also an Automation Task for that.
-
If you feel so inclined, posting the solution here when they get you sorted should be helpful to others as well.
-
You’ll have to ask 1Password about it. It’s their tool having the issue, which as you can attest happens even outside the Workflow. I did a quick search online and haven’t found anyone else affected with that exact problem.
-
The issue is that the 1Password command-line tool, op, is unable to create the configuration directory: Can you (in the Terminal) /usr/local/bin/op signin --force?
-
I mean the the debugger output (open it and perform the failing action). Also, whatever output the Terminal shows, if that’s the case. I don’t know if the issue you’re facing is still the same.
-
You are a version behind and it’s been over a month since you last posted on this thread. Please update, do the command, and paste the new debugger output.
-
@drpbier You run it in Alfred, not the Terminal.
-
@rob213 For anyone to be able to help, the requested information is necessary. In particular the debugger should show what is going wrong (but even if there are no errors, whatever it shows can still be useful).
-
workflow to open preferences in current app
vitor replied to wellerpond's topic in Workflow Help & Questions
A Hotkey is an input. You press the Hotkey and it does something in the Workflow. What you’re looking for is the Dispatch Key Combo Output. -
For future reference, it is indeed possible. It’s whatever you send to standard output. In other words, if you echo (Bash and Zsh) or puts (Ruby) something in the Run Script, it will be read as input by the next object. Those commands do send a newline at the end, which you can avoid with echo -n / printf (Bash and Zsh) or print(Ruby). Alternatively, you can output a JSON string with arg filled out, and that will be used. That method is useful if you want to send more things along (such as variables). Avoid with input as query in favour of with input as argv so you don’t have to worry about escaping (there’s a reason the latter is the default). You’d then use $1 / ${1} (Bash and Zsh) or ARGV[0] (Ruby). You don’t need to start and stop the quotes. You can outright do touch "$dir/$query $timestamp.md".
-
Help creating a simple text replacement workflow
vitor replied to alfredpanda's topic in Workflow Help & Questions
Seems like you’re looking for the Replace Utility, and perhaps the Argument and Variables Utility to save some of those as variables (such as the original).