Jump to content

Cyberskier

Member
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Cyberskier

  1. I'm kind of fishing in the dark here, but thought somebody might have some insights. I'm fairly regularly launching Alfred when I don't intend to, and I'm not sure why. By "launch," I mean that the Alfred input window pops up as I'm typing. In theory I guess I could be accidentally typing my Alfred shortcut, but I use the same keyboard shortcut I previously used with LaunchBar, and I never accidentally launched LaunchBar. This happens on an M1 Mac Mini, and an M1 MacBook Pro. I'm using Alfred 4.5.1 [1256].

     

    In addition to when I'm typing, this also happens with some of my Keyboard Maestro macros, even though they don't use my default shortcut (CMD-Space).

     

    I did search, and the only topic I found was one dealing with accidentally triggering Keyboard Maestro macros. I tried disabling fn and ctrl as suggested there.

     

    Thank you for any ideas.

  2. On 5/24/2021 at 9:36 PM, Mr Pennyworth said:

    That's not the setup command though.

    After you download and import the workflow into alfred, you need to open alfred and type .setup-gif-search.

     

    Also, can you make sure that you area either using a custom theme for alfred, or, if not, then using a duplicated version of a built-in theme?

     

    Oops, that was a typo, pasting the wrong thing from my clipboard manager after checking the log. I've run .setup-gif-search and changed to a duplicated/custom theme, and things now work great on my Intel iMac, but still not working on my M1 MacBook Pro. Everything appears the same (Accessibility properly set up), so I'm a bit baffled as to the issue.

  3. I'm not sure if my issue is similar to Miteg's, but I'm not getting any results from the workflow. I've installed it, and run the setup command (/tmp/alfred-gif-search.log). On my Intel iMac, AlfredGifBrowser never self-populated in Accessibility>Privacy, so I manually dragged it in from the workflow package contents. On my M1 Mac Mini , it did appear there automatically, so I only needed to check the box. But on both Macs, I type gif followed by a search query, and it re-loops back to the search box without showing any previews.

     

    I'm ignorant about this sort of thing. Could a content blocker in Safari affect things?

  4. Thanks deanishe and everyone else for your help with this, and especially to deanishe for the mailto Workflow that is at its heart. I have it working now (Aflred and Keyboard Maestro links at the end of this post). I did change line 241 of mailto.py, per your suggestion, but it was still passing "compose" to the clipboard. That turned out not to be a problem, as the regex in my Keyboard Maestro macro still found only the numeric digits (as an aside, I imagine I could probably do this whole thing in Alfred, but I had the regex working in Keyboard Maestro and had no idea how to do that in Alfred). To answer one of the questions, above, I did want to pass the text to the clipboard, as my Keyboard Maestro macro acts on the text on the system clipboard. So I needed to find a way to get the text to the clipboard, and run my KM macro.

     

    Anyway, thanks again for the help. The links are below. They won't be directly relevant to anyone who doesn't use my firm's case management system, but maybe they'll be indirectly helpful to others.

     

    Alfred workflow: http://d.pr/f/PgRbBv

    Keyboard Maestro macro: http://d.pr/f/a5k3K0

  5. Does anyone know how would I go about passing the contents of the clipboard created in an Alfred workflow to another app, such as Keyboard Maestro? The last step of my Alfred workflow calls my Keyboard Maestro macro (via AppleScript), but nothing happens. I'm either not passing the clipboard correctly, or I'm not calling Keyboard Maestro correctly. (Basically, what I'm trying to do is search for a contact via Alfred, and then pass the email address of the contact over to a Keyboard Maestro workflow to apply some regex to it to convert it to a URL, which is then opened).

     

    I've uploaded a screenshot of my workflow, along with the details of the 2nd and 4th steps. (Please ignore the Placeholder title, subtext, etc - I pilfered that from another workflow and haven't changed it yet). I admittedly am a complete novice when it comes to Alfred workflows, so my work is probably painfully bad.

    Screen Shot 2017-07-17 at 1.59.48 PM.png

    Screen Shot 2017-07-17 at 1.59.56 PM.png

    Screen Shot 2017-07-17 at 2.00.12 PM.png

×
×
  • Create New...