Jump to content


Community Hero
  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by deanishe

  1. You can access the bookmarks of any Chromium-based browser with this workflow.
  2. Your SSL certificate is not valid. You shouldn’t be getting “Not Found” errors, but you should certainly be getting errors from well-behaved software (like Alfred).
  3. That sounds like a much more likely explanation for the error your seeing.
  4. I don't think it's so much a question of precedence as of restrictions that Alfred actively places on which Hotkeys you can set. I don't specifically know if these have changed in Alfred 4, but @Andrew certainly did make some changes to Hotkeys to improve their behaviour when keyboard mappings change. He's the best person to spell out what you can and can't do.
  5. Got it. Is this an accurate description of what the workflow is supposed to do? If so, can you not just use this? As a rule, you should generally avoid regular expressions unless you really need them. More of a last resort.
  6. Is this regex pasted verbatim? (^\\w+)(:\\s)([^\\0]+$) If so, then the problem was possibly the double backslashes. Beyond that, we can't really answer questions about a workflow we've never seen. We're just guessing. Whenever you have a question about a workflow that isn't doing what you expect, always post a link to the workflow, so we can see for ourselves.
  7. Now that you mention it, I think the LaunchBar forums were made read-only a few months ago, so I guess you can't ask there… Sorry, @Ptujec! I suppose this currently is as good a place as any to ask.
  8. Yes. You don't need pyperclip at all, in fact (you can use pbpaste to get the clipboard contents), and it would be sensible to use the system Python instead, so your workflow Just Works out-of-the-box without needing developer tools installed. A non-standard runtime is a very heavy dependency for something as tiny as this workflow appears to be.
  9. So basically, you want to simulate ⌘C, →, ⌘C, →, ⌘C, →, ⌘C?
  10. Hi @davidtspf, welcome to the forum. The answer to your question is "maybe". To give you a more detailed answer, we'll need a more detailed description of what you're trying to do.
  11. I don’t understand what you mean. What is “doing a Hotkey”?
  12. Save your script in the workflow, set the Run Script language to bash, and put this in the script box: /usr/local/bin/python3 script.py
  13. The script doesn’t open a terminal window. That’s happening because you’re using Terminal Command. Use a Run Script instead.
  14. 😕 Because we're bad at making LaunchBar plugins?
  15. Of course not, but why are you asking for a LaunchBar plugin here? I mean, of all the Mac-related forums you could ask on, can you think of one that has fewer LaunchBar users than the Alfred forum?
  16. I’d assume that’s possible, yes.
  17. How are you going to pass an NSImage to Alfred?
  18. Don't know. That returns an NSImage, but you need a filepath. I don’t know if you can get the filepath from an NSImage. I’ll have a look what I get home from work.
  19. Which one-liner? There is both Swift and Objective-C in that thread.
  20. Not that I know of. The model names are contained in /System/Library/PrivateFrameworks/ServerInformation.framework/Versions/A/Resources/English.lproj/SIMachineAttributes.plist, and I found some code that the author says can convert a model name into its icon, so perhaps you could read the model names from the plist and feed them to that code to get the right icons?
  21. I believe you just need to put the AppleScript in the right directory and Alfred will automatically use MailMate. Can't remember for certain, as I set it up years ago.
  22. Only by writing simple wrapper scripts as you’ve done there. You probably only need to do “echo $?; exit 0” (no need for “echo ok”). Downstream you can do “if {query} = 0”.
  23. It’s an XML parse error. It seems that one of your workflows has an invalid info.plist. Or perhaps a non-XML one. The workflow probably needs a try … except to catch workflows it can’t read.
  • Create New...