-
Posts
8,523 -
Joined
-
Last visited
-
Days Won
712
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by vitor
-
-
-
4 hours ago, bobmclane said:
Is there a way with workflows (or other means) of having my, lets say top 10 commands with a {query} argument
Yes.
4 hours ago, bobmclane said:and it paste or execute that command into my open terminal while I'm in my VM?
Can you already do that without Alfred? If so, Alfred can streamline that. But it seems like you’re wanting to automate your VM software and the guest OS, and that depends entirely on them. -
Welcome @thirstylizard,
Making a duplicate post lowers the chance of fixing your issue because the people going through it might not see it. Please keep posts focused. I’ll merge the threads.
-
Welcome @mkhsv,
Simply connect the Open URL to a Copy to Clipboard Output to copy the link. Then connect it to a Run Script Action with Language set to /usr/bin/osascript (JavaScript) and Script Application('System Events').keyCode(48, { using: ['command down'] }). That will fake a ⌘⇥ which is the fastest way to get back to the previous app; there are more proper ways to do it (save the current app and then go back to it), but they are slower and require more code and more changes to the Workflow.
-
Alfred has excellent documentation. For your daily sites Workflow, you’d connect a List Filter Input to an Open URL Action. To open apps should be similar, depending on exactly what you need.
-
Welcome @juanfal,
That’s a very specific feature to fill a very specific need which seldom arises.
Each of the connections you want takes seconds to create. You can further speed it up by copy and pasting Workflow objects and editing the parts you need. Tip: don’t create multiple Workflows for it, keep them in the same one. -
I see the usefulness in muting your microphone from a Hotkey, as it’s a way that should work universally across apps.
I’d be wary of calling it a way to take control of one’s privacy, though. Just like the Workflow can unmute the microphone programmatically, so can anyone else, which means muting it doesn’t offer any protection against those who are shady.
-
Update. It now also works on embedded YouTube players. Download the latest version.
-
Then please continue the conversation in that thread, because it’s the one tracking that issue. Remember to reference what you did exactly so it can be followed up; the thread has multiple solutions which worked for different people.
-
7 hours ago, Koen_73 said:
I have this issue too on my new Macbook Pro (M1) (migrated from my previous Intel Macbook Pro).
If you’ve used Migration Assistant, follow the link I posted above.
-
Apple certainly means to scare you when you enable the option:
Which is true. And it’s why I don’t provide warnings in the Workflow, since the browsers do it themselves. Activating the option means your browser can be controlled programatically, which is the only way this Workflow can work but it also means it opens the gates to other tools. I never heard of malware which did anything via this route, which isn’t to say it couldn’t be built.
Standard care about which tools you tend to run apply.
-
Welcome @Ief,
Your code looks correct, and so does your Workflow setup (though in the future, please upload it because it’s hard to tell from screenshots alone).
This is looking like a permissions issue, so see the troubleshooting steps.
Also, check the debugger. -
21 hours ago, jeremy382 said:
Spotlight does the same thing as Alfred
Then it’s on Spotlight’s side that you need to fix the problem, as Alfred uses Spotlight’s indexing to find files.
See the troubleshooting steps, starting at 3. -
16 hours ago, nande said:
Running OSX Monterey, latest version of alfred and latest version of php from the brew command.
When debugging, never say “latest” but always the exact version. With “latest” we don’t know if you mean the latest beta or stable version, nor do we know if you’re really on the newest version. You may think you’re up to date but be mistaken, or might be a version behind because the auto-update hasn’t kicked yet, or we may be on what we think is the latest version but isn’t, or a multitude of other reasons. “Latest” also makes it difficult for people who face the same issue later on and find the conversation, as they’ll have no idea if their version matches the one in the report.
-
Welcome @jeremy382,
When did the problem start? Have you used Migration Assistant recently? If so, see
-
There is an alternative way to invoke Alfred. Create a Workflow and connect a Hotkey Trigger to a Run Script Action with Language set to /usr/bin/osascript (AppleScript) and Script tell application "Alfred 4" to search. You can download a ready-made Workflow.
If it works, it’s a seamless workaround until the cause is rooted. But even if it doesn’t work, it will still be important information. -
Saving the second post for debugging instructions, if they are ever needed.
When reporting issues, please include your exact installed versions of:
- The Workflow.
- Alfred.
- macOS.
In addition to:
- The debugger output. Perform the failing action, click “Copy” on the top right and paste it here.
- Details on what you did, what happened, and what you expected to happen. A short video of the steps with the debugger open may help to find the problem faster.
Thank you. Accurate and thorough information is crucial for a proper diagnosis which allows me to help you better.
-
Usage
Search all your shortcuts via the sc keyword or search by folder name with scd.- ↩: Run the shortcut.
- ⌘↩: Run the shortcut with an argument.
- ⌥↩: Open the shortcut for editing.
Use the Universal Action to run the shortcut on files or as another way to provide an argument.
The list of shortcuts is cached for faster results. An immediate cache rebuild can be forced with ⌘⌥⌃↩.
⤓ Install on the Alfred Gallery | Source -
Keywords have to be acted on. If you really don’t want to press ↵, you can either make a snippet or go a different route (like a Hotkey Trigger).
-
Tot is scriptable via its URL handler, which can open specific dots and replace or return content. Note that script is by Tot’s author.
It doesn’t allow you what you want—search inside all notes to open a specific one—but you could make it work by returning the contents of every dot (they are limited, after all) then searching that yourself. It will require some scripting. -
22 minutes ago, Bhishan said:
Somehow the cmd A is not working ( I do not see any selected text, but I see them when I directly press them in my keyboard though)
Would you share a video? This is very likely a problem on your side; I can’t reproduce at all.
23 minutes ago, Bhishan said:the output file name is not `hello.txt` instead it wrote {var/fname}.txt
You can’t use Alfred’s {var} inside scripts, you have to use what the language itself expects. In this case, you need to make it "${fname}.txt" (mind the quotes, or you’ll have issues with filenames with spaces).
-
43 minutes ago, Bhishan said:
How to use AppleScript for that instead of using `Key Combo`?
That’s not going to fix your issue. You’d be faking the keypresses anyway, so it’s the same solution run a different way.
Are you sure your browser is the active application at the time you run your Workflow? Also, are you sure you don’t have a text input selected at the time you run it? If so, what page are you running your Workflow on? It works fine for me.
-
But do the files get attached? Which email app are you using? What are the exact steps you’re taking?
-
Alfred will not search for files
in Discussion & Help
Posted
Again:
This is not an Alfred problem, it’s a Spotlight problem. That’s were you need to concentrate your efforts.
If it’s still indexing, then wait for it to finish. The first one can take a long while.