-
Posts
175 -
Joined
-
Last visited
-
Days Won
10
Reputation Activity
-
Mr Pennyworth reacted to Andrew in [5.5 Beta] Grid View and Text View Feature Requests
@Mr Pennyworth knowledge sorting will be in the next build
-
Mr Pennyworth got a reaction from JJJJ in [5.5 Beta] Grid View and Text View Feature Requests
The clarification helps, @vitor!
The sizing feature request is mostly for width though 😇
In Alfred's Results View, increasing width beyond a point actually decreases usability for me (as the titles are subtitles are left-aligned, and the ⌘-<number> selectors are right aligned, leaving a large, unused space between them). Maybe usability isn't the right word, let's just say "looks" 😅
However, for both the text view, and the grid view, an argument can be made in favor of them being much wider than the normal results-view.
-
Mr Pennyworth got a reaction from JJJJ in [5.5 Beta] Grid View and Text View Feature Requests
OMG I'm in love with Alfred all over again! 😍 (not that it ever faded)
The grid view is amazing!! Thanks a ton!
Misc feedback/feature requests:
"Alfred Filters Results" option in the grid view. My emoji workflow uses a static JSON file and relies on Alfred to filter and prioritize the results. That means even without typing out any search query, the most frequently used emojis rise to the top. The grid view seems like a perfect fit for an emoji workflow. However, at present, lack of integration of Alfred's knowledge makes it not as good a choice as the script filter. Dragging files out of the grid view: In the normal view, for file results, I can drag them out. This was especially useful when uploading files to webpages. Webpage opens a finder window to upload a file. I search for the file I want in Alfred. I drag that file from Alfred results and drop it onto that finder window. (this step works for traditional results, but not for results in the grid view) The finder window now has that file selected. I click "open" on finder window, and the file is uploaded to the webpage. GIF support in the grid view: The grid view shows only the first frame of the GIF instead of showing an animated version of it. Wouldn't it make a lovely "GIF Search" workflow if it did!? 😇 Size of the grid and text views: Since these two are brand-new paradigms, and unlock complete new ways of interacting with Alfred, would it make sense to theme them independently? Specifically, the dimensions. For example, it may not make sense for me to have super-wide Alfred in normal mode, yet could be desirable to have a grid view that almost fills the entire width of the screen. Syntax highlighting for code-blocks in markdown for text view: one thing I find myself frequently doing is: Copy JSON/XML returned by some API. This usually is a large single line, making it difficult to read. Pretty-print it, produce HTML with syntax highlight. Look at the HTML using quicklook (from Alfred) The syntax highlighting helps a lot with XML, which, the text-view doesn't support. Web View? Being able to render arbitrary HTML would be super cool and so powerful! (Agree this could open a can of worms not worth tackling) -
Mr Pennyworth got a reaction from universe in [5.5 Beta] Grid View and Text View Feature Requests
OMG I'm in love with Alfred all over again! 😍 (not that it ever faded)
The grid view is amazing!! Thanks a ton!
Misc feedback/feature requests:
"Alfred Filters Results" option in the grid view. My emoji workflow uses a static JSON file and relies on Alfred to filter and prioritize the results. That means even without typing out any search query, the most frequently used emojis rise to the top. The grid view seems like a perfect fit for an emoji workflow. However, at present, lack of integration of Alfred's knowledge makes it not as good a choice as the script filter. Dragging files out of the grid view: In the normal view, for file results, I can drag them out. This was especially useful when uploading files to webpages. Webpage opens a finder window to upload a file. I search for the file I want in Alfred. I drag that file from Alfred results and drop it onto that finder window. (this step works for traditional results, but not for results in the grid view) The finder window now has that file selected. I click "open" on finder window, and the file is uploaded to the webpage. GIF support in the grid view: The grid view shows only the first frame of the GIF instead of showing an animated version of it. Wouldn't it make a lovely "GIF Search" workflow if it did!? 😇 Size of the grid and text views: Since these two are brand-new paradigms, and unlock complete new ways of interacting with Alfred, would it make sense to theme them independently? Specifically, the dimensions. For example, it may not make sense for me to have super-wide Alfred in normal mode, yet could be desirable to have a grid view that almost fills the entire width of the screen. Syntax highlighting for code-blocks in markdown for text view: one thing I find myself frequently doing is: Copy JSON/XML returned by some API. This usually is a large single line, making it difficult to read. Pretty-print it, produce HTML with syntax highlight. Look at the HTML using quicklook (from Alfred) The syntax highlighting helps a lot with XML, which, the text-view doesn't support. Web View? Being able to render arbitrary HTML would be super cool and so powerful! (Agree this could open a can of worms not worth tackling) -
Mr Pennyworth got a reaction from pseudometa in [5.5 Beta] Grid View and Text View Feature Requests
OMG I'm in love with Alfred all over again! 😍 (not that it ever faded)
The grid view is amazing!! Thanks a ton!
Misc feedback/feature requests:
"Alfred Filters Results" option in the grid view. My emoji workflow uses a static JSON file and relies on Alfred to filter and prioritize the results. That means even without typing out any search query, the most frequently used emojis rise to the top. The grid view seems like a perfect fit for an emoji workflow. However, at present, lack of integration of Alfred's knowledge makes it not as good a choice as the script filter. Dragging files out of the grid view: In the normal view, for file results, I can drag them out. This was especially useful when uploading files to webpages. Webpage opens a finder window to upload a file. I search for the file I want in Alfred. I drag that file from Alfred results and drop it onto that finder window. (this step works for traditional results, but not for results in the grid view) The finder window now has that file selected. I click "open" on finder window, and the file is uploaded to the webpage. GIF support in the grid view: The grid view shows only the first frame of the GIF instead of showing an animated version of it. Wouldn't it make a lovely "GIF Search" workflow if it did!? 😇 Size of the grid and text views: Since these two are brand-new paradigms, and unlock complete new ways of interacting with Alfred, would it make sense to theme them independently? Specifically, the dimensions. For example, it may not make sense for me to have super-wide Alfred in normal mode, yet could be desirable to have a grid view that almost fills the entire width of the screen. Syntax highlighting for code-blocks in markdown for text view: one thing I find myself frequently doing is: Copy JSON/XML returned by some API. This usually is a large single line, making it difficult to read. Pretty-print it, produce HTML with syntax highlight. Look at the HTML using quicklook (from Alfred) The syntax highlighting helps a lot with XML, which, the text-view doesn't support. Web View? Being able to render arbitrary HTML would be super cool and so powerful! (Agree this could open a can of worms not worth tackling) -
Mr Pennyworth got a reaction from donnacha in CleanShot X Workflow
CleanShot X Workflow: Download
Requiremens
Alfred 4 CleanShot X (version 3.5.1 or above)
Screenshots
Credits
This workflow is based on, and a slight improvement of, Raycast’s CleanShot X script commands.
Icon Credits
Some icons from by srip and freepik from flaticon.
-
Mr Pennyworth got a reaction from memark in Can't search content of Markdown files
Just wanted to make sure, when you are searching by content, for example, you are searching for the content "installation instructions", are you typing "installation instructions" in alfred or "in installation instructions"? In alfred, you need to start with the "in" keyword to be able to search by content.
Just putting this out there because I had faced the same problem and I took some time to discover the "in" keyword.
-
Mr Pennyworth got a reaction from Grug in CleanShot X Workflow
CleanShot X Workflow: Download
Requiremens
Alfred 4 CleanShot X (version 3.5.1 or above)
Screenshots
Credits
This workflow is based on, and a slight improvement of, Raycast’s CleanShot X script commands.
Icon Credits
Some icons from by srip and freepik from flaticon.
-
Mr Pennyworth got a reaction from zeitlings in [WIP, POC] Spotlight like rich preview pane for alfred workflows
Link to better quality videos
Download the code and play around: https://github.com/mr-pennyworth/alfred-extra-pane
Q: What is it?
A: An app that workflow creators can add to their script filters
Q: What does it do?
A: It renders html from quicklookurl of every item in the json.
Q: How does it do it?
A: By intercepting the json and by monitoring up-arrow and down-arrow keypresses.
Q: How to add it to a workflow?
A: By adding it to the script filter. Here's an example (from the workflow in the above GIF): notice how everything remains the same, just that at the very end, json needs to be piped through the helper app
# Before: query=$1 PATH=/usr/local/bin:$PATH items=$(curl 'http://127.0.0.1:7700/indexes/dictionary/search' --data "{ \"q\": \"$query\" }" | jq '.hits') echo "{ \"items\": $items }" # After: query=$1 PATH=/usr/local/bin:$PATH items=$(curl 'http://127.0.0.1:7700/indexes/dictionary/search' --data "{ \"q\": \"$query\" }" | jq '.hits') echo "{ \"items\": $items }" | 'AlfredExtraPane.app/Contents/Resources/scripts/alfred-extra-pane'
Q: Sounds great! Now tell me everything that's not working!
A: This is more of a proof-of-concept and very rough around the edges.
Things that are easily doable, but haven't been done yet (contributions welcome! ) change appearance automatically based on alfred's theme make other things configurable like dimensions Things that seem doable, but quite difficult with my knowledge of macOS GUI programming (which is about a week) let alfred remain horizontally-centered when the pane is not present, and when the pane appears, make the "alfred+pane" combination horizontally-centered (by moving both the pane and alfred window to left) Things that seem doable, but require guessing about alfred's inner workings: as @deanishe points out, alfred builds "uid-based-knowledge". that means if the returned json has an uid field, alfed can use that later to re-order items while displaying based on whether of them were previously actioned on. the knowledge is an sqlite database, so that's the easy part. the not-trivial part is to figure out how alfred sorts the items. Workaround: if you want to use this tool in your workflow, don't add UIDs to your json. One perfect use case for this is the dictionary workflow in the GIF. You looking up a word in the dictionary is a very weak signal that the word is important (many times, it is actually a signal that it is now less likely that the word will be looked up) This is a GUESS based on LIMITED observation. sorting is based on 1) how many times an item has been actioned (freq) 2) latest timestamp of action (timestamp) primarily sorted based on freq, ties are broken by timestamp special case: if the script filter has executed without an argument, and one of the resultant items has an entry in the latching table, the item goes to the top, irrespective of the above sorting. The above algorithm has been implemented and seems to match alfred's sorting.
Things that seem impossible to me: take into account mouse scroll interactions. right now, when selected row changes because of a mouse hover, the pane doesn't update, and will continue to show the old preview. As mouse hovers over various rows, the pane updates correctly, as long as Alfred's results have not been scrolled using mouse.
-
Mr Pennyworth got a reaction from DesertRec in FAMOS: FAstest eMOji Search: In 25 languages: With Google Emoji Kitchen Integration
FAstest eMOji Search (FAMOS)
Instant search for emojis in Alfred with related keywords in 25 languages and Google Emoji Kitchen integration
This post is outdated, link to up-to-date README
Download the latest versions: github release
FAMOS speaks many languages!
FAMOS uses emojibase, which is an excellent library, meticulously curated. So, all the languages that emojibase supports, FAMOS automatically does too.
FAMOS is the fastest!
10x to 20x faster compared to alfred-emoji and EmojiTaco!
FAMOS launches in under 20 miliseconds (imperceptible), while both the other workflows take hundreds of milliseconds to launch (very much perceptible).
The reason FAMOS exists is that I wanted my emoji picker to:
- launch instantly
- search with zero lag
- let me pick skin-tones for each individual emoji
Skin-tone prefs for each individual emoji
I like my emojis to reflect my skin-tone correctly. And also hair color! That means, I might not always get both. So, I want hand-emojis to have my skin-tone, but face-emojis to have my hair-color even if that means wrong skin-tone. In addition, if you're a stickler like me, you will understand that I want one skin-tone for the palm and a different one for the back of the hand. Back of the hand is a shade darker than the palm, isn't it!
Search results show if an emoji has multiple tones available:
Hold command:
After pressing command+enter:
From now on, the chosen tone becomes the default tone for this emoji:
Feature comparison
Both alfred-emoji and EmojiTaco are excellent workflows, and they have tonnes of features that FAMOS lacks, and has no plans of implementing. You should definitely check them out!
Downloads
Chinese, Traditional apple joypixels
Chinese apple joypixels
Danish apple joypixels
Dutch apple joypixels
English, Great Britain apple joypixels
English apple joypixels
Estonian apple joypixels
Finnish apple joypixels
French apple joypixels
German apple joypixels
Hungarian apple joypixels
Italian apple joypixels
Japanese apple joypixels
Korean apple joypixels
Lithuanian apple joypixels
Malay apple joypixels
Norwegian apple joypixels
Polish apple joypixels
Portuguese apple joypixels
Russian apple joypixels
Spanish, Mexico apple joypixels
Spanish apple joypixels
Swedish apple joypixels
Thai apple joypixels
Ukrainian apple joypixels
-
Mr Pennyworth got a reaction from DesertRec in GIF Search: Workflow for Searching and Browsing GIFs
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:
Installation
Download the latest release. 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!
-
Mr Pennyworth got a reaction from justice in Clipboard - Paste without newline/return workflow
@runningwithscissors: Here's a modified one where in addition to the original workflow, it also changes any double spaces to a single space.
http://www.mediafire.com/file/oze6vq4pucs7qnq/Paste_without_newlines.alfredworkflow/file
-
Mr Pennyworth got a reaction from KopperHead in Using PHP on Monterey (macOS 12)?
while @deanishe's suggestion does get the OP's problem solved, the issue remains that Alfred has a dropdown with "/usr/bin/php" as a choice, while "/usr/bin/php" doesn't exist. This should be filed as a bug, right?
-
Mr Pennyworth got a reaction from David in Better Dictionaries
Better Dictionaries
Better search and live previews for built-in macOS dictionaries.
This post might be outdated, link to up-to-date README
Download the latest version: Better.Dictionaries.alfredworkflow
Features
IPA (phonetic) pronunciations:
Press ⌘↩ to hear the pronunciation. In-Alfred live previews with colors that
automatically adapt to Alfred's theme:
Reverse search:
More relevant search results:
left: macOS/Alfred built-in search, right: BetterDict
If one word has multiple, unrelated meanings with different
origin, they are showed as diffrent entries
(in the above example, see "arm" has two entries at the top) Import any compatible dictionary
Setup
After importing the workflow,
first type .setup-better-dictionaries into Alfred
and follow the instructions for granting permissions.
Importing a Dictionary
After setup, type .dict-import into Alfred.
Select the dictionary you want to import.
Dictionary-specific Keywords and Hotkeys
After a dictionary is imported, a script filter and a hotkey trigger
is automatically created into the workflow editor.
Freshly-installed workflow without any imported dictionaries:
Two hotkeys and keyword triggers each automatically added after importing
two dictionaries. They come pre-labeled with dictionary names:
This allows you to assign hotkeys and keywords for specific dictionaries.
For example, below you can see how I have manually assigned keywords
thesaurus and defn to the thesaurus and dictionary respectively.
In addition, I can trigger the dictionary search using ⌃⌥⌘D.
Word Lookup
You can use the hotkeys/keywords created above for directly searhcing
specific dictionaries. That's the recommended way for dictionaries
that you use frequently.
For the infrequently used dictionaries for which you haven't assigned
any hotkeys/keywords, follow this:
1. Type lookup into Alfred. You'll see a list of all dictionaries
imported into BetterDict.
2. Select the dictionary to search, and type the search query.
Notes and Warnings
[*]Importing a dictionary could take as much as 30 minutes
on old machines or if there's significant CPU activity from other apps.[*]After each mac restart, for the first time when you run
the workflow, expect a comparatively slower search.
Subsequent searches should be instant.[*]This workflow takes a LOT of space on disk. Take a look at the comparison:
# Built-in dictionaries Oxford Thesaurus: 7 MB Oxford Dictionary: 36 MB # After importing into BetterDict Oxford Thesaurus: 101 MB (html files) Oxford Dictionary: 442 MB (html files) Search index for two: 730 MB (apart from html)
Known IssuesThe workflow doeesn't work if the theme is Alfred Classic.
If you must use that theme, duplicate that theme and use the
duplicated one. -
-
Mr Pennyworth got a reaction from runningwithscissors in Clipboard - Paste without newline/return workflow
@runningwithscissors: Here's a modified one where in addition to the original workflow, it also changes any double spaces to a single space.
http://www.mediafire.com/file/oze6vq4pucs7qnq/Paste_without_newlines.alfredworkflow/file
-
Mr Pennyworth got a reaction from Chris Messina in Add CSV export to List Filters
In the meanwhile, if you insist on CSV instead of excel sheets, here's a workflow for you: https://github.com/mr-pennyworth/alfred-lf2csv
Example setup:
1) set hotkey to cmd+option+c
2) in the workflow editor, select the list filter you want to export as csv
3) press the hotkey (cmd+option+c), alfred should have a CSV file ready to be dragged-and-dropped
-
Mr Pennyworth reacted to kenanmike in Better Dictionaries
BTW I had the same issue as @Steven Hsieh and duplicating the theme worked for me. Thanks!
-
Mr Pennyworth got a reaction from Naveen Bharathi in Using PHP on Monterey (macOS 12)?
while @deanishe's suggestion does get the OP's problem solved, the issue remains that Alfred has a dropdown with "/usr/bin/php" as a choice, while "/usr/bin/php" doesn't exist. This should be filed as a bug, right?
-
Mr Pennyworth got a reaction from dparke01 in Better Dictionaries
@scafaj hmm... not much info to investigate...
I imported both the dictionaries that you mention and they worked properly.
Few questions to help me understand the problem better:
After importing the fist dictionary, did that work? How long did you wait between finishing the first import and starting the second import? Did you get a "waiting for index to be ready..." box after each import? (see screenshot)
Can you post a screenshot of the workflow editor? Can you run this in terminal and post the output here? ls -alh ~/Library/Application\ Support/Alfred/Workflow\ Data/mr.pennyworth.betterDicts/
Can you paste the contents of ~/Library/Application\ Support/Alfred/Workflow\ Data/mr.pennyworth.betterDicts/db.log
https://dpaste.com and post the link here? In case you just want to reset everything and start from a clean state Delete the workflow Run killall alfred-dict-server; killall BetterDict; rm -rf ~/Library/Application\ Support/Alfred/Workflow\ Data/mr.pennyworth.betterDicts/ Reinstall the workflow -
Mr Pennyworth got a reaction from cands in Better Dictionaries
Better Dictionaries
Better search and live previews for built-in macOS dictionaries.
This post might be outdated, link to up-to-date README
Download the latest version: Better.Dictionaries.alfredworkflow
Features
IPA (phonetic) pronunciations:
Press ⌘↩ to hear the pronunciation. In-Alfred live previews with colors that
automatically adapt to Alfred's theme:
Reverse search:
More relevant search results:
left: macOS/Alfred built-in search, right: BetterDict
If one word has multiple, unrelated meanings with different
origin, they are showed as diffrent entries
(in the above example, see "arm" has two entries at the top) Import any compatible dictionary
Setup
After importing the workflow,
first type .setup-better-dictionaries into Alfred
and follow the instructions for granting permissions.
Importing a Dictionary
After setup, type .dict-import into Alfred.
Select the dictionary you want to import.
Dictionary-specific Keywords and Hotkeys
After a dictionary is imported, a script filter and a hotkey trigger
is automatically created into the workflow editor.
Freshly-installed workflow without any imported dictionaries:
Two hotkeys and keyword triggers each automatically added after importing
two dictionaries. They come pre-labeled with dictionary names:
This allows you to assign hotkeys and keywords for specific dictionaries.
For example, below you can see how I have manually assigned keywords
thesaurus and defn to the thesaurus and dictionary respectively.
In addition, I can trigger the dictionary search using ⌃⌥⌘D.
Word Lookup
You can use the hotkeys/keywords created above for directly searhcing
specific dictionaries. That's the recommended way for dictionaries
that you use frequently.
For the infrequently used dictionaries for which you haven't assigned
any hotkeys/keywords, follow this:
1. Type lookup into Alfred. You'll see a list of all dictionaries
imported into BetterDict.
2. Select the dictionary to search, and type the search query.
Notes and Warnings
[*]Importing a dictionary could take as much as 30 minutes
on old machines or if there's significant CPU activity from other apps.[*]After each mac restart, for the first time when you run
the workflow, expect a comparatively slower search.
Subsequent searches should be instant.[*]This workflow takes a LOT of space on disk. Take a look at the comparison:
# Built-in dictionaries Oxford Thesaurus: 7 MB Oxford Dictionary: 36 MB # After importing into BetterDict Oxford Thesaurus: 101 MB (html files) Oxford Dictionary: 442 MB (html files) Search index for two: 730 MB (apart from html)
Known IssuesThe workflow doeesn't work if the theme is Alfred Classic.
If you must use that theme, duplicate that theme and use the
duplicated one. -
Mr Pennyworth got a reaction from cdpath in Better Dictionaries
Better Dictionaries
Better search and live previews for built-in macOS dictionaries.
This post might be outdated, link to up-to-date README
Download the latest version: Better.Dictionaries.alfredworkflow
Features
IPA (phonetic) pronunciations:
Press ⌘↩ to hear the pronunciation. In-Alfred live previews with colors that
automatically adapt to Alfred's theme:
Reverse search:
More relevant search results:
left: macOS/Alfred built-in search, right: BetterDict
If one word has multiple, unrelated meanings with different
origin, they are showed as diffrent entries
(in the above example, see "arm" has two entries at the top) Import any compatible dictionary
Setup
After importing the workflow,
first type .setup-better-dictionaries into Alfred
and follow the instructions for granting permissions.
Importing a Dictionary
After setup, type .dict-import into Alfred.
Select the dictionary you want to import.
Dictionary-specific Keywords and Hotkeys
After a dictionary is imported, a script filter and a hotkey trigger
is automatically created into the workflow editor.
Freshly-installed workflow without any imported dictionaries:
Two hotkeys and keyword triggers each automatically added after importing
two dictionaries. They come pre-labeled with dictionary names:
This allows you to assign hotkeys and keywords for specific dictionaries.
For example, below you can see how I have manually assigned keywords
thesaurus and defn to the thesaurus and dictionary respectively.
In addition, I can trigger the dictionary search using ⌃⌥⌘D.
Word Lookup
You can use the hotkeys/keywords created above for directly searhcing
specific dictionaries. That's the recommended way for dictionaries
that you use frequently.
For the infrequently used dictionaries for which you haven't assigned
any hotkeys/keywords, follow this:
1. Type lookup into Alfred. You'll see a list of all dictionaries
imported into BetterDict.
2. Select the dictionary to search, and type the search query.
Notes and Warnings
[*]Importing a dictionary could take as much as 30 minutes
on old machines or if there's significant CPU activity from other apps.[*]After each mac restart, for the first time when you run
the workflow, expect a comparatively slower search.
Subsequent searches should be instant.[*]This workflow takes a LOT of space on disk. Take a look at the comparison:
# Built-in dictionaries Oxford Thesaurus: 7 MB Oxford Dictionary: 36 MB # After importing into BetterDict Oxford Thesaurus: 101 MB (html files) Oxford Dictionary: 442 MB (html files) Search index for two: 730 MB (apart from html)
Known IssuesThe workflow doeesn't work if the theme is Alfred Classic.
If you must use that theme, duplicate that theme and use the
duplicated one. -
Mr Pennyworth reacted to Chris Messina in CleanShot X Workflow
Ask and ye shall receive!
/cc @Mr Pennyworth
-
Mr Pennyworth reacted to woz_one in GIF Search: Workflow for Searching and Browsing GIFs
Also experiencing this issue, and now that I think of it, the command + enter was what I was having trouble with in the fuzzy folders workflow. Adding some more info to the issue on GitHub if it's helpful.
Thanks Mr. Pennyworth!
-
Mr Pennyworth got a reaction from cands in GIF Search: Workflow for Searching and Browsing GIFs
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:
Installation
Download the latest release. 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!