Jump to content

GIF Search: Workflow for Searching and Browsing GIFs


Recommended Posts

Alfred GIF Search

Download: Gif.Search.alfredworkflow

Up-to-date README (this post is outdated)


This workflow lets you search GIFs on Tenor from Alfred.


Here's an example of searching and inserting a GIF in a google doc:
alfred-gif-search.gif


Installation

  1. Download the latest release.
  2. In Alfred, run .setup-gif-search.


Usage

  • In Alfred, enter gif keyword followed by search query.
  • Press .
  • Use arrow keys or mouse to browse the GIFs.
  • To copy the selected GIF to clipboard:
    • either ⌘↩
    • or ⌘-click
  • To drop the GIF into apps that support it:
    • drag from Alfred and drop into that app


Note


Firefox and Chrome don't support pasting GIFs from clipboard. That is, if you copy a GIF to clipboard and paste it, it shows up as a static image, not an animated GIF. This is not a bug in this workflow, but rather just the way these browsers have decided to handle GIFs.


Both Chrome and Firefox support drag-n-drop. If you use either of these browsers, sorry, you gotta use the mouse!

Edited by Mr Pennyworth
Link to comment
  • Mr Pennyworth changed the title to GIF Search: Workflow for Searching and Browsing GIFs

Thanks @chris! When you want a panel to be shown at side, and some HTML to be show inside it, yep, you can use the AlfredExtraPane.app. All you got to do is add an html filepath to quicklookurl of the JSON and then pipe it to the app (the readme has an example).


For building something like this GIF workflow, it is true that AlfredExtraPane.app was an inspiration, but it can't just directly be used to build the GIF workflow, it isn't flexible enough. For this GIF workflow, I simply took the code of AlfredExtraPane.app and modified it to fit the GIF needs, thus programming in swift was involved and understanding how AlfredExtraPane.app works internally was a prerequisite.

Link to comment

@chris

I've put together a small tutorial for workflow authors here:

https://github.com/mr-pennyworth/alfred-extra-pane#tutorial

 

And a few question-answer pairs for technical internals here:

https://github.com/mr-pennyworth/alfred-extra-pane#technical-qa

 

I see a few problems with swiftUI:

  • I would imagine there are far more workflow authors who can put together nice looking HTML than swiftUI, all the complexities of the implementation of the extra pane aside, as far as the workflow authors are concerned, I want the integration to be as simple and friction-less as possible. HTML seemed like the best choice for that.
  • I'm not sure how code for compiled language will actually work for the previews. Let's say instead of putting an html file in "quicklookurl", we ask the workflow authors to put a swift file instead. Who compiles the code? Can swift code be even compiled on-the-fly by an app and rendered too? I haven't a clue! :)
Edited by Mr Pennyworth
Link to comment

This is a pretty neat workflow, @Mr Pennyworth! I love the execution, but I ran into a few issues on different versions of the workflow:

 

I initially installed v0.0.3, but the workflow exited whenever I used the arrow keys to navigate the GIFs, and clicking and dragging the GIF had no effect.

 

I decided to try v0.0.1, which took care of the above issues. However, after trying out the drag-and-drop feature, the Tenor link (and related GIF) kept appearing whenever I tried to paste any new text that I'd just copied. This issue persisted even after using Terminal to refresh the Clipboard, and I had to restart my computer in order to regain control of the Clipboard.

 

You may have already addressed this in v0.0.3, but in any case just thought it was worth pointing out. Thanks, and look forward to seeing what you come up with next!

Link to comment

@dood whoa! that sounds like such an ordeal and so much trouble

 

I wish I could help, but I'm not able to replicate the issue :(

Here's what I did:

  1. Downloaded and ran v0.0.3, worked as expected
  2. Created another user account on my macbook (so alfred gets to have a clean slate), then repeated (1), again worked as expected
  3. Installed Alfred on a spare macbook I have, then repeated (1), couldn't trigger the bug

At this point, I don't have much to go on...

Are you on macOS other than Catalina? I have no means of testing on versions other than Catalina
Does AfredGifBrowser.app have the required accessibility permissions? Does deleting it from accessibility permissions and adding again help?

Link to comment

Thanks for looking into it, @Mr Pennyworth! I'm on Catalina, and observed the same behavior in v0.0.3 even after deleting and re-adding the accessibility permissions.

 

Would it be helpful for me to send debug logs, etc.? Also don't want to take up too much of your time if this appears to be an isolated issue.

Link to comment

@dood yep, it'll definitely be helpful!

In addition to the in-Alfred debug log, also useful would be the debug logs for 'AlfredGifBrowser'.
Here's how to collect it:

  • Run `killall AlfredGifBrowser` in terminal
  • Open the workflow folder in terminal
  • Run `AlfredGifBrowser.app/.Contents/MacOS/AlfredGifBrowser` (this will make the logs appear right in the terminal)
  • Run the workflow v0.0.3 and press the arrow keys so that it crashes
Link to comment

I've run into an issue with the Clipboard History Viewer.

 

If I hit Return on an item in the viewer, the item is pasted into the foreground app as expected. However, if I Command-C an item in the viewer (to avoid pasting it), rather than copying the item back to the clipboard, it copies "/Users/<username>/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/mr.pennyworth.gif/selected.gif"

 

Disabling the workflow has no effect, but killall AlfredGifBrowser restores the expected behavior until I run the workflow again.

Link to comment

@evanfuchs sorry, I'm confused...

Can you give me a step-by-step detailed explanation of what you expect to happen and what actually happens?

 

From your description, it seems like it is working correctly...
you hit ⌘C, then go about doing something
then, when you want to paste the GIF, you hit ⌘V
the gif should be pasted. Is it not being pasted?

 

BTW, the workflow doesn't put image data onto the clipboard, it simply puts a file onto the clipboard.
That's the file you are seeing in clipboard viewer.

 

14 minutes ago, evanfuchs said:

but killall AlfredGifBrowser restores the expected behavior until

Can you elaborate what the expected behavior is?

Link to comment
5 minutes ago, Mr Pennyworth said:

Can you give me a step-by-step detailed explanation of what you expect to happen and what actually happens?

 

Sure, sorry about that. The workflow is working as expected, but I am finding an unexpected issue the Clipboard History Viewer related to the workflow.

 

The typical behavior after triggering the Clipboard History Viewer (for example, using the keyword clipboard), is that RETURN will paste the selected item into the foreground app, while COMMAND-C will copy that item back to the clipboard so you can paste it elsewhere without automatically pasting into the foreground app.

 

After installing and running this workflow, COMMAND-C puts /Users/<username>/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/mr.pennyworth.gif/selected.gif on the clipboard.

 

If I run killall AlfredGifBrowser, the issue with Clipboard History Viewer goes away.

 

I hope I'm explaining it clearly.

 

 

Link to comment
13 minutes ago, Mr Pennyworth said:

@evanfuchs aha! got it!
That's such a bad bug!!
Thanks so much for reporting it :)

I fixed it in v0.0.5, download it and give it a go :)

 

Thanks for the quick fix!

 

FYI: I first installed v.0.0.5 allowing it to update the previous version and that did not work. I uninstalled it, killed AlfredGifBrowser, installed again and it's good to go. In case that helps anyone else trying to update.

Link to comment
  • 5 months later...

Hey!

 

Great workflow! However I've encountered an issue installing it.

 

I run .setup-gif-search, but every time I get the same message (see Quote). I've allowed "Accessibility", but the message still appears. I'm on Big Sur.

 

Could you please help?

 

Quote

 

Allow "Accessibility"
For "AlfredGifBrowser.app"

The GIF browser needs these permissions
for monitoring arrow key presses

 

 

1208464139_CleanShot2021-05-23at18_41_17.png.569b26b12fe292696ce8c4366a126bb1.png

 

Link to comment

@Miteg

That's all right, that's the part of the set up. Every time you run ".setup-gif-search", it is going to ask you to grant the permission.

 

I have a feeling it is already installed correctly. Did you try running it? If it doesn't work, post the debug log here and I can take a look.

 

P.S.: It is not good design that the setup exits without an indication of success. Also, let me see if I can make it such that if someone runs setup multiple times, it doesn't prompt for permissions if already given.

Link to comment

@Mr Pennyworth

 

Thanks for the answer!

 

I did try to use it, but the Workflow doesn't show me the results.

 

Please find the .gif and debug log.

 

[19:21:48.119] Logging Started...
[19:21:57.495] GIF Search[Script Filter] Queuing argument 'a'
[19:21:57.569] GIF Search[Script Filter] Script with argv 'a' finished
[19:21:57.571] ERROR: GIF Search[Script Filter] Code 1: /Users/miteg/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/21429C3F-A78F-4560-A87D-F51EBBCF3BF8: line 21: /Users/miteg/Library/Application Support/Alfred/Workflow Data/mr.pennyworth.AlfredHistorySearch/query-history.txt: No such file or directory
[19:21:57.572] GIF Search[Script Filter] {"items": [
  {"title": "Search Tenor for \"a\"",
   "subtitle": "↩: search",
   "arg": "a"}]}
[19:21:57.608] GIF Search[Script Filter] Queuing argument 'as'
[19:21:57.681] GIF Search[Script Filter] Script with argv 'as' finished
[19:21:57.681] ERROR: GIF Search[Script Filter] Code 1: /Users/miteg/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/21429C3F-A78F-4560-A87D-F51EBBCF3BF8: line 21: /Users/miteg/Library/Application Support/Alfred/Workflow Data/mr.pennyworth.AlfredHistorySearch/query-history.txt: No such file or directory
[19:21:57.684] GIF Search[Script Filter] {"items": [
  {"title": "Search Tenor for \"as\"",
   "subtitle": "↩: search",
   "arg": "as"}]}
[19:21:57.685] GIF Search[Script Filter] Queuing argument 'asd'
[19:21:57.756] GIF Search[Script Filter] Script with argv 'asd' finished
[19:21:57.757] ERROR: GIF Search[Script Filter] Code 1: /Users/miteg/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/21429C3F-A78F-4560-A87D-F51EBBCF3BF8: line 21: /Users/miteg/Library/Application Support/Alfred/Workflow Data/mr.pennyworth.AlfredHistorySearch/query-history.txt: No such file or directory
[19:21:57.760] GIF Search[Script Filter] {"items": [
  {"title": "Search Tenor for \"asd\"",
   "subtitle": "↩: search",
   "arg": "asd"}]}
[19:21:57.766] GIF Search[Script Filter] Queuing argument 'asdf'
[19:21:57.840] GIF Search[Script Filter] Script with argv 'asdf' finished
[19:21:57.844] ERROR: GIF Search[Script Filter] Code 1: /Users/miteg/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/21429C3F-A78F-4560-A87D-F51EBBCF3BF8: line 21: /Users/miteg/Library/Application Support/Alfred/Workflow Data/mr.pennyworth.AlfredHistorySearch/query-history.txt: No such file or directory
[19:21:57.845] GIF Search[Script Filter] {"items": [
  {"title": "Search Tenor for \"asdf\"",
   "subtitle": "↩: search",
   "arg": "asdf"}]}

 

407901316_CleanShot2021-05-23at19_18_18.gif.49c8a2cd11a3cefe9212f002a052743c.gif

 

Link to comment

@Miteg

 

Thanks for the logs!

Can you confirm the following?

- you are on latest Alfred version (4.3 or above)

- you have downloaded the latest workflow (0.1.0)

- you are on an intel mac (I haven't tested the workflow on M1 macs)

- when you run the following two commands in terminal, you get some number

  - `pgrep gif-downloader.bin`

  - `pgrep AlfredGifBrowser`

- when you visit http://localhost:8910/?query=haha in your browser, you get some JSON output.

 

Let me know which one of the above fails (if any)

Link to comment

@Mr Pennyworth

 

- I'm using Alfred 4.3.4

- I'm using 0.1.0 workflow

- I'm on Intel Mac (2018 MBP)

- Please find the Terminal log below (no number after pgrep gif-downloader.bin)

- First time I clicked the link I saw the JSON. Now it's "Safari can't open the page "localhost:8910/?query=haha" because Safari can't connect to the server "localhost"."

 

 

MacBook-Pro-user:~ miteg$ pgrep gif-downloader.bin
MacBook-Pro-user:~ miteg$ pgrep AlfredGifBrowser
2522

 

Link to comment
/snapshot/gif-downloader/gif-downloader.js:180
      .toLowerCase()
       ^

TypeError: Cannot read property 'toLowerCase' of null
    at htmlFileName (/snapshot/gif-downloader/gif-downloader.js:180:8)
    at Server.<anonymous> (/snapshot/gif-downloader/gif-downloader.js:192:24)
    at Server.emit (events.js:314:20)
    at parserOnIncoming (_http_server.js:779:12)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:122:17)

 

Looks like somebody forgot to wrap their handler in try…catch, so a bum request is crashing the whole program instead of getting a 400 or 500 response.

 

Also, the workflow keeps failing to save query-history.txt because it doesn't create the data directory it's trying to save it in.

Link to comment
57 minutes ago, deanishe said:

Looks like somebody forgot to wrap their handler in try…catch, so a bum request is crashing the whole program instead of getting a 400 or 500 response.

🙈 Thanks! Fixed!

 

1 hour ago, deanishe said:

Also, the workflow keeps failing to save query-history.txt because it doesn't create the data directory it's trying to save it in.

That error doesn't affect the working of the workflow, but definitely not a good idea to pollute the log with red herrings!
Thanks again 😇! Fixed!

Link to comment

@Mr Pennyworth

 

Sure! Please find it below

 

URLSearchParams { 'query' => 'a' }
Responded to alfred
Created /Users/miteg/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/mr.pennyworth.gif/a-gifs.html.html
Downloading https://c.tenor.com/BKJTWTVlUQUAAAAM/dandoalingua-mostrandoalingua.gif
Downloading https://c.tenor.com/loxiQtKf-A0AAAAM/19and-a-half-pineapples.gif
Downloading https://c.tenor.com/vDj0BhuQe6oAAAAM/love-makes-a-house-a-home-prashant-gangwani.gif
Downloading https://c.tenor.com/_kEY3vYroCsAAAAM/van-river.gif
Downloading https://c.tenor.com/eTB59DKzaCUAAAAM/great-day-have-a-great-day.gif
Downloading https://c.tenor.com/X30gDmoqkvcAAAAM/troll-trolling.gif
Downloading https://c.tenor.com/U05vSWIXuVwAAAAM/oprah-winfrey-you-get-an-a.gif
Downloading https://c.tenor.com/uk3BIM2gYw4AAAAM/have-a-nice-day-mickey-mouse.gif
Downloading https://c.tenor.com/ufSlA_A0Mv8AAAAM/spooktober-a-plus.gif
Downloading https://c.tenor.com/ddO3lv8y0BQAAAAM/good-day-hi.gif
Downloading https://c.tenor.com/YTjJFAEDIvAAAAAM/a-dancing-dancing-a.gif
Downloading https://c.tenor.com/zXS9r42JDPgAAAAM/844-march.gif
Downloading https://c.tenor.com/hPOqQ9e49O4AAAAM/love-snoopy.gif
Downloading https://c.tenor.com/QyFCZcHk320AAAAM/mi%C5%82ego-dnia-milego-dnia.gif
Downloading https://c.tenor.com/WCrF5sO8FxkAAAAM/kisses-have-a-great-day.gif
Downloading https://c.tenor.com/m57mLXk1ytUAAAAM/cat-drinking.gif
Downloading https://c.tenor.com/FDk6FWbvkOsAAAAM/dancing-a-dancing.gif
Downloading https://c.tenor.com/knTffiDFn1wAAAAM/aaa-lettera.gif
Downloading https://c.tenor.com/maZlMfzMS2YAAAAM/have-a-nice-day-heart.gif
Downloading https://c.tenor.com/ZxINPCDJdpcAAAAM/i-need-a-drink-running.gif
Downloading https://c.tenor.com/iiHaX3eAJ8IAAAAM/mardi-gras-a-streetcar-named-desire.gif
Downloading https://c.tenor.com/zJSwP9b0VHgAAAAM/a-plus-simpsons.gif
Downloading https://c.tenor.com/cSlI9DcAYCEAAAAM/have-a-good-day-at-work-have-a-good-day.gif
Downloading https://c.tenor.com/RFRPkimHjfcAAAAM/zach-galifianakis-very-bad-trip-meme.gif
Downloading https://c.tenor.com/2FHOilO5k-AAAAAM/love-you-to-the-moon-and-back.gif
Downloading https://c.tenor.com/ac08vmz0_J0AAAAM/build-a-rocket-to-the-moon-over-the-moon.gif
Downloading https://c.tenor.com/nBiBVJ7PYHsAAAAM/aplus-welldone.gif
Downloading https://c.tenor.com/TYGl6BUuugwAAAAM/ateam.gif
Downloading https://c.tenor.com/dRQNzENGD6AAAAAM/i-got-an-a-plus-and-a-gold-star-jj-jameson.gif
Downloading https://c.tenor.com/sDwvsD96kfYAAAAM/good-morning-have-a-great-day.gif
Downloading https://c.tenor.com/wRy0Sx2VvLYAAAAM/you-smell-like-rose-missing-you.gif
Downloading https://c.tenor.com/VNWqFaaSbBwAAAAM/a-plus-17pluses.gif
Downloading https://c.tenor.com/nYJ9JPX9PCkAAAAM/have-a-nice-day-have-a-great-day.gif
Downloading https://c.tenor.com/tt75dGFlM1wAAAAM/have-a-nice-day-hello-kitty.gif
Downloading https://c.tenor.com/HLGnnbZgX7YAAAAM/dish-man.gif
Downloading https://c.tenor.com/PGBGmpEj6V8AAAAM/the-anchorman-the-legend-of-ron-burgundy.gif
Downloading https://c.tenor.com/YckArDwjXLoAAAAM/a-beautiful-rose-for-a-beautiful-person.gif
Downloading https://c.tenor.com/AbRrGEuuAfwAAAAM/the-office-steve-carell.gif
Downloading https://c.tenor.com/MhFrYGsApu8AAAAM/giraffe-have-a-nice-day.gif
Downloading https://c.tenor.com/GoLiIHHt1pQAAAAM/re-zero.gif
Downloading https://c.tenor.com/U2fHnOcRqdwAAAAM/love-heart.gif
Downloading https://c.tenor.com/T1gfyYuVYJwAAAAM/wafi-project-sekai.gif
Downloading https://c.tenor.com/V9DoUOJZ380AAAAM/love-kiss.gif
Downloading https://c.tenor.com/9IkLHyA-i8sAAAAM/conversion.gif
Downloading https://c.tenor.com/qUUWwGnRcbwAAAAM/did-the-thing.gif
Downloading https://c.tenor.com/qPb-g12a8MgAAAAM/to-do-late.gif
Downloading https://c.tenor.com/BwltOzNS4yYAAAAM/shanks-momonuske.gif
Downloading https://c.tenor.com/Eu0d55aZqyoAAAAM/love-hearts.gif
Downloading https://c.tenor.com/PtvZ3FvjyfEAAAAM/norfolk-southern-c40dash9.gif
Downloading https://c.tenor.com/sUGSFiE6uDgAAAAM/have-a-nice-day-pooh.gif
URLSearchParams { 'query' => 'hello' }
Responded to alfred
https://c.tenor.com/uNQvTg9Tk_QAAAAM/hey-tom-hanks.gif already downloaded
https://c.tenor.com/FvJr-o-mRgEAAAAM/hello-wave.gif already downloaded
https://c.tenor.com/XU3361gs9L4AAAAM/looney-tunes-daffy-duck.gif already downloaded
https://c.tenor.com/RvMZMiTblfQAAAAM/oh-hey-oh-hey-there.gif already downloaded
https://c.tenor.com/9gcRZ1firEMAAAAM/cat-cute.gif already downloaded
https://c.tenor.com/PnNJFeA_Ve8AAAAM/jack-black-sexy.gif already downloaded
https://c.tenor.com/osoYGAjGNx0AAAAM/hello-mother-fucker.gif already downloaded
https://c.tenor.com/9UOCoWdPQ3oAAAAM/anyone-there-looking.gif already downloaded
https://c.tenor.com/xEd-AhmKlZcAAAAM/hi-hello.gif already downloaded
Created /Users/miteg/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/mr.pennyworth.gif/hello-gifs.html.html
Downloading https://c.tenor.com/SKQHGoTF_f4AAAAM/hello-roses.gif
Downloading https://c.tenor.com/uWOd1s8XbDAAAAAM/oh-hello-there.gif
Downloading https://c.tenor.com/dVnCn_kJuy4AAAAM/hey-girl-me-passing-by-my-ex.gif
Downloading https://c.tenor.com/ierF73IxcUQAAAAM/waving-hello-friend.gif
Downloading https://c.tenor.com/UNTqMDwqh1gAAAAM/hello-hi.gif
Downloading https://c.tenor.com/NkUG9xW3DmAAAAAM/hello.gif
Downloading https://c.tenor.com/5uz_61IlhSYAAAAM/adele-sassy.gif
Downloading https://c.tenor.com/-z2KfO5zAckAAAAM/hello-there-baby-yoda.gif
Downloading https://c.tenor.com/jWhj-ueVFA0AAAAM/adele-hello.gif
Downloading https://c.tenor.com/43TUHrSYuBwAAAAM/still-waiting-for-reply-waiting.gif
Downloading https://c.tenor.com/47-GFXgauf0AAAAM/you-there-jim-carrey.gif
Downloading https://c.tenor.com/kvXMS__Bkd8AAAAM/hello-hi.gif
Downloading https://c.tenor.com/zUt6ZoEuARMAAAAM/my-xubi.gif
Downloading https://c.tenor.com/6QZNNSCR3i8AAAAM/jerry-knocking-r-you-there.gif
Downloading https://c.tenor.com/wfQoupcZhF0AAAAM/hi-hello-there.gif
Downloading https://c.tenor.com/nj4_KSak6X4AAAAM/teressa-robin-williams.gif
Downloading https://c.tenor.com/lUFliafCu_MAAAAM/hello.gif
Downloading https://c.tenor.com/pvFJwncehzIAAAAM/hello-there-private-from-penguins-of-madagascar.gif
Downloading https://c.tenor.com/8NbjVzof-oIAAAAM/hello-funny.gif
Downloading https://c.tenor.com/M2jRS63MhcAAAAAM/adele-hello.gif
Downloading https://c.tenor.com/B5DF9RmfBWIAAAAM/hello.gif
Downloading https://c.tenor.com/vRQZNvzYbucAAAAM/hello-hi.gif
Downloading https://c.tenor.com/KqO69LqtprUAAAAM/hello-hi.gif
Downloading https://c.tenor.com/DY6Pm8lN264AAAAM/adele-hello.gif
Downloading https://c.tenor.com/SbHvxfhtwQIAAAAM/hello-how-are-you.gif
Downloading https://c.tenor.com/6ABqohh2j0UAAAAM/adele-hello.gif
Downloading https://c.tenor.com/HfyIBi5IF3AAAAAM/hello.gif
Downloading https://c.tenor.com/0-yZjYmv250AAAAM/hello-cute.gif
Downloading https://c.tenor.com/vwJRrdKQ2esAAAAM/hello-hi.gif
Downloading https://c.tenor.com/t-iqJ8UAVfgAAAAM/corgi-jump.gif
Downloading https://c.tenor.com/UXyzrxyIqgEAAAAM/hello-from.gif
Downloading https://c.tenor.com/DahI0n9OSCkAAAAM/hello-from-the-other-side.gif
Downloading https://c.tenor.com/aAKLiVpjj3UAAAAM/hello-kitten.gif
Downloading https://c.tenor.com/KotrqwZCilYAAAAM/hello-kitty-hello.gif
Downloading https://c.tenor.com/Q6Rg4TlTcbIAAAAM/you-alive-hello.gif
Downloading https://c.tenor.com/bu4iY9vXDq4AAAAM/hello.gif
Downloading https://c.tenor.com/DDePA9puJ18AAAAM/love-wide.gif
Downloading https://c.tenor.com/BI5w1AZhaicAAAAM/hello-hi.gif
Downloading https://c.tenor.com/59VUD4BRFa0AAAAM/hello-there-hey-there.gif
Downloading https://c.tenor.com/Qig8i0b3ANkAAAAM/dog-cute.gif
Downloading https://c.tenor.com/_cG3LntF4b0AAAAM/hello-its-me-saturday-night-live.gif

 

Link to comment

@Miteg I was wondering whether the problem could be because of BigSur.

So I borrowed a BigSur macbook from someone, installed the workflow (0.1.1), and checked.

I was not able to reproduce the problem :(

Can you try the following?

  1. killall AlfredGifBrowser in terminal
  2. killall gif-downloader.bin in terminal
  3. Delete the workflow
  4. Delete AlfredGifBrowser from Security & Privacy > Accessibility (not just disable, but remove the entry completely)
  5. Download and install version 0.1.1 (which fixes issues @deanishe mentioned)

Given that the downloader did download the gifs (as I can see from your logs), it feels like the gif browser is not making itself visible.

 

Here's a last resort thing to really make sure the accessibility permissions are accurate:

  1. You have already downloaded 0.1.1 above and installed, still the gif browser doesn't show up
  2. killall AlfredGifBrowser in terminal
  3. Delete AlfredGifBrowser from Security & Privacy > Accessibility (not just disable, but remove the entry completely)
  4. Manually add AlfredGifBrowser app to that list again and enable it.
    1. Open the workflow folderimage.png.ae87b37e3c6f142a905f6e583581f311.png
    2. Drag AlfredGifBrowser from that folder into the accessibility permissions list
    3. Enable the checkbox for it
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...